tripleo-heat-templates/sample-env-generator/storage.yaml
Martin Schuppert a32d703190 fix storage.yaml to write environments/storage/nova-nfs.yaml
753a350418 removed ceph entries
from sample-env-generator/storage.yaml which resulted in nova-nfs
and cinder-netapp-config to be in the same section. Therefore
environment_generator.py did not update the nova-nfs.yaml .

Also add quotes to the nfs version as they are required in
the resulting nova-nfs.yaml .

Closes-Bug: #1825374

Change-Id: I209480f209e3a8841362ea619b1c9b073c89f338
(cherry picked from commit 1c241362ff)
2019-04-26 11:45:05 +00:00

75 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