<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style style="display: none;" id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body tabindex="0" aria-label="Nachrichtentext" fpstyle="1" dir="ltr">
<div name="divtagdefaultwrapper" id="divtagdefaultwrapper" style="font-family: Tahoma, Geneva, sans-serif; font-size: 10pt; color: #000000; margin: 0">
Hi!<br>
<br>
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:<br>
<br>
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<br>
<br>
The device looks just like any other disk device:<br>
<br>
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<br>
brw-rw----. 1 root disk 8, 144 Aug 27 10:40 /dev/sdj<br>
<br>
<div>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.<br>
<br>
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.<br>
<br>
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.<br>
<br>
<font face="Tahoma">Best regards / Mit freundlichen Grüßen <br>
Lutz Christoph <br>
<br>
-- <br>
<br>
Lutz Christoph <br>
<br>
arago Institut für komplexes Datenmanagement AG <br>
<br>
Eschersheimer Landstraße 526 - 532 <br>
60433 Frankfurt am Main <br>
<br>
eMail: lchristoph@arago.de - www: http://www.arago.de <br>
Tel: 0172/6301004 <br>
Mobil: 0172/6301004 <br>
<br>
</font><a href="http://www.cloudops.de/"><font face="Tahoma"><img border="0" height="88" width="350" src="http://www.arago.net/wp-content/uploads/2013/06/EmailSignatur1.png">
</font></a><font face="Tahoma">  <br>
<br>
-- <br>
Bankverbindung: Frankfurter Sparkasse, BLZ: 500 502 01, Kto.-Nr.: 79343 <br>
Vorstand: Hans-Christian Boos, Martin Friedrich <br>
Vorsitzender des Aufsichtsrats: Dr. Bernhard Walther <br>
Sitz: Kronberg im Taunus - HRB 5731 - Registergericht: Königstein i.Ts <br>
Ust.Idnr. DE 178572359 - Steuernummer 2603 003 228 43435 </font></div>
</div>
</body>
</html>