[Openstack-operators] [cinder] About how to make the vm use volume with libiscsi

Xiao Ma (xima2) xima2 at cisco.com
Tue Feb 16 12:54:10 UTC 2016


Hi, All

I want to make the qemu communicate with iscsi target using libiscsi directly, and I
followed https://review.openstack.org/#/c/135854/ to add
'volume_drivers = iscsi=nova.virt.libvirt.volume.LibvirtNetVolumeDriver’ in nova.conf
 and then restarted nova services and cinder services, but still the volume configuration of vm is as bellow:

    <disk type='block' device='disk'>
      <driver name='qemu' type='raw' cache='none'/>
      <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'/>
      <target dev='vdb' bus='virtio'/>
      <serial>076bb429-67fd-4c0c-9ddf-0dc7621a975a</serial>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </disk>


I use centos7 and Liberty version of OpenStack.
Could anybody tell me how can I achieve it?


Thanks.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20160216/b025be39/attachment.html>


More information about the OpenStack-operators mailing list