mirror of
https://github.com/openvswitch/ovs
synced 2025-10-29 15:28:56 +00:00
xenserver: Give ovs-vsctl a bit more time to do its work
Creating bonds sometimes fails due to ovs-vsctl timing out. This commit increases the time interface-reconfigure gives ovs-vsctl from five to twenty seconds. We should investigate why it's taking ovs-vsctl so long, but this helps for now.
This commit is contained in:
@@ -1255,7 +1255,7 @@ def datapath_modify_config(commands):
|
||||
for c in commands:
|
||||
log(" %s" % c)
|
||||
|
||||
rc = run_command(['/usr/bin/ovs-vsctl']
|
||||
rc = run_command(['/usr/bin/ovs-vsctl'] + ['--timeout=20']
|
||||
+ [c for c in commands if not c.startswith('#')])
|
||||
if not rc:
|
||||
raise Error("Failed to modify vswitch configuration")
|
||||
|
||||
Reference in New Issue
Block a user