[one-users] attach ceph image problem.
mario wu
iamokcn at gmail.com
Wed Jun 5 20:16:04 PDT 2013
hi,all
recently,i tested opennebula 4.0.1 + ceph , every thing is
fine,except when i attach a ceph disk image to a running VM.
the log show me :"
Thu Jun 6 11:07:33 2013 [VMM][E]: attach_disk: Command "virsh --connect
qemu:///system attach-device one-11
/srv/cloud/one/datastores/0/11/disk.1.attach" failed: error: Failed to
attach device from /srv/cloud/one/datastores/0/11/disk.1.attach
Thu Jun 6 11:07:33 2013 [VMM][I]: error: Unable to allow access for disk
path /srv/cloud/one/datastores/0/11/disk.1: No such file or directory
Thu Jun 6 11:07:33 2013 [VMM][E]: Could not attach
/srv/cloud/one/datastores/0/11/disk.1 (vdb) to one-11
Thu Jun 6 11:07:33 2013 [VMM][I]: ExitCode: 1
Thu Jun 6 11:07:33 2013 [VMM][I]: Failed to execute virtualization driver
operation: attach_disk.
Thu Jun 6 11:07:33 2013 [VMM][E]: Error attaching new VM Disk: Could not
attach /srv/cloud/one/datastores/0/11/disk.1 (vdb) to one-11"
then i check the /srv/cloud/one/datastores/0/11/disk.1.attach file.
"root at kvm-236051-ceph-test:/srv/cloud/one/datastores/0/11# cat disk.1.attach
<disk type='file' device='disk'>
<driver name='qemu' type='raw' cache='writeback'/>
<source file='/srv/cloud/one/datastores/0/11/disk.1'/>
<target dev='vdb'/>
</disk>
"
obviously one error handle the ceph image to VM. i also try to manual
attach ceph image to vm, it's ok.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130606/27380f09/attachment.htm>
More information about the Users
mailing list