Hello Xiao,
I tried this exact same thing and it doesn't work for me neither on RDO
Kilo 2015.1.2 with a recent QEMU version 2.3 supporting iscsi.
As it's defined here
https://github.com/openstack/nova/blob/stable/kilo/nova/virt/libvirt/driver.py#L273
it should be enough to change the drivers in the volume_drivers tab...
I tried the LibvirtNetVolumeDriver inside and outside of nova/[libvirt]
configuration section. There wasn't anything inside the debug logs too...
Regards,
Le 16/02/2016 13:54, Xiao Ma (xima2) a écrit :
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.
_______________________________________________
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
_______________________________________________
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators