Move cephfs and cephfs_*_pool ceph-ansible parameters in -base
We have to move these into the -base service so they are dumped in "all" ansible group vars and correctly consumed by nfs role when not colocated with mds. Closes-Bug: 1840651 Change-Id: I7aec1b80e0f598fc86720d669151958ca7b2e01d (cherry picked from commit04b1378ea1
) (cherry picked from commit90e36a106a
)
This commit is contained in:
parent
022baa43f6
commit
3b61e285be
|
@ -135,6 +135,21 @@ parameters:
|
|||
description: default minimum replication for RBD copies
|
||||
type: number
|
||||
default: 3
|
||||
ManilaCephFSDataPoolName:
|
||||
default: manila_data
|
||||
type: string
|
||||
ManilaCephFSMetadataPoolName:
|
||||
default: manila_metadata
|
||||
type: string
|
||||
ManilaCephFSDataPoolPGNum:
|
||||
default: 128
|
||||
type: number
|
||||
ManilaCephFSMetadataPoolPGNum:
|
||||
default: 128
|
||||
type: number
|
||||
ManilaCephFSShareBackendName:
|
||||
default: cephfs
|
||||
type: string
|
||||
ManilaCephFSCephFSAuthId:
|
||||
default: manila
|
||||
type: string
|
||||
|
@ -357,6 +372,12 @@ resources:
|
|||
- {get_param: CephIPv6}
|
||||
- ipv6
|
||||
- ipv4
|
||||
cephfs_data: {get_param: ManilaCephFSDataPoolName}
|
||||
cephfs_metadata: {get_param: ManilaCephFSMetadataPoolName}
|
||||
cephfs: {get_param: ManilaCephFSShareBackendName}
|
||||
cephfs_pools:
|
||||
- { name: {get_param: ManilaCephFSDataPoolName}, pgs: {get_param: ManilaCephFSDataPoolPGNum} }
|
||||
- { name: {get_param: ManilaCephFSMetadataPoolName}, pgs: {get_param: ManilaCephFSMetadataPoolPGNum} }
|
||||
|
||||
outputs:
|
||||
role_data:
|
||||
|
|
|
@ -35,21 +35,6 @@ parameters:
|
|||
with ceph-authtool --gen-print-key.
|
||||
type: string
|
||||
hidden: true
|
||||
ManilaCephFSDataPoolName:
|
||||
default: manila_data
|
||||
type: string
|
||||
ManilaCephFSDataPoolPGNum:
|
||||
default: 128
|
||||
type: number
|
||||
ManilaCephFSMetadataPoolName:
|
||||
default: manila_metadata
|
||||
type: string
|
||||
ManilaCephFSMetadataPoolPGNum:
|
||||
default: 128
|
||||
type: number
|
||||
ManilaCephFSShareBackendName:
|
||||
default: cephfs
|
||||
type: string
|
||||
|
||||
resources:
|
||||
CephBase:
|
||||
|
@ -67,13 +52,7 @@ resources:
|
|||
properties:
|
||||
type: json
|
||||
value:
|
||||
vars:
|
||||
cephfs_data: {get_param: ManilaCephFSDataPoolName}
|
||||
cephfs_metadata: {get_param: ManilaCephFSMetadataPoolName}
|
||||
cephfs: {get_param: ManilaCephFSShareBackendName}
|
||||
cephfs_pools:
|
||||
- { name: {get_param: ManilaCephFSDataPoolName}, pgs: {get_param: ManilaCephFSDataPoolPGNum} }
|
||||
- { name: {get_param: ManilaCephFSMetadataPoolName}, pgs: {get_param: ManilaCephFSMetadataPoolPGNum} }
|
||||
vars: {}
|
||||
|
||||
outputs:
|
||||
role_data:
|
||||
|
|
Loading…
Reference in New Issue