Commit Graph

15 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 7840ad1cf3 Disable check metrics to avoid redundant metrics
Change-Id: I70ce02e6f6ad90b81aa758e4ddad2eb17f989b67
2017-02-24 12:06:25 +01:00
Swann Croiset 3a2c9ce002 Use Cinder API v2
Change-Id: I84147e05a58c401d84a70bf820bf5c9e36f4ba2a
2017-02-09 12:55:26 +00:00
Swann Croiset 88d7bb28b3 Support pagination for OpenStack services
This concerns:
- Nova server list
- Neutron
- Glance
- Cinder

Closes-bug: #1554502
Closes-bug: #1557455

Change-Id: Ia8b029080c8a18161441ab9bc13799f26e0941f3
2017-02-07 11:23:04 +01:00
Swann Croiset 7c248af9fa Rework collectd plugins for OpenStack
* Split out object/workers stats collection for Nova, Cinder and Neutron plugins
* Use the common interface exposed by collectd_base.Base

Change-Id: I59f698b8f09fd0d3ce375327d9e4d81d767d961c
2017-01-31 14:54:53 +01:00
Guillaume Thouvenin 506196dcef Add metrics to get the percentage of workers per state
This patch adds a new metric that computes the percentage of workers
that are up, down and disabled.

Blueprint: allow-all-alarms-to-be-specified-in-alarming-file
Change-Id: Id31280273b6176cd415ce9b9ac10162e891479f9
2016-09-30 10:44:37 +02:00
Swann Croiset a5063ce1d2 Rework error handling for OpenStack related collectd plugins
When the OpenStack services cannot be polled due to authentication
issues (eg invalid username/passwod), collectd logged this message:
AttributeError: 'NoneType' object has no attribute 'status_code'

This change raises a KeystoneException when the plugin can't
authenticate against Keystone.
All other exceptions are logged as well.

Change-Id: I97c527d30b519989e43c1cfc0db4ce9d1dc50ca8
2016-08-10 09:22:26 +02:00
Simon Pasquier 09d83f975b Rename base.py to collectd_base.py
This is to avoid potential clashes with modules names as we experienced
with openstack.py.

Change-Id: I8380b419de0ce2ac3d98baa7a3c263c09508837f
Related-Bug: #1551622
2016-04-08 15:54:21 +00:00
Guillaume Thouvenin e60e187f32 Use OpenStack API to collect the status of Cinder workers
This change uses the Cinder API to get the status of the Cinder workers
instead of querying the MySQL database.

Change-Id: If92596b3cee8a4c9f0dcf84454fdff2a2532160f
Partial-Bug: #1546188
2016-03-21 07:51:55 +01:00
Guillaume Thouvenin 12be7cf781 Rename openstack.py to collectd_openstack.py
This change renames openstack.py Python module for collectd to
collectd_openstack.py because MOS 9 also ships an openstack
Python module. As a consequence, the collectd plugins using
openstack.py fail to initialize.

Change-Id: I10b3270d0b4b06439390d7da09b90ccf22ab38b5
Closes-Bug: #1551622
2016-03-02 17:24:26 +01:00
Swann Croiset dda7560d78 Factorize collectd Python plugins
The mechanism of dependant resources and notification is needed for other plugins.

Change-Id: I24dd00583326689294dee4e4d1076c05f3c1e022
2016-02-15 17:14:54 +01:00
Swann Croiset 952fd4938d Add python syntax check using OpenStack hacking rules
Change-Id: I42db1b87e216383009dbadc4fec4a1a7e580d898
2016-02-11 16:19:41 +01:00
Simon Pasquier e288807320 Collect OpenStack metrics from one controller only
This change modifies the collectd plugins to collect OpenStack metrics
only when the controller node own the management VIP address. This
avoids duplication of work on all controllers and reduce the load on the
OpenStack services.

Change-Id: I068935fc9dede38f8cfbd6c7499e9b4ea956822e
2015-08-28 10:48:27 +02:00
Swann Croiset 91b4fbf8a8 Fix Cinder volumes_size metric name
Change-Id: I506cd34f118097ecf47878a3285d933493258d2d
2015-04-02 10:37:48 +02:00
Swann Croiset 652ceff526 Add OpenStack service metrics
* nova: instances and services
* cinder: volumes and snapshots
* glance: images and snapshots
* keystone: tenants, users, roles

Change-Id: I1bbc97b7d4119100abc149d796f9697d7f35548b
2015-03-16 10:41:32 +01:00