Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1172054

Summary: enable process monitor by default with respawn (l3 agent & dhcp agent)
Product: Red Hat OpenStack Reporter: Miguel Angel Ajo <majopela>
Component: openstack-neutronAssignee: Miguel Angel Ajo <mangelajo>
Status: CLOSED ERRATA QA Contact: Roey Dekel <rdekel>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0 (RHEL 7)CC: chrisw, lhh, lnatapov, lpeer, mlopes, nyechiel, oblaut, tfreger, yeylon
Target Milestone: z4Keywords: FutureFeature, ZStream
Target Release: 5.0 (RHEL 6)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-neutron-2014.1.3-14.el6ost openstack-neutron-2014.1.3-13.el7ost Doc Type: Enhancement
Doc Text:
This enhancement allows process monitor to observe externally-spawned processes in the L3 and DHCP agents. This feature was previously disabled by default. As a result, any failing dnsmasq or neutron-ns-metadata-proxy services are properly restarted within 60 seconds. This behaviour results in more resilient neutron-dhcp-agent and neutron-l3-agent services.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-16 14:36:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Miguel Angel Ajo 2014-12-09 10:11:58 UTC
Description of problem:

If dnsmasq or metadata proxy dies, nobody notices, and they are not respawn. We have process monitor implemented now, and we can enable this by default:

check_child_processes_action = respawn
check_child_processes_interval = 60

Anyway, for HA deployments the recommended action is "exit".  



How reproducible:

 Always

Steps to Reproduce:
1.Start a network which spawns a qdhcp- namespace and dnsmasq on the network node, 


2. and kill dnsmasq, 

Actual results:

nothing happens.

Expected results:

Dnsmasq is respawn after set interval.

Additional info:

Comment 2 Miguel Angel Ajo 2014-12-09 12:12:56 UTC
*** Bug 1170635 has been marked as a duplicate of this bug. ***

Comment 5 Ofer Blaut 2015-01-11 14:00:54 UTC
Tested  with killing all dnsmasq or only one of them

doesn't seem to work with metadata-proxy, service doesn't come back 

openstack-neutron-2014.2.1-6.el7ost.noarch

Comment 6 Miguel Angel Ajo 2015-01-13 09:33:24 UTC
(In reply to Ofer Blaut from comment #5)
> Tested  with killing all dnsmasq or only one of them
> 
> doesn't seem to work with metadata-proxy, service doesn't come back 
> 
> openstack-neutron-2014.2.1-6.el7ost.noarch

did you check the neutron-ns-metadata-proxy  ?  

Not to be confused with the neutron-metadata server.

I would promise I had manually tested before sending it for QA.

Comment 16 errata-xmlrpc 2015-04-16 14:36:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0828.html