Merge "Allows for configuration of the Ceph cluster name"
This commit is contained in:
commit
655412089a
@ -111,6 +111,7 @@ parameter_defaults:
|
|||||||
# a production deployment. What is here is suitable for
|
# a production deployment. What is here is suitable for
|
||||||
# developer and CI testing only.
|
# developer and CI testing only.
|
||||||
CephClusterFSID: '4b5c8c0a-ff60-454b-a1b4-9747aa737d19'
|
CephClusterFSID: '4b5c8c0a-ff60-454b-a1b4-9747aa737d19'
|
||||||
|
CephClusterName: mycephcluster
|
||||||
CephMonKey: 'AQC+Ox1VmEr3BxAALZejqeHj50Nj6wJDvs96OQ=='
|
CephMonKey: 'AQC+Ox1VmEr3BxAALZejqeHj50Nj6wJDvs96OQ=='
|
||||||
CephAdminKey: 'AQDLOh1VgEp6FRAAFzT7Zw+Y9V6JJExQAsRnRQ=='
|
CephAdminKey: 'AQDLOh1VgEp6FRAAFzT7Zw+Y9V6JJExQAsRnRQ=='
|
||||||
CephClientKey: 'AQC+vYNXgDAgAhAAc8UoYt+OTz5uhV7ItLdwUw=='
|
CephClientKey: 'AQC+vYNXgDAgAhAAc8UoYt+OTz5uhV7ItLdwUw=='
|
||||||
|
@ -69,6 +69,15 @@ parameters:
|
|||||||
CephClusterFSID:
|
CephClusterFSID:
|
||||||
type: string
|
type: string
|
||||||
description: The Ceph cluster FSID. Must be a UUID.
|
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:
|
CephPoolDefaultPgNum:
|
||||||
description: default pg_num to use for the RBD pools
|
description: default pg_num to use for the RBD pools
|
||||||
type: number
|
type: number
|
||||||
@ -214,6 +223,7 @@ outputs:
|
|||||||
ceph_common_ansible_vars:
|
ceph_common_ansible_vars:
|
||||||
ireallymeanit: 'yes'
|
ireallymeanit: 'yes'
|
||||||
fsid: { get_param: CephClusterFSID }
|
fsid: { get_param: CephClusterFSID }
|
||||||
|
cluster: { get_param: CephClusterName }
|
||||||
docker: true
|
docker: true
|
||||||
ceph_release: luminous
|
ceph_release: luminous
|
||||||
ceph_docker_registry: {get_attr: [DockerImageUrlParts, value, host]}
|
ceph_docker_registry: {get_attr: [DockerImageUrlParts, value, host]}
|
||||||
|
@ -40,6 +40,15 @@ parameters:
|
|||||||
default: false
|
default: false
|
||||||
description: Remove package if the service is being disabled during upgrade
|
description: Remove package if the service is being disabled during upgrade
|
||||||
type: boolean
|
type: boolean
|
||||||
|
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.
|
||||||
CephClientUserName:
|
CephClientUserName:
|
||||||
default: openstack
|
default: openstack
|
||||||
type: string
|
type: string
|
||||||
@ -109,8 +118,9 @@ outputs:
|
|||||||
recurse: true
|
recurse: true
|
||||||
- path:
|
- path:
|
||||||
str_replace:
|
str_replace:
|
||||||
template: /etc/ceph/ceph.client.USER.keyring
|
template: /etc/ceph/CLUSTER.client.USER.keyring
|
||||||
params:
|
params:
|
||||||
|
CLUSTER: {get_param: CephClusterName}
|
||||||
USER: {get_param: CephClientUserName}
|
USER: {get_param: CephClientUserName}
|
||||||
owner: cinder:cinder
|
owner: cinder:cinder
|
||||||
perm: '0600'
|
perm: '0600'
|
||||||
|
@ -52,6 +52,15 @@ parameters:
|
|||||||
CephClientUserName:
|
CephClientUserName:
|
||||||
default: openstack
|
default: openstack
|
||||||
type: string
|
type: string
|
||||||
|
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.
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
@ -119,8 +128,9 @@ outputs:
|
|||||||
recurse: true
|
recurse: true
|
||||||
- path:
|
- path:
|
||||||
str_replace:
|
str_replace:
|
||||||
template: /etc/ceph/ceph.client.USER.keyring
|
template: /etc/ceph/CLUSTER.client.USER.keyring
|
||||||
params:
|
params:
|
||||||
|
CLUSTER: {get_param: CephClusterName}
|
||||||
USER: {get_param: CephClientUserName}
|
USER: {get_param: CephClientUserName}
|
||||||
owner: cinder:cinder
|
owner: cinder:cinder
|
||||||
perm: '0600'
|
perm: '0600'
|
||||||
|
@ -68,6 +68,15 @@ parameters:
|
|||||||
CephClientUserName:
|
CephClientUserName:
|
||||||
default: openstack
|
default: openstack
|
||||||
type: string
|
type: string
|
||||||
|
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.
|
||||||
|
|
||||||
conditions:
|
conditions:
|
||||||
|
|
||||||
@ -139,8 +148,9 @@ outputs:
|
|||||||
recurse: true
|
recurse: true
|
||||||
- path:
|
- path:
|
||||||
str_replace:
|
str_replace:
|
||||||
template: /etc/ceph/ceph.client.USER.keyring
|
template: /etc/ceph/CLUSTER.client.USER.keyring
|
||||||
params:
|
params:
|
||||||
|
CLUSTER: {get_param: CephClusterName}
|
||||||
USER: {get_param: CephClientUserName}
|
USER: {get_param: CephClientUserName}
|
||||||
owner: glance:glance
|
owner: glance:glance
|
||||||
perm: '0600'
|
perm: '0600'
|
||||||
|
@ -46,6 +46,15 @@ parameters:
|
|||||||
CephClientUserName:
|
CephClientUserName:
|
||||||
default: openstack
|
default: openstack
|
||||||
type: string
|
type: string
|
||||||
|
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.
|
||||||
|
|
||||||
conditions:
|
conditions:
|
||||||
|
|
||||||
@ -102,8 +111,9 @@ outputs:
|
|||||||
recurse: true
|
recurse: true
|
||||||
- path:
|
- path:
|
||||||
str_replace:
|
str_replace:
|
||||||
template: /etc/ceph/ceph.client.USER.keyring
|
template: /etc/ceph/CLUSTER.client.USER.keyring
|
||||||
params:
|
params:
|
||||||
|
CLUSTER: {get_param: CephClusterName}
|
||||||
USER: {get_param: CephClientUserName}
|
USER: {get_param: CephClientUserName}
|
||||||
owner: gnocchi:gnocchi
|
owner: gnocchi:gnocchi
|
||||||
perm: '0600'
|
perm: '0600'
|
||||||
|
@ -39,6 +39,15 @@ parameters:
|
|||||||
CephClientUserName:
|
CephClientUserName:
|
||||||
default: openstack
|
default: openstack
|
||||||
type: string
|
type: string
|
||||||
|
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.
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
@ -95,8 +104,9 @@ outputs:
|
|||||||
recurse: true
|
recurse: true
|
||||||
- path:
|
- path:
|
||||||
str_replace:
|
str_replace:
|
||||||
template: /etc/ceph/ceph.client.USER.keyring
|
template: /etc/ceph/CLUSTER.client.USER.keyring
|
||||||
params:
|
params:
|
||||||
|
CLUSTER: {get_param: CephClusterName}
|
||||||
USER: {get_param: CephClientUserName}
|
USER: {get_param: CephClientUserName}
|
||||||
owner: gnocchi:gnocchi
|
owner: gnocchi:gnocchi
|
||||||
perm: '0600'
|
perm: '0600'
|
||||||
|
@ -39,6 +39,15 @@ parameters:
|
|||||||
CephClientUserName:
|
CephClientUserName:
|
||||||
default: openstack
|
default: openstack
|
||||||
type: string
|
type: string
|
||||||
|
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.
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
@ -95,8 +104,9 @@ outputs:
|
|||||||
recurse: true
|
recurse: true
|
||||||
- path:
|
- path:
|
||||||
str_replace:
|
str_replace:
|
||||||
template: /etc/ceph/ceph.client.USER.keyring
|
template: /etc/ceph/CLUSTER.client.USER.keyring
|
||||||
params:
|
params:
|
||||||
|
CLUSTER: {get_param: CephClusterName}
|
||||||
USER: {get_param: CephClientUserName}
|
USER: {get_param: CephClientUserName}
|
||||||
owner: gnocchi:gnocchi
|
owner: gnocchi:gnocchi
|
||||||
perm: '0600'
|
perm: '0600'
|
||||||
|
@ -39,6 +39,15 @@ parameters:
|
|||||||
ManilaCephClientUserName:
|
ManilaCephClientUserName:
|
||||||
default: manila
|
default: manila
|
||||||
type: string
|
type: string
|
||||||
|
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.
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
@ -95,8 +104,9 @@ outputs:
|
|||||||
recurse: true
|
recurse: true
|
||||||
- path:
|
- path:
|
||||||
str_replace:
|
str_replace:
|
||||||
template: /etc/ceph/ceph.client.USER.keyring
|
template: /etc/ceph/CLUSTER.client.USER.keyring
|
||||||
params:
|
params:
|
||||||
|
CLUSTER: {get_param: CephClusterName}
|
||||||
USER: {get_param: ManilaCephClientUserName}
|
USER: {get_param: ManilaCephClientUserName}
|
||||||
owner: manila:manila
|
owner: manila:manila
|
||||||
perm: '0600'
|
perm: '0600'
|
||||||
|
@ -52,6 +52,15 @@ parameters:
|
|||||||
CephClientUserName:
|
CephClientUserName:
|
||||||
default: openstack
|
default: openstack
|
||||||
type: string
|
type: string
|
||||||
|
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.
|
||||||
NovaComputeOptVolumes:
|
NovaComputeOptVolumes:
|
||||||
default: []
|
default: []
|
||||||
description: list of optional vo
|
description: list of optional vo
|
||||||
@ -135,8 +144,9 @@ outputs:
|
|||||||
recurse: true
|
recurse: true
|
||||||
- path:
|
- path:
|
||||||
str_replace:
|
str_replace:
|
||||||
template: /etc/ceph/ceph.client.USER.keyring
|
template: /etc/ceph/CLUSTER.client.USER.keyring
|
||||||
params:
|
params:
|
||||||
|
CLUSTER: {get_param: CephClusterName}
|
||||||
USER: {get_param: CephClientUserName}
|
USER: {get_param: CephClientUserName}
|
||||||
owner: nova:nova
|
owner: nova:nova
|
||||||
perm: '0600'
|
perm: '0600'
|
||||||
|
@ -71,6 +71,15 @@ parameters:
|
|||||||
CephClientUserName:
|
CephClientUserName:
|
||||||
default: openstack
|
default: openstack
|
||||||
type: string
|
type: string
|
||||||
|
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.
|
||||||
|
|
||||||
conditions:
|
conditions:
|
||||||
|
|
||||||
@ -154,8 +163,9 @@ outputs:
|
|||||||
permissions:
|
permissions:
|
||||||
- path:
|
- path:
|
||||||
str_replace:
|
str_replace:
|
||||||
template: /etc/ceph/ceph.client.USER.keyring
|
template: /etc/ceph/CLUSTER.client.USER.keyring
|
||||||
params:
|
params:
|
||||||
|
CLUSTER: {get_param: CephClusterName}
|
||||||
USER: {get_param: CephClientUserName}
|
USER: {get_param: CephClientUserName}
|
||||||
owner: nova:nova
|
owner: nova:nova
|
||||||
perm: '0600'
|
perm: '0600'
|
||||||
|
@ -14,9 +14,7 @@ resource_registry:
|
|||||||
parameter_defaults:
|
parameter_defaults:
|
||||||
ManilaCephFSBackendName: cephfs
|
ManilaCephFSBackendName: cephfs
|
||||||
ManilaCephFSDriverHandlesShareServers: false
|
ManilaCephFSDriverHandlesShareServers: false
|
||||||
ManilaCephFSCephFSConfPath: '/etc/ceph/ceph.conf'
|
|
||||||
ManilaCephFSCephFSAuthId: 'manila'
|
ManilaCephFSCephFSAuthId: 'manila'
|
||||||
ManilaCephFSCephFSClusterName: 'ceph'
|
|
||||||
ManilaCephFSCephFSEnableSnapshots: false
|
ManilaCephFSCephFSEnableSnapshots: false
|
||||||
# manila cephfs driver supports either native cephfs backend - 'CEPHFS'
|
# manila cephfs driver supports either native cephfs backend - 'CEPHFS'
|
||||||
# (users mount shares directly from ceph cluster), or nfs-ganesha backend -
|
# (users mount shares directly from ceph cluster), or nfs-ganesha backend -
|
||||||
|
@ -14,9 +14,7 @@ resource_registry:
|
|||||||
parameter_defaults:
|
parameter_defaults:
|
||||||
ManilaCephFSBackendName: cephfs
|
ManilaCephFSBackendName: cephfs
|
||||||
ManilaCephFSDriverHandlesShareServers: false
|
ManilaCephFSDriverHandlesShareServers: false
|
||||||
ManilaCephFSCephFSConfPath: '/etc/ceph/ceph.conf'
|
|
||||||
ManilaCephFSCephFSAuthId: 'manila'
|
ManilaCephFSCephFSAuthId: 'manila'
|
||||||
ManilaCephFSCephFSClusterName: 'ceph'
|
|
||||||
ManilaCephFSCephFSEnableSnapshots: false
|
ManilaCephFSCephFSEnableSnapshots: false
|
||||||
# manila cephfs driver supports either native cephfs backend - 'CEPHFS'
|
# manila cephfs driver supports either native cephfs backend - 'CEPHFS'
|
||||||
# (users mount shares directly from ceph cluster), or nfs-ganesha backend -
|
# (users mount shares directly from ceph cluster), or nfs-ganesha backend -
|
||||||
|
@ -11,7 +11,5 @@ resource_registry:
|
|||||||
parameter_defaults:
|
parameter_defaults:
|
||||||
ManilaCephFSNativeBackendName: cephfsnative
|
ManilaCephFSNativeBackendName: cephfsnative
|
||||||
ManilaCephFSNativeDriverHandlesShareServers: false
|
ManilaCephFSNativeDriverHandlesShareServers: false
|
||||||
ManilaCephFSNativeCephFSConfPath: '/etc/ceph/ceph.conf'
|
|
||||||
ManilaCephFSNativeCephFSAuthId: 'manila'
|
ManilaCephFSNativeCephFSAuthId: 'manila'
|
||||||
ManilaCephFSNativeCephFSClusterName: 'ceph'
|
|
||||||
ManilaCephFSNativeCephFSEnableSnapshots: false
|
ManilaCephFSNativeCephFSEnableSnapshots: false
|
||||||
|
@ -13,6 +13,15 @@ parameters:
|
|||||||
CinderBackupRbdPoolName:
|
CinderBackupRbdPoolName:
|
||||||
default: backups
|
default: backups
|
||||||
type: string
|
type: string
|
||||||
|
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.
|
||||||
CephClientUserName:
|
CephClientUserName:
|
||||||
default: openstack
|
default: openstack
|
||||||
type: string
|
type: string
|
||||||
@ -69,6 +78,12 @@ outputs:
|
|||||||
- get_attr: [CinderBase, role_data, config_settings]
|
- get_attr: [CinderBase, role_data, config_settings]
|
||||||
- cinder::backup::ceph::backup_ceph_user: {get_param: CephClientUserName}
|
- cinder::backup::ceph::backup_ceph_user: {get_param: CephClientUserName}
|
||||||
cinder::backup::ceph::backup_ceph_pool: {get_param: CinderBackupRbdPoolName}
|
cinder::backup::ceph::backup_ceph_pool: {get_param: CinderBackupRbdPoolName}
|
||||||
|
cinder::backup::ceph::backup_ceph_conf:
|
||||||
|
list_join:
|
||||||
|
- ''
|
||||||
|
- - '/etc/ceph/'
|
||||||
|
- {get_param: CephClusterName}
|
||||||
|
- '.conf'
|
||||||
cinder::backup::swift::backup_swift_container: volumebackups
|
cinder::backup::swift::backup_swift_container: volumebackups
|
||||||
step_config:
|
step_config:
|
||||||
str_replace:
|
str_replace:
|
||||||
|
@ -65,6 +65,15 @@ parameters:
|
|||||||
list. This is in addition to the standard RBD backend driver
|
list. This is in addition to the standard RBD backend driver
|
||||||
associated with the CinderRbdPoolName.
|
associated with the CinderRbdPoolName.
|
||||||
type: comma_delimited_list
|
type: comma_delimited_list
|
||||||
|
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.
|
||||||
CephClientUserName:
|
CephClientUserName:
|
||||||
default: openstack
|
default: openstack
|
||||||
type: string
|
type: string
|
||||||
@ -134,6 +143,12 @@ outputs:
|
|||||||
tripleo::profile::base::cinder::volume::iscsi::cinder_lvm_loop_device_size: {get_param: CinderLVMLoopDeviceSize}
|
tripleo::profile::base::cinder::volume::iscsi::cinder_lvm_loop_device_size: {get_param: CinderLVMLoopDeviceSize}
|
||||||
tripleo::profile::base::cinder::volume::iscsi::cinder_iscsi_helper: {get_param: CinderISCSIHelper}
|
tripleo::profile::base::cinder::volume::iscsi::cinder_iscsi_helper: {get_param: CinderISCSIHelper}
|
||||||
tripleo::profile::base::cinder::volume::iscsi::cinder_iscsi_protocol: {get_param: CinderISCSIProtocol}
|
tripleo::profile::base::cinder::volume::iscsi::cinder_iscsi_protocol: {get_param: CinderISCSIProtocol}
|
||||||
|
tripleo::profile::base::cinder::volume::rbd::cinder_rbd_ceph_conf:
|
||||||
|
list_join:
|
||||||
|
- ''
|
||||||
|
- - '/etc/ceph/'
|
||||||
|
- {get_param: CephClusterName}
|
||||||
|
- '.conf'
|
||||||
tripleo::profile::base::cinder::volume::rbd::cinder_rbd_pool_name: {get_param: CinderRbdPoolName}
|
tripleo::profile::base::cinder::volume::rbd::cinder_rbd_pool_name: {get_param: CinderRbdPoolName}
|
||||||
tripleo::profile::base::cinder::volume::rbd::cinder_rbd_extra_pools: {get_param: CinderRbdExtraPools}
|
tripleo::profile::base::cinder::volume::rbd::cinder_rbd_extra_pools: {get_param: CinderRbdExtraPools}
|
||||||
tripleo::profile::base::cinder::volume::rbd::cinder_rbd_user_name: {get_param: CephClientUserName}
|
tripleo::profile::base::cinder::volume::rbd::cinder_rbd_user_name: {get_param: CephClientUserName}
|
||||||
|
@ -75,6 +75,15 @@ parameters:
|
|||||||
CephClientUserName:
|
CephClientUserName:
|
||||||
default: openstack
|
default: openstack
|
||||||
type: string
|
type: string
|
||||||
|
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.
|
||||||
GlanceNotifierStrategy:
|
GlanceNotifierStrategy:
|
||||||
description: Strategy to use for Glance notification queue
|
description: Strategy to use for Glance notification queue
|
||||||
type: string
|
type: string
|
||||||
@ -248,6 +257,12 @@ outputs:
|
|||||||
glance::backend::swift::swift_store_key: {get_param: GlancePassword}
|
glance::backend::swift::swift_store_key: {get_param: GlancePassword}
|
||||||
glance::backend::swift::swift_store_create_container_on_put: true
|
glance::backend::swift::swift_store_create_container_on_put: true
|
||||||
glance::backend::swift::swift_store_auth_version: 3
|
glance::backend::swift::swift_store_auth_version: 3
|
||||||
|
glance::backend::rbd::rbd_store_ceph_conf:
|
||||||
|
list_join:
|
||||||
|
- ''
|
||||||
|
- - '/etc/ceph/'
|
||||||
|
- {get_param: CephClusterName}
|
||||||
|
- '.conf'
|
||||||
glance::backend::rbd::rbd_store_pool: {get_param: GlanceRbdPoolName}
|
glance::backend::rbd::rbd_store_pool: {get_param: GlanceRbdPoolName}
|
||||||
glance::backend::rbd::rbd_store_user: {get_param: CephClientUserName}
|
glance::backend::rbd::rbd_store_user: {get_param: CephClientUserName}
|
||||||
glance_backend: {get_param: GlanceBackend}
|
glance_backend: {get_param: GlanceBackend}
|
||||||
|
@ -45,6 +45,15 @@ parameters:
|
|||||||
GnocchiRbdPoolName:
|
GnocchiRbdPoolName:
|
||||||
default: metrics
|
default: metrics
|
||||||
type: string
|
type: string
|
||||||
|
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.
|
||||||
CephClientUserName:
|
CephClientUserName:
|
||||||
default: openstack
|
default: openstack
|
||||||
type: string
|
type: string
|
||||||
@ -126,13 +135,20 @@ outputs:
|
|||||||
gnocchi::storage::swift::swift_endpoint_type: {get_param: GnocchiStorageSwiftEndpointType}
|
gnocchi::storage::swift::swift_endpoint_type: {get_param: GnocchiStorageSwiftEndpointType}
|
||||||
gnocchi::storage::ceph::ceph_pool: {get_param: GnocchiRbdPoolName}
|
gnocchi::storage::ceph::ceph_pool: {get_param: GnocchiRbdPoolName}
|
||||||
gnocchi::storage::ceph::ceph_username: {get_param: CephClientUserName}
|
gnocchi::storage::ceph::ceph_username: {get_param: CephClientUserName}
|
||||||
|
gnocchi::storage::ceph::ceph_conffile:
|
||||||
|
list_join:
|
||||||
|
- ''
|
||||||
|
- - '/etc/ceph/'
|
||||||
|
- {get_param: CephClusterName}
|
||||||
|
- '.conf'
|
||||||
gnocchi::storage::ceph::ceph_keyring:
|
gnocchi::storage::ceph::ceph_keyring:
|
||||||
list_join:
|
list_join:
|
||||||
- '.'
|
- ''
|
||||||
- - '/etc/ceph/ceph'
|
- - '/etc/ceph/'
|
||||||
- 'client'
|
- {get_param: CephClusterName}
|
||||||
|
- '.client.'
|
||||||
- {get_param: CephClientUserName}
|
- {get_param: CephClientUserName}
|
||||||
- 'keyring'
|
- '.keyring'
|
||||||
gnocchi::storage::s3::s3_endpoint_url: {get_param: GnocchiStorageS3Endpoint}
|
gnocchi::storage::s3::s3_endpoint_url: {get_param: GnocchiStorageS3Endpoint}
|
||||||
gnocchi::storage::s3::s3_region_name: {get_param: GnocchiStorageS3RegionName}
|
gnocchi::storage::s3::s3_region_name: {get_param: GnocchiStorageS3RegionName}
|
||||||
gnocchi::storage::s3::s3_access_key_id: {get_param: GnocchiStorageS3AccessKeyId}
|
gnocchi::storage::s3::s3_access_key_id: {get_param: GnocchiStorageS3AccessKeyId}
|
||||||
|
@ -30,6 +30,15 @@ parameters:
|
|||||||
description: Mapping of service endpoint -> protocol. Typically set
|
description: Mapping of service endpoint -> protocol. Typically set
|
||||||
via parameter_defaults in the resource registry.
|
via parameter_defaults in the resource registry.
|
||||||
type: json
|
type: json
|
||||||
|
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.
|
||||||
# CephFS backend params:
|
# CephFS backend params:
|
||||||
ManilaCephFSBackendName:
|
ManilaCephFSBackendName:
|
||||||
type: string
|
type: string
|
||||||
@ -40,15 +49,9 @@ parameters:
|
|||||||
ManilaCephFSShareBackendName:
|
ManilaCephFSShareBackendName:
|
||||||
type: string
|
type: string
|
||||||
default: 'cephfs'
|
default: 'cephfs'
|
||||||
ManilaCephFSCephFSConfPath:
|
|
||||||
type: string
|
|
||||||
default: '/etc/ceph/ceph.conf'
|
|
||||||
ManilaCephFSCephFSAuthId:
|
ManilaCephFSCephFSAuthId:
|
||||||
type: string
|
type: string
|
||||||
default: 'manila'
|
default: 'manila'
|
||||||
ManilaCephFSCephFSClusterName:
|
|
||||||
type: string
|
|
||||||
default: 'ceph'
|
|
||||||
ManilaCephFSCephFSEnableSnapshots:
|
ManilaCephFSCephFSEnableSnapshots:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
@ -73,9 +76,14 @@ outputs:
|
|||||||
manila::backend::cephfs::title: {get_param: ManilaCephFSBackendName}
|
manila::backend::cephfs::title: {get_param: ManilaCephFSBackendName}
|
||||||
manila::backend::cephfs::driver_handles_share_servers: {get_param: ManilaCephFSDriverHandlesShareServers}
|
manila::backend::cephfs::driver_handles_share_servers: {get_param: ManilaCephFSDriverHandlesShareServers}
|
||||||
manila::backend::cephfs::share_backend_name: {get_param: ManilaCephFSShareBackendName}
|
manila::backend::cephfs::share_backend_name: {get_param: ManilaCephFSShareBackendName}
|
||||||
manila::backend::cephfs::cephfs_conf_path: {get_param: ManilaCephFSCephFSConfPath}
|
manila::backend::cephfs::cephfs_conf_path:
|
||||||
|
list_join:
|
||||||
|
- ''
|
||||||
|
- - /etc/ceph/
|
||||||
|
- {get_param: CephClusterName}
|
||||||
|
- .conf
|
||||||
manila::backend::cephfs::cephfs_auth_id: {get_param: ManilaCephFSCephFSAuthId}
|
manila::backend::cephfs::cephfs_auth_id: {get_param: ManilaCephFSCephFSAuthId}
|
||||||
manila::backend::cephfs::cephfs_cluster_name: {get_param: ManilaCephFSCephFSClusterName}
|
manila::backend::cephfs::cephfs_cluster_name: {get_param: CephClusterName}
|
||||||
manila::backend::cephfs::cephfs_enable_snapshots: {get_param: ManilaCephFSCephFSEnableSnapshots}
|
manila::backend::cephfs::cephfs_enable_snapshots: {get_param: ManilaCephFSCephFSEnableSnapshots}
|
||||||
manila::backend::cephfs::ceph_client_key: {get_param: CephManilaClientKey}
|
manila::backend::cephfs::ceph_client_key: {get_param: CephManilaClientKey}
|
||||||
manila::backend::cephfs::cephfs_protocol_helper_type: {get_param: ManilaCephFSCephFSProtocolHelperType}
|
manila::backend::cephfs::cephfs_protocol_helper_type: {get_param: ManilaCephFSCephFSProtocolHelperType}
|
||||||
|
@ -33,6 +33,15 @@ parameters:
|
|||||||
NovaRbdPoolName:
|
NovaRbdPoolName:
|
||||||
default: vms
|
default: vms
|
||||||
type: string
|
type: string
|
||||||
|
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.
|
||||||
CephClientUserName:
|
CephClientUserName:
|
||||||
default: openstack
|
default: openstack
|
||||||
type: string
|
type: string
|
||||||
@ -173,6 +182,12 @@ outputs:
|
|||||||
tripleo::profile::base::nova::migration::client::nova_compute_enabled: true
|
tripleo::profile::base::nova::migration::client::nova_compute_enabled: true
|
||||||
tripleo::profile::base::nova::migration::client::ssh_private_key: {get_param: [ MigrationSshKey, private_key ]}
|
tripleo::profile::base::nova::migration::client::ssh_private_key: {get_param: [ MigrationSshKey, private_key ]}
|
||||||
tripleo::profile::base::nova::migration::client::ssh_port: {get_param: MigrationSshPort}
|
tripleo::profile::base::nova::migration::client::ssh_port: {get_param: MigrationSshPort}
|
||||||
|
nova::compute::rbd::libvirt_images_rbd_ceph_conf:
|
||||||
|
list_join:
|
||||||
|
- ''
|
||||||
|
- - '/etc/ceph/'
|
||||||
|
- {get_param: CephClusterName}
|
||||||
|
- '.conf'
|
||||||
nova::compute::rbd::libvirt_images_rbd_pool: {get_param: NovaRbdPoolName}
|
nova::compute::rbd::libvirt_images_rbd_pool: {get_param: NovaRbdPoolName}
|
||||||
nova::compute::rbd::libvirt_rbd_user: {get_param: CephClientUserName}
|
nova::compute::rbd::libvirt_rbd_user: {get_param: CephClientUserName}
|
||||||
nova::compute::rbd::rbd_keyring:
|
nova::compute::rbd::rbd_keyring:
|
||||||
|
@ -30,6 +30,15 @@ parameters:
|
|||||||
description: Mapping of service endpoint -> protocol. Typically set
|
description: Mapping of service endpoint -> protocol. Typically set
|
||||||
via parameter_defaults in the resource registry.
|
via parameter_defaults in the resource registry.
|
||||||
type: json
|
type: json
|
||||||
|
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.
|
||||||
CephClientUserName:
|
CephClientUserName:
|
||||||
default: openstack
|
default: openstack
|
||||||
type: string
|
type: string
|
||||||
@ -143,6 +152,12 @@ outputs:
|
|||||||
- nova::compute::libvirt::manage_libvirt_services: false
|
- nova::compute::libvirt::manage_libvirt_services: false
|
||||||
# we manage migration in nova common puppet profile
|
# we manage migration in nova common puppet profile
|
||||||
nova::compute::libvirt::migration_support: false
|
nova::compute::libvirt::migration_support: false
|
||||||
|
nova::compute::rbd::libvirt_images_rbd_ceph_conf:
|
||||||
|
list_join:
|
||||||
|
- ''
|
||||||
|
- - '/etc/ceph/'
|
||||||
|
- {get_param: CephClusterName}
|
||||||
|
- '.conf'
|
||||||
nova::compute::rbd::libvirt_rbd_user: {get_param: CephClientUserName}
|
nova::compute::rbd::libvirt_rbd_user: {get_param: CephClientUserName}
|
||||||
nova::compute::rbd::rbd_keyring:
|
nova::compute::rbd::rbd_keyring:
|
||||||
list_join:
|
list_join:
|
||||||
|
Loading…
Reference in New Issue
Block a user