Ask Your Question

How to restart Neutron properly?

asked 2014-10-09 07:58:58 -0500

lukas.pustina gravatar image

We have a control node that also acts as the network node and multiple compute nodes running Icehouse.

Sometimes it's necessary to restart the control node due to maintenance. After the control node is back up, the network connections between virtual machines running on the computes nodes as well as their connections to the outside are often broken. Only a restart of the compute node helps.

This is ridiculous. Do you guys have any advice on how to repair this situation without the need to reboot the whole cluster of nodes? I'd be happy for any workflow you successfully use.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-10-09 08:11:05 -0500

fgorbat gravatar image

Personally, I'm using the following in my environment:

For neutron:

for i in `chkconfig --list|grep neut|grep -v 3\:off|awk '{print $1}'`; do service $i restart; done

Other openstack services:

for i in `chkconfig --list|grep open|grep -v 3\:off|awk '{print $1}'`; do service $i restart; done
edit flag offensive delete link more


So, you're saying, I shall restart all neutron services on the compute nodes after I rebooted the control node?

lukas.pustina gravatar imagelukas.pustina ( 2014-10-09 08:14:43 -0500 )edit

yep, it works for me in the following sequence with above commands: controller -> network -> computes ...

fgorbat gravatar imagefgorbat ( 2014-10-09 08:21:18 -0500 )edit

Okay, just checking: So it is expected that you have to restart the neutron service on the compute nodes after a network node has been restarted? Do you know what? Which information is lost during the reboot?

lukas.pustina gravatar imagelukas.pustina ( 2014-10-09 08:33:11 -0500 )edit

This might partially answer my other question

lukas.pustina gravatar imagelukas.pustina ( 2014-10-09 08:33:25 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-10-09 07:58:58 -0500

Seen: 5,223 times

Last updated: Oct 09 '14