Browse Source

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
tags/v19.03.06
Matt McEuen 2 months ago
parent
commit
09f7130383

+ 2
- 0
global/software/charts/osh/openstack-cinder/rabbitmq.yaml View File

@@ -67,6 +67,8 @@ data:
67 67
     timeout: 900
68 68
     labels:
69 69
       release_group: airship-cinder-rabbitmq
70
+    resources:
71
+      - type: statefulset
70 72
   install:
71 73
     no_hooks: false
72 74
   upgrade:

+ 2
- 0
global/software/charts/osh/openstack-compute-kit/neutron-rabbitmq.yaml View File

@@ -70,6 +70,8 @@ data:
70 70
     timeout: 900
71 71
     labels:
72 72
       release_group: airship-neutron-rabbitmq
73
+    resources:
74
+      - type: statefulset
73 75
   install:
74 76
     no_hooks: false
75 77
   upgrade:

+ 2
- 0
global/software/charts/osh/openstack-compute-kit/nova-rabbitmq.yaml View File

@@ -70,6 +70,8 @@ data:
70 70
     timeout: 900
71 71
     labels:
72 72
       release_group: airship-nova-rabbitmq
73
+    resources:
74
+      - type: statefulset
73 75
   install:
74 76
     no_hooks: false
75 77
   upgrade:

+ 2
- 0
global/software/charts/osh/openstack-glance/rabbitmq.yaml View File

@@ -70,6 +70,8 @@ data:
70 70
     timeout: 900
71 71
     labels:
72 72
       release_group: airship-glance-rabbitmq
73
+    resources:
74
+      - type: statefulset
73 75
   install:
74 76
     no_hooks: false
75 77
   upgrade:

+ 2
- 0
global/software/charts/osh/openstack-heat/rabbitmq.yaml View File

@@ -70,6 +70,8 @@ data:
70 70
     timeout: 900
71 71
     labels:
72 72
       release_group: airship-heat-rabbitmq
73
+    resources:
74
+      - type: statefulset
73 75
   install:
74 76
     no_hooks: false
75 77
   upgrade:

+ 2
- 0
global/software/charts/osh/openstack-keystone/rabbitmq.yaml View File

@@ -70,6 +70,8 @@ data:
70 70
     timeout: 900
71 71
     labels:
72 72
       release_group: airship-keystone-rabbitmq
73
+    resources:
74
+      - type: statefulset
73 75
   install:
74 76
     no_hooks: false
75 77
   upgrade:

+ 2
- 0
global/software/charts/ucp/core/rabbitmq.yaml View File

@@ -64,6 +64,8 @@ data:
64 64
     timeout: 300
65 65
     labels:
66 66
       release_group: airship-ucp-rabbitmq
67
+    resources:
68
+      - type: statefulset
67 69
   install:
68 70
     no_hooks: false
69 71
   upgrade:

Loading…
Cancel
Save