On Fri, Mar 22, 2019 at 2:50 PM Ben Pfaff <[email protected]> wrote:
>
> On Thu, Mar 21, 2019 at 04:06:31PM -0700, Han Zhou wrote:
> > From: Han Zhou <[email protected]>
> >
> > When ovn-ctl tries to start ovsdb, it didn't ensure the rundir
> > (e.g. /var/run/openvswitch) exist, because it is not calling
> > start_daemon(). Usually, if OVS is started by ovs-ctl before
> > on the same node, the folder is created already. However, for
> > OVN central node, OVS is usually not needed. If the folder is
> > not created (it is common case when system restarted because
> > /var/run is usually tmpfs), ovn-ctl will fail to start ovsdb.
> > This patch always ensures the OVN_RUNDIR is created.
> >
> > Signed-off-by: Han Zhou <[email protected]>
>
> Thank you.  I applied this series to master.

Thanks Ben, it is better to backport this series to at least 2.10
onwards, since it impacts failure recovery of OVN (e.g. node restart),
especially OVN active-standby HA (services managed by pacemaker -
openvswitch-switch service disabled on central node).
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to