Commit Graph

224 Commits

Author SHA1 Message Date
OpenDev Sysadmins 6bdb01a936 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:29 +00:00
Ian Wienand fdffe6fcfd Merge "Replace openstack.org git:// URLs with https://" 2019-04-10 01:15:51 +00:00
Zuul bff9cee10c Merge "Update home-page" 2019-03-28 13:23:38 +00:00
Ian Wienand a6cbc5f4a3 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: Iab6a4c116e3f12929fff79ad239d02400e725605
2019-03-24 20:33:19 +00:00
lijunjie 73be7a9054 Fix the misspelling of "available"
Change-Id: Ief5b3707273ad710ec6270924895d69d7a010795
2019-01-22 12:04:15 +08:00
huang.zhiping ddd92b612e Update home-page
Change-Id: I2a6fd5c087a92bdfb479edb1e1fcb806bd968e5a
2019-01-11 11:42:55 +00:00
Sean Mooney 08820175f5 fix sdist name
- This change updates the sdist package name to reflect the
  change to collectd-openstack-plugins

Change-Id: Ic00440ca4bd5d4e82a54e3d678b919e4f5b30d37
2018-11-15 20:43:48 +00:00
zhouxinyong 29c2fbd0c0 omit the twice occured words in collectd-aodh-plugin-35e6c312ef89746e.yaml
Change-Id: I167aed36434fe42d2fc3fdebef2acb77ab70bff4
2018-11-13 11:34:25 +08:00
Zuul 9fdcdf29b4 Merge "changes code to pass config in sender class" 2018-08-27 10:42:47 +00:00
Zuul 3e33368c24 Merge "update readme urls" 2018-08-27 10:42:47 +00:00
huang.zhiping d2229c9b76 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I0fe605c2f827a528a12e8f64219ba2bdff028db0
2018-08-20 11:39:01 +00:00
Deirdre O'Connor e1cae87bb3 update readme urls
- This change updates the urls in the README.rst
  to reflect the repo name change.

Change-Id: I9ee23604b8f6a89923b19f823e18a020b85d235b
2018-08-20 11:38:10 +00:00
Deirdre O'Connor 10e929deb1 changes code to pass config in sender class
- This change refactor base sender to accept
  the config option in its constructor.
- The use of singleton config in the sender classes
  has been replaced with the use of self._config
- This change updates the unit tests to reflect
  the new constructor paramaters.

Change-Id: I8458145044d76b61e51462674c8fbfc84fd02b0a
Related-bug: #1746097
2018-08-20 11:36:09 +00:00
Sean Mooney ce744c83eb modernize testing
- This change adds constratins support
- This change removes pretty_tox which
  failed on python 3 in favor of stestr
- This change adds py36
- This change removes the broken cover env
- This change adds libvirt-python as a test
  requirement
- This change adds a reno stub for confromance
  to the PTI.

Change-Id: I116566c317b360ea325a06a8fbd11e29688cf602
2018-08-20 12:35:24 +01:00
Zuul c6071ebcbd Merge "Update .gitreview for new repo name" 2018-06-07 19:35:33 +00:00
Emma Foley def3d3d28e Update launchpad links in release notes
Depends-On: I6a2ba35c80f9b24772771ee0b708370ebab14bdb
Change-Id: Id391783c477627b69e434ae886bd0e5e18e57e23
2018-04-18 16:38:28 +00:00
Monty Taylor ed862ab226
Update .gitreview for new repo name
Change-Id: I733621a2edbf481f5c0b4a81addeb5c9110cf41c
2018-03-23 12:01:03 -05:00
Monty Taylor 9db354ba23
Rename to collectd-openstack-plugins
Change-Id: I8c065c7a808061b0b4f9d0f170c61ad2146b7f8f
2018-03-23 11:59:58 -05: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