tripleo-heat-templates/sample-env-generator/storage.yaml
Martin Schuppert 393e89bfb6 Make nfs version for nova ephemeral storage configurable
New parameter ``NovaNfsVersion`` allow configuring the NFS version
used for nova storage (when NovaNfsEnabled is true). Since NFSv3
does not support full locking a NFSv4 version need to be used. To
not break current installations the default is the previous hard
coded version 4.

Change-Id: I810478ed82ee6dc056d9652be91dc45b123e78cf
2019-03-19 11:42:32 +00:00

74 lines
2.3 KiB
YAML

environments:
-
name: storage/cinder-nfs
title: Enable Cinder NFS Backend
files:
deployment/cinder/cinder-volume-container-puppet.yaml:
parameters:
- CinderNfsMountOptions
- CinderNfsServers
- CinderEnableNfsBackend
- CinderEnableIscsiBackend
sample_values:
CinderEnableNfsBackend: True
CinderEnableIscsiBackend: False
CinderNfsServers: '192.168.122.1:/export/cinder'
description: |
Configure and include this environment to enable the use of an NFS
share as the backend for Cinder.
-
name: storage/glance-nfs
title: Enable Glance NFS Backend
files:
deployment/glance/glance-api-container-puppet.yaml:
parameters:
- GlanceBackend
- GlanceNfsEnabled
- GlanceNfsShare
- GlanceNfsOptions
- GlanceNetappNfsEnabled
- NetappShareLocation
- GlanceEnabledImportMethods
- GlanceStagingNfsShare
- GlanceNodeStagingUri
- GlanceStagingNfsOptions
sample_values:
GlanceBackend: file
GlanceNfsEnabled: True
static:
- GlanceBackend
- GlanceNfsEnabled
description: |
Configure and include this environment to enable the use of an NFS
share as the backend for Glance.
-
name: storage/nova-nfs
title: Enable Nova NFS Backend
files:
deployment/nova/nova-compute-container-puppet.yaml:
parameters:
- NovaNfsEnabled
- NovaNfsShare
- NovaNfsOptions
- NovaNfsVersion
sample_values:
NovaNfsEnabled: True
NovaNfsVersion: '4.2'
static:
- NovaNfsEnabled
description: |
Configure and include this environment to enable the use of an NFS
share as the backend for Nova.
name: storage/cinder-netapp-config
title: Enable the Cinder NetApp Backend
description: |
A Heat environment file which can be used to enable a
a Cinder NetApp backend, configured via puppet
files:
deployment/cinder/cinder-backend-netapp-puppet.yaml:
parameters: all
static:
- CinderEnableNetappBackend
resource_registry:
OS::TripleO::Services::CinderBackendNetApp: ../../deployment/cinder/cinder-backend-netapp-puppet.yaml