Added a DEFAULT_ARCHIVE_POLICY option to Gnocchi plugin,
The user can now configure the archive policy that the metrics
should use.
Change-Id: I445c4bc98b6431a39cf805a00b6237d8090a0b98
The libvirt installation via pip was failing, so this fixes the gate change too.
libvirt-python is installed via the system package manager during deployment. It does not need to be
reinstalled via pip.
Change-Id: I9d25ef6c892b10d56c05279bd0d0633c9e38ac4f
Archive policy rules are created by the operator, and assign
archive policies to metrics at creation based on certain rules,
if there isn't an archive policy explicitly assigned to the
metric already.
This patch removes the explicit archive policy parameter when
creating the metrics, this means that the archive policy rules
defined by the oparator are respected.
Change-Id: Ie08df4e817fc701e4b524cdaaf181570fcc541f5
Related-Change: I562f62e1236c7c01c79a5e465ebec103c7bb07bd
If there's a ReadTimeout when sending a HTTP request, the
plugin now retries before exiting.
Change-Id: I0218bd412419079ec9544810a6ab863f3de1a915
(cherry picked from commit 02b65dc416)
There is a sample keystone response at the end of
common/keystone_light that is not needed.
Closes-Bug: #1718670
Change-Id: Ieba434d0bc9ee3c47eeb4464613bfbf04cc38b75
A number of tests for aodh.sender.Sender are in
aodh/test_plugin.py. Since aodh/test_sender.py was recently
added, it makes sense to move the sender tests to this new
location.
The following tests were moved:
* test_get_alarm_state_severity_low
* test_get_alarm_state_severity_moderate
* test_get_alarm_state_severity_critical
The tests were refactored to use self.sender that is defined
in TestSender/setUp().
Change-Id: I337c37b14f593183a46b8fd4b077c5b47bc791bc
* Add test_perform_request_req_type_put
* Updated test_perform_request_req_type_post
* Now tests the default case
Change-Id: Iff7bc4d4370c5517e481db15ae1318f2e4fd34a5
The "Removing Vagrant support" commit missed the local.conf
used to deploy devstack within the Vagrant VM.
It is removed in this commit.
Related-Bug: #1710856
Change-Id: Ie3f4533f91ad13efabe481abd658323bd19a5277
- Request server for alarm_id before creating new one
- Adding http get method to _perform_request of common Sender
- Add unit tests for {aodh,common}/sender
Change-Id: I48e83e87349048962c400a2660cd0c0252563ea0
Closes-bug: #1672296
Signed-off-by: Ivan Dyukov <i.dyukov@samsung.com>
- Automated the required configurations for the collectd.conf file
- Enables the virt and network plugins
- Included a MULTI_NODE_DEPLOYMENT configuration option for this change
- This is only enabled when the libvirt.py file is not in use
- Provided instructions on how to deploy multi-node
Change-Id: I151e318074250b94dbef247e6858c78086fcd362
Update URLs according to OpenStack document migration
BTW: Do some optimization as well (http -> https)
Change-Id: Ie9cc2c831186cd4dbbde08973032aece20540fc2
- Config options need to be headings
- 1 blank line between description and default
- 2 blank lines between each entry
- Order config options alphabetically
Change-Id: I9d9d73c15e73fe282ddc87e17ff19693a46db831
-remove Collectd_Ceilometer folder
-remove Ceilometer specific unit tests
-Remove mentions in devstack, doc, and etc folders
-Substitute refereces of Ceilometer with Gnocchi/Aodh
Closes-Bug: #1710855
Change-Id: I210ca8182c489c4f90a6521b1b7fd6f8a391e602
Signed-off-by: Elizabeth Burke <elizabeth.burke@intel.com>
- Libvirt meter is only enabled if configured
- Added deployment code
- Included a reno
- Updated doc/source/usage.rst
- Updated unit tests
Change-Id: Ia4eb566e087ff341505896534296e7afd338f98b
Fix logging of debug, info and warning levels.
Also configuration parameter VERBOSE is working again.
fixes problems:
* VERBOSE parameter can be changed at runtime
* Initial log level was unset, then there was nothing logged lower than
exception level. (for example configuration dump was not logged)
* Initial VERBOSE was set to True, then it was too much verbose. And
this flag was mean to be used for debugging problems.
NOTE: real log level is driven by collectd configuration, not by plugin
config.
Change-Id: Ia7048ccb74f27a5d5885b9c0bda17d6fba603e9b
Closes-Bug: #1664973
README.rst:
* Updated introductory paragraph to include gnocchi and aodh
* Updated features list to include gnocchi and aodh features
doc/source/GSG.rst:
* Updates collectd installation instructions
* Updates intro to configuring collectd as a service
* Updates packages to be installed
* Updates installation and configuration for plugins
* Updates verification steps for ceilometer, aodh and gnocchi
Change-Id: I43698ea898bb990f163efc938ef6bbbec1e16b58
- Combined commonalities from the aodh and common sender classes
- Updated all of the relevant tests for each class
- Included a reno
Change-Id: I78fcdb075661e125b0e9f16bdee626cd811ad78e
Closes-bug: #1668210
- Enabled the user to configure the severity of alarms triggered
by metrics/meters
- Provided/Updated documentation for this changea
- Included all of the necessary tests for this change
- Included a reno for this change
Change-Id: Icefe2edf7695c4a8b3d5838844e2514b9876967f
- Get the state of an alarm based on the severity of the collectd
notification that is sent and not the message.
- Added a bug fix reno for this.
- Reduced the probability that the state will return "insufficient
data".
Change-Id: Ic993337aa49aed1d189708f5d8cd3935e6d1bbe1
Closes-bug: #1681392
Closes-bug: #1672301
SampleContainer was duplicated in ceilometer/ and gnocchi/
- Moved SampleContainer to collectd_ceilometer/common
- Added unit tests for SampleContainer
Change-Id: Id394c6b489d69840ff5de1eb07f1a4b357d3bb22
- Checks for errors and retries creating/updating alarms which fixes
the bug, by removing the need to have a dictionary for alarms.
- Included a get_alarm_id function.
- Refactored the update and create alarm functions.
- Updated and included the relevant tests for this.
- Include a reno for the bug fix.
Change-Id: I7e998bc8cb55f9ef7564464fcd4eded06643e1eb
Closes-Bug: #1677597