Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions roles/ci_dcn_site/tasks/az.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
| list }}

- name: Create AZ if it does not exist
register: aggregate_create
retries: 10
delay: 30
until: aggregate_create.rc == 0
when:
- az_hosts.rc == 1
kubernetes.core.k8s_exec:
Expand All @@ -40,6 +44,7 @@
pod: openstackclient
command: >-
openstack aggregate create {{ _az }} --zone {{ _az }}
failed_when: aggregate_create.rc != 0 and aggregate_create.attempts >= 10

- name: Add only the missing edpm hosts to AZ
ignore_errors: true
Expand Down
Loading