Add dependency on OVNMacAddressNetwork for role ResourceGroup

The role ResourceGroup (puppet/role.role.j2.yaml template) tries to
create a port on the OVNMacAddressNetwork, as such we need a dependency
in the top level stack, otherwise the network may not exist before Heat
attempts to create the port.

Change-Id: Ie453fcdbb8eb42bbf718506b0b9b443ccd84543a
Signed-off-by: James Slagle <jslagle@redhat.com>
This commit is contained in:
James Slagle 2021-03-31 14:41:51 -04:00
parent 0dbcbd18ad
commit 7a4a43d55d
1 changed files with 3 additions and 1 deletions

View File

@ -822,7 +822,9 @@ resources:
{{role.name}}:
type: OS::Heat::ResourceGroup
depends_on: Networks
depends_on:
- Networks
- OVNMacAddressNetwork
update_policy:
batch_create:
max_batch_size: {get_param: NodeCreateBatchSize}