Merge "Lock external network stack creation between workers"

This commit is contained in:
Zuul 2024-03-22 11:07:09 +00:00 committed by Gerrit Code Review
commit 46a1868f6f

View File

@ -41,6 +41,10 @@ class ExternalNetworkStackFixture(heat.HeatStackFixture):
template = _hot.heat_template_file('neutron/external_network.yaml') template = _hot.heat_template_file('neutron/external_network.yaml')
@tobiko.interworker_synched('create_external_network_stack')
def setup_stack(self):
super().setup_stack()
@property @property
def external_name(self) -> typing.Optional[str]: def external_name(self) -> typing.Optional[str]:
return tobiko.tobiko_config().neutron.external_network return tobiko.tobiko_config().neutron.external_network