[openstack-dev] [all] Getting error after doing unstack.sh on stable/liberty

Umar Yousaf umarusaf902 at gmail.com
Mon Feb 8 02:04:31 UTC 2016


I just did unstack.sh due to some reason and then afterwards when I run
stack.sh I am getting following error
 i) Error: Service g-api is not running
ii) Error: Service g-reg is not running
iii) Error: Service h-api is not running

After a lot of struggle I found a resolution that when I reboot my
machine,I can successfully stack.sh just like before.Its really tedious to
do reboot.So anyone has a better solution to this problem.I know in
previous additions of devstack there were not any problems like that but I
dont know why it is happening...

Here is the log where error comes
2016-02-08 01:40:47.966 | + failures='/opt/stack/status/stack/g-api.failure
2016-02-08 01:40:47.967 | /opt/stack/status/stack/g-reg.failure
2016-02-08 01:40:47.967 | /opt/stack/status/stack/h-api.failure'
2016-02-08 01:40:47.967 | + for service in '$failures'
2016-02-08 01:40:47.967 | ++ basename /opt/stack/status/stack/g-api.failure
2016-02-08 01:40:47.969 | + service=g-api.failure
2016-02-08 01:40:47.969 | + service=g-api
2016-02-08 01:40:47.969 | + echo 'Error: Service g-api is not running'
2016-02-08 01:40:47.969 | Error: Service g-api is not running
2016-02-08 01:40:47.969 | + for service in '$failures'
2016-02-08 01:40:47.969 | ++ basename /opt/stack/status/stack/g-reg.failure
2016-02-08 01:40:47.970 | + service=g-reg.failure
2016-02-08 01:40:47.970 | + service=g-reg
2016-02-08 01:40:47.970 | + echo 'Error: Service g-reg is not running'
2016-02-08 01:40:47.970 | Error: Service g-reg is not running
2016-02-08 01:40:47.970 | + for service in '$failures'
2016-02-08 01:40:47.970 | ++ basename /opt/stack/status/stack/h-api.failure
2016-02-08 01:40:47.971 | + service=h-api.failure
2016-02-08 01:40:47.971 | + service=h-api
2016-02-08 01:40:47.971 | + echo 'Error: Service h-api is not running'
2016-02-08 01:40:47.971 | Error: Service h-api is not running
2016-02-08 01:40:47.971 | + '[' -n '/opt/stack/status/stack/g-api.failure
2016-02-08 01:40:47.971 | /opt/stack/status/stack/g-reg.failure
2016-02-08 01:40:47.971 | /opt/stack/status/stack/h-api.failure' ']'
2016-02-08 01:40:47.972 | + die 1537 'More details about the above errors
can be found with screen, with ./rejoin-stack.sh'
2016-02-08 01:40:47.972 | + local exitcode=0
2016-02-08 01:40:47.972 | [Call Trace]
2016-02-08 01:40:47.972 | ./stack.sh:1314:service_check
2016-02-08 01:40:47.972 | /home/airbourne/devstack/functions-common:1537:die
2016-02-08 01:40:47.974 | [ERROR]
/home/airbourne/devstack/functions-common:1537 More details about the above
errors can be found with screen, with ./rejoin-stack.sh
2016-02-08 01:40:49.057 | Error on exit

regards,
Umar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160208/962e2753/attachment.html>


More information about the OpenStack-dev mailing list