Bug 1370789

Summary: [RFE] Director should run os-net-config to cleanup previous configuration while stack-update
Product: Red Hat OpenStack Reporter: Jaison Raju <jraju>
Component: rhosp-directorAssignee: Dan Sneddon <dsneddon>
Status: CLOSED CURRENTRELEASE QA Contact: Omri Hochman <ohochman>
Severity: high Docs Contact:
Priority: medium    
Version: 7.0 (Kilo)CC: bfournie, dbecker, dsneddon, dtantsur, jcoufal, jraju, mburns, morazi, rhel-osp-director-maint
Target Milestone: ---Keywords: FutureFeature, ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-29 14:21:26 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:

Description Jaison Raju 2016-08-27 09:38:46 UTC
1. Proposed title of this feature request
Director should run os-net-config to cleanup previous configuration while stack-update

3. What is the nature and description of the request?
Director during stack update should get the new os-net-config/config.json &
also apply with --cleanup so as to remove unwanted ifcfg.

4. Why does the customer need this? (List the business requirements here)
Updating overcloud node network configuration needs this feature so that it can be applied sanely .

5. How would the customer like to achieve this? (List the functional requirements here)
For example:
Environment
Previous:
nic1 - Provisioning
bridge - bond - nic2  |-> couple of vlan networks
                nic3  |
After:
nic1 - Provisioning
bridge - nic2  |-> couple of vlan networks
         nic3  |
After stack update , the bondX should be removed from ifcfg & live configuration.

7. Is there already an existing RFE upstream or in Red Hat Bugzilla?
No

Comment 5 Jaromir Coufal 2016-10-18 14:38:24 UTC
Networking related, moving to Hardware Provisioning team.

Comment 7 Dan Sneddon 2018-08-29 14:21:26 UTC
This bug is no longer valid.

os-net-config is now called by a script, run-os-net-config.sh, from the network subdirectory of openstack-tripleo-heat-templates directory. The --cleanup option can be added there.