Add keystone service metadata for v3 client
V3 resources structure/resource relation are completely
different than in v2. This patch introduce metadata for
v3 resources stored in:
* keystone/client/v3/services/*
The new module/state in keystone to work with v3 only was introduced
by https://gerrit.mcp.mirantis.net/19529.
The change is fully backward compatible, as new resources will be
used only when keystone:client:resources:v3:enabled is set explicitly
to True.
Change-Id: I0f0e53dda29572987f221438394083590bb6a6e5
Related-Prod: PROD-19148
diff --git a/keystone/client/v3/service/cinder2.yml b/keystone/client/v3/service/cinder2.yml
new file mode 100644
index 0000000..c1ccec6
--- /dev/null
+++ b/keystone/client/v3/service/cinder2.yml
@@ -0,0 +1,33 @@
+parameters:
+ _param:
+ cluster_public_protocol: https
+ cinder_service_protocol: http
+ keystone:
+ client:
+ resources:
+ v3:
+ users:
+ cinder:
+ password: ${_param:keystone_cinder_password}
+ email: ${_param:admin_email}
+ roles:
+ service_admin:
+ name: admin
+ project_id: service
+ services:
+ cinderv2:
+ type: volumev2
+ description: OpenStack Volume Service V2
+ endpoints:
+ cinder_public_v2:
+ interface: 'public'
+ url: ${_param:cluster_public_protocol}://${_param:cluster_public_host}:8776/v2/$(project_id)s
+ region: ${_param:openstack_region}
+ cinder_internal_v2:
+ interface: 'internal'
+ url: ${_param:cinder_service_protocol}://${_param:cinder_service_host}:8776/v2/$(project_id)s
+ region: ${_param:openstack_region}
+ cinder_admin_v2:
+ interface: 'admin'
+ url: ${_param:cinder_service_protocol}://${_param:cinder_service_host}:8776/v2/$(project_id)s
+ region: ${_param:openstack_region}