I found a bug when I tried to update to openvswitch 2.0:

  It's on the script ovs-ctl when we want to use "force-reload-kmod". During 
the "save_ofports_if_required" the script are waiting indefinitely because a 
mistake in the command.

I past here a small diff to correct it:


diff --git a/utilities/ovs-ctl.in b/utilities/ovs-ctl.in
index 0735160..c291fbe 100755
--- a/utilities/ovs-ctl.in
+++ b/utilities/ovs-ctl.in
@@ -288,7 +288,7 @@ ovs_save () {
 
 save_ofports_if_required () {
     # Save ofports if we are upgrading from a pre-1.10 branch.
-    case `ovs-appctl version | sed 1q` in
+    case `ovs-appctl --version | sed 1q` in
         "ovs-vswitchd (Open vSwitch) 1."[0-9].*)
             action "Saving ofport values" ovs_save save-ofports \
                 "${script_ofports}"


s.
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to