File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed
tests/roles/backend_services/tasks Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -427,6 +427,19 @@ $ for CELL in $(echo $RENAMED_CELLS); do
427427+
428428The given cells names are later referred to by using the environment variable `RENAMED_CELLS`.
429429
430+ * Ensure that the statuses of all the Rabbitmq and Galera CRs are `Setup complete`:
431+ +
432+ ----
433+ $ oc get Rabbitmqs,Galera
434+ NAME STATUS MESSAGE
435+ rabbitmq.rabbitmq.openstack.org/rabbitmq True Setup complete
436+ rabbitmq.rabbitmq.openstack.org/rabbitmq-cell1 True Setup complete
437+
438+ NAME READY MESSAGE
439+ galera.mariadb.openstack.org/openstack True Setup complete
440+ galera.mariadb.openstack.org/openstack-cell1 True Setup complete
441+ ----
442+
430443* Verify that the `OpenStackControlPlane` CR is waiting for deployment
431444 of the `openstackclient` pod:
432445+
Original file line number Diff line number Diff line change 123123 delay : 5
124124# TODO- debug value (was 2)
125125
126+ - name : verify that MariaDB and RabbitMQ CR's deployed, for all defined cells
127+ ansible.builtin.shell : |
128+ {{ shell_header }}
129+ {{ oc_header }}
130+ oc get {{ item }} -o json | jq -e '[ .items[].status.conditions[] | select(.type == "Ready") | .message] | select(length > 0) | all(. == "Setup complete")'
131+ register : service_cr_result
132+ until : service_cr_result.stdout == "true"
133+ retries : 60
134+ delay : 5
135+ failed_when : service_cr_result.rc != 0 and service_cr_result.stdout != "true"
136+ loop :
137+ - " Galera"
138+ - " Rabbitmqs"
139+
126140- name : Patch openstack upstream dns server to set the correct value for the environment
127141 when : upstream_dns is defined
128142 ansible.builtin.shell : |
You can’t perform that action at this time.
0 commit comments