ceph upgrade / backend migration pipelines
Change-Id: If9d8203bae08c82238e596dd7b746daaf1b94fb9
diff --git a/ceph-remove-osd.groovy b/ceph-remove-osd.groovy
index 18c5525..c5610eb 100644
--- a/ceph-remove-osd.groovy
+++ b/ceph-remove-osd.groovy
@@ -60,12 +60,13 @@
// `ceph osd out <id> <id>`
stage('Set OSDs out') {
- runCephCommand(pepperEnv, 'ceph osd out ' + osd_ids.join(' '))
+ runCephCommand(pepperEnv, 'ceph osd out ' + osd_ids.join(' '))
}
// wait for healthy cluster
if (WAIT_FOR_HEALTHY.toBoolean() == true) {
stage('Waiting for healthy cluster') {
+ sleep(5)
while (true) {
def health = runCephCommand(pepperEnv, 'ceph health')['return'][0].values()[0]
if (health.contains('HEALTH_OK')) {