Bug 1170635
| Summary: | HA | Processes used by Neutron are not being monitored by pacemaker. | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Leonid Natapov <lnatapov> |
| Component: | openstack-foreman-installer | Assignee: | Jason Guiditta <jguiditt> |
| Status: | CLOSED DUPLICATE | QA Contact: | Ami Jeain <ajeain> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.0 (RHEL 7) | CC: | aberezin, chrisw, fdinitto, lpeer, majopela, mburns, morazi, nyechiel, oblaut, rhos-maint, yeylon |
| Target Milestone: | --- | ||
| Target Release: | Installer | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-12-09 12:12: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
Leonid Natapov
2014-12-04 13:48:33 UTC
I am not seeing any reference to the above things in the HA howto etherpad. Miguel or Fabio, can you comment on desired path here, if any? This is not a bug. pacemaker cannot control services that are spawned by another service. If neutron-foo spawns neutron-bar, pacemaker has no way to know that and no way to know what the behavior of -bar should be. it is neutron-foo responsibility to look after it. pacemaker can potentially check for them IF a dedicated resource agents exists to check for those child, but it can“t by default do it. Try enabling this in /etc/neutron/dhcp-agent.ini check_child_processes_action = exit check_child_processes_interval = 30 It's not enabled by default now, but we're considering to enable 'respawn' by default for RHOS5 & RHOS6. But, installers may need to change check_child_processes_action to the suggested 'exit' in HA environments. Fabio, what check interval does make more sense with current pacemaker timings? changing back to OFI, because of the non default "exit" behavior we'd need to set in HA. I have created this neutron counterpart bug to track the neutron side, but the defaults aren't going to be perfect for HA. https://bugzilla.redhat.com/show_bug.cgi?id=1172054 We may need to tune the action (exit) and interval. We (In reply to Miguel Angel Ajo from comment #7) > I have created this neutron counterpart bug to track the neutron side, but > the defaults aren't going to be perfect for HA. > > https://bugzilla.redhat.com/show_bug.cgi?id=1172054 > > We may need to tune the action (exit) and interval. Ok, after discussion we believe that the default configuration (respawn, and 30 second interval) could be sane for an HA deployment, so in that case there would be no need to do any config change from the OFI side. We believe this is better if we think of the following scenarios: - dnsmasq fails after start start on a certain configuration - dnsmasq fails on a certain response ... If that happens, when we move to a different node (pacemaker) because the dhcp-agent exited, it would fail again on the other node, and we keep moving all the agents around for something we can't fix. With respawn... we will try to respawn the failed dnsmasqs, and it will be logged into the dhcp-agent.log Closed as it's not a bug on OFI, or may need to action from OFI, and we have the counterpart bug in neutron now: https://bugzilla.redhat.com/show_bug.cgi?id=1172054 *** This bug has been marked as a duplicate of bug 1172054 *** |