161071f2d8
If you are using environments/dcn-hci.yaml, then you very likely have more than one Glance server and will want to use the copy-image feature. Thus, enable it by default for deployments which use this environment file. Also because GlanceCacheEnabled defaults to False and because GlanceImageCacheMaxSize defaults to 10737418240 we don't need to explicitly set them in environments/dcn{,-hci}.yaml. Change-Id: If745aa0824098950367525170eaf6cb4e3804482
59 lines
2.2 KiB
YAML
59 lines
2.2 KiB
YAML
# *******************************************************************
|
|
# This file was created automatically by the sample environment
|
|
# generator. Developers should use `tox -e genconfig` to update it.
|
|
# Users are recommended to make changes to a copy of the file instead
|
|
# of the original, if any customizations are needed.
|
|
# *******************************************************************
|
|
# title: Enable Glance NFS Backend
|
|
# description: |
|
|
# Configure and include this environment to enable the use of an NFS
|
|
# share as the backend for Glance.
|
|
parameter_defaults:
|
|
# List of enabled Image Import Methods. Valid values in the list are 'glance-direct', 'web-download', or 'copy-image'
|
|
# Type: comma_delimited_list
|
|
GlanceEnabledImportMethods: web-download
|
|
|
|
# When using GlanceBackend 'file', Netapp mount NFS share for image storage.
|
|
# Type: boolean
|
|
GlanceNetappNfsEnabled: False
|
|
|
|
# NFS mount options for image storage (when GlanceNfsEnabled is true)
|
|
# Type: string
|
|
GlanceNfsOptions: _netdev,bg,intr,context=system_u:object_r:container_file_t:s0
|
|
|
|
# NFS share to mount for image storage (when GlanceNfsEnabled is true)
|
|
# Type: string
|
|
GlanceNfsShare: ''
|
|
|
|
# URI that specifies the staging location to use when importing images
|
|
# Type: string
|
|
GlanceNodeStagingUri: file:///var/lib/glance/staging
|
|
|
|
# NFS mount options for NFS image import staging
|
|
# Type: string
|
|
GlanceStagingNfsOptions: _netdev,bg,intr,context=system_u:object_r:container_file_t:s0
|
|
|
|
# NFS share to mount for image import staging
|
|
# Type: string
|
|
GlanceStagingNfsShare: ''
|
|
|
|
# Netapp share to mount for image storage (when GlanceNetappNfsEnabled is true)
|
|
# Type: string
|
|
NetappShareLocation: ''
|
|
|
|
# ******************************************************
|
|
# Static parameters - these are values that must be
|
|
# included in the environment but should not be changed.
|
|
# ******************************************************
|
|
# The short name of the Glance backend to use. Should be one of swift, rbd, cinder, or file
|
|
# Type: string
|
|
GlanceBackend: file
|
|
|
|
# When using GlanceBackend 'file', mount NFS share for image storage.
|
|
# Type: boolean
|
|
GlanceNfsEnabled: True
|
|
|
|
# *********************
|
|
# End static parameters
|
|
# *********************
|