Bug 1810209 - add the ability to disable overcloud network validation checks
Summary: add the ability to disable overcloud network validation checks
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-tripleoclient
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z13
: 13.0 (Queens)
Assignee: Rabi Mishra
QA Contact: David Rosenfeld
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-04 17:42 UTC by Jeremy
Modified: 2023-12-15 17:27 UTC (History)
11 users (show)

Fixed In Version: python-tripleoclient-9.3.1-9.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-28 18:23:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 711392 0 None MERGED Skip network check with stack env when validations disabled 2021-02-02 18:28:41 UTC
OpenStack gerrit 741466 0 None MERGED Skip network check with stack env when validations disabled 2021-02-02 18:27:56 UTC
Red Hat Issue Tracker OSP-10698 0 None None None 2022-08-08 11:59:28 UTC
Red Hat Product Errata RHBA-2020:4388 0 None None None 2020-10-28 18:23:57 UTC

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


Note You need to log in before you can comment on or make changes to this bug.