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>
(cherry picked from commit 7a4a43d55d)
This commit is contained in:
James Slagle 2021-03-31 14:41:51 -04:00 committed by Harald Jensås
parent 26d1fb2cb9
commit 0eaa748bb6
1 changed files with 3 additions and 1 deletions

View File

@ -834,7 +834,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}