[cinder][rbd] cinder create from image failing with http image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I keep running into this error when attempting to create a volume from an image:

ProcessExecutionError: Unexpected error while running command.
Command: rbd import --pool rbd /mnt/novadisk/tmp/tmpbjwv9l
volume-d777527e-9754-4779-bd4c-d869968aba0c
Exit code: 1
Stdout: ''
Stderr: 'rbd: unable to get size of file/block device: (25)
Inappropriate ioctl for device\nrbd: import failed: (25) Inappropriate
ioctl for device\n'

Looking at the cinder code, a temporary file is created, the blocks
copied down from the glance connection and then the rbd command is run
(without there being a file close on the temp file.  Does the file
need to be properly closed before the rbd command is run?  Would a
flush on the file handle be sufficient?

Any suggestions would be welcome.
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux