remove ceph nodes pipeline
Change-Id: Ib90616baa8fdfe164797e595043d19fed9c7ce21
diff --git a/ceph-replace-failed-osd.groovy b/ceph-replace-failed-osd.groovy
index e00160c..6c6f281 100644
--- a/ceph-replace-failed-osd.groovy
+++ b/ceph-replace-failed-osd.groovy
@@ -71,15 +71,15 @@
}
// wait for healthy cluster
- if (common.validInputParam('WAIT_FOR_HEALTHY') && WAIT_FOR_HEALTHY.toBoolean()) {
+ if (WAIT_FOR_HEALTHY.toBoolean() == true) {
stage('Waiting for healthy cluster') {
while (true) {
def health = runCephCommand(pepperEnv, ADMIN_HOST, 'ceph health')['return'][0].values()[0]
- if (health.contains('HEALTH OK')) {
+ if (health.contains('HEALTH_OK')) {
common.infoMsg('Cluster is healthy')
break;
}
- sleep(60)
+ sleep(10)
}
}
}
@@ -107,7 +107,7 @@
common.infoMsg('PGs rebalanced')
break;
}
- sleep(3)
+ sleep(10)
}
}
}