[rhos-list] Remote Cinder access

Lutz Christoph lchristoph at arago.de
Tue Aug 27 11:29:15 UTC 2013


Hi!

I'm in the last tests for a three node RDO setup, and I found that with the current default setup, qemu-kvm can't access a volume:

qemu-kvm: -drive file=/dev/disk/by-path/ip-192.168.104.61:3260-iscsi-iqn.2010-10.org.openstack:volume-229b80d0-ad10-4a3b-b022-d632de368001-lun-1,if=none,id=drive-virtio-disk0,format=raw,serial=229b80d0-ad10-4a3b-b022-d632de368001,cache=none: could not open disk image /dev/disk/by-path/ip-192.168.104.61:3260-iscsi-iqn.2010-10.org.openstack:volume-229b80d0-ad10-4a3b-b022-d632de368001-lun-1: Permission denied

The device looks just like any other disk device:

lrwxrwxrwx. 1 root root 9 Aug 27 10:40 /dev/disk/by-path/ip-192.168.104.61:3260-iscsi-iqn.2010-10.org.openstack:volume-229b80d0-ad10-4a3b-b022-d632de368001-lun-1 -> ../../sdj
brw-rw----. 1 root disk 8, 144 Aug 27 10:40 /dev/sdj

qemu is running under the "nova" user (it is running as "qemu" on an all-in-one server). When I added the "disk" group to the "nova" user, the problem went away.

Doing the same on the all-in-one machine did not have this problem, but them access is directly to the LV, not via iSCSI, and the user is different, though it does not have the "disk" group attached.

Now, I'm wondering if adding the "disk" group is the right thing to so, considering that the all-in-one does not need this, or there is a more elegant solution.

Best regards / Mit freundlichen Gr??en
Lutz Christoph

--

Lutz Christoph

arago Institut f?r komplexes Datenmanagement AG

Eschersheimer Landstra?e 526 - 532
60433 Frankfurt am Main

eMail: lchristoph at arago.de - www: http://www.arago.de
Tel: 0172/6301004
Mobil: 0172/6301004

[http://www.arago.net/wp-content/uploads/2013/06/EmailSignatur1.png] <http://www.cloudops.de/>

--
Bankverbindung: Frankfurter Sparkasse, BLZ: 500 502 01, Kto.-Nr.: 79343
Vorstand: Hans-Christian Boos, Martin Friedrich
Vorsitzender des Aufsichtsrats: Dr. Bernhard Walther
Sitz: Kronberg im Taunus - HRB 5731 - Registergericht: K?nigstein i.Ts
Ust.Idnr. DE 178572359 - Steuernummer 2603 003 228 43435
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhos-list/attachments/20130827/68a42908/attachment.htm>


More information about the rhos-list mailing list