Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

As you probably know, iscsi can be done entirely in software - if you have the tgt package installed, then you have it. The fact that cinder-volumes is being backed by FC luns should not matter.

This is what works for me on Ubuntu:

root@controller:/# cat /etc/tgt/targets.conf 
# Empty targets configuration file -- please see the package
# documentation directory for an example.
#
# You can drop individual config snippets into /etc/tgt/conf.d
include /etc/tgt/conf.d/*.conf

root@controller:/# ls /etc/tgt/conf.d/*.conf
/etc/tgt/conf.d/cinder_tgt.conf

root@controller:/# cat /etc/tgt/conf.d/cinder_tgt.conf
include /var/lib/cinder/volumes/*