This concerns:
- Nova server list
- Neutron
- Glance
- Cinder
Closes-bug: #1554502
Closes-bug: #1557455
Change-Id: Ia8b029080c8a18161441ab9bc13799f26e0941f3
* Split out object/workers stats collection for Nova, Cinder and Neutron plugins
* Use the common interface exposed by collectd_base.Base
Change-Id: I59f698b8f09fd0d3ce375327d9e4d81d767d961c
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
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
This is to avoid potential clashes with modules names as we experienced
with openstack.py.
Change-Id: I8380b419de0ce2ac3d98baa7a3c263c09508837f
Related-Bug: #1551622
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
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
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