Check if keystone:client present in non-openstack deployments
Deployment of CEPH with k8s failing on setup endpoints for RadosGW
because keystone not exist in the cloud.
Change-Id: Id49489fd6ea0dd1ea217697c352d5f3ecef79b88
diff --git a/src/com/mirantis/mk/Orchestrate.groovy b/src/com/mirantis/mk/Orchestrate.groovy
index 857884c..3e6d224 100644
--- a/src/com/mirantis/mk/Orchestrate.groovy
+++ b/src/com/mirantis/mk/Orchestrate.groovy
@@ -764,7 +764,9 @@
if (salt.testTarget(master, 'I@ceph:radosgw')) {
salt.runSaltProcessStep(master, 'I@ceph:radosgw', 'saltutil.sync_grains', [], null, true)
salt.enforceState(master, 'I@ceph:radosgw', 'ceph.radosgw', true)
- // setup Keystone service and endpoints for swift or / and S3
+ }
+ // setup Keystone service and endpoints for swift or / and S3
+ if (salt.testTarget(master, 'I@keystone:client')) {
salt.enforceState(master, 'I@keystone:client', 'keystone.client', true)
}
}