[ovs-dev] [PATCH] rhel-systemd: Restart openvswitch service if a daemon crashes

Markos Chandras mchandras at suse.de
Tue Feb 7 13:53:15 UTC 2017


On 02/07/2017 02:49 PM, Eelco Chaudron wrote:
> On 07/02/17 13:56, Markos Chandras wrote:
>> Hi,
>>
>> It looks sensible to me but...
>>
>> On 02/07/2017 01:38 PM, Eelco Chaudron wrote:
>>> Currently if either ovsdb-server or ovs-vswitchd is crashing the
>>> daemon is not restarting leaving the system in faulty state.
>>> This patch will detect the daemon crash and will restart the
>>> openvswitch service.
>> Is there any chance to end up in some sort of infinite 'start' loop here
>> if the ovsdb-server or ovs-vswitchd crashes can't be self-healed by a
>> simple restart?
>>
> In this case systemd will step in and not restart the process. You will
> get an error like this;
>     systemd: start request repeated too quickly for openvswitch.service
> 
> //Eelco
> 

OK sounds good to me.

Reviewed-by: Markos Chandras <mchandras at suse.de>

-- 
markos

SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg


More information about the dev mailing list