[ovs-dev] [PATCH] ovs-vswitchd: Preserve datapath ports across graceful shutdown.

Ben Pfaff blp at ovn.org
Fri Feb 5 19:44:05 UTC 2016


On Thu, Feb 04, 2016 at 12:25:48PM -0800, Guru Shetty wrote:
> On 4 February 2016 at 09:49, Ben Pfaff <blp at ovn.org> wrote:
> 
> > Until now, asking ovs-vswitchd to shut down gracefully, e.g. with
> > "ovs-appctl exit", would cause it to first remove all the ports from
> > kernel-based datapaths.  This has the unfortunate side effect that IP
> > addresses on any removed "internal" ports are lost, even if the ports are
> > added again when ovs-vswitchd is restarted.  This is long-standing
> > behavior, but it only became important when the OVS control scripts were
> > changed to try to do graceful shutdown first instead of using a signal.
> >
> > This commit changes graceful shutdown so that it leaves ports in the
> > datapath, fixing the problem.
> >
> > Fixes: 9b5422a98f8 (ovs-lib: Try to call exit before killing.)
> > Signed-off-by: Ben Pfaff <blp at ovn.org>
> >
> 
> Acked-by: Gurucharan Shetty <guru at ovn.org>

Thanks, applied to master and branch-2.5.



More information about the dev mailing list