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

Bug 1512800

Summary: Overlapping allocation pools are not detected by the network-environment validator
Product: Red Hat OpenStack Reporter: Udi Kalifon <ukalifon>
Component: openstack-tripleo-validationsAssignee: Florian Fuchs <flfuchs>
Status: CLOSED ERRATA QA Contact: Udi Kalifon <ukalifon>
Severity: high Docs Contact:
Priority: medium    
Version: 12.0 (Pike)CC: augol, beth.white, jjoyce, jschluet, slinaber, tvignaud
Target Milestone: Upstream M2Keywords: Triaged
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-validations-9.1.1-0.20180706135914.d21e7fa.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-11 11:48:21 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: 1643943, 1651159    
Bug Blocks:    

Description Udi Kalifon 2017-11-14 06:56:52 UTC
Description of problem:
I configured the following ExternalAllocationPools in my network-environment.yaml:

  ExternalAllocationPools: [{'start': '192.168.200.180', 'end': '192.168.200.190'}, {'start': '192.168.200.180', 'end': '192.168.200.200'}]

When I ran the validator I got no error, but when deploying I got a clear message about it:

Resource CREATE failed: Conflict: resources.Networks.resources.ExternalNetwork.resources.ExternalSubnet: Found overlapping allocation pools: 192.168.200.180-192.168.200.190 192.168.200.180-192.168.200.200 for subnet 192.168.200.0/24. Neutron server returns request_ids: ['req-7ec307a5-d830-4303-9c62-5176319c4a17']


Version-Release number of selected component (if applicable):
openstack-tripleo-validations-7.4.1-2.el7ost.noarch


How reproducible:
100%


Steps to Reproduce:
1. Create an overlapping in one of the allocation pools in your network-environment.yaml
2. Don't forget to update the plan with "openstack object create overcloud environments/network-environment.yaml"
3. Run the validataor - it passes
4. Run the deployment - it fails

Comment 6 Udi Kalifon 2018-10-19 07:40:20 UTC
Blocked by: https://bugzilla.redhat.com/show_bug.cgi?id=1603212 [Can't run validations]

Comment 7 Udi Kalifon 2018-11-23 10:43:47 UTC
Blocked by https://bugzilla.redhat.com/show_bug.cgi?id=1651159. The validator checks the wrong nic-configs as a result of this bug.

Comment 8 Udi Kalifon 2018-11-27 12:04:04 UTC
Verified. The blocking bug is still not fixed but it appears random so I was able to verify: openstack-tripleo-validations-9.3.1-0.20181008110752.4064fb7.el7ost.noarch

Comment 10 errata-xmlrpc 2019-01-11 11:48:21 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/RHEA-2019:0045