fix storage.yaml to write environments/storage/nova-nfs.yaml

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

NOTE: partial cherry-pick as we only need the quotes fix in
      queens.

Closes-Bug: #1825374

Change-Id: I209480f209e3a8841362ea619b1c9b073c89f338
(cherry picked from commit 693556f223)
(cherry picked from commit 27a454b7ad)
This commit is contained in:
Martin Schuppert 2019-04-18 13:43:50 +02:00
parent c313f2c446
commit 0fb8970bbd
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ parameter_defaults:
# 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.
# Type: string
NovaNfsVersion: 4.2
NovaNfsVersion: "4.2"
# ******************************************************
# Static parameters - these are values that must be

View File

@ -88,7 +88,7 @@ environments:
- NovaNfsVersion
sample_values:
NovaNfsEnabled: True
NovaNfsVersion: '4.2'
NovaNfsVersion: '"4.2"'
static:
- NovaNfsEnabled
description: |