Re: about attaching rbd volume from instance on KVM

2012-02-27 Thread Josh Durgin
On 02/26/2012 09:48 AM, Josh Durgin wrote: (resending since the list didn't receive it) On 02/20/2012 01:37 AM, Masuko Tomoya wrote: Hi Josh, Thank you for reply. Your advice is very helpful!! I applied your patch to libvirt 0.9.8 and rebuilt it. But same error was occured. Could you advise

Re: about attaching rbd volume from instance on KVM

2012-02-17 Thread Josh Durgin
On 02/15/2012 07:01 PM, Masuko Tomoya wrote: Hi Josh, Thank you for your reply ! libvirt 0.9.9 fixes this (the applied patch is http://www.redhat.com/archives/libvir-list/2011-December/msg00506.html if you're curious). Finally I applied the patch to libvirt 0.9.8 and I fixed it. But I

Re: about attaching rbd volume from instance on KVM

2012-02-08 Thread Masuko Tomoya
Hi Christian, Thank you for reply ! Could I ask a version of libvirt which is your patch applied ? I'm trying it with libvirt0.9.8-2ubuntu9, but there is same error. (I'm using blow package: https://launchpad.net/ubuntu/precise/+source/libvirt/0.9.8-2ubuntu9) root@compute04:~# dpkg -l | grep

Re: about attaching rbd volume from instance on KVM

2012-02-08 Thread Josh Durgin
On 02/08/2012 03:42 PM, Masuko Tomoya wrote: Hi Christian, Thank you for reply ! Could I ask a version of libvirt which is your patch applied ? I'm trying it with libvirt0.9.8-2ubuntu9, but there is same error. (I'm using blow package:

Re: about attaching rbd volume from instance on KVM

2012-02-06 Thread Christian Brunner
Libvirt is trying to set security lables even for network shares. This will not work. I think this is fixed in newer libvirt versions. For older versions you can try this patch: http://www.redhat.com/archives/libvir-list/2011-May/msg01446.html Regards, Christian 2012/2/4 Masuko Tomoya

about attaching rbd volume from instance on KVM

2012-02-03 Thread Masuko Tomoya
Hi, all. I'm trying to attach rbd volume from instance on KVM. But I have problem. Could you help me ? --- I tried to attach rbd volume on ceph01 to instance on compute1 with virsh command. root@compute1:~# virsh attach-device test-ub16 /root/testvolume.xml error: Failed to attach device from