add basic ceph test
Change-Id: Ia5b93c7de27b813955121c9f06ed3d9c063f4498
diff --git a/cloud-deploy-pipeline.groovy b/cloud-deploy-pipeline.groovy
index 38172c9..5be3072 100644
--- a/cloud-deploy-pipeline.groovy
+++ b/cloud-deploy-pipeline.groovy
@@ -415,6 +415,24 @@
}
}
+
+ if (common.checkContains('STACK_TEST', 'ceph')) {
+ stage('Check Ceph health') {
+ def commands = [
+ 'ceph health',
+ 'ceph status',
+ 'ceph osd tree',
+ 'ceph df',
+ 'ceph osd pool ls',
+ 'ceph auth list'
+ ]
+ for (cmd in commands) {
+ salt.cmdRun(saltMaster, 'I@ceph:mon', cmd)
+ }
+ }
+ }
+
+
if (common.checkContains('STACK_INSTALL', 'finalize')) {
stage('Finalize') {
salt.runSaltProcessStep(saltMaster, '*', 'state.apply', [], null, true)