On Mon, Oct 28, 2013 at 4:19 AM, Sahid Ferdjaoui
<[email protected]> wrote:
> 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.
If the script is waiting indefinitely, It is likely for some other reason.
You probably tried to upgrade from a much older openvswitch version.
>
> 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-appctl version gets the version information from the running ovs-vswitchd.
"ovs-appctl --version" gives the version of the installed ovs-appctl
utility. The code needs to know the version number of the running
ovs-vswitchd.
So the existing code looks correct to me.
> "ovs-vswitchd (Open vSwitch) 1."[0-9].*)
> action "Saving ofport values" ovs_save save-ofports \
> "${script_ofports}"
>
>
> s.
> _______________________________________________
> discuss mailing list
> [email protected]
> http://openvswitch.org/mailman/listinfo/discuss
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss