]> git.proxmox.com Git - mirror_ovs.git/commit
ovs-lib: Add timeout at ovs-check-dead-ifs.
authorWilliam Tu <u9012063@gmail.com>
Tue, 27 Aug 2019 18:09:13 +0000 (11:09 -0700)
committerGurucharan Shetty <guru@ovn.org>
Tue, 27 Aug 2019 06:54:11 +0000 (23:54 -0700)
commit9c74b574029bc474576da9a57a659356a47b7a7e
tree87221901b52272f114824cb83c277eaa1c35dd6c
parent5c7ba90d8189ee7b35a1723d5a76dc205720af50
ovs-lib: Add timeout at ovs-check-dead-ifs.

At SUSE12 SP3, we hit a case where ovs-check-dead-ifs tries to read
an entry in /proc/<pid>/fd/<some fd> but hangs forever.  The pid is
a qemu-system-x86_64 process and we suspect it's an issue related to
qemu, not ovs.  As a result, force-reload-kmod hangs and OVS bridge
never gets restarted. This patch adds a timeout of 5-seconds to
ovs-check-dead-ifs.

VMware-BZ: #2408059
Signed-off-by: William Tu <u9012063@gmail.com>
Cc: Ashish Varma <ashishvarma.ovs@gmail.com>
Cc: Gurucharan Shetty <guru@ovn.org>
Signed-off-by: Gurucharan Shetty <guru@ovn.org>
utilities/ovs-lib.in