Bug 1625520

Summary: Undercloud - allow enabling routed_networks on undercloud upgrade
Product: Red Hat OpenStack Reporter: Harald Jensås <hjensas>
Component: openstack-tripleo-heat-templatesAssignee: Harald Jensås <hjensas>
Status: CLOSED ERRATA QA Contact: Alexander Chuzhoy <sasha>
Severity: medium Docs Contact:
Priority: medium    
Version: 15.0 (Stein)CC: aschultz, bfournie, dbecker, mburns, morazi
Target Milestone: Upstream M1Keywords: Triaged
Target Release: 15.0 (Stein)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-10.5.1-0.20190506170359.f08bfef.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-21 11:18:54 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: 1626357    
Bug Blocks:    

Description Harald Jensås 2018-09-05 06:53:21 UTC
Description of problem:
-----------------------

When deploying the undercloud support for routed networks must be enabled using the enable_routed_networks option in undercloud.conf. If the option is set to False (the default) it is not possible to change it to True and re-run undercloud installer to enable support for routed networks.

Prior to Rocky it had to be like this because neutron did not support migrating a non-routed network to a routed network.

How reproducible:
-----------------

Easy

Steps to Reproduce:
-------------------

1. Deploy undercloud with `ènable_routed_networks = False`
2. Change to `enable_routed_networks = True" and re-run undercloud installer

Actual results:
---------------

Only the `local_subnet` is created.
Additional segments and subnets are not created.
The subnet does not have association with a segment.

Expected results:
-----------------

 * All subnets defined in undercloud.conf should be created.
 * All ctlplane segments defined in undercloud.conf should be created.
 * All ctlplane subnets defined in undercloud.conf should be created.
 * All ctlplane subnets should be associated to segments.

Additional info:
----------------

Once routed networks is enabled, it cannot be disable.

Comment 5 errata-xmlrpc 2019-09-21 11:18:54 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:2811