[ceph] fix issue with upmap used for adding missing osd
Related-Prod: PROD-36764
Change-Id: I3f8d0a4b9fb9d4f5e320e26b758e4ccb6db40b75
diff --git a/ceph-remove-node.groovy b/ceph-remove-node.groovy
index d8a6d0e..7c2a25b 100644
--- a/ceph-remove-node.groovy
+++ b/ceph-remove-node.groovy
@@ -108,7 +108,8 @@
common.infoMsg("The following osds will be removed: ${osds.join(', ')}")
}
if(osds != cephDisks) {
- common.infoMsg("The following osds will be skiped: ${cephDisks.removeAll(osds).join(', ')}")
+ cephDisks.removeAll(osds)
+ common.infoMsg("The following osds will be skiped: ${cephDisks.join(', ')}")
}
ceph.removeOsd(pepperEnv, HOST, osds, flags, safeRemove, fullWipe)