Bug 1660075

Summary: The validator "Check the number of IP addresses available to overcloud nodes" fails when it have to pass
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:
: 1719109 (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: 1719109    

Description Andrey Fiodorov 2018-12-17 13:09:50 UTC
Description of problem:
The validator fails when it have to pass

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 dhcp_end to 192.168.24.34
3. restart mistral_executor docker
4. run the validator "Check the number of IP addresses available to overcloud nodes"

Actual results:
The validator fails with error:

Task 'Check the size of the DHCP range for overcloud nodes' failed:
Host: undercloud
Message: The IP range 192.0.2.5 - 192.0.2.24 contains 20 addresses.
This might not be enough for the deployment or later scaling.

Failure! The validation failed for all hosts:
* undercloud

Expected results:
Validator should pass.

Additional info:
The validator takes and checks default values of dhcp_start and dhcp_end instead of values in the undercloud.conf file. Maybe it happens because the validator searchs for those values in the DEFAULT section in the undercloud.conf file, but those values store in other section.

Comment 4 Mikey Ariel 2019-02-20 12:44:18 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:26:26 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