How do i restart Nova

asked 2012-06-13 19:33:27 -0500

I made changes to nova.conf, how do i now restart now to pickup the new changes ?

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2012-06-13 19:40:30 -0500

annegentle gravatar image

On ubuntu: sudo restart nova-api sudo restart nova-compute sudo restart nova-network sudo restart nova-scheduler sudo restart nova-vncproxy sudo restart nova-volume sudo restart libvirt-bin sudo /etc/init.d/rabbitmq-server restart


On RHEL/CentOS/Fedora

for svc in api objectstore compute network volume scheduler cert; do sudo service openstack-nova-$svc start ; sudo chkconfig openstack-nova-$svc on ; done

edit flag offensive delete link more

answered 2012-06-13 19:46:37 -0500

I already tried that. Please note I used devstack installation script and all open-stack components are running. When I try to run these commands i get this error "restart: Unknown job: nova-compute"

edit flag offensive delete link more

answered 2012-06-14 12:54:08 -0500

annegentle gravatar image

Okay, I think with devstack you either start a new screen session like so: screen -x stack as the user that you install devstack with.

Or, re-run the script after changing the EXTRA_OPTS flag in localrc to set additional values in there. You can set more than one flag by using bash arrays, i.e.:

EXTRA_OPTS=(logdir=/var/log/nova auto_assign_floating_ip=True)

Found these tips in this thread:

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2012-06-13 19:33:27 -0500

Seen: 140 times

Last updated: Jun 14 '12