Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Restarting a service in Openstack installed using Devstack

How to restart a specific openstack-service installed using devstack?

like image 306
user3170122 Avatar asked May 11 '14 13:05

user3170122


People also ask

What is Devstack in OpenStack?

DevStack is a series of extensible scripts used to quickly bring up a complete OpenStack environment based on the latest versions of everything from git master. It is used interactively as a development environment and as the basis for much of the OpenStack project's functional testing.

How do I shut down Devstack?

Navigate to the /opt/stack/devstack directory. Run ./unstack.sh to stop the openstack services gracefully.


1 Answers

Rejoin stack screen as

./rejoin-stack.sh

and move to the specified service page using ctrl+a+", then type the number of the screen you need to go.

Hit 9 and then ctrl+C. The service would be stopped now. Re-run the following devstack command to start the service: (e.g for nova-network) cd /opt/stack/nova && /usr/bin/nova-network --config /etc/nova/nova.conf || echo "n-net failed to start" | tee "/opt/stack/stack/n-net.failure"

Hit Ctrl+d to detach from the stack screen.

like image 113
woooh77 Avatar answered Sep 28 '22 16:09

woooh77