openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #19748
Re: [OpenStack][Cinder] ISCSITargetCreateFailed: Failed to create iscsi target for volume
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@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@openstack-vm:~# ps -ef | grep tgt
root 31176 31174 0 06:49 ? 00:00:03 tgtd
root@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@xxxxxxxxx
> wrote:
> # /etc/tgt/conf.d/cinder_tgt.conf
> nclude /var/lib/cinder/volumes/*
>
Follow ups
References