Globals: Wait on RabbitMQ StatefulSets

This modifies the RabbitMQ Armada charts to wait specifically
for the RabbitMQ StatefulSets to complete prior to proceeding.
This is more robust than the default Pod waiting, as Pod waiting
for SS's has a race condition such that all Pods are likely
Running and Ready prior to any action having been taken, during
and upgrade scenario.

This change leverages recent Armada resource-based wait functionality.

Change-Id: I3867ce6966047d6b877a9bfa872defc0eda9693a
This commit is contained in:
Matt McEuen 2019-02-28 14:56:13 -06:00
parent 48eb6ed0a4
commit 09f7130383
7 changed files with 14 additions and 0 deletions

View File

@ -67,6 +67,8 @@ data:
timeout: 900
labels:
release_group: airship-cinder-rabbitmq
resources:
- type: statefulset
install:
no_hooks: false
upgrade:

View File

@ -70,6 +70,8 @@ data:
timeout: 900
labels:
release_group: airship-neutron-rabbitmq
resources:
- type: statefulset
install:
no_hooks: false
upgrade:

View File

@ -70,6 +70,8 @@ data:
timeout: 900
labels:
release_group: airship-nova-rabbitmq
resources:
- type: statefulset
install:
no_hooks: false
upgrade:

View File

@ -70,6 +70,8 @@ data:
timeout: 900
labels:
release_group: airship-glance-rabbitmq
resources:
- type: statefulset
install:
no_hooks: false
upgrade:

View File

@ -70,6 +70,8 @@ data:
timeout: 900
labels:
release_group: airship-heat-rabbitmq
resources:
- type: statefulset
install:
no_hooks: false
upgrade:

View File

@ -70,6 +70,8 @@ data:
timeout: 900
labels:
release_group: airship-keystone-rabbitmq
resources:
- type: statefulset
install:
no_hooks: false
upgrade:

View File

@ -64,6 +64,8 @@ data:
timeout: 300
labels:
release_group: airship-ucp-rabbitmq
resources:
- type: statefulset
install:
no_hooks: false
upgrade: