commit 602b481804a79d0ef106b1b21f0bdcd15df7f39f
Author: Tim Rozet <email address hidden>
Date: Mon Oct 16 13:56:24 2017 -0400
Adds detection for legacy API network resource
Currently in network_data.yaml there is compat_name which is used as a
workaround for upgrades with regards to a bug where the Heat resource
for API network was being created as InternalNetwork instead of
InternalApiNetwork. This workaround does work for upgrades, but
consequently also causes all future new deployments to have the wrong
resource name.
This patch adds detection, so that if the legacy resource is detected
already in the overcloud stack, then the compatibility will be enabled
if not already set in network_data.yaml. This allows for the removal of
compat_name from the network in network_data.yaml and thus removing the
incorrect name for future deployments.
Partial-Bug: 1718764
Change-Id: I695259ad87e2303f948875078bccb619786470e0
Signed-off-by: Tim Rozet <email address hidden>
Reviewed: https:/ /review. openstack. org/512395 /git.openstack. org/cgit/ openstack/ tripleo- common/ commit/ ?id=602b481804a 79d0ef106b1b21f 0bdcd15df7f39f
Committed: https:/
Submitter: Zuul
Branch: master
commit 602b481804a79d0 ef106b1b21f0bdc d15df7f39f
Author: Tim Rozet <email address hidden>
Date: Mon Oct 16 13:56:24 2017 -0400
Adds detection for legacy API network resource
Currently in network_data.yaml there is compat_name which is used as a Network. This workaround does work for upgrades, but
workaround for upgrades with regards to a bug where the Heat resource
for API network was being created as InternalNetwork instead of
InternalApi
consequently also causes all future new deployments to have the wrong
resource name.
This patch adds detection, so that if the legacy resource is detected
already in the overcloud stack, then the compatibility will be enabled
if not already set in network_data.yaml. This allows for the removal of
compat_name from the network in network_data.yaml and thus removing the
incorrect name for future deployments.
Partial-Bug: 1718764
Change-Id: I695259ad87e230 3f948875078bccb 619786470e0
Signed-off-by: Tim Rozet <email address hidden>