[Openstack] [OpenStack][Cinder] ISCSITargetCreateFailed: Failed to create iscsi target for volume
Balamurugan V G
balamuruganvg at gmail.com
Wed Jan 2 10:41:25 UTC 2013
Is that a typo in your configuration or a copy pase error:
# /etc/tgt/conf.d/cinder_tgt.conf
nclude /var/lib/cinder/volumes/*
The 'i' is missing in 'include'. If its only a copy paste error in the
mail, make sure you have the following running:
root at openstack-vm:~# ps -ef | grep cinder
root 3636 1 0 06:53 ? 00:00:33 /usr/bin/python
/usr/local/bin/cinder-volume
root 25433 1 0 06:46 ? 00:00:01 /usr/bin/python
/usr/local/bin/cinder-api --config-file /etc/cinder/cinder.conf
root 25937 1 0 06:46 ? 00:00:32 /usr/bin/python
/usr/local/bin/cinder-scheduler --config-file /etc/cinder/cinder.conf
root at openstack-vm:~# ps -ef | grep tgt
root 31176 31174 0 06:49 ? 00:00:03 tgtd
root at openstack-vm:~#
Also, in my case(devstack install), the path is
'/opt/stack/data/cinder/volumes/*' and not ' /var/lib/cinder/volumes/*'. So
make sure your path is right.
Hope this helps.
Regards,
Balu
On Wed, Jan 2, 2013 at 3:47 PM, Leander Bessa Beernaert <leanderbb at gmail.com
> wrote:
> # /etc/tgt/conf.d/cinder_tgt.conf
> nclude /var/lib/cinder/volumes/*
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130102/fbbb2077/attachment.html>
More information about the Openstack
mailing list