commit 459b873c299c2dbf028f6d59f44ad33237c222c9
Author: Harald Jensås <email address hidden>
Date: Wed Jun 12 19:49:20 2019 +0200
Fix network rename + service_net_map_replace
If name_lower of a network is changed, and service_net_map_replace
is used. The subnet defined for the network in roles_data would
have to be updated to match the new name_lower. This was not the
case prior to stein, because roles_data did'nt include the subnet.
A downstream regression test is failing because of this. The
workaround is to update roles_data with a value for the subnet
that match name_lower.
This patch should fix the need to update roles_data in the case
that the net_map_replace matches the subnet in roles_data and no
additional subnet with this defined for this network in
network_data.
Closes-Bug: #1832759
Change-Id: I10f99fad0f0016bf81edd53e1c5579f9d5c0ef88
(cherry picked from commit 564d89b2f8609c79a2c21224c72a15b45397fbb7)
Reviewed: https:/ /review. opendev. org/665503 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=459b873c299 c2dbf028f6d59f4 4ad33237c222c9
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 459b873c299c2db f028f6d59f44ad3 3237c222c9
Author: Harald Jensås <email address hidden>
Date: Wed Jun 12 19:49:20 2019 +0200
Fix network rename + service_ net_map_ replace
If name_lower of a network is changed, and service_ net_map_ replace
is used. The subnet defined for the network in roles_data would
have to be updated to match the new name_lower. This was not the
case prior to stein, because roles_data did'nt include the subnet.
A downstream regression test is failing because of this. The
workaround is to update roles_data with a value for the subnet
that match name_lower.
This patch should fix the need to update roles_data in the case
that the net_map_replace matches the subnet in roles_data and no
additional subnet with this defined for this network in
network_data.
Closes-Bug: #1832759 bf81edd53e1c557 9f9d5c0ef88 9a2c21224c72a15 b45397fbb7)
Change-Id: I10f99fad0f0016
(cherry picked from commit 564d89b2f8609c7