[ovs-dev] [PATCH 3/3] rhel: add "force-reload-kmod" support in "ovs-systemd-reload"

Timothy Redaelli tredaelli at redhat.com
Wed Apr 11 18:03:55 UTC 2018


On Wed, 11 Apr 2018 10:05:53 -0700
Guru Shetty <guru at ovn.org> wrote:

> On 22 December 2017 at 07:00, Timothy Redaelli <tredaelli at redhat.com>
> wrote:
> 
> > Since you can't use "ovs-ctl force-reload-kmod" on Fedora/RHEL, due
> > to systemd dependencies, this commit adds the "force-reload-kmod"
> > feature on ovs-systemd-reload.
> >
> > Signed-off-by: Timothy Redaelli <tredaelli at redhat.com>
> >  
> 
> Tim/Aaron,
>   We have some confusion with this. So, how do we invoke this with
> systemd? I guess, it is not supposed to be invoked with "service
> openvswitch reload", right? And why can't we use "ovs-ctl
> force-reload-kmod" with Fedora/RHEL?

Hi,
because on Fedora/RHEL we use systemd dependencies and so we have 3
(main) service files: openvswitch.spec, ovs-vswitchd.spec and
ovsdb-server.spec that are interconnected (see rhel/README.RHEL.rst).

If you use ovs-ctl directly systemd will loose tracks of the new
ovsdb-server and ovs-vswitchd processes and so you can't restart it by
using "systemctl restart".

Moreover it seems ovs-vswitchd is not restarted correctly in this case.


More information about the dev mailing list