Bug 1660088 - The validator "Check network_gateway on the provisioning network" passes when it should fail
Summary: The validator "Check network_gateway on the provisioning network" passes when...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-validations
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Upstream M2
: 14.0 (Rocky)
Assignee: Gaël Chamoulaud
QA Contact: Andrey Fiodorov
URL:
Whiteboard:
Depends On:
Blocks: 1719108 1760398
TreeView+ depends on / blocked
 
Reported: 2018-12-17 13:29 UTC by Andrey Fiodorov
Modified: 2019-10-10 12:57 UTC (History)
6 users (show)

Fixed In Version: openstack-tripleo-validations-9.3.1-0.20181008110761.4064fb7.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1719108 1760398 (view as bug list)
Environment:
Last Closed: 2019-03-18 13:03:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 625643 0 None None None 2018-12-17 16:11:40 UTC
OpenStack gerrit 625859 0 None None None 2019-01-21 10:26:40 UTC
OpenStack gerrit 627068 0 None None None 2018-12-23 10:46:01 UTC
OpenStack gerrit 627069 0 None None None 2019-01-21 10:26:40 UTC
Red Hat Product Errata RHBA-2019:0446 0 None None None 2019-03-18 13:03:35 UTC

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


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