commit 983377bae2ad649874ca915ad5b2ff58dbfa4877
Author: Harald Jensås <email address hidden>
Date: Wed May 26 10:39:07 2021 +0200
Disable neutron inventory src if no ctlplane ports
ctlplane ports created by THT Heat Server
resources, or nova less without --network-ports/--network-config
enabled, does not have the 'tripleo_stack_name' tag. We
shouldn't use neutron as a source if no ctlplane ports are
tagged with the 'tripleo_stack_name'.
This patch add's a check for to ensure atleast 1 port is in the
ctlplane network. If no such port is found _get_neutron_data
returns None, and the inventory generation will continue to use
the heat stack as the source.
Also filter "tripleo_service_vip" and "tripleo_vip_net" ports
when getting the ports so that the test doesn't match on a
control plane virtual IP.
Closes-Bug: #1928926
Change-Id: Ida1cc17ae6b9adf4275e0616706158bfc3b93204
(cherry picked from commit 5d6649fc9d816537ec653eac4d5e29a49b996746)
Reviewed: https:/ /review. opendev. org/c/openstack /tripleo- common/ +/793548 /opendev. org/openstack/ tripleo- common/ commit/ 983377bae2ad649 874ca915ad5b2ff 58dbfa4877
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 983377bae2ad649 874ca915ad5b2ff 58dbfa4877
Author: Harald Jensås <email address hidden>
Date: Wed May 26 10:39:07 2021 +0200
Disable neutron inventory src if no ctlplane ports
ctlplane ports created by THT Heat Server ports/- -network- config stack_name' tag. We stack_name' .
resources, or nova less without --network-
enabled, does not have the 'tripleo_
shouldn't use neutron as a source if no ctlplane ports are
tagged with the 'tripleo_
This patch add's a check for to ensure atleast 1 port is in the
ctlplane network. If no such port is found _get_neutron_data
returns None, and the inventory generation will continue to use
the heat stack as the source.
Also filter "tripleo_ service_ vip" and "tripleo_vip_net" ports
when getting the ports so that the test doesn't match on a
control plane virtual IP.
Closes-Bug: #1928926 f4275e061670615 8bfc3b93204 7ec653eac4d5e29 a49b996746)
Change-Id: Ida1cc17ae6b9ad
(cherry picked from commit 5d6649fc9d81653