[one-users] attach ceph image problem.

Jaime Melis jmelis at opennebula.org
Thu Jun 6 02:57:00 PDT 2013


Hi,

I'm afraid you just found a bug. I've just created this tracker:
http://dev.opennebula.org/issues/2106

thanks for reporting it.

Cheers,
Jaime


On Thu, Jun 6, 2013 at 5:16 AM, mario wu <iamokcn at gmail.com> wrote:

> 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.
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Join us at OpenNebulaConf2013 <http://opennebulaconf.com/> in Berlin, 24-26
September, 2013
--
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jmelis at opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130606/e90a7e61/attachment-0002.htm>


More information about the Users mailing list