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
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
- 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
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
This change adds grafana dashboards and datasource only on
the primary node.
Implements: blueprint influxdb-clustering
Change-Id: I5eb93ee01ab8fc6e4bb6d3ad88299293ac1cd85d
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
- 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
- Use plugin version 3.0.0 and remove compatibility with MOS 6.1
- Leverage common tasks to configure disk and network
Change-Id: I5175c577e54e0b41b5e60e136d025f1781a2a45b
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
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
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
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
- 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
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