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

Bug 1810209

Summary: add the ability to disable overcloud network validation checks
Product: Red Hat OpenStack Reporter: Jeremy <jmelvin>
Component: python-tripleoclientAssignee: Rabi Mishra <ramishra>
Status: CLOSED ERRATA QA Contact: David Rosenfeld <drosenfe>
Severity: medium Docs Contact:
Priority: medium    
Version: 13.0 (Queens)CC: acanan, aschultz, dbecker, hbrock, hjensas, jbuchta, jslagle, mburns, morazi, pweeks, ramishra
Target Milestone: z13Keywords: Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-tripleoclient-9.3.1-9.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-28 18:23:41 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:

Description Jeremy 2020-03-04 17:42:46 UTC
Description of problem: Since adding the validation check that prevents customers from messing up deployments by forgetting to include network-isolation or network-environment files  [1] , we are now unable to delete an overcloud network. For example if we deploy with Management or some other network and later need to delete it since it's not used we can not. This validation will notice heat stacks for that network and double check that it is defined in the templates. So if you just remove the network from the templates in hopes the network gets deleted, the deploy fails because of this validation. There was a similar bugzilla where this issue was hit here [2] . Maybe  NetworkDeploymentActions: ['DELETE', 'UPDATE'] would allow the ability to delete overcloud networks ?

[1] https://github.com/openstack/python-tripleoclient/blob/84c7226b2782f3085660171506112cfe7c0dc2dd/tripleoclient/utils.py#L582

[2] https://bugzilla.redhat.com/show_bug.cgi?id=1764470


Version-Release number of selected component (if applicable):
OSP13

How reproducible:
100%

Steps to Reproduce:
1. steps in bug [2]
2.
3.

Actual results:
unable to deploy if an overcloud network exists but is removed from templates

Expected results:
Ability to disable validations so networks can be removed from templates and then deleted from the overcloud environment.

Comment 6 pweeks 2020-06-29 18:36:34 UTC
Jeremy, we're adding this to the validations backlog.
Will be a few weeks before we can make progress.

Comment 7 pweeks 2020-07-15 15:17:16 UTC
Adding Jbuchta for awareness.

Comment 27 errata-xmlrpc 2020-10-28 18:23:41 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 (Red Hat OpenStack Platform 13.0 director bug fix 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-2020:4388

Comment 29 Red Hat Bugzilla 2023-09-15 01:29:13 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days