This seems to have been broken for a long time, when
CONFIG_MARIADB_INSTALL is set to 'n' we where not setting the
CONFIG_MARIADB_HOST_URL correctly.
Change-Id: I5ad131ec76eb3dad3adcba78ccee60524efc3bf3
Partial-Bug: #1689255
Previously, Packstack created many individual manifest files from
smaller snippets (templates), and executed them following a certain
order. This is sub-optimal, since it forces code duplication and goes
against the Puppet design of running a single manifest.
This patch refactors the manifest execution, following these principles:
- Only 3 templates used, so max 3 Puppet executions on a host: controller
manifest, network node manifest, compute node manifest.
- The previous snippets are now part of the Packstack Puppet module, and
included as needed by the controller/network/compute manifests. This
concept is similar to the one used by the puppet-openstack-integration
project [1].
- The remaining Python code is left untouched, so we can keep complete
compatibility with previous answer files.
- Redis HA support has been removed, as this was the only service with
HA enabled and didn't fit the general purpose of Packstack.
[1] - https://github.com/openstack/puppet-openstack-integration
Change-Id: I87591be0fce98079c85c5c12ad76ea7115fb9c75
When CONFIG_CEILOMETER_INSTALL is set to n, installation
of gnocchi is disabled but packstack tries to create the
database and fails. This patch disables the creation of
gnocchi db if ceilometer installation is disabled.
Change-Id: Ic2115bef15d1cc980c89fe6518b3120faa41cfca
We should support ipv6 or ipv4 only installation and we should
set firewall according to ip version.
Resolves-Bug: rhbz#1185652
Change-Id: I7bacf81373a6e0567e0c3fdebacf47cd5c683ad2
Enables the configuration of the Manila File Share
Service in Packstack. Uses the puppet-manila module
for installation and configuration.
Change-Id: I4509c9fbdc9317e03b32964b7b02672439e306fc
* H102 Apache 2.0 license header not found
* H232 Python 3.x incompatible octal xxx should be written as 0oxxx
* H233 Python 3.x incompatible use of print operator
* H301 one import per line
* H904 Wrap long lines in parentheses instead of a backslash
Change-Id: I07003acb76eaa719daabc451239067494efa2bba
Ironic is currently not a supported plugin for packstack.
This patch will create the Ironic plugin.
Change-Id: Ia4a239beaf2609bd11cfc35f29527f53c0d6c9f2
getManifestTemplate sets the default template ending 'pp' when not set
in the filename. It is not longer necessary to use the default template
ending when calling getManifestTemplate.
Change-Id: Ie0c487eef6196fe6276694d7973e943d42a59ae9
Packstack configures Hiera as data backend. Packstack puppet templates are now
using hiera() and hiera_array() functions to fetch data from hiera backend.
Packstack generates a defaults.yaml file in the /var/tmp/packstack directory.
Firewall rules for each openstack components are inserted into the hiera
backend as hash and created by the create_resources function.
Change-Id: Iab553a71264b0fc0f26d33a6304b545ad302f664
Fixes: rhbz#1145223
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
This fixes bz#1108742 by providing a new global parameter
"--default-password", that will be the default for all other password
parameters if set. Each individual password parameter can override the
default global, and if none are set, a random password will be used as
before.
As part of the change, process_param_value() has been updated, to avoid
leaking passwords when they are modified by a processor function.
Change-Id: Ic5947567599c8b221b7a9e60acb4708429507741