<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div apple-content-edited="true" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">
<div class="">Hi, All</div>
<div class=""><br class="">
</div>
<div class="">I want to make the qemu communicate with iscsi target using libiscsi directly, and I </div>
<div class="">followed <a href="https://review.openstack.org/#/c/135854/" class="">https://review.openstack.org/#/c/135854/</a> to add </div>
<div class=""><span class="" style="widows: 1; background-color: rgb(255, 255, 255);">'</span><span class="" style="widows: 1; background-color: rgb(255, 255, 255);"><font face="monospace" size="2" class=""><span class="" style="white-space: pre;">volume_drivers
= iscsi=nova.virt.libvirt.volume.LibvirtNetVolumeDriver¡¯</span></font> in </span>nova.conf</div>
<div class=""> and then restarted nova services and cinder services, but still the volume configuration of vm is as bellow:</div>
<div class=""><br class="">
</div>
<div class="">
<div class=""> <disk type='block' device='disk'></div>
<div class=""> <driver name='qemu' type='raw' cache='none'/></div>
<div class=""> <source dev='/dev/disk/by-path/ip-10.75.195.205:3260-iscsi-iqn.2010-10.org.openstack:volume-076bb429-67fd-4c0c-9ddf-0dc7621a975a-lun-0'/></div>
<div class=""> <target dev='vdb' bus='virtio'/></div>
<div class=""> <serial>076bb429-67fd-4c0c-9ddf-0dc7621a975a</serial></div>
<div class=""> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/></div>
<div class=""> </disk></div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">I use centos7 and Liberty version of OpenStack.</div>
<div class="">Could anybody tell me how can I achieve it?</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
</div>
<div class="">Thanks.</div>
</div>
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br class="">
</body>
</html>