xenserver: Must pass --no-wait to ovs-vsctl before starting ovs-vswitchd.
authorBen Pfaff <blp@nicira.com>
Wed, 17 Mar 2010 16:48:05 +0000 (09:48 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 17 Mar 2010 16:48:05 +0000 (09:48 -0700)
Otherwise ovs-vsctl pauses until it times out waiting for ovs-vswitchd to
reload its configuration.

xenserver/etc_init.d_vswitch

index b1014a711a8ec0f3e262c152287359539f826acb..304eabb1cf962b5fd0da18aee5eedeae5dd0aa23 100755 (executable)
@@ -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