Yes:

ps aux | grep controller
root     3639845  0.0  0.0  26792   952 ?        S<s  17:24   0:00
ovn-controller: monitoring pid 3639846 (healthy)
root     3639846  0.0  0.0  27060  2484 ?        S<   17:24   0:00
ovn-controller unix:/var/run/openvswitch/db.sock -vconsole:emer
-vsyslog:err -vfile:info --no-chdir
--log-file=/var/log/openvswitch/ovn-controller.log
--pidfile=/var/run/openvswitch/ovn-controller.pid --detach --monitor
root     4067233  0.0  0.0  11744   936 pts/9    S+   22:46   0:00 grep
--color=auto controller


/etc/init.d/ovn-host installed via debain that is compiled from source code
only adds --monitor

On Fri, Apr 28, 2017 at 9:08 PM, Ben Pfaff <b...@ovn.org> wrote:

> Is it running with the --monitor option?  If not, either --monitor
> should be added or the upstart features should be used.
>
> On Fri, Apr 28, 2017 at 05:16:09PM -0700, Aliasgar Mikail Ginwala wrote:
> > I did double verify:
> >
> > This is what is happening after crashing the ovn pid:
> >
> > service ovn-host status
> > Pidfile for ovn-controller (/var/run/openvswitch/ovn-controller.pid) is
> > stale
> >
> > Works only after manual restart and didn't respawn
> > service ovn-host restart
> > 2017-04-29T00:14:37Z|00001|unixctl|WARN|failed to connect to
> > /var/run/openvswitch/ovn-controller.3623709.ctl
> > ovs-appctl: cannot connect to
> > "/var/run/openvswitch/ovn-controller.3623709.ctl" (Connection refused)
> >  * Starting ovn-controller
> >
> >
> >
> > Regards,
> > Aliasgar
> >
> > On Fri, Apr 28, 2017 at 4:50 PM, Ben Pfaff <b...@ovn.org> wrote:
> >
> > > On Fri, Apr 28, 2017 at 04:02:26PM -0700, Aliasgar Mikail Ginwala
> wrote:
> > > > Recently when I was adding monitoring and alerting for ovs and ovn
> > > version
> > > > 2.7.0, I found both of the upstart services are missing *respawn* .
> Is it
> > > > on purpose? If it's not then lets handle it as an improvement to add
> it
> > > in
> > > > the upstart. Suggestions welcome.
> > >
> > > OVS and OVN already restarts itself, so probably nothing is needed.
> > >
>
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to