Commit Graph

22 Commits

Author SHA1 Message Date
Andreas Jaeger 5d2a1e6fad Retire repository
Fuel repositories are all retired in openstack namespace, retire
remaining fuel repos in x namespace since they are unused now.

This change removes all content from the repository and adds the usual
README file to point out that the repository is retired following the
process from
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

See also
http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011675.html

A related change is: https://review.opendev.org/699752 .

Change-Id: Ifa1a1b5f771da2d06fbddad6a7f2c9295ab08ad8
2019-12-18 19:39:53 +01:00
Guillaume Thouvenin aa00dd2a95 Fix a cycle in graph of tasks
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
2016-09-16 08:21:46 +00:00
Swann Croiset 757550cdf0 Revert "Fix a cycle in graph of tasks"
This reverts commit 46c252dbfd.

Change-Id: Ic0e23c8b3858f98cf86a9ceb86e464149b61f494
2016-08-16 07:24:03 +00:00
Guillaume Thouvenin 46c252dbfd Fix a cycle in graph of tasks
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
2016-08-11 17:12:52 +02:00
Simon Pasquier 0956d28d73 Configure the NTP service
Change-Id: I4d7fb9379f7c9d2470a7adabfef177b03db416ac
Closes-Bug: #1606919
2016-08-01 16:25:11 +02:00
Simon Pasquier dfdd54c248 Configure the DNS resolver
Change-Id: I2622a046bf2fcdc31b73ba10a6f5761ea41d69da
Closes-Bug: #1606736
2016-08-01 16:25:11 +02:00
Simon Pasquier 4bf5696b46 Configure the management gateway on the nodes
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
2016-08-01 16:25:11 +02:00
Jenkins 4ea57821ba Merge "Enable TLS for Nagios UI" 2016-06-24 16:08:51 +00:00
Swann Croiset 874c658ba1 Enable TLS for Nagios UI
Blueprint: support-secure-communication

Change-Id: Iac010a698ed92cd3179dae8f9caf2eb6c0f4c1e0
2016-06-23 13:42:55 +02:00
Simon Pasquier ca5f8f3395 Fix dependencies for task-based deployment
The post-deployment tasks need to wait for the collectors to be
installed on all the nodes.

Change-Id: I3f3974a2b3bc01081a02653bbc3c5e00c82e4b41
2016-06-15 17:18:00 +02:00
Guillaume Thouvenin 5889b296cc Update to task based deployment
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
2016-05-17 11:19:55 +02:00
Simon Pasquier 3c3d9d5b2a Fix deployment when using network templates
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
2016-05-13 15:21:36 +00:00
Guillaume Thouvenin 4986926bb0 Fix path for virtual_ips.pp
Change-Id: Iaeba92fdd167257dfe12320fefd5e9aab7d3f4e4
Closes-Bug: #1556639
2016-03-14 19:51:08 +00:00
Simon Pasquier 3742994b67 Leverage the local fuel-library modules
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
2016-03-09 16:31:30 +01:00
Jenkins f8d69a6e61 Merge "Configure no-quorum-policy for Pacemaker" 2016-01-28 10:52:33 +00:00
Simon Pasquier e82b6bc8fe Configure no-quorum-policy for Pacemaker
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
2016-01-26 10:59:45 +00:00
Simon Pasquier 6f35ab1044 Run specific task to configure repositories
Change-Id: I31c4ed73af9c84c77f4ea310d24e10fa9d7b7cd8
2016-01-25 17:09:34 +01:00
Simon Pasquier 80e719a597 Notify the Nagios URL to the Fuel API
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
2016-01-18 13:03:31 +01:00
Simon Pasquier 008c8c786f Re-execute cluster.pp manifest on redeployment
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
2016-01-12 09:50:05 +00:00
Simon Pasquier 58a480432d Configure a management VIP address
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
2016-01-12 08:30:22 +00:00
Swann Croiset 7379def0b9 Add tools task
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
2015-09-08 11:23:45 +02:00
Swann Croiset a0528556f8 Define new role infrastructure_alerting
Change-Id: I700c59c350942776b150d8f9c59bc0b92f3d037d
2015-09-08 11:23:41 +02:00