Re: [Openstack] Can't attach a RBD volume to an instance

2012-07-15 Thread Sebastien HAN
Hi, Couple of days ago, I updated my guide about this issue. Cheers! On 14 juil. 2012, at 04:03, Travis Rhoden trho...@gmail.com wrote: Josh, Thanks so much for the pointers. I did not figure out that libvirt was trying to read /etc/ceph/ceph.conf. It was in fact being denied by

Re: [Openstack] Can't attach a RBD volume to an instance

2012-07-13 Thread Travis Rhoden
Was this problem ever resolved? I'm having the identical issue right now (perhaps because I am following Sebastien's guide [0]). I found this question raised on LP [1], but no helpful responses, and no linked bug. I can confirm that I can attach an RBD instance manually through virsh, no

Re: [Openstack] Can't attach a RBD volume to an instance

2012-07-13 Thread Josh Durgin
On 07/13/2012 03:09 PM, Travis Rhoden wrote: Was this problem ever resolved? I'm having the identical issue right now (perhaps because I am following Sebastien's guide [0]). I found this question raised on LP [1], but no helpful responses, and no linked bug. I can confirm that I can attach an

Re: [Openstack] Can't attach a RBD volume to an instance

2012-07-13 Thread Travis Rhoden
Josh, Thanks so much for the pointers. I did not figure out that libvirt was trying to read /etc/ceph/ceph.conf. It was in fact being denied by apparmor. I fixed my problem by editing /etc/apparmor.d/libvirt/TEMPLATE and adding /etc/ceph/** r, to the template. Now it works for newly spawned

[Openstack] Can't attach a RBD volume to an instance

2012-05-25 Thread Sébastien Han
Hi everyone, I setup a ceph cluster and I use the RBD driver for nova-volume. I can create volumes and snapshots but currently I can't attach them to an instance. Apparently the volume is detected as busy but it's not, no matter which name I choose. I tried from horizon and the command line, same

Re: [Openstack] Can't attach a RBD volume to an instance

2012-05-25 Thread Josh Durgin
On 05/25/2012 01:31 AM, Sébastien Han wrote: Hi everyone, I setup a ceph cluster and I use the RBD driver for nova-volume. I can create volumes and snapshots but currently I can't attach them to an instance. Apparently the volume is detected as busy but it's not, no matter which name I choose.