openstack restart all

To restart all openstack services:

# for svc in api cert compute conductor network scheduler; do
service openstack-nova-$svc restart

Redirecting to /bin/systemctl restart openstack-nova-api.service
Redirecting to /bin/systemctl restart openstack-nova-cert.service
Redirecting to /bin/systemctl restart openstack-nova-compute.service
Redirecting to /bin/systemctl restart openstack-nova-conductor.service
Redirecting to /bin/systemctl restart openstack-nova-network.service
Failed to issue method call: Unit openstack-nova-network.service failed to load: No such file or directory.
Redirecting to /bin/systemctl restart openstack-nova-scheduler.service

(note: network fails)

do it manually...
/usr/bin/systemctl stop neutron-openvswitch-agent
/usr/bin/systemctl start neutron-openvswitch-agent
/usr/bin/systemctl status neutron-openvswitch-agent

service httpd stop
service httpd start

This entry was posted in Uncategorized. Bookmark the permalink.

Comments are closed.