[ovs-dev] [PATCH 1/4] xenserver: Must pass --no-wait to ovs-vsctl before starting ovs-vswitchd.

Ben Pfaff blp at nicira.com
Fri Mar 12 23:08:21 UTC 2010


Otherwise ovs-vsctl pauses until it times out waiting for ovs-vswitchd to
reload its configuratino.
---
 xenserver/etc_init.d_vswitch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/xenserver/etc_init.d_vswitch b/xenserver/etc_init.d_vswitch
index b1014a7..304eabb 100755
--- a/xenserver/etc_init.d_vswitch
+++ b/xenserver/etc_init.d_vswitch
@@ -322,7 +322,7 @@ function set_system_uuid {
     system_uuid=$(. /etc/xensource-inventory && echo $INSTALLATION_UUID)
     if test -n "$system_uuid"; then
         action "Configuring Open vSwitch system UUID" true
-        $vsctl set Open_vSwitch . external-ids:system-uuid="$system_uuid"
+        $vsctl --no-wait set Open_vSwitch . external-ids:system-uuid="$system_uuid"
     else
         action "Configuring Open vSwitch system UUID" false
     fi
-- 
1.6.6.1





More information about the dev mailing list