This patch fixes an issue with the compatibility between the task
'install_ocf_script' and MOS8. On MOS 8 the following error is
raised:
"Tasks 'primary-standalone-database, primary-standalone-rabbitmq,
standalone-database, standalone-rabbitmq' can't be in
requires|required_for|groups|tasks for [install-ocf-script] because they
don't exist in the graph"
Change-Id: I97e5fd6321c9f7a5878e1b8db9f37cec15745676
Closes-Bug: #1627968
The collector services are managed by Pacemaker for the controller,
detached RabbitMQ and detached MySQL nodes. This change ensures that for
all these roles, the OCF script is created before the collector services
are configured.
Change-Id: I555b13f0433cccaa1297cd286dbb41d88de1d369
Closes-Bug: #1627968
This patch moves the installation of the OCF script at the beginning of
the depoy_start to be sure that it is available when pacemaker starts
the collector resources. As it requires a configured hiera we also moved
the hiera task.
Change-Id: I90b4fa2a9038eaed0f1dcadb0f00713a1b2487b0
Closes-bug: #1575039
This removes duplication of code and limitations we had to deal with
because the collectd Puppet resources don't play well when they are
created at different times from several manifests.
Change-Id: I52fabb1fb5795a33f552168553a148b1520fc496
This change also removes the previous hack that cleans up the collector
resources at the end of the deployment.
Change-Id: I1ca237181d30802035bf6a0526cdd41f83e39acd
Closes-Bug: #1593137
This allows to support several deployment scenarii where backends are not
deployed initialy, for instance when using the 'virt' nodes to deploy
LMA backends.
The patch factorizes manifests by moving all the configuration data of
InfluxDB and Elasticsearch into hiera.
DocImpact
Fixes-bug: #1570386
Change-Id: I8688bbd10d88bc8ef68b5d31e9edd62a764dc23d
This patch adds update_hosts as an anchor to order the post-deployment tasks
executed by the LMA infrastructure plugin.
Change-Id: Ibf2047c4556a61c49e616b94c1eff52daca070f2
Previously the LMA collector had an explicit dependency on the last
Elasticsearch and InfluxDB tasks but this doesn't work when the
Elasticsearch/Kibana and InfluxDB-Grafana plugins aren't deployed in the same
environment as the collector plugin.
This change makes sure that the LMA collector plugin's tasks will only be
executed once the backends are fully functional by pinning all plugins to a
well-known task (update_hosts in that case).
Change-Id: I87a9067c5ace7acf3d676c7ad72d0b6632bf1869
Closes-Bug: #1573087
Depends-On: I830f024e0d1629ae10a8a504c4acbddf23d5c47e
Depends-On: I5bbc444eb51da4787b5be5cbe3aa0284ce6e1753
MOS 9 comes with a new orchestration engine (so-called v2 or task-based
deployement) which reduces greatly the time necessary to deploy new
environments. This change updates the deployment tasks to be fully
compatible with the v2 engine since when a deployment mixes v1 and
v2 tasks, the engine falls back to the v1 (slower) mode.
Note that we need to keep the backward compatibility with MOS 8 so the
deployment tasks still define the v1 attributes like 'requires' and
'required_for'.
Related-bug: #1558669
Change-Id: I92ede3808ad0b2bc9a39d4ec6560b1cc7ae256c3