Remove checking of node type by node name
Some of our customers don’t have their OSD nodes labeled with a hostname of osd*
PROD-34896
Change-Id: Ib6c6c51e22a4bdbb0161496d82cf8e62df7f9c2d
diff --git a/ceph-add-osd-upmap.groovy b/ceph-add-osd-upmap.groovy
index 3c195ea..5c90c72 100644
--- a/ceph-add-osd-upmap.groovy
+++ b/ceph-add-osd-upmap.groovy
@@ -9,6 +9,7 @@
*
*/
+common = new com.mirantis.mk.Common()
salt = new com.mirantis.mk.Salt()
def python = new com.mirantis.mk.Python()
def ceph = new com.mirantis.mk.Ceph()
@@ -43,11 +44,6 @@
// create connection to salt master
python.setupPepperVirtualenv(pepperEnv, SALT_MASTER_URL, SALT_MASTER_CREDENTIALS)
- if (!HOST.toLowerCase().contains("osd")) {
- common.errorMsg("This pipeline can only be used to add new OSD nodes to an existing Ceph cluster.")
- throw new InterruptedException()
- }
-
stage ("verify client versions")
{
// I@docker:swarm and I@prometheus:server - mon* nodes