Bug 1581337 - Add config for disabling creation of PING type HMs
Summary: Add config for disabling creation of PING type HMs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-octavia
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z7
: 13.0 (Queens)
Assignee: Nir Magnezi
QA Contact: Bruna Bonguardo
URL:
Whiteboard:
Depends On: 1644883 1698860
Blocks: 1700359 1798064
TreeView+ depends on / blocked
 
Reported: 2018-05-22 14:28 UTC by Nir Magnezi
Modified: 2020-02-04 13:59 UTC (History)
9 users (show)

Fixed In Version: openstack-octavia-2.0.4-3.el7ost
Doc Type: Known Issue
Doc Text:
HAProxy, used for network load balancing, must be version 1.6 or higher to correctly support the PING type health monitor. The version of HAProxy included with Red Hat OpenStack Platform 13 is an older version than 1.6 that uses TCP connect instead when you configure the PING type health monitor.
Clone Of:
: 1644883 1700359 1798064 (view as bug list)
Environment:
Last Closed: 2019-07-10 13:01:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
tests.log (3.93 KB, text/plain)
2019-05-01 12:40 UTC, Nir Magnezi
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:1744 0 None None None 2019-07-10 13:02:16 UTC

Description Nir Magnezi 2018-05-22 14:28:54 UTC
Description of problem:
=======================
In OSP13, we ship an old version of haproxy who does not support external monitors. Thus, ping type health monitors does not actually work (it uses tcp connect instead).

We should block ping type HMs by default and produce a warning to the user.

Most of this is covered by: https://review.openstack.org/#/c/528439/

Comment 13 Nir Magnezi 2019-05-01 12:40:13 UTC
Created attachment 1560745 [details]
tests.log

Testing allow_ping_health_monitors = False/True

Comment 14 Nir Magnezi 2019-05-01 12:41:09 UTC
Hi Bruna,

Thank you for looking into this.
The msg you have posted is indeed the expected result when  allow_ping_health_monitors = False (default).

I connected to your setup and tested for both True/False values of allow_ping_health_monitors, both looked okay (check the attached log file in comment 13). 

See that when we don't allow ping HMs (default), we block the creation of it and return the msg to the user, and when it is set to True we do allow the creation but produce the warning.

Please let me know if you have additional questions.

Nir

Comment 15 Nir Magnezi 2019-05-02 06:37:39 UTC
Bruna,

Per your question on IRC, please restart the octavia-api container for config changes (allow_ping_health_monitors) to be applied.

Comment 19 errata-xmlrpc 2019-07-10 13:01:59 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://access.redhat.com/errata/RHBA-2019:1744


Note You need to log in before you can comment on or make changes to this bug.