Fix usage of CinderNfsServers
authorChristian Schwede <cschwede@redhat.com>
Tue, 21 Mar 2017 17:28:34 +0000 (18:28 +0100)
committerChristian Schwede <cschwede@redhat.com>
Mon, 27 Mar 2017 06:04:40 +0000 (06:04 +0000)
commit8b7a995df3014d1da312424278dc4753a34f44a6
tree51da5f3c311d08e70656add92ec0673d3525c009
parent189a950a7b8bc33caa6ed43baeb3aeefdd5d582b
Fix usage of CinderNfsServers

This feature stopped working somewhere along the lines. In the past it
was working with parameter_defaults like this:

 CinderNfsServers: '10.0.0.254:/srv/nfs/cinder'

or

 CinderNfsServers: "[fd00:fd00:fd00:3000::1]:/srv/nfs/cinder"

The problem was that the templating escaped these strings, and
puppet-tripleo didn't receive a proper array, but a string.

This patch fixes this. It accepts strings as above as well as
comma-delimited lists of Nfs Servers.

Closes-Bug: 1671153
Change-Id: I89439c1d969e92cb8e0503de561e22409deafdfc
(cherry picked from commit 9445b0e0972696e7de1c0a702f456571d12fa964)
puppet/services/cinder-volume.yaml
releasenotes/notes/fix-cinder-nfs-share-usage-0968f88eff7ffb99.yaml [new file with mode: 0644]