Bug 1615103 - The validator "HAProxy configuration" is passing when it should fail.
Summary: The validator "HAProxy configuration" is passing when it should fail.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-validations
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 14.0 (Rocky)
Assignee: Gaël Chamoulaud
QA Contact: Andrey Fiodorov
URL:
Whiteboard:
Depends On: 1659415
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-12 10:58 UTC by Andrey Fiodorov
Modified: 2019-01-11 11:51 UTC (History)
8 users (show)

Fixed In Version: openstack-tripleo-validations-9.3.1-0.20181008110758.4064fb7.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-11 11:51:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 604807 0 None None None 2018-09-24 14:49:10 UTC
OpenStack gerrit 614179 0 None None None 2018-11-13 15:12:44 UTC
Red Hat Product Errata RHEA-2019:0045 0 None None None 2019-01-11 11:51:42 UTC

Description Andrey Fiodorov 2018-08-12 10:58:22 UTC
Description of problem:
The validator still passing when I set values of default.maxxcon or global.maxconn less than the values in haproxy.yaml file.

Version-Release number of selected component (if applicable):
openstack-tripleo-validations-8.4.2-1.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install OSP13-passed-phase2
2. Deploy overcloud
3. Set the value of global_maxconn = 20000 or defaults_maxconn = 4000 and run the validator from UI.

Actual results:
The validator passes.

Expected results:
The validator should fail with a clear error message.

Additional info:
*File for edit the values in controller: /var/lib/config-data/puppet-generated/haproxy/etc/haproxy/haproxy.cfg

***Setting the "{{}}" in the "when" statement in lines: 22 and 25 is fixing the bug.

Comment 8 Udi Kalifon 2018-12-17 15:29:43 UTC
Blocked on deploying an overlcoud due to https://bugzilla.redhat.com/show_bug.cgi?id=1659415

Comment 9 Udi Kalifon 2018-12-19 14:07:39 UTC
Verified: openstack-tripleo-validations-9.3.1-0.20181008110758.4064fb7.el7ost.noarch

Comment 13 errata-xmlrpc 2019-01-11 11:51:21 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/RHEA-2019:0045


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