Ask Your Question

openvswitch hang [closed]

asked 2014-01-17 02:48:13 -0500

updated 2014-01-24 19:15:50 -0500

smaffulli gravatar image

hi guys,

i deploy openstack multi-node with neutron (openvswich + gre). it's work fine but i met a issue that network can't be conneted by the openvswitch hang. so that one of the compute server have this proberm other is work fine.

i have below check: all of the neutron agent looks fine by "neutron agent-list" check. all of the compute nodes looks fine by "nova-manage service list" and check the openvswich server status ,it's looks fine also by "/etc/init.d/openvswitch status" so i try to restart the openvswitch , but i'm failed.

[root@compute3 ~]# /etc/init.d/openvswitch status
ovsdb-server is running with pid 9481
ovs-vswitchd is running with pid 9494
[root@compute3 ~]# /etc/init.d/openvswitch restart
Killing ovs-vswitchd (9494)                                [  OK  ]
Killing ovs-vswitchd (9494) with SIGKILL                   [  OK  ]
**Killing ovs-vswitchd (9494) failed ... failed!**
Killing ovsdb-server (9481)                                [  OK  ]
Starting ovsdb-server                                      [  OK  ]
Configuring Open vSwitch system IDs                        [  OK  ]
ovs-vswitchd is already running.
Enabling remote OVSDB managers                             [  OK  ]

i try to kill the process but i'm still failed

[root@compute3 log]# ps -ef|grep vswitchd
root      9494     1 11  2013 ?        2-21:45:29 ovs-vswitchd unix:/var/run/openvswitch/db.sock -vconsole:emer -vsyslog:err -vfile:info --mlockall --no-chdir --log-file=/var/log/openvswitch/ovs-vswitchd.log --pidfile=/var/run/openvswitch/ --detach --monitor
root      9495  9494  0  2013 ?        00:00:01 [ovs-vswitchd] <defunct>
root     17044 11344  0 16:22 pts/13   00:00:00 gdb /usr/sbin/ovs-vswitchd 9494
root     18292 11344  0 16:45 pts/13   00:00:00 grep vswitchd

openstack version and os information:

package:RDO release,  rdo-release-havana-6
OS:redhat 6.4
kernel :Linux compute3 2.6.32-431. #1 SMP Fri Dec 13 13:06:13 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
openvswitch:ovs-vsctl (Open vSwitch) 1.11.0
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by rbowen
close date 2014-04-21 12:19:36.630330


"[ovs-vswitchd] <defunct>" is not looking good. Reboot?

smaffulli gravatar imagesmaffulli ( 2014-01-24 19:17:13 -0500 )edit

Ping? Are you still experiencing the problem? If so, can you provide any additional information or log entries?

rbowen gravatar imagerbowen ( 2014-03-07 13:17:01 -0500 )edit

Closing as abandoned.

rbowen gravatar imagerbowen ( 2014-04-21 12:19:26 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2014-10-25 13:03:49 -0500

Yash gravatar image

Hi, I am facing an identical problem with Icehouse RDO + RHEL. The ovsdb-server and ovs-vswitchd processes are in running state but seems to be stuck in some sort of a loop. I cannot kill/restart these processes and can't gdb into them either. Nothing is logged into the ovs logs and all ovs commands hang.

There was some heavy network traffic and a CPU spike that led to this problem. Can I recover from the problem with rebooting?


RHEL: 6.5 Kernel: 2.6.32-431.el6.x86_64 Openstack version and release: 2014.1.2-1.el6

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2014-01-17 02:48:13 -0500

Seen: 1,582 times

Last updated: Oct 25 '14