Bug 1615103

Summary: The validator "HAProxy configuration" is passing when it should fail.
Product: Red Hat OpenStack Reporter: Andrey Fiodorov <afiodoro>
Component: openstack-tripleo-validationsAssignee: Gaƫl Chamoulaud <gchamoul>
Status: CLOSED ERRATA QA Contact: Andrey Fiodorov <afiodoro>
Severity: high Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: beth.white, bperkins, gchamoul, jjoyce, jschluet, slinaber, tvignaud, ukalifon
Target Milestone: rcKeywords: Triaged
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-validations-9.3.1-0.20181008110758.4064fb7.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-11 11:51:21 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:
Bug Depends On: 1659415    
Bug Blocks:    

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