Bug 1719109

Summary: The validator "Check the number of IP addresses available to overcloud nodes" fails when it have to pass
Product: Red Hat OpenStack Reporter: PURANDHAR SAIRAM MANNIDI <pmannidi>
Component: openstack-tripleo-validationsAssignee: PURANDHAR SAIRAM MANNIDI <pmannidi>
Status: CLOSED CURRENTRELEASE QA Contact: nlevinki <nlevinki>
Severity: high Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: afiodoro, beth.white, dsedgmen, gchamoul, jjoyce, jschluet, slinaber, tcarlin, 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: 1660075 Environment:
Last Closed: 2019-10-10 10:49:22 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: 1660075    
Bug Blocks: 1715822    

Comment 1 Gaël Chamoulaud 2019-06-11 10:34:20 UTC
*** Bug 1719100 has been marked as a duplicate of this bug. ***

Comment 11 Lon Hohberger 2019-09-04 10:44:08 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-04 08:15:32 UTC
*** Bug 1758349 has been marked as a duplicate of this bug. ***

Comment 13 Gaël Chamoulaud 2019-10-09 14:17:28 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/openstack-tripleo-validations/validations/ctlplane-ip-range.yaml 
Success! The validation passed for all hosts:
* undercloud


After changing dhcp_end value to 192.168.24.20 instead of 192.168.24.30, the validation fails as expected

(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/ctlplane-ip-range.yaml 
Task 'Check the size of the DHCP range for overcloud nodes' failed:
Host: undercloud
Message: The IP range 192.168.24.5 - 192.168.24.20 contains 16 addresses.
This might not be enough for the deployment or later scaling.

Failure! The validation failed for all hosts:
* undercloud