Ask Your Question
0

Can I restart neutron agents? [closed]

asked 2014-12-06 12:09:42 -0600

minherz gravatar image

Hello, How can I restart neutron agent(s) on computation node? Will it hurt current VMs that are running on the node?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by minherz
close date 2014-12-07 03:54:30.435264

1 answer

Sort by » oldest newest most voted
0

answered 2014-12-06 12:44:40 -0600

dbaxps gravatar image

updated 2014-12-06 12:51:38 -0600

On RH systems (F20,CentOS 7) :-

    [root@juno2 ~]# systemctl | grep neutron
    neutron-openvswitch-agent.service                                                                loaded active running   OpenStack Neutron Open vSwitch Agent
    neutron-ovs-cleanup.service                                                                      loaded active exited    OpenStack Neutron Open vSwitch Cleanup Utility
    [root@juno2 ~]# systemctl restart neutron-openvswitch-agent.service
    [root@juno2 ~]# systemctl status neutron-openvswitch-agent.service
    neutron-openvswitch-agent.service - OpenStack Neutron Open vSwitch Agent
       Loaded: loaded (/usr/lib/systemd/system/neutron-openvswitch-agent.service; enabled)
       Active: active (running) since Sat 2014-12-06 21:37:05 MSK; 23s ago
     Main PID: 16459 (neutron-openvsw)
       CGroup: /system.slice/neutron-openvswitch-agent.service
               ├─16459 /usr/bin/python /usr/bin/neutron-openvswitch-agent --config-file /usr/share/neutron...
               ├─16595 sudo neutron-rootwrap /etc/neutron/rootwrap.conf ovsdb-client monitor Interface nam...
               ├─16597 /usr/bin/python /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf ovsdb-client m...
               └─16599 /bin/ovsdb-client monitor Interface name,ofport --format=json

    Dec 06 21:37:12 juno2.localdomain sudo[16756]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=...int
 .  .  .  .  .   .  .
    Dec 06 21:37:28 juno2.localdomain sudo[16786]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=...=23
    Hint: Some lines were ellipsized, use -l to show in full.

VMs keep running (at least ):-

[root@juno2 ~(keystone_kashyap)]# nova list
+--------------------------------------+---------------+--------+------------+-------------+------------------------------------------+
| ID                                   | Name          | Status | Task State | Power State | Networks                                 |
+--------------------------------------+---------------+--------+------------+-------------+------------------------------------------+
| 95a8c989-2d15-4889-994e-cf88a3a8a836 | UbuntuRSX0512 | ACTIVE | -          | Running     | kashyap_private=40.0.0.16, 192.168.1.155 |
+--------------------------------------+---------------+--------+------------+-------------+------------------------------------------+

I've started long setup via Synaptic Manager on UbuntuRSX0512 && several times restarted agent no harm.

edit flag offensive delete link more

Comments

Hello dbaxps, Did you see that existing communication in VMs was persistent in a time of the restart or it was dropped?

minherz gravatar imageminherz ( 2014-12-07 00:17:26 -0600 )edit

I didn't notice misbehaviour, but this test I did only per your request , not on production. I might not notice problem.

dbaxps gravatar imagedbaxps ( 2014-12-07 01:08:56 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-12-06 12:09:42 -0600

Seen: 1,019 times

Last updated: Dec 06 '14