3 Commits

Author SHA1 Message Date
Martin André
64854af783 Fix glance config generation when using NFS
This commit sets the 'tripleo::glance::nfs_mount::edit_fstab' variable
to false to prevent the glance_api to write to /etc/fstab and fail in
the case we're using an NFS backend.

This also updates the NFS mount option and mount point to align with
the config from the puppet-tripleo module at:

https://github.com/openstack/puppet-tripleo/blob/master/manifests/glance/nfs_mount.pp

Change-Id: Ied27fac67d28b3104441ada469942a19e3c07a89
Closes-Bug: #1732928
2017-11-22 15:00:38 -05:00
Alan Bishop
e828e8c7bb Enable Cinder as a backend for Glance
Enable Cinder as a backend for Glance by adding 'cinder' to the list of
allowed choices for the GlanceBackend heat parameter.

Update the glance-api docker configuration to allow the feature to work.
This is necessary because the feature uses iSCSI, which requires additional
privileges.

Depends-On: I850047e32f3608b3ce490e52e2e540695cb1a4ff
Change-Id: I42241747de931103a04aa5ee2ed18fd46197d183
2017-10-12 08:11:52 -04:00
Ben Nemec
8d086b1710 Add storage sample environments
Starts converting storage-related sample environments to the tool,
and adds a few new ones for demonstration purposes.

This has required the addition of a new category of parameter
overrides in the tool.  There are some parameters that are part of
the public API of roles that should not normally be included in a
sample environment for that role.  Examples are EndpointMap and
ServiceNetMap.  Those are both passed into most (all?) roles, but
their template defaults are not useful (both default to {}).
Unless we are explicitly creating a sample environment that
overrides those defaults we don't want them included.

Parameters such as RoleName and RoleParameters are similar.  We
can't change them because they are part of the composable roles
interface and that would break any existing custom roles, but we
don't really want them included normally either.  It's possible
these could be made completely private, but there have been some
very preliminary discussions about generating role samples that
might actually want to set them.

In order to avoid issues with editing the unit test file in editors
that strip trailing whitespace, the minor formatting bug where
params like EndpointMap had a trailing space after the name has
also been fixed.

Change-Id: If11f30c734bfbc17d463a9890c736d7477186fb9
2017-06-12 15:02:50 -05:00