Bug 1660088

Summary: The validator "Check network_gateway on the provisioning network" passes 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: 14.0 (Rocky)CC: beth.white, gchamoul, jjoyce, jschluet, slinaber, tvignaud
Target Milestone: Upstream M2Keywords: Triaged, ZStream
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-validations-9.3.1-0.20181008110761.4064fb7.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1719108 1760398 (view as bug list) Environment:
Last Closed: 2019-03-18 13:03:25 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:    
Bug Blocks: 1719108, 1760398    

Description Andrey Fiodorov 2018-12-17 13:29:52 UTC
Description of problem:
The validator "Check network_gateway on the provisioning network" passes when it should fail. The validator looks for variable "network_gateway" instead of "gateway" and it looks in the DEFAULT section, but the variable stores in another section. So the validator always passes, because it use default value...

Version-Release number of selected component (if applicable):
openstack-tripleo-validations-9.3.1-0.20181008110758.4064fb7.el7ost.noarch


How reproducible:
100

Steps to Reproduce:
1. Install OSP14 (from 2018-12-14.1 )
2. Go to /home/stack/undercloud.conf and change value of "gateway" to 192.168.24.1111
3. restart mistral_executor docker
4. run the validator "Check network_gateway on the provisioning network"


Actual results:
validator passes

Expected results:
should fails

Additional info:

Comment 4 Mikey Ariel 2019-02-20 12:44:21 UTC
If this bug requires doc text for errata release, please set the 'Doc Type' and provide draft text according to the template in the 'Doc Text' field. The documentation team will review, edit, and approve the text.

If this bug does not require doc text, please set the 'requires_doc_text' flag to -.

Comment 5 Andrey Fiodorov 2019-02-21 15:29:52 UTC
Verified.

[stack@undercloud-0 ~]$ rpm -qa openstack-tripleo-validations
openstack-tripleo-validations-9.3.1-0.20190119052820.f400181.el7ost.noarch

Comment 7 errata-xmlrpc 2019-03-18 13:03:25 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:0446