Handle cinder_mount_point_base for cinder mounting needs
Adding cinder_mount_point_base parameter, to provide the mount point for *fs volumes. Depends-On: Ib724f6e895716847827be48ed08b01a7a312338f Change-Id: I3f9004fd8abffefe8cfeee9011ed0e323652fdd1 (cherry picked from commita2dbbaedab
) (cherry picked from commit1234d16497
) (cherry picked from commite97541284a
)
This commit is contained in:
parent
0108687c43
commit
1bdc286352
|
@ -69,6 +69,10 @@
|
|||
# (Optional) Set to True when multipathd is enabled
|
||||
# Defaults to hiera('glance::backend::cinder::cinder_use_multipath', undef)
|
||||
#
|
||||
# [*cinder_mount_point_base*]
|
||||
# (Optional) Directory where the NFS volume is mounted on the glance node.
|
||||
# Defaults to hiera('glance::backend::cinder::cinder_mount_point_base', undef)
|
||||
#
|
||||
# [*store_description*]
|
||||
# (Optional) Provides constructive information about the store backend to
|
||||
# end users.
|
||||
|
@ -93,6 +97,7 @@ class tripleo::profile::base::glance::backend::cinder (
|
|||
$cinder_store_password = hiera('glance::backend::cinder::cinder_store_password', undef),
|
||||
$cinder_enforce_multipath = hiera('glance::backend::cinder::cinder_enforce_multipath', undef),
|
||||
$cinder_use_multipath = hiera('glance::backend::cinder::cinder_use_multipath', undef),
|
||||
$cinder_mount_point_base = hiera('glance::backend::cinder::cinder_mount_point_base', undef),
|
||||
$store_description = hiera('tripleo::profile::base::glance::api::glance_store_description', 'Cinder store'),
|
||||
$step = Integer(hiera('step')),
|
||||
) {
|
||||
|
@ -119,6 +124,7 @@ class tripleo::profile::base::glance::backend::cinder (
|
|||
cinder_store_password => $cinder_store_password,
|
||||
cinder_enforce_multipath => $cinder_enforce_multipath,
|
||||
cinder_use_multipath => $cinder_use_multipath,
|
||||
cinder_mount_point_base => $cinder_mount_point_base,
|
||||
store_description => $store_description_real,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -49,6 +49,7 @@ describe 'tripleo::profile::base::glance::backend::cinder' do
|
|||
:cinder_store_password => 'glance_password',
|
||||
:cinder_enforce_multipath => true,
|
||||
:cinder_use_multipath => true,
|
||||
:cinder_mount_point_base => '/var/lib/glance/mnt/nfs',
|
||||
:step => 4,
|
||||
} }
|
||||
|
||||
|
@ -65,6 +66,7 @@ describe 'tripleo::profile::base::glance::backend::cinder' do
|
|||
:cinder_store_password => 'glance_password',
|
||||
:cinder_enforce_multipath => true,
|
||||
:cinder_use_multipath => true,
|
||||
:cinder_mount_point_base => '/var/lib/glance/mnt/nfs',
|
||||
:store_description => 'Cinder store',
|
||||
)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue