Commit Graph

19 Commits

Author SHA1 Message Date
Andreas Jaeger 24c77dfa61 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: Ife781cb34bcd39d583baa2a7ace77dbed19c6e74
2019-12-18 19:38:33 +01:00
Guillaume Thouvenin b3291ab034 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: I5df3e649b2f31f2e1a5ccd59f346d870651315d5
2016-04-14 12:27:10 +00:00
Simon Pasquier d37c52ee43 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: I6177ab156f515729840a95cb7b7d08f1f7691f3e
2016-03-09 16:22:13 +01:00
Guillaume Thouvenin 00652329ec Upgrade InfluxDB to 0.10
- Allow traffic on port 8091
- Update configuration parameters
- Install InfluxDB in two steps:
    - Install the primary node that will be the leader of the Raft
      cluster
    - Install other nodes

Change-Id: I4c28d8da73bd51cb7e558a7a4121fc3220c3344f
2016-02-08 14:14:47 +01:00
Simon Pasquier fcd99f5f9f Provision MySQL only from the primary node
This change adds a new task that provisions the MySQL database and user
when using the local mode. This task is only executed from the primary
node because it can run only once.

Change-Id: I06c4ab32fbc6aa418504278d553e0fc1c5b1f858
2016-01-26 15:30:50 +00:00
Guillaume Thouvenin 8bf667b4ae Configure Grafana only once
This change adds grafana dashboards and datasource only on
the primary node.

Implements: blueprint influxdb-clustering
Change-Id: I5eb93ee01ab8fc6e4bb6d3ad88299293ac1cd85d
2016-01-15 16:21:24 +01:00
Guillaume Thouvenin a876bbc80e Separate InfluxDB administration from configuration
This change adds a class to be able to create an admin user and it also
creates a defined type to create database and its associated user.
This allows the creation of the LMA database when InfluxDB cluster is
up and ready.

Implements: blueprint influxdb-clustering
Change-Id: I5e40ff510385f867d26b77a2af5ed278a0f9cc15
2016-01-15 16:21:18 +01:00
Guillaume Thouvenin 322fd4a1d1 Install InfluxDB in HA mode
- Allow to deploy three influxdb_grafana nodes at most
- Add firewall rule to allow traffic between the nodes of the raft
  cluster
- Create a VIP
- Create a file /etc/hiera/plugins/influxdb_grafana.yaml that contains
  information about nodes that belong to the raft cluster and the VIP
- Install and configure HAProxy

Implements: blueprint influxdb-clustering
Change-Id: I0852da40d709563adc8b89bbad240ae89dfa862e
2016-01-15 11:07:25 +01:00
Swann Croiset 9167cc9c00 Remove task calling manifest previously removed
Change-Id: I0e336f3a5adf0890cec97275cf78b8be6b37345a
2015-09-09 17:46:10 +02:00
Swann Croiset c916c62eeb Switch to custom role influxdb_grafana
- Use plugin version 3.0.0 and remove compatibility with MOS 6.1
- Leverage common tasks to configure disk and network

Change-Id: I5175c577e54e0b41b5e60e136d025f1781a2a45b
2015-09-07 18:03:03 +02:00
Simon Pasquier c08cf30063 Run netconfig task only on InfluxDB-Grafana node
Change-Id: I67af06a5b2fefb42811ef107e4ccd3272c6cda29
Closes-Bug: #1489885
2015-08-28 15:34:26 +02:00
Swann Croiset 854e73ad91 Set deployment order of tasks
Pick priorities 8100+ from the range reserved for
monitoring services deployment (8000-8999).

Change-Id: Idabc0cf9b336ee3dbeb55be30d71ec0d6b942cf9
2015-06-05 16:24:50 +02:00
Simon Pasquier 08299966a3 Fail early when the settings aren't valid
This change adds a post-deployment task that verifies that the plugin
configuration matches with the configuration of the environment.

The checks are:

  - The plugin is deployed on a bare base-os node.
  - The disk configuration is valid.

Change-Id: I48152a38e89415b6bfc7d1a598de67896c5869e2
2015-06-04 13:17:10 +02:00
Simon Pasquier f561af73c0 Configure firewall rules
This change configures explicitly the firewall rules for the node
running the InfluxDB-Grafana plugin. This is needed because otherwise
the node becomes unavailable on CentOS after a reboot.

Change-Id: Ifb69ff5456708a303f30f595d8ae4bc8a229b17d
2015-05-27 09:20:06 +02:00
Guillaume Thouvenin d125f8c81c Manage the size of the partition
Now we can choose the size of the partition. Currently you can only use
three disks and the size is in GB. If the size of the disk is not
provided we use all the remaining free space available on the disk. If
you are asking for a size that doesn't fit, installation will fail.

Currently we create a volume and we mount it on /opt/influxdb.

Change-Id: I3db2ad4f2fff874bcacccb3a27df2686d30ac9b1
2015-04-21 14:48:51 +00:00
Guillaume Thouvenin fb04e213b6 Remove parts for managing disks.
Currently we don't manage disks. We will manage them when we will be
able to control the deployment of several plugins on the same base-os
role.

Change-Id: I305c01ede084fc170335cef24633a9e9dba0eb1d
2015-03-26 11:35:55 +01:00
Guillaume Thouvenin eeabe0a706 Install Grafana with nginx.
- Install and configure Grafana with nginx.
- Use port 8000 if port 80 is already used by Elasticsearch-Kibana.
- Modify the default root password in InfluxDB.
- Add a new DB, user and password to store analytics in InfluxDB.
- Add a new DB to be used by Grafana.

Change-Id: I26a82ba6c9e1efcfb3ad46cdf581693d0c66538a
2015-03-26 11:35:47 +01:00
Guillaume Thouvenin 6edcae150a Install InfluxDB.
Currently the server is not bound to specific IP but the nodes has no public
IP.

Change-Id: Iee1919efda6d8f7e83c02c454faa24369d42a55d
2015-03-25 12:29:39 +01:00
Guillaume Thouvenin 133a029de3 Create the plug-in structure.
Create the plug-in structure and add two parameters into the
environment_config.yaml file. The node of the name and the name of
dedicated disks.

Change-Id: If23e3813d15c96881ed811702ec1a68505b824ad
2015-03-25 12:29:39 +01:00