ceph 'replace failed osd' pipeline cleanup, use upmap while disk replacement
Change-Id: I4b3c4aed735a389f2303f0a723087abd8560dcdb
Related-Prod: PROD-21144
diff --git a/ceph-remove-osd.groovy b/ceph-remove-osd.groovy
index 169bbd0..b89f3f2 100644
--- a/ceph-remove-osd.groovy
+++ b/ceph-remove-osd.groovy
@@ -119,8 +119,14 @@
}
// wait for healthy cluster
- if (WAIT_FOR_HEALTHY.toBoolean()) {
- waitForHealthy(pepperEnv)
+ // if (WAIT_FOR_HEALTHY.toBoolean()) {
+ // waitForHealthy(pepperEnv)
+ // }
+
+ if ( osd_ids == [] )
+ {
+ currentBuild.result = 'SUCCESS'
+ return
}
// `ceph osd out <id> <id>`