Browse Source

increase storagecluster wait to 20 min

Grega Bremec 3 weeks ago
parent
commit
deb8efd352
1 changed files with 7 additions and 1 deletions
  1. 7 1
      p0f/operators/roles/deploy-odf-storage/tasks/main.yml

+ 7 - 1
p0f/operators/roles/deploy-odf-storage/tasks/main.yml

@@ -18,6 +18,11 @@
 #
 #   kubeadmin_config      the administrator kubeconfig file (tmp/kubeconfig-ocp4)
 #
+# NOTE: In case of issues after cluster upgrades, see:
+#
+#   https://access.redhat.com/solutions/5948631 (How to rebuild NooBaa in ODF 4.x?)
+#   https://www.ibm.com/support/pages/odf-client-operator-stuck-installing-state-while-deploying-fusion-data-foundation
+#
 - name: Check if there is a namespace.
   kubernetes.core.k8s_info:
     kubeconfig: "{{ kubeadmin_config }}"
@@ -158,6 +163,7 @@
   retries: 60
   delay: 5
 
+# XXX: This tends to take more than 10 minutes, depending on hardware.
 - name: Wait for the storage cluster to finish progressing.
   kubernetes.core.k8s_info:
     kubeconfig: "{{ kubeadmin_config }}"
@@ -168,7 +174,7 @@
     name: "{{ odf_storage.name }}"
   register: storagecluster
   until: storagecluster.resources[0].status.phase == "Ready"
-  retries: 120
+  retries: 240
   delay: 5
 
 # TODO: Perhaps verify the storage classes are there?