[openstack-dev] [Openstack]Devstack error tgt process related to iscsi not getting started

Sumanth Sathyanarayana sumanth.sathyanarayana at gmail.com
Wed Oct 21 02:02:59 UTC 2015


Hi,

On running stack.sh, I am getting the below error related to tgt process,
which has
something to do with Cinder.

2015-10-20 23:28:24.030 | + echo_summary 'Starting Cinder'
2015-10-20 23:28:24.030 | + [[ -t 3 ]]
2015-10-20 23:28:24.030 | + [[ True != \T\r\u\e ]]
2015-10-20 23:28:24.030 | + echo -e Starting Cinder
2015-10-20 23:28:24.030 | + start_cinder
2015-10-20 23:28:24.031 | + local service_port=8776
2015-10-20 23:28:24.031 | + local service_protocol=http
2015-10-20 23:28:24.031 | + is_service_enabled tls-proxy
2015-10-20 23:28:24.033 | + return 1
2015-10-20 23:28:24.033 | + '[' tgtadm = tgtadm ']'
2015-10-20 23:28:24.033 | + is_service_enabled c-vol
2015-10-20 23:28:24.035 | + return 0
2015-10-20 23:28:24.035 | + sudo rm -f /etc/tgt/conf.d/stack.conf
2015-10-20 23:28:24.043 | + _configure_tgt_for_config_d
2015-10-20 23:28:24.043 | + [[ ! -d /etc/tgt/stack.d/ ]]
2015-10-20 23:28:24.044 | + is_ubuntu
2015-10-20 23:28:24.044 | + [[ -z deb ]]
2015-10-20 23:28:24.044 | + '[' deb = deb ']'
2015-10-20 23:28:24.044 | + sudo service tgt restart
2015-10-20 23:28:24.055 | stop: Unknown instance:
2015-10-20 23:28:24.589 | start: Job failed to start
2015-10-20 23:28:24.590 | + exit_trap
2015-10-20 23:28:24.590 | + local r=1
2015-10-20 23:28:24.591 | ++ jobs -p
2015-10-20 23:28:24.592 | + jobs=
2015-10-20 23:28:24.592 | + [[ -n '' ]]
2015-10-20 23:28:24.592 | + kill_spinner
2015-10-20 23:28:24.592 | + '[' '!' -z '' ']'
2015-10-20 23:28:24.592 | + [[ 1 -ne 0 ]]
2015-10-20 23:28:24.592 | + echo 'Error on exit'
2015-10-20 23:28:24.592 | Error on exit
2015-10-20 23:28:24.592 | + [[ -z /opt/stack/logs ]]
2015-10-20 23:28:24.592 | + /home/ubuntu/devstack/tools/worlddump.py -d
/opt/stack/logs
2015-10-20 23:28:25.341 | + exit 1

I see in the above log that the tgt process is somehow failing to restart.
So I tried to manually uninstall the process and re-install it
by
sudo apt-get install tgt
and I also tried sudo apt-get upgrade.
For both the scenarios,  I still got the below log:

After this operation, 670 kB of additional disk space will be used.
Selecting previously unselected package tgt.
(Reading database ... 68926 files and directories currently installed.)
Preparing to unpack .../tgt_1%3a1.0.43-0ubuntu4.1~14.04.2_amd64.deb ...
Unpacking tgt (1:1.0.43-0ubuntu4.1~14.04.2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up tgt (1:1.0.43-0ubuntu4.1~14.04.2) ...
start: Job failed to start
invoke-rc.d: initscript tgt, action "start" failed.
dpkg: error processing package tgt (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 tgt
E: Sub-process /usr/bin/dpkg returned an error code (1)


I saw that there were similar issues raised earlier,
like
http://lists.openstack.org/pipermail/openstack-dev/2014-June/038157.html

But I did not find any clear solution. Has any body faced this issue
recently?

Thanks & Best Regards
Sumanth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151020/755ed1f8/attachment.html>


More information about the OpenStack-dev mailing list