Просмотр исходного кода

add a condition to cephcluster check (ensure status is defined)

Grega Bremec 1 неделя назад
Родитель
Сommit
180892cad7
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      p0f/operators/roles/deploy-odf-storage/tasks/main.yml

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

@@ -153,6 +153,7 @@
   register: cephcluster
   until:
     - cephcluster.resources | length > 0
+    - cephcluster.resources[0].status is defined
     - cephcluster.resources[0].status.phase == "Ready"
   retries: 60
   delay: 5