Commit Graph

28 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
Simon Pasquier 2c8b6c5e0b Add the option to store the InfluxDB WAL in memory
This change adds a new option to the Fuel UI to store the InfluxDB WAL
files in memory. This greatly improves write performances but it may
lead to data loss in case of server crash.

The WAL partition will use 10% of the total RAM (but no more than 4GB).

DocImpact

Change-Id: I6153cd24322ef3eab53505bf4cb1f72d9594ec04
2016-09-30 10:56:02 +02:00
Guillaume Thouvenin 3f5b22c221 Fix issue with LDAP protocol radio button
This patch modifies the label of the radio button used for selecting
the LDAP protocol to make it unique across all the StackLight plugins.

Change-Id: Iafe43b4d0fc0b4b72bbf43e88575018618c750c8
Partial-Bug: #1599778
2016-08-09 16:20:36 +02:00
Simon Pasquier dc782a9106 Forbid root as the InfluxDB username
Change-Id: Ie66781b518e63a7b94a2506b7d7b70c777975f05
Closes-Bug: #1604307
2016-07-19 11:30:31 +02:00
Patrick Petit 23925e5de9 StackLight 0.10.0 documentation updates
Change-Id: I3eea90c3d38f2b850db6dcc5242be4cf4518339c
2016-07-18 11:44:47 +00:00
Jenkins b9acf64fa0 Merge "Use password generator for UI parameters" 2016-07-04 12:24:47 +00:00
Swann Croiset 54c331096a Validate LDAP options if selected
Change-Id: I41a7c51045da55a68cd9f84b0d224b83872de885
2016-06-28 14:56:59 +00:00
Swann Croiset c9d93061fd Use password generator for UI parameters
Partial-bug: #1588158

Change-Id: I6985a92c553ac3905330b3b8a4cfbc715dcc8f0d
2016-06-28 15:11:31 +02:00
Guillaume Thouvenin e1d7c35078 Disable group parameters if authorization is disabled
Parameters "Group search base DN" and "Group search filter" are not
needed if authorization is disabled.

Change-Id: I7399987c695305bae7f6029de110d591ab053963
2016-06-28 15:09:21 +02:00
Guillaume Thouvenin 44c986873c Add missing parenthesis in ldap_group_search_filter
Change-Id: Idd5287e0d7feecedc3eeb0c9ce8f78cf14578b91
2016-06-28 08:55:33 +00:00
Swann Croiset 55a5b67cf8 Fix ldap_server_port parameter input
Change-Id: I5d885f4ba8dbfb0582e2f73afc884df647ca22f1
2016-06-24 17:41:35 +02:00
Guillaume Thouvenin 92cb859434 Remove calls to hiera('influxdb_grafana') in manifests but hiera.pp
Change-Id: I39e5c2c7e4427195a4a54c9135e1c30c1cf0b5e7
2016-06-24 09:42:17 +02:00
Guillaume Thouvenin 7bf3b41572 Enable support for LDAP authentication
This patch allows to authenticate Grafana users against LDAP. It also
supports a group-based authorization mapping to the admin and viewers
roles. In this implementation we only support POSIX LDAP schemas.
All options are disabled by default.

DocImpact Add support for LDAP
Implements: blueprint ldap-integration-in-stacklight

Change-Id: I7e836d0cd8a5f7df3d934e29bfae337abd90da3c
2016-06-24 07:21:00 +00:00
Guillaume Thouvenin 9c77c2f5fe Enable secure communication over HTTPS for Grafana
This patch configures HAProxy to terminate SSL connection when the
support for SSL/TLS is enabled in StackLight.

DocImpact Add support for TLS
Change-Id: Idf59f92f00ed58f3ebce2e0421694ad7c2010fe9
Implements: blueprint support-secure-communication
2016-06-21 14:16:50 +02:00
Guillaume Thouvenin a8a1c08aeb Remove hidden parameter in the UI
This patch moves parameter hidden in the UI into hiera. Hidden parameter
in the UI is not used anymore and it is the old way to pass parameter to
puppet manifests.

Change-Id: I4531543c36ec8780657536363c3cceb1a0a41300
2016-06-16 12:11:15 +00:00
Swann Croiset fd26e81907 Restrict MySQL username and dbname with valid name
Change-Id: Id15db3e5bb279007b071083eeeec4f42b86f8f39
Fixes-bug: #1543939
2016-02-11 14:02:49 +01:00
Guillaume Thouvenin 93588e55ad Install Grafana with a MySQL database
This change adds an option to use a MySQL cluster that is either
deployed in the local environment or provisioned beforehand.

Change-Id: I25aaae3160ae2344454ad4585660a1ee3cfffb71
Implements: blueprint influxdb-clustering
2016-01-15 11:07:25 +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
Guillaume Thouvenin 9b84bc5b1d Upgrade InfluxDB to version 0.9.6.1
InfluxDB uses the /var/lib/influxdb directory to store its data instead
of /opt/influxdb previously.

Implements: blueprint influxdb-clustering
Change-Id: I090298bcbd37e5bd0be876d39525a995f08c2b78
2015-12-17 16:20:53 +01: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 69da2766a4 Add support for retention policy
This changes adds the support for configuring the retention policy in
InfluxDB. Only the retention period is exposed to the end-user, the
replication factor will be exposed once the plugin supports clustering
with multiple nodes.

Change-Id: I365ece96fabc72bb55feb0969c1c452a8febc895
2015-08-10 09:24:18 +02:00
Guillaume Thouvenin 1ce76eac0e Upgrade Grafana to 2.1
It downloads nightly build and uses the Puppet module of "bfraser"
to install and configure Grafana.
It also adds two new parameters in the UI that are the username and the
password of the Grafana admin user.

Blueprint: upgrade-influxdb-grafana
Change-Id: Ibb6fc7bb523800d6a14ed659d2fa02b726742984
2015-07-29 09:46:02 +00:00
Simon Pasquier 6e9488b70c Fix Settings tab becoming unresponsive
The 'condition' property in the 'restrictions' object needs to be
coerced into a string value otherwise the Settings tab in the Fuel UI
will stop working once the plugin is enabled.

Change-Id: Ia3ced4c307e86905b52a9dba2ef79c7316a28923
2015-04-24 15:12:07 +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
Simon Pasquier ca4327c220 Fix label names in the UI
Change-Id: I9858b40a465dbec608b0eb783cede0c0a84b962e
2015-03-27 14:53:29 +01: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 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