tripleo-heat-templates/sample-env-generator/storage.yaml
Pranali Deore a089310bf3 Add support of shared staging location for glance-direct
In the case of an HA setup (ie with 3 controller nodes) if image
import method is 'glance-direct', it would require a shared
consistent staging location on the controller nodes otherwise it
might happen that the image is uploaded to one node and triggering
the import is executed on a different node - where the image does not
exist.

Hence when import method 'glance-direct' is needed, operators need to
enable it explicitly with enabling NFS across the controller nodes
to share the staging.

Change-Id: I9a5bff5e5d0c3e109b73d691cc9088904a0401ac
Closes-Bug: #1765439
2018-05-22 21:40:13 +05:30

72 lines
2.1 KiB
YAML

environments:
-
name: storage/cinder-nfs
title: Enable Cinder NFS Backend
files:
puppet/services/cinder-volume.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:
puppet/services/glance-api.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:
puppet/services/nova-compute.yaml:
parameters:
- NovaNfsEnabled
- NovaNfsShare
- NovaNfsOptions
sample_values:
NovaNfsEnabled: True
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:
puppet/services/cinder-backend-netapp.yaml:
parameters: all
static:
- CinderEnableNetappBackend
resource_registry:
OS::TripleO::ControllerExtraConfigPre: ../../puppet/extraconfig/pre_deploy/controller/cinder-netapp.yaml