Revision history [back]

I skipped creation of /etc/tgt/conf.d/cinder.conf when following the Grizzly installation guide.
Try:

sudo sh -c "echo 'include $volumes_dir/*' >> /etc/tgt/conf.d/cinder.conf"
So the end result is:
$ cat /etc/tgt/conf.d/cinder.conf
include /etc/tgt/targets.conf
$

I skipped creation of In /etc/tgt/conf.d/cinder.conf/etc/cinder/cinder.conf when following the Grizzly installation guide.
Try:
, add:

sudo sh -c "echo 'include $volumes_dir/*' >> /etc/tgt/conf.d/cinder.conf"[DEFAULT]
...
state_path = /var/lib/cinder

So

For reference, I am using tgt for the end result is: iSCSI service, with the following config files:

/etc/tgt/targets.conf:

$ cat /etc/tgt/conf.d/cinder.conf
include /etc/tgt/targets.conf
$
/etc/tgt/conf.d/*.conf


/etc/tgt/conf.d/cinder_tgt.conf:

include /var/lib/cinder/volumes/*