This patch removes a dependency that causes a cycle in the graph of
tasks in MOS 8. The cycle was <custom>-netconfig -> hosts -> cluster ->
virtual_ips -> <custom>-netconfig.
We cannot remove hosts.pp as we tried previously because doing this
also remove a dependency between globals and hosts. So we create the
following dependency: tools -> <custom>-netconfig -> hosts
in place of the former: tools -> netconfig -> hosts
Change-Id: I21f6c04eb38406a22a3a400975233bfc775357d0
Partial-Bug: #1616391
This patch removes a dependency that causes a cycle in the graph of
tasks in MOS 8.
The cycle was <custom>-netconfig -> hosts -> cluster -> virtual_ips ->
<custom>-netconfig
Change-Id: I26a9c9cf92af367f3ce4a60b8929107ecdacb27e
Without this change, the nodes are configured to use the Fuel node as
their default gateway. Note that the code path is different between MOS
8 and MOS 9 because of this bug fix [1] that hasn't been backported on
MOS 8.
[1] https://bugs.launchpad.net/fuel/+bug/1541309
Change-Id: I13a504c03091119286b993c626db2379eb27aa29
Closes-Bug: #1583994
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'.
Change-Id: I20ce8a28da62a30d61ca084991602ce308b52a68
Related-bug: #1558669
Apache can be deployed on any network thanks to network templates. This
change removes all the hard-coded dependencies on the management
network. All port numbers for Apache, Kibana, Elasticsearch, InfluxDB
and Grafana are also moved to Hiera to make it easier to customize if
needed.
It also removes the call to hiera('nodes') since this entry is
deprecated as well as SSH checks because they're not reliable when
network templates are used.
Change-Id: I8f51bda7fee614ac814f0413f8c655b1356b4036
Closes-Bug: #1577358
Closes-Bug: #1550253
Related-Bug: #1514365
This change drops the download of the fuel-library Puppet modules into
the plugin package. Instead the Puppet tasks look for Puppet modules
first in the plugin's path and alternatively in the default
/etc/puppet/module path.
Change-Id: Idc7e59a47e5b50e070fbd79f3c0867695d7ea00d
This change makes sure that the no-quorum-policy parameter is 'stop'
when there are at least 3 nodes and 'ignore' otherwise.
Change-Id: If251bb733a8b9d56fc76e6e1a7a27db294775399
Once the plugin deployment has completed, it uses the Fuel API to
register the Nagios URL. The end-users will get the information in
the Fuel UI.
This change also introduces the use of the primary role since only one
node should be responsible for notifying the Fuel API.
Change-Id: Ie5c2495b5bcbce4aec3d5dd2cae247884b231efe
This change upgrades the package_version parameter to 4.0.0 since it is
required to take advantage of the reexecute_on parameter. It should
properly reconfigure Corosync/Pacemaker when an infrastructure_alerting
node is removed or added in the environment.
Change-Id: Ic80c3fb44a2c5418f7912d3134b95db619b78fea
Implements: blueprint nagios-high-availability
This change configures a VIP address in the management subnet. It also
deploys a Corosync/Pacemaker cluster which is needed for the VIP
fail-over.
Change-Id: I13055ff714dffb893284f9163d3c501ded8b5e74
Implements: blueprint nagios-high-availability
This task installs some packages on the node:
- screen,
- tmux,
- man,
- htop,
- tcpdump,
- strace,
- fuel-misc
Where these ones are direcly useful:
- fuel-misc brings the fuel-logrotate script which ensure log rotations
(daily by cron)
- atop runs in background to collect system stats
And also remove cloud-init package.
Change-Id: I6bb09f8374e0d83fee1ef10c00264aa17b33933c