On Mon, Oct 28, 2013 at 7:51 AM, Sahid Ferdjaoui <sahid.ferdja...@cloudwatt.com> wrote: > Ok so there is a problem to update ovs from 1.4 this command seems do not > respond.
Yes. The newer openvswitch userspace utilities are not compatible with older openvswitch kernel module. When you do a upgrade using 'force-reload-kmod', it is generally wiser to upgrade one version at a time. > > ----- Original Message ----- > From: "Gurucharan Shetty" <shet...@nicira.com> > To: "Sahid Ferdjaoui" <sahid.ferdja...@cloudwatt.com> > Cc: "discuss" <discuss@openvswitch.org> > Sent: Monday, October 28, 2013 3:36:46 PM > Subject: Re: [ovs-discuss] Bug on ovs-ctl force-reload-kmod > > On Mon, Oct 28, 2013 at 4:19 AM, Sahid Ferdjaoui > <sahid.ferdja...@cloudwatt.com> 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 >> discuss@openvswitch.org >> http://openvswitch.org/mailman/listinfo/discuss _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss