Reputation: 11
When I type in openstack-status it shows the following error.
openstack-nova-network: dead (disabled on boot)
openstack-nova-volume: dead (disabled on boot).
How do I rectify it?
Upvotes: 1
Views: 525
Reputation: 41
Generally speaking, you need to restart the corresponding openstack service in this situation.
Let's take the openstack-nova-network as example, you can see the code of the script which control the service from /etc/init.d/openstack-nova-network
It's the script openstack-nova-network
to do all the job for you to show the status of the service when you use the command openstack-status
The script openstack-nova-network
will create some additional files when starting the service, and when the service terminates by accdient, these files will not be deleted properly.
Here is the created files:
So what you should do is just to remove these 2 files, use:
rm -f /var/lock/subsys/openstack-nova-network /var/run/nova/nova-network.pid
After this, you can run service openstack-nova-network status
and it would show the service is stopped and you can then run service openstack-nova-network restart
to restart the service.
Please be note, you may still find the corresponding service unable to run, this is due to the service itself and you may check the log to see what exactly goes wrong in that service.
Upvotes: 1