Install ceph before openstack
Some services like Gnocchi require Ceph to be operational
during deployment
Change-Id: Iddd008a5f150492c28d50d2aa093946483717309
Depends-On: Ifd245b41ffc5204ef4ceb6e2564d63654f30239c
Related-Prod: https://mirantis.jira.com/browse/PROD-22451
diff --git a/cloud-deploy-pipeline.groovy b/cloud-deploy-pipeline.groovy
index ce35b51..74e4629 100644
--- a/cloud-deploy-pipeline.groovy
+++ b/cloud-deploy-pipeline.groovy
@@ -426,6 +426,21 @@
}
}
+ // install ceph
+ if (common.checkContains('STACK_INSTALL', 'ceph')) {
+ stage('Install Ceph MONs') {
+ orchestrate.installCephMon(venvPepper, "I@ceph:mon ${extra_tgt}", extra_tgt)
+ }
+
+ stage('Install Ceph OSDs') {
+ orchestrate.installCephOsd(venvPepper, "I@ceph:osd ${extra_tgt}", true, extra_tgt)
+ }
+
+ stage('Install Ceph clients') {
+ orchestrate.installCephClient(venvPepper, extra_tgt)
+ }
+ }
+
// install openstack
if (common.checkContains('STACK_INSTALL', 'openstack')) {
// install control, tests, ...
@@ -474,20 +489,8 @@
}
- // install ceph
+ // connect ceph
if (common.checkContains('STACK_INSTALL', 'ceph')) {
- stage('Install Ceph MONs') {
- orchestrate.installCephMon(venvPepper, "I@ceph:mon ${extra_tgt}", extra_tgt)
- }
-
- stage('Install Ceph OSDs') {
- orchestrate.installCephOsd(venvPepper, "I@ceph:osd ${extra_tgt}", true, extra_tgt)
- }
-
-
- stage('Install Ceph clients') {
- orchestrate.installCephClient(venvPepper, extra_tgt)
- }
stage('Connect Ceph') {
orchestrate.connectCeph(venvPepper, extra_tgt)