how to restart service
after doing some changes in python code of neutron, how to reboot neutron to check that changes...
First time here? Check out the FAQ!
after doing some changes in python code of neutron, how to reboot neutron to check that changes...
If you are running devstack environment, you can do restart as below
thanks for the reply.. where to run these command 1. /etc/init.d 2. cd devstack/ then use these commands.
Things have changed. If you are still working with devstack and you are on ubuntu then it is:
sudo systemctl restart devstack@q-svc.service
Protip: systemctl has tab completion after you identify the service to restart. So, sudo systemctl restart devstack@
and tab complete from there.
service neutron-dhcp-agent restart
service neutron-ovs-cleanup restart
service neutron-metadata-agentrestart
service neutron-l3-agent restart
service neutron-plugin-openvswitch-agent restart
service neutron-vpn-agent restart
service neutron-server restart
let me tell complete steps:
(Note:Use vncserver or Xmanager)
First cd to folder devstack
You can find the file ./rejoin_stack.sh
Execute the same.
It will be executed and screen will be opened for access.
press ctrl + a + shift + "
Then it will be listing the running services
can move to service which needs to be stopped by scrolling towards it.
on the service which is needs to be stopped press enter
then press ctrl + c , it will stop the service
then press up arrow key to run the service again
service will be restarted successfully.
Asked: 2016-01-02 19:52:33 -0600
Seen: 3,556 times
Last updated: Jan 11 '16
Programatically restart Openstack services
Can you use the Openstack Python SDK with Fwaas
Neutron not respecting project-scoped tokens
Minimal devstack with nova and floating ips
Volume group "stack-volumes-lvmdriver-1" not found devstack
Devstack build Compute Node , the ./stack.sh ignore the Neutron setup
How to allow instance to communicate with controller node
Instances are not reachable after restarting one of the servers