Commit Graph

211 Commits

Author SHA1 Message Date
OpenDev Sysadmins e0215bf7d0 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:50:30 +00:00
Ian Wienand 0da3532959 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I9e544681fdcbe86f6e8d1f2338c683b0c7755f0a
2019-03-24 20:33:19 +00:00
Zuul 8164358125 Merge "Update .gitreview for new repo name" into stable/queens 2018-11-21 11:43:26 +00:00
Monty Taylor b394218feb Update .gitreview for new repo name
Change-Id: I733621a2edbf481f5c0b4a81addeb5c9110cf41c
(cherry picked from commit ed862ab226)
2018-11-18 12:20:06 +00:00
Monty Taylor eabd6ff0cd Rename to collectd-openstack-plugins
Change-Id: I8c065c7a808061b0b4f9d0f170c61ad2146b7f8f
(cherry picked from commit 9db354ba23)
2018-11-16 18:37:04 +00:00
Emma Foley c54afa1628 Add DEFAULT_ARCHIVE_POLICY config option for gnocchi
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
2018-03-14 19:03:38 +00:00
Emma Foley 7f1134a1cb remove libvirt from requirements.txt
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
2018-03-14 17:58:20 +00:00
Emma Foley 93fcc3be3e Update link for kolla
Change-Id: I3ab9a7687cefcd75874b018f834c4955bed79daa
Closes-bug: #1746597
2018-01-31 21:01:10 +00:00
Deirdre O'Connor 2a9e670841 Gnocchi documentation update with correct URL.
Updated outdated URL for Gnocchi github repo.
Closes-Bug: #1746095

Change-Id: I7e31406962de21815b48fffd3a421216ea34126c
2018-01-30 13:01:17 +00:00
Andreas Jaeger c9de29b5e5 Update zuul configuration
Rename jobs to follow the defined named in
https://docs.openstack.org/infra/manual/drivers.html#naming-with-zuul-v3

We have a global name space and in-repo jobs should start with the repo
name.

Remove "voting: false" from experimental jobs, those are never voting, so
this is not needed.

Remove name from project stanza, this is not needed anymore.

Change-Id: I2fd70b654b9f8149f128568e544ecbf0e9e05551
2018-01-21 19:12:29 +01:00
Pierre Riteau 42e707c4fd Add link to DevStack Getting Started Guide
Change-Id: I84f28f69625806f8819393df12b162ee87d8a898
2017-11-15 12:30:33 +00:00
Zuul f6364d6b3f Merge "[doc] Remove the collectd-openstack-plugins alarms section in the heat scaling guide" 2017-11-15 09:37:46 +00:00
Zuul 8c1c4f56e6 Merge "Fix typo in package installation command" 2017-11-15 09:27:44 +00:00
rajat29 682ffbb438 [doc] Remove the collectd-openstack-plugins alarms section in the heat scaling guide
* Also removed the sample template threshold.yaml

Change-Id: I2c18bf8edd87a2fe7489a3916518a5eb3407148c
closes-bug: #1729903
2017-11-15 09:25:06 +00:00
Pierre Riteau 681030bb05 Fix typo in package installation command
Change-Id: I1ac351910cd36df8cb19b40d21898d5a2e7c6f1a
2017-11-14 18:50:41 +00:00
Michel Gokan 95c9af51e0 Fixing installation/Getting Started Guide URL
Change-Id: I588232ac018d94bc6d109694e6e1563a03482689
2017-11-03 15:19:55 +01:00
James E. Blair 5ad0461e06 Zuul: add file extension to playbook path
Zuul now supports including the file extension on the playbook path
and omitting the extension is now deprecrated.  Update references
to include the extension.

Change-Id: I2aa241a76d7c7c43065d9193961d5541cbea712f
2017-10-28 21:16:30 -07:00
Emma Foley ec6028fc0b gnocchi: Remove archive-policy when creating metrics
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: I562f62e1236c7c01c79a5e465ebec103c7bb07bd
2017-10-20 12:31:40 +00:00
Emma Foley 0c08c2e2b3 Update units for new virt plugin metrics
- Rename libvirt to virt in units.py
- Add new metrics for virt/perf
  - this requires three parameters to map correctly
- Updated unit() to use an optional pltype_instance parameter
- Add unit test to test behaviour with different numbers of parameters

Change-Id: I94437aab309fa6c4d70e52e93d8858b54dcfeedb
Co-Authored-By: Mark O'Neill <mark1.oneill@intel.com>
Closes-Bug: #1714996
2017-10-19 10:04:26 +00:00
Emma Foley 51ad38a2c3 gnocchi/test_{sender,writer): Add some missing tests
A number of unittests were added to cover existing functionality.
* gnocchi/test_sender.py
  * test_send
  * test_send_error_404
  * test_on_authenticated
  * test_create_request_url
  * test_handle_http_error
  * test_handle_http_error_404
* gnocchi/test_writer.py
  * test_write
  * test_write_metric_none
  * test_send_data

Change-Id: I81f84c60761667d714a14da9ae8a80fdf59de461
2017-10-19 08:46:29 +00:00
Emma Foley b5cb3b4158 Rename module collectd_ceilometer->collectd_openstack
Rename the module to fit with the repo rename

Change-Id: I8f3c5a3d1f481a82d742b0b00a52a6d78d76630d
2017-10-19 08:31:14 +00:00
Jenkins f58efd0311 Merge "Adding function docstrings to common/sender.py" 2017-10-13 15:44:41 +00:00
Andreas Jaeger 1be72d4183 Fix zuul v3 jobs
The local defined jobs are named without legacy but the project list
uses the legacy jobs. Remove the legacy- prefix so that the local
defined jobs are used.

Needed-By: Idf02d68f6ac16755d6672544d77db8a42dbbd218 
Change-Id: I6ef72cc19f13e07636af68c8375887c7b7bd8b88
2017-10-13 08:30:34 +00:00
Jenkins 06f5034249 Merge "Add zuulv3 jobs to repo" 2017-10-12 19:36:52 +00:00
Emma Foley 4e748eb935 common/test_keystone_light: Fix naming and references
* Removes references to ceilometer in the test values given for test_get_service_endpoint.
* Renames some tests

Change-Id: I07a92daf53e4e5683ce881965edef6ff65cc0252
Closes-Bug: #1718697
2017-10-12 12:02:09 +00:00
Emma Foley c5d0d6dd3c Add zuulv3 jobs to repo
- Migrated from openstack-zuul-jobs and project-config
Change-Id: I74453d7a36f1d3b6f456010e4ffd9bd56738c17c
2017-10-06 15:33:59 +00:00
Jenkins eee3f46efc Merge "Update delete_metrics.sh tool" 2017-10-06 12:46:21 +00:00
Emma Foley 84b47dc386 Fix typo collecd -> collectd
Change-Id: I282266bbcd45ccf4f714c40faec564b1b0ee1478
2017-10-03 16:34:38 +00:00
Elizabeth Burke 474da85d39 Adding function docstrings to common/sender.py
There are a number of unimplemented methods defined in common/sender.py,
which are used as hooks into other common methods. This change updates the
docstrings to describe what these methods should do.

Change-Id: I2dad5d896682deb088d4280737f8eae3eb3c94eb
Co-authored-by: Emma Foley <emma.l.foley@intel.com>
2017-10-02 11:27:25 +00:00
Emma Foley 02b65dc416 common/sender: Deal with ReadTimeout in send()
If there's a ReadTimeout when sending a HTTP request, the
plugin now retries before exiting.

Change-Id: I0218bd412419079ec9544810a6ab863f3de1a915
2017-09-28 12:07:14 +00:00
Emma Foley 19643a184f Update delete_metrics.sh tool
* Delete multiple metrics at one, instead or one-by-one.

Change-Id: Iee95938a6bbb046a4ccba4f2bd8eb74903882552
2017-09-26 16:34:32 +00:00
Jenkins f004cdc6d2 Merge "[refactor] common/test_logger.py: move common code to setUp()" 2017-09-26 09:41:40 +00:00
Jenkins 962eb9dd76 Merge "[refactor] Move tests from aodh/test_plugin to aodh/test_sender" 2017-09-26 09:32:58 +00:00
Jenkins 2c15be9f91 Merge "Remove sample response from common/keystone_light There is a sample keystone response at the end of common/keystone_light that is not needed." 2017-09-26 09:32:52 +00:00
Emma Foley f6fd19b620 [refactor] common/test_logger.py: move common code to setUp()
* Add setUp()
** Add self.handler, self.collectd, self.config, self.logger members
* remove __init__()

Change-Id: Ic8e52f34fc4a479f34bf714bba93008a3c8f3d25
Partial-Bug: #1714012
2017-09-26 09:29:14 +00:00
rajat29 a336ebfea5 Remove sample response from common/keystone_light
There is a sample keystone response at the end of
common/keystone_light that is not needed.

Closes-Bug: #1718670

Change-Id: Ieba434d0bc9ee3c47eeb4464613bfbf04cc38b75
2017-09-22 10:50:04 +05:30
Jenkins 0a701d3fb9 Merge "[refactor] Add dummy test_{sender,writer}.py files" 2017-09-21 10:43:59 +00:00
Emma Foley c230403425 [refactor] Add dummy test_{sender,writer}.py files
* Tests for gnocchi should be written into the appropriate
  test_{sender,writer}.py files

Change-Id: Ia11e227d6e11ccc1f63d7d9a364b7c01d4c25e67
2017-09-21 10:32:16 +00:00
Emma Foley e4c6469429 [refactor] common/test_config: Remove duplicated config declaration in tests
* Added setUp() call
* Moved declaration of config to setUp()
* config -> self.config

Change-Id: I07a663552c5b6333630f381961411acd8ec39f73
Partial-Bug: #1714012
2017-09-19 16:35:34 +01:00
Emma Foley 1e790c13ad [refactor] Move tests from aodh/test_plugin to aodh/test_sender
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
2017-09-13 21:09:37 +00:00
Jenkins 46ea48fb44 Merge "common/test_sender: Update test for perform_request" 2017-09-07 11:12:41 +00:00
Jenkins 38ab811ebd Merge "Add release note for metername update" 2017-09-07 11:08:27 +00:00
Emma Foley a93c57e61f common/test_sender: Update test for perform_request
* Add test_perform_request_req_type_put
* Updated test_perform_request_req_type_post
  * Now tests the default case

Change-Id: Iff7bc4d4370c5517e481db15ae1318f2e4fd34a5
2017-09-06 15:28:02 +00:00
Emma Foley 66d495696f Removes local.conf used by vagrant
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
2017-09-06 15:23:26 +00:00
Emma Foley ebe287370a Add release note for metername update
Change-Id: Iceb0bee94243bc02693bd250bd20ba846a6c8f22
2017-09-06 08:50:18 +00:00
Jenkins d1ce958bee Merge "Updated _get_alarm_id function in aodh plugin" 2017-09-04 15:35:32 +00:00
Jenkins 7089299f8c Merge "Removing vagrant support" 2017-08-29 15:05:51 +00:00
Ivan Dyukov 680a43d179 Updated _get_alarm_id function in aodh plugin
- 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>
2017-08-29 16:21:19 +03:00
rajat29 eef5c8dce0 Inconsistent capitalization on Gnocchi, Aodh, OpenStack in docs
Docs use inconsistent capitalisation of Gnocchi, Aodh, OpenStack, etc.
Ref: https://docs.openstack.org/contributor-guide/writing-style/openstack-components.html

Change-Id: Ia1ea04d4cf45e33f0257226e09e5a4da5275c4ad
Closes-Bug:#1708667
2017-08-29 03:51:49 +00:00
Mark O'Neill ef5ca1ab76 Removing vagrant support
Vagrant support is untested and unused.
Closes-Bug: #1710856

Change-Id: Iac795b092f25c0a0d062589ae965921cbdc0ab99
2017-08-28 16:19:38 +01:00