NFS mounting for Glance file backend
authorJiri Stransky <jistr@redhat.com>
Thu, 20 Oct 2016 17:26:16 +0000 (19:26 +0200)
committerJiri Stransky <jistr@redhat.com>
Fri, 21 Oct 2016 15:41:03 +0000 (17:41 +0200)
commitad4e331917a2da9f2fd8215369736896348244fd
tree3b64a8dbd7ed55ebb8ae68d0b553b94f3b42c542
parente76a15ad54b79d3be7406d25199dc3a16ec5ca01
NFS mounting for Glance file backend

Previously we did this with Pacemaker, but with move to NG HA
architecture we lost the ability to use NFS mounts as image storage for
Glance. This reimplements the mounting without utilizing Pacemaker. The
mount is by default also written to /etc/fstab so that it persists over
reboot, but this behavior can be disabled.

This could also go to puppet-glance eventually, but not yet -- we need
this backported to Newton because it's a TripleO regression. I don't
think puppet-glance would allow backporting this to Newton, because from
their point of view it would be a RFE rather than a regression.

Change-Id: I45ad34c36587a8d695069368cf791f1efb68256c
Related-Bug: #1635606
manifests/glance/nfs_mount.pp [new file with mode: 0644]
manifests/profile/base/glance/api.pp