Browse Source

Allow for customization of the Manila CephFS pool name

Manila needs to know the CephFS pool name, which the deployer
might want to customize when the Ceph cluster is externally managed.

Change-Id: I3adaa442b8c53ff902761d1dba283a79494c8ae6
Partial-Bug: 1837099
(cherry picked from commit e3b39a8d67)
(cherry picked from commit 3c4748b462)
tags/9.5.1
Giulio Fidente 2 months ago
parent
commit
fe10653c3f
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      manifests/profile/base/manila/share.pp

+ 2
- 1
manifests/profile/base/manila/share.pp View File

@@ -105,6 +105,7 @@ class tripleo::profile::base::manila::share (
105 105
       $cephfs_auth_id = hiera('manila::backend::cephfs::cephfs_auth_id')
106 106
       $cephfs_ganesha_server_ip = hiera('manila::backend::cephfs::cephfs_ganesha_server_ip', undef)
107 107
       $manila_cephfs_protocol_helper_type = hiera('manila::backend::cephfs::cephfs_protocol_helper_type', false)
108
+      $manila_cephfs_pool_name = hiera('manila::backend::cephfs::pool_name', 'manila_data')
108 109
 
109 110
       if $cephfs_ganesha_server_ip == undef {
110 111
         $cephfs_ganesha_server_ip_real = hiera('ganesha_vip', undef)
@@ -134,7 +135,7 @@ class tripleo::profile::base::manila::share (
134 135
       if $manila_cephfs_protocol_helper_type == 'NFS' {
135 136
         manila_config {
136 137
           "${manila_cephfs_backend}/ganesha_rados_store_enable":    value => true;
137
-          "${manila_cephfs_backend}/ganesha_rados_store_pool_name": value => 'manila_data';
138
+          "${manila_cephfs_backend}/ganesha_rados_store_pool_name": value => $manila_cephfs_pool_name;
138 139
         }
139 140
       }
140 141
 

Loading…
Cancel
Save