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)
(cherry picked from commit ad6eb8ae7e)
(cherry picked from commit 82e4cccce9)
This commit is contained in:
Pranali Deore 2021-02-05 12:53:38 +05:30
parent c3396e2740
commit b9dd8ccd66
2 changed files with 14 additions and 0 deletions

View File

@ -248,6 +248,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
@ -489,6 +495,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_param: 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.