Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Allow configuring cinder mount point for glance cinder store
Browse files Browse the repository at this point in the history
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 365f16e)
  • Loading branch information
PranaliDeore committed Mar 3, 2021
1 parent 701669c commit ad6eb8a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions deployment/glance/glance-api-container-puppet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit ad6eb8a

Please sign in to comment.