Allows for configuration of the Ceph cluster name

To be able to support multiple Ceph cluster, an initial step is
to allow for configuration of each cluster name.

Depends-On: I8d5293eaaf104b6374dfa13992a67ddc37397f10
Implements: blueprint custom-ceph-cluster-name
Change-Id: I1b4d51ca6a2d08fa7a68eea680eb104eff732057
This commit is contained in:
Giulio Fidente
2018-02-07 11:56:12 +01:00
parent 2218e7baba
commit 0b1afb48e5
21 changed files with 221 additions and 27 deletions

View File

@@ -69,6 +69,15 @@ parameters:
CephClusterFSID:
type: string
description: The Ceph cluster FSID. Must be a UUID.
CephClusterName:
type: string
default: ceph
description: The Ceph cluster name.
constraints:
- allowed_pattern: "[a-zA-Z0-9]+"
description: >
The Ceph cluster name must be at least 1 character and contain only
letters and numbers.
CephPoolDefaultPgNum:
description: default pg_num to use for the RBD pools
type: number
@@ -214,6 +223,7 @@ outputs:
ceph_common_ansible_vars:
ireallymeanit: 'yes'
fsid: { get_param: CephClusterFSID }
cluster: { get_param: CephClusterName }
docker: true
ceph_release: luminous
ceph_docker_registry: {get_attr: [DockerImageUrlParts, value, host]}