Set CephX user for Ganesha

Previously Ganesha was assuming client.admin would be available
locally as we did not configure which keyring to use.

Change-Id: I575cfa5591d0fb4b3a33f707db0f738840f6cbdf
Closes-Bug: #1783520
This commit is contained in:
Giulio Fidente 2018-07-25 11:47:31 +02:00
parent e787042360
commit 3ce08a8c60
1 changed files with 6 additions and 11 deletions

View File

@ -30,6 +30,9 @@ parameters:
description: Mapping of service endpoint -> protocol. Typically set
via parameter_defaults in the resource registry.
type: json
ManilaCephFSCephFSAuthId:
type: string
default: 'manila'
resources:
CephBase:
@ -55,6 +58,8 @@ resources:
ceph_nfs_service_suffix: pacemaker
nfs_obj_gw: false
ceph_nfs_rados_backend: true
ceph_nfs_disable_caching: true
ceph_nfs_ceph_user: {get_param: ManilaCephFSCephFSAuthId}
outputs:
role_data:
@ -89,14 +94,4 @@ outputs:
dport:
# We support only NFS 4.1 to start
- 2049
- ceph_nfs_ansible_vars:
map_merge:
- {get_attr: [CephBase, role_data, config_settings, ceph_common_ansible_vars]}
- ceph_nfs_bind_addr: {get_param: [EndpointMap, GaneshaInternal, host]}
- ceph_nfs_enable_service: false
- ceph_nfs_use_pacemaker: true
- ceph_nfs_dynamic_exports: true
- ceph_nfs_service_suffix: pacemaker
- nfs_obj_gw: false
- ceph_nfs_rados_backend: true
- ceph_nfs_disable_caching: true
- {}