Commit Graph

26 Commits

Author SHA1 Message Date
Andreas Jaeger c929899400 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: I8aded54f1b9f3b79f3a4bf8f607d3695b92f528b
2019-12-18 19:39:39 +01:00
Swann Croiset 3bd7d7d76a Implicitly configure Nagios outputs if available
Change-Id: Ibf5b4c2239004a4fa8e99bcaaf2949a5155543ed
2017-01-09 13:23:14 +01:00
Swann Croiset b7c7e7bdc2 Remove the SMTP standalone alerting_mode
This feature was broken and not stable enough for production deployment.

Related-bug: #1606831
Related-bug: #1643542

Change-Id: I0ce52ec01838d891c43d6e797617d3044a02d10f
2017-01-09 13:23:14 +01:00
Patrick Petit 9d82af60d6 LMA to StackLight renaming
Change-Id: I9a2c7af42b7efa50f1807342c590d388016a5619
2016-06-09 14:42:37 +02:00
Swann Croiset 123a86590f Remove the remote Nagios alerting mode
This use case is not really supported because Nagios configuration is
too dependent on the LMA Collector plugin and in practice, no one
chooses this option.

DocImpact

Change-Id: Ia09efb40f476c1daec51530e2c0fb16bc6f99393
2016-05-24 17:05:49 +02:00
Swann Croiset debe1883d7 Allow deployment without InfluxDB and Elasticsearch
This allows to support several deployment scenarii where backends are not
deployed initialy, for instance when using the 'virt' nodes to deploy
LMA backends.

The patch factorizes manifests by moving all the configuration data of
InfluxDB and Elasticsearch into hiera.

DocImpact

Fixes-bug: #1570386
Change-Id: I8688bbd10d88bc8ef68b5d31e9edd62a764dc23d
2016-05-23 13:29:50 +02:00
Swann Croiset baeca5ef6f Try to configure Nagios by default
The LMA collector uses by default the "infrastructure alerting" plugin
to send statuses if it is deployed within the environnement.
Previously, the user had to select explicitly the good option but
in practice the user forgot to select this option which leads to UNKNOWN
status for all service in the Nagios UI

Change-Id: Ia08f7e7f6763aeb3710ba26f88bfce6130a218bd
Fixes-bug: #1541462
2016-02-05 13:42:39 +01:00
Simon Pasquier ef4c99b199 Set a default environment label if empty
When the operator doesn't define an environment label, it will default
to "env-<environment id>".

Change-Id: Ied260dc7b65c1c08d922858a1ef620cb43d58609
2016-01-28 11:27:24 +01:00
Simon Pasquier fd78371015 Switch to InfluxDB 0.9 mode
This change removes all code which supports InfluxDB 0.8.

Change-Id: Ic136094f37b2f6ebfa1fe383460c4622676e2bfd
Implements: blueprint upgrade-influxdb-grafana
2015-08-17 11:12:25 +02:00
Swann Croiset db695f5a17 Add UI options for Alerting feature
4 options:
- disable alerting (default)
- use a local node provided by the LMA Infrastructure Plugin
- use a remote Nagios server
- use the "standalone" SMTP support

implements blueprint alerting-lma-collector

Change-Id: If84275428b3d4b1b4b70177b8f87ec8b5bf6ee80
2015-07-30 14:42:36 +02:00
Swann Croiset d870f3f05a Fix URL regexp validation
Change-Id: Id9c0cc0f47102fb9cd3365679f3aaf06afbf75b9
2015-07-28 10:11:22 +02:00
Swann Croiset 929e15c324 Add Nagios support for OpenStack service status
implements blueprint alerting-lma-collector

Change-Id: I722b7a83c5dd391a86423d6af526355bc2ed8bbc
2015-07-22 13:20:43 +02:00
Simon Pasquier 8ae25cf92e Add the influxdb_legacy flag
This change introduces the influxdb_legacy flag to the plugin's
configuration. This flag is hidden and defaults to true. Developers
will use it to introduce gradually the modifications needed to support
InfluxDB v0.9.

Change-Id: I3b93153c43dc013464519de656e26ed45b8653ee
Implements: blueprint upgrade-influxdb-grafana
2015-07-17 17:59:07 +02:00
Swann Croiset cb6d6353bc Automatically determine names of local nodes
The user doesn't need any more to specify the node name when using a
local deployment of influxdb-grafana and elasticsearch-kibana plugins.

Change-Id: I6d3512bb182a70aa05269825b77c30f16a25b066
2015-07-01 09:34:27 +02:00
Swann Croiset 3e3c7da283 Display a warning message if both analytics are disabled
Change-Id: Ia70ee2eaadd39065f980d886cb345fd3a3ccdc03
2015-05-29 14:42:01 +02:00
Swann Croiset 3c68f6ecf3 Add UI option to disable logs and notifications indexation
This change also enables the collection of logs and notifications even
if the events indexation is disabled. The reason is that useful metrics
are extracted from this data such as HTTP response times, resource
creation time and so on.
The term 'event' is used to reference both logs and OpenStack notifcations.

Change-Id: I28814129f745a8ef3ee44d3d3cf1cc267337b840
2015-05-27 17:01:18 +02:00
Simon Pasquier ee0e0ada8d Simplify the plugin UI for InfluxDB parameters
This change disables the InfluxDB parameters when the 'local node' mode
is selected. In that case, all the required parameters are already
provided by the InfluxDB-Grafana plugin so the LMA collector gets them
from Hiera directly.

Change-Id: I627e8b5ae202783b24e31acb827915d91a3f8de5
2015-05-12 18:19:57 +02:00
Jenkins a81333363d Merge "Add collectd for CentOS platforms" 2015-04-23 15:12:11 +00:00
Simon Pasquier 51f593692f s/ElasticSearch/Elasticsearch/ where appropriate
Unlike OpenStack, there is no capital 'S' in Elasticsearch.

Change-Id: I6bd00983d2677a57c0ea080b2fd8226cef56f88f
2015-04-23 15:50:06 +02:00
Simon Pasquier 65393651e2 Add collectd for CentOS platforms
This change adds collectd packages for CentOS. In addition, a few fixes
are needed to ensure successful deployment of the LMA collector on
CentOS platforms:

- Install collectd-dbi package on controller nodes.
- Modify Python scripts using subprocess to workaround issues with
  Python 2.6.
- configure a valid database name for the MySQL plugin.
- set hasstatus and hasrestart parameters to true for all OpenStack
  services otherwise Puppet fails to restart them.

Change-Id: I06891b069ba6047dfa40bcef7937b52964bda268
2015-04-22 15:06:48 +02:00
Patrick Petit e7545b7ad3 Changed the title of the document to reflect the fact this document is not only about the Collector but the LMA toolchain as a whole.
Improved significantly the wording of the introduction.

Change-Id: I4f9c3dc344920ba59b9a765dd913af0183d5aab8
2015-04-15 12:24:01 +02:00
Simon Pasquier 77a1e6eb6d Integrate collectd into the LMA collector
The collectd service collects metrics from many sources:
- System (like CPU, RAM, disk, network and so on)
- MySQL
- RabbitMQ
- OpenStack services

It sends the data to the LMA collector using its HTTP JSON output. The
LMA collector then decodes this input and injects it into the Heka
pipeline. Eventually the metrics will be sent to InfluxDB.

Note: until we have the InfluxDB-Grafana plugin ready, the InfluxDB parameters
are hidden in the Fuel UI.

Change-Id: I59577fcdc014be8d0f1d4824ef416afda3604506
2015-03-13 12:01:47 +01:00
Simon Pasquier 2300b2f8cb Collect OpenStack notifications
This change enables the LMA collector to receive OpenStack notifications
and store them into ElasticSearch. Note that we configure an additional
notification topic ('lma_notifications') instead of high-jacking the
topic used by Ceilometer ('notifications').
This adds a new checkbox option in the UI to enable/disable the
notification collection (default value: disabled).

Change-Id: Ie934c244e7cf58f58487ed903aeb94af2e2e0495
2015-03-05 15:20:04 +01:00
Simon Pasquier aa9a434574 Fix typo in environment_config.yaml
The regular expression for validating the ElasticSearch address was
invalid which breaks the Settings page in the Fuel UI.

Change-Id: Icee075193cd3ee5b1a50b06d6f90c0a522147eb4
2015-03-04 13:47:02 +01:00
Simon Pasquier cc55e83df5 Refactor the plugin's UI
- Rename 'Environment name' to 'Environment label' to avoid confusion
  with the Fuel environment's name.
- The ElasticSearch server is either specified by its node's name (when
  deployed with the EK plugin in the same environment) or by its network
  address.

Change-Id: Ie5c2b1d6522477324aebb4b36cd9fe0df36c5355
2015-03-03 10:05:46 +01:00
Simon Pasquier c9ee4d30d9 Initial import of the LMA collector plugin
This is an import of the initial LMA PoC code. For now, it only covers
the collection of logs (notifications will be added in a subsequent
commit).

There's been a bit of rewrite to:
- decouple the Heka configuration from the LMA collector.
- run the Heka service as non-root when possible (Ubuntu only for now
  due to file permission issues on CentOS [1]).
- adapt to version 0.9 of Heka.

[1] https://bugs.launchpad.net/fuel/+bug/1425954

Change-Id: I4472b49a25e18e06984b5b29bdce18f917137bc8
2015-02-27 14:16:49 +01:00