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: I3f9004fd8abffefe8cfeee9011ed0e323652fdd1
Change-Id: Ie84fa812c71ccff8328a0c43e023f98522dd80fb
(cherry picked from commit 365f16e21d)
This commit is contained in:
Pranali Deore 2021-02-05 12:53:38 +05:30
parent 701669c8c3
commit ad6eb8ae7e
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
@ -518,6 +524,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.