[ovs-discuss] restarting openvswitch leaves ovs bridge down and with no IP

Guru Shetty guru at ovn.org
Fri Jan 29 19:03:43 UTC 2016


On 29 January 2016 at 10:07, Ben Pfaff <blp at ovn.org> wrote:

> Ouch!
>
> If we can't fix that in a reasonable manner for branch-2.5 then we'll
> need to revert the commit that started calling "ovs-appctl exit" on
> restart.
>
The behavior was introduced with OVS 2.0 as part of the single datapath
changes.
I wonder whether a ovs-vswitchd exit should not call bridge_destroy at all,
but I agree that there is more here than a simple change.



>
> On Fri, Jan 29, 2016 at 09:49:50AM -0800, Guru Shetty wrote:
> > This is nasty! A 'ovs-appctl exit' causes ovs-vswitchd to destroy the
> > bridges!
> >
> > On 28 January 2016 at 19:45, EDGAR CANTU <eocantu at us.ibm.com> wrote:
> >
> > > Thank you for your response. I restarted OVS the way you mentioned and
> I
> > > don't see the issue.
> > >
> > >
> > > [image: Inactive hide details for Ben Pfaff ---01/28/2016 06:02:24
> > > PM---Please don't drop the mailing list. It's hard for me to guess
> w]Ben
> > > Pfaff ---01/28/2016 06:02:24 PM---Please don't drop the mailing list.
> It's
> > > hard for me to guess whether this is an issue with ovs-vswi
> > >
> > > From: Ben Pfaff <blp at ovn.org>
> > > To: EDGAR CANTU/Austin/IBM at IBMUS
> > > Cc: bugs at openvswitch.org
> > > Date: 01/28/2016 06:02 PM
> > > Subject: Re: [ovs-discuss] restarting openvswitch leaves ovs bridge
> down
> > > and with no IP
> > > ------------------------------
> > >
> > >
> > >
> > > Please don't drop the mailing list.
> > >
> > > It's hard for me to guess whether this is an issue with ovs-vswitchd or
> > > something wrapped around it.  To tell the difference, I would start by
> > > doing a lower-level start.  One way to do that is to run "ps ax|grep
> > > ovs-vswitchd" to see the ovs-vswitchd command line, then kill ovs, then
> > > restart it by running the full command line you saw before.  Another
> > > way, that will work if you see --monitor in the OVS command line, is to
> > > just kill ovs-vswitchd with a SEGV signal, e.g. "kill -SEGV `cat
> > > /var/run/openvswitch/ovs-vswitchd.pid`".
> > >
> > > If you restart OVS one of those ways, do you still see the issue?
> > >
> > > On Thu, Jan 28, 2016 at 04:51:45PM -0600, EDGAR CANTU wrote:
> > > >
> > > > I'm using "systemctl restart openvswitch"
> > > > This is on Centos 7.1
> > > >
> > > >
> > > >
> > > >
> > > > From: Ben Pfaff <blp at ovn.org>
> > > > To: EDGAR CANTU/Austin/IBM at IBMUS
> > > > Cc: bugs at openvswitch.org
> > > > Date: 01/28/2016 04:22 PM
> > > > Subject: Re: [ovs-discuss] restarting openvswitch leaves ovs bridge
> down
> > > >             and with no IP
> > > >
> > > >
> > > >
> > > > On Wed, Jan 27, 2016 at 04:04:49PM -0600, EDGAR CANTU wrote:
> > > > > The openvswitch version on master seems to be wiping out the
> bridge's
> > > IP
> > > > > when openvswitch gets restarted and it is only after restarting
> network
> > > > > services that the IP comes back.
> > > > > I'm using commit 6872bf1eb7e46f9c202d512aa5ca6d99fe35d23e
> > > > > I've also verified that I don' see this issue with versions 2.3.1
> and
> > > > 2.4.0
> > > >
> > > > What are you doing to restart Open vSwitch?
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > discuss mailing list
> > > discuss at openvswitch.org
> > > http://openvswitch.org/mailman/listinfo/discuss
> > >
> > >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160129/6d6fdb92/attachment-0002.html>


More information about the discuss mailing list