Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Add dependency on OVNMacAddressNetwork for role ResourceGroup
Browse files Browse the repository at this point in the history
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 <[email protected]>
(cherry picked from commit 7a4a43d)
  • Loading branch information
slagle authored and hjensas committed May 21, 2021
1 parent 26d1fb2 commit 0eaa748
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion overcloud.j2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 0eaa748

Please sign in to comment.