Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1719108

Summary: The validator "Check network_gateway on the provisioning network" passes when it should fail
Product: Red Hat OpenStack Reporter: PURANDHAR SAIRAM MANNIDI <pmannidi>
Component: openstack-tripleo-validationsAssignee: Gaël Chamoulaud <gchamoul>
Status: CLOSED CURRENTRELEASE QA Contact: nlevinki <nlevinki>
Severity: high Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: afiodoro, beth.white, gchamoul, jjoyce, jrist, jschluet, slinaber, tvignaud
Target Milestone: ---Keywords: TestOnly, Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-validations-8.4.5-2.el7ost.noarch Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1660088 Environment:
Last Closed: 2019-10-10 10:49:20 UTC Type: ---
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: 1660088, 1760398    
Bug Blocks:    

Comment 11 Lon Hohberger 2019-09-04 10:44:13 UTC
According to our records, this should be resolved by openstack-tripleo-validations-8.4.5-2.el7ost.  This build is available now.

Comment 12 Gaël Chamoulaud 2019-10-09 14:08:49 UTC
As it, the validation is passing successfully.

(undercloud) [stack@undercloud ~]$ ANSIBLE_RETRY_FILES_ENABLED=false ANSIBLE_STDOUT_CALLBACK=validation_output ansible-playbook  -i /usr/bin/tripleo-ansible-inventory /usr/share/opens
tack-tripleo-validations/validations/check-network-gateway.yaml                                                                                                                                  
Success! The validation passed for all hosts:
* undercloud


After changing the value of "gateway" to 192.168.24.1111 instead of 192.168.24.1 in the undercloud.conf file, it should fail as expected.

(undercloud) [stack@undercloud ~]$ 

(undercloud) [stack@undercloud ~]$ ANSIBLE_RETRY_FILES_ENABLED=false ANSIBLE_STDOUT_CALLBACK=validation_output ansible-playbook  -i /usr/bin/tripleo-ansible-inventory /usr/share/openstack-tripleo-validations/validations/check-network-gateway.yaml 
Task 'Test network_gateway if different from local_ip' failed:
Host: undercloud
Message: ping: 192.168.24.1111: Name or service not known


Failure! The validation failed for all hosts:
* undercloud