Allow configuring cinder mount point for glance cinder store

The new parameter CinderMountPointBase has been added which will be used
for mounting NFS volumes on glance nodes.
When glance uses cinder as store and cinder backend is NFS, the mount
point would be required to be set with this parameter.

Depends-On: Ib724f6e895716847827be48ed08b01a7a312338f
Change-Id: Ie84fa812c71ccff8328a0c43e023f98522dd80fb
This commit is contained in:
Pranali Deore 2021-02-05 12:53:38 +05:30
parent f68a949987
commit 365f16e21d
2 changed files with 14 additions and 0 deletions

View File

@ -264,6 +264,12 @@ parameters:
cinder_store:
GlanceBackend: cinder
GlanceStoreDescription: 'Cinder store'
GlanceCinderMountPointBase:
default: '/var/lib/glance/mnt'
type: string
description: |
The mount point base when glance is using cinder as store and cinder backend
is NFS. This mount point is where the NFS volume is mounted on the glance node.
CephClientUserName:
default: openstack
type: string
@ -524,6 +530,7 @@ outputs:
glance::backend::cinder::cinder_store_project_name: 'service'
glance::backend::cinder::cinder_store_user_name: 'glance'
glance::backend::cinder::cinder_store_password: {get_param: GlancePassword}
tripleo::profile::base::glance::backend::cinder::cinder_mount_point_base: {get_parame: GlanceCinderMountPointBase}
- {}
-
if:

View File

@ -0,0 +1,7 @@
---
features:
- |
The new parameter GlanceCinderMountPointBase has been added which will be used
for mounting NFS volumes on glance nodes.
When glance uses cinder as store and cinder backend is NFS, this parameter must
be set to match cinder's mount point.