Ask Your Question
2

restart openstack after configuring nova.conf?

asked 2014-01-13 15:48:03 -0500

snowch gravatar image

I'm using packstack to setup openstack on a CentOS 6.4 vagrant guest.

After installing, I change the libvirt_type in nova.conf.

The installation script is below.

Question: What do I need to do for the changes to take effect?

sudo yum install -y http://rdo.fedorapeople.org/rdo-release.rpm
sudo yum install -y openstack-packstack expect

expect << EOF
set timeout -1
spawn "/usr/bin/packstack" "--allinone"
expect "Setting up ssh keys...root@10.0.2.15's password:"
send "vagrant\n"
expect eof
EOF

# virtualbox guests only support type qemu
sed -i 's/^libvirt_type=kvm/libvirt_type=qemu/g' /etc/nova/nova.conf

# what do I need to do now for the changes to take effect?
edit retag flag offensive close merge delete

Comments

Hope your issue is resolved. Can we close this request ?

dheeru gravatar imagedheeru ( 2014-01-13 23:03:03 -0500 )edit

3 answers

Sort by ยป oldest newest most voted
4

answered 2014-01-13 16:43:48 -0500

SamYaple gravatar image

You need to restart nova services. The list of services are below.

#On the "controller" node
nova-api
nova-cert
nova-consoleauth
nova-scheduler 
nova-conductor
nova-novncproxy

#On the compute node
nova-compute

NOTE: You can get away with just restarting nova-api and nova-compute for most changes. Best practice would be to restart all of them.

edit flag offensive delete link more
0

answered 2017-01-03 01:34:40 -0500

ashish235 gravatar image

When you install with packstack you can't do service nova-* restart.

[root@localhost ~(keystone_admin)]# service nova-compute restart Redirecting to /bin/systemctl restart nova-compute.service Failed to restart nova-compute.service: Unit not found.

edit flag offensive delete link more

Comments

Use service openstack-nova-compute restart

timusk gravatar imagetimusk ( 2017-03-02 18:49:29 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2014-01-13 15:48:03 -0500

Seen: 11,967 times

Last updated: Jan 03 '17