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 275664c869 Retrieve only useful Neutron fields
Change-Id: I5c2501b6d3af1a65c66237908221cb252f0ba32d
2017-02-09 12:55:19 +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 bcdedbf1aa Use OpenStack API to collect the status of Neutron agents
This change uses the Neutron API to get the status of the Neutron
agents instead of querying the MySQL database.

Change-Id: I60fa2386a887e9dac2fe4f1234d225ad6402bf2d
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
Guillaume Thouvenin 6c1d5dafb7 Fix collectd decoder for detached Neutron ports
This change sets the "owner" field to "none" when a port is created
and not attached to any device.

Change-Id: I1bdbb6a37ec6b0cf200a7ca91b43d89260dc3273
Closes-Bug: #1517053
2016-02-25 17:04:31 +00: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
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 edb4cb1355 Add Neutron agent state metrics
collect number of agents in state disabled, up or down.
These metrics are collected from DB with collectd DBI plugin.

Change-Id: I98295fda14585656c19f562d496dd0aabf962976
2015-04-14 14:34:24 +02:00
Simon Pasquier aa81110c29 Add Neutron metrics
This change adds the following metrics:
- number of networks broken down by status + total
- number of subnets
- number of ports broken down by owner and status + total
- number of routers broken down by status + total
- number of floating IP addresses broken down by status + total
- number of agents broken down by type and status + type + total

Change-Id: If6cc694cdd84e525f0747c6f6c78356acbaa77c8
2015-03-27 10:10:17 +01:00