Ceph - Add checks for host parameter

Related-Prod: PROD-35170
Change-Id: Ie19e1859e3bffa9814d24a9abff5b7a41b00ffd8
diff --git a/ceph-add-node.groovy b/ceph-add-node.groovy
index 9ec96c2..294f1ed 100644
--- a/ceph-add-node.groovy
+++ b/ceph-add-node.groovy
@@ -35,6 +35,12 @@
             throw new InterruptedException()
         }
 
+        def checknode = salt.runSaltProcessStep(pepperEnv, HOST, 'test.ping')
+        if (checknode['return'][0].values().isEmpty()) {
+            common.errorMsg("Host not found")
+            throw new InterruptedException()
+        }
+
         if (HOST_TYPE.toLowerCase() != 'osd') {
 
             // launch VMs