Commit Graph

180 Commits

Author SHA1 Message Date
Ghanshyam Mann ab154fd92c Moving IRC network reference to OFTC
Change-Id: I6ded9ebb3104fa62035bb963a6bee95f42c822a0
2021-07-08 18:41:24 -05:00
Martin Chacon Piza 9dbfe8056e Remove project content on master branch
This is step 2b of repository deprecation process as described in [1].

[1] https://docs.openstack.org/project-team-guide/repository.html#step-2b-remove-project-content

Change-Id: I210c2fe3bbe2a702f42ec1df95f328b8011d8014
2021-02-22 15:16:37 +01:00
likui e3bfafdeb6 update zuul.yaml
openstack-python3-victoria-jobs

Change-Id: I1c6e8550ede0ad18e02e0eaf5a4a3273ec31fc84
2020-10-21 09:03:01 +08:00
Zuul 6487f4510c Merge "Use unittest.mock instead of third party mock" 2020-05-28 18:21:31 +00:00
lidong 4cbd37eafd Update the outdated link
Change-Id: I101d213f460d63de9573c89ba4d0b2000bb5ed8c
2020-05-25 11:30:44 +08:00
lidong f38f3ebd95 Update the outdated link
Change-Id: I31b71c2bf6c3c0ecf98bf2f8c835754187378129
2020-05-19 17:35:08 +08:00
Ghanshyam Mann ed1e01537a Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.

Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.

To avoid similar gate break in future, we need to bump the hacking min
version.

- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html

Change-Id: I4d54bfabc2faabd302b613378e49326de9a1cc8f
2020-05-12 19:29:42 -05:00
Zuul bca548ec26 Merge "Mark Monasca Ceilometer as Deprecated in Ussuri" 2020-04-22 07:50:49 +00:00
Sean McGinnis 2fe47c29c9
Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: I8ac5e339700316b07b7c548f24ffc8dd83110df3
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-18 11:54:45 -05:00
Joseph Davis 875bc660ee Mark Monasca Ceilometer as Deprecated in Ussuri
With the Monasca Publisher now a supported pipeline in
Ceilometer, the functionality of Ceilosca can now be simply
configured in a Ceilometer deployment.
This commit makes a comment in the README to explain that.

Change-Id: Ia3cea3d5f87d952ac1f2638ac5180861006a889f
Story: #2007560
Task: #39439
2020-04-16 09:47:03 +02:00
Andreas Jaeger a0c6625d20 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Change-Id: Ica99c9a4affd2b693ef74f1e3ef7c8ea2c6a46d6
2020-03-31 06:49:19 +00:00
Ghanshyam Mann 4259f74ff1 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

monasca-ceilometer is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I2143a5d345737ab5028151232557263e3b308412
2019-11-16 16:56:51 +00:00
Joseph Davis 187bda1447 Improve documentation on Ceilosca not needing Gnocchi
There was a recent question in IRC about how to configure Ceilosca.
These edits should make it clearer that Gnocchi is not needed
in a Ceilosca deployment, and how to disable it.

Change-Id: I25b894e1ad222e3b55c6787c0625c03b9ebdcbf1
2019-10-07 11:15:28 -07:00
Corey Bryant 15697d9d3a Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: Id4f9e8b2468e3216086d10eaaab390e47030b04e
Story: #2005924
Task: #34223
2019-07-05 13:06:28 -04:00
Zuul 3b70288611 Merge "Adding example monasca_field_definition configuration files" 2019-06-27 11:08:28 +00:00
adisky 6e5217a0c3 Switch python3 versions of test jobs to match Train PTI
In Train, we will use python 3.6 and 3.7 for python3 runtime
in our gate jobs [1]. This commit also adds python 3.7.

[1] https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: Idcedcf7f1629d7b462692270d4345e52e23d3e32
2019-06-24 08:18:38 +00:00
Joseph Davis 081bcfb9c7 Fix devstack deployment by restoring ceilosca_pipeline.yaml
In our efforts to clean up meters that were removed from Ceilometer
in the Rocky release (see c514916761 )
the ceilosca_pipeline.yaml was deleted. However, that file is needed
for the devstack plugin, as specified in devstack/settings .

This patch restores that file, and renames it to make the purpose
clearer.

Also added comments to the pipeline.yaml files to indicate their
purpose.

Change-Id: I28de9011d3e8c73f9d5057c8ca05cd42d3262dfc
2019-05-31 09:05:26 -07:00
Joseph Davis d43391d05a Adding example monasca_field_definition configuration files
Gathering up some configurations that have actually been used
in production as examples for user configurations of Ceilosca.

Story: 2001766
Task: 33543

Change-Id: If6eb225c74e417041a557426c796e814ffc40aba
2019-05-30 17:44:23 -07:00
Zuul 0b4e0e0d22 Merge "Dropping the py35 testing" 2019-04-23 12:00:52 +00:00
OpenDev Sysadmins bdd51a137c 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:26:33 +00:00
Ghanshyam Mann aa38f946cd Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I57ef50b7f210cd2ddb934c283652c565028774ec
2019-04-15 00:16:21 +00:00
Witek Bedyk c514916761 Clean up removed Ceilometer meters
A number of meters have been removed from Ceilometer in Rocky release.
This change updates the example configuration files to reflect it.
README.rst has been updated to reflect the current state.

Change-Id: I05650fef1cc5dc0d9e9f6e9a5aa66a5017b2377a
2019-03-26 14:50:49 +01:00
Ian Wienand 589854bd98 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: I37a7c44da90e2067adf7b99154fb21e534e4f504
2019-03-24 20:34:14 +00:00
ZhongShengping 93cd3ac9ec add python 3.7 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.7.

See ML discussion here [1] for context.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html

Change-Id: I29bf8099aa26228888b4df803623eb109573d587
2019-02-18 15:29:49 +08:00
melissaml 3de5cb4c45 Update devel info: mailing list
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I5531696af967fd8ebb2e3b6ee2cf06a35ca154c6
2018-12-15 15:33:40 +08:00
melissaml b94f93e571 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: Id0eaa01206d2eab38051872d0858c255b312be69
2018-12-05 01:44:06 +08:00
Nguyen Hai Truong 7756026d43 Add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I1d9ae44d4956d6c76bda9232ef8aee8c965164e2
2018-11-08 01:25:21 -08:00
Zuul b8f1f486b0 Merge "Remove setup.py check from pep8 job" 2018-11-05 09:24:31 +00:00
Zuul 5c45364b47 Merge "Update links in README" 2018-11-01 17:13:10 +00:00
Joseph Davis 29e61263fd Remove setup.py check from pep8 job
Using "python setup.py check -r -s" method of checking the package has
been deprecated with the new recommendation to build the sdist and
wheel, then running "twine check" against the output.

Luckily, there is already a job that covers this that only runs when the
README, setup.py, or setup.cfg files change, making running this in the
pep8 job redundant. This covered by the test-release-openstack-python3
that is defined in the publish-to-pypi-python3 template.

More details can be found in this mailing list post:

http://lists.openstack.org/pipermail/openstack-dev/2018-October/136136.html

Change-Id: I8a7b18ed2b8cd2386f6a44598545bb7e37e77de4
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2018-10-30 10:01:58 -07:00
Joseph Davis ee80e0f54c Refresh against ceilometer master
There have been a few changes in ceilometer repository, specifically
https://review.openstack.org/#/c/596378/, which warrant an update
post-Rocky.

Change-Id: I9e127e0976be4c44bd56a977a755564a88fc1b44
2018-10-09 16:49:57 -07:00
qingszhao d54179f00f 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: Ib4546226c254ef59d2b1b872f32267d2541e72de
2018-09-27 14:20:21 +00:00
Witold Bedyk a9b6d6c80e Use six.text_type instead of unicode
The built-in unicode no longer exists under python 3, so using it causes
pylint to report an undefined name. Use six.text_type instead.

Change-Id: I0b015bb56893e6683a6c36a63cb28aead07cc47c
Story: 2003240
Task: 26766
2018-09-27 16:17:04 +02:00
melissaml 416d650742 Update links in README
Change the outdated links to the latest links in README

Change-Id: If43fbc61054e46fdbd21e54a77604f4954d6697d
2018-09-18 22:46:30 +00:00
Doug Hellmann 00c6d1f7c1 add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I5c649617593824578645dd478820b53f57034ae2
Story: #2002586
Task: #24312
2018-08-22 18:51:57 -04:00
Doug Hellmann 0a075602e5 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I034ae602a55acb445237c155f5de3beb8e12849c
Story: #2002586
Task: #24312
2018-08-22 18:48:55 -04:00
Joseph Davis 8b0fb6d048 Refactor out Ceilometer V2 API related code
As of Queens the Ceilometer V2 API has been removed.  Storage
driver related code in monasca-ceilometer can thus be removed.

Backport some refactoring that came up in creating
https://review.openstack.org/#/c/562400/
Realized some class names could be clearer and fit better with
Ceilometer.

Update test-requirements.txt with Rocky release of
python-monascaclient.  Also include more license info.

Specify py35 instead of py34 in tox.ini (gates already using py35).

Include updates to devstack configuration to keep up with master
ceilometer.  These include adding values for the [monasca] section
in ceilometer.conf and refreshing setup.cfg as well as updating
how the connection url to Monasca API is configured.

Also include some testing notes in devstack/README.md

Change-Id: I9291dfc06d67f18109a0ff66184bd418c6361977
2018-08-09 10:11:28 -07:00
Witold Bedyk 6ebd2dc1c2 Fix README.rst and add syntax check
Change-Id: I2e2ec99b643475fa64a4b5b67201ff38c10e52a8
Story: 2002163
Task: 24400
2018-08-08 18:07:03 +02:00
Vu Cong Tuan f892dae29f Remove testrepository and .testr.conf
This commit is a follow-up of "switch to using stestr"
which was merged already [1].
After switch to using stestr, testrepository and .testr.conf
are unnecessary and should be removed.

[1] https://review.openstack.org/576862

Change-Id: I9f35e4f1341848a62a143b7f7150f2b845575861
2018-07-12 08:48:19 +07:00
Zuul 10a3465595 Merge "Switch to using stestr" 2018-06-29 07:59:07 +00:00
Denis Poisson aed07ff6af Convert README.md to ReStructuredText format
Change-Id: Id39c8c172bf094168bf3ff42736753aa4ec625ad
story: 2002163
task: 22234
2018-06-28 06:47:34 +00:00
Charles Short f2ee99e68e Switch to using stestr
According to Openstack summit session [1] stestr is
maintained project to which all Openstack projects
should migrate.
Let's switch it then.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: Ib1f69777740eceece1e4d4e1ef6979383fb714d7
Signed-off-by: Charles Short <zulcss@gmail.com>
2018-06-20 09:40:38 -04:00
Joseph Davis 24c468ee22 Add detail to README.md about how Ceilometer mapped to Mon API
Fill in some examples and detail about which files configure
the mapping behavior.

Change-Id: I5a3b3e643ec9dee05fdf0b9fd3ecce260eb44b0e
Story: 2001766
Task: 12169
2018-04-16 15:20:27 -07:00
Jui Chandwaskar cf0bcfc5bc Update pep8 check
Set max line length to 100

Change-Id: I49c22858da8399b8beb4e3816f93623e4280b59d
Signed-off-by: Jui Chandwaskar <jchandwaskar@op5.com>
2018-04-11 16:17:58 +02:00
Zuul e55891c570 Merge "Document how to configure and use meters" 2018-04-11 03:11:06 +00:00
Joseph Davis d02afc0b64 Document how to configure and use meters
Also include a longer example pipeline.yaml

Change-Id: I3e2cfcd6c175358abbcf83d3c8da3e426217ca42
2018-04-10 17:49:38 -07:00
Joseph Davis 05b0c9abb4 Refresh the ceilometer.conf file provided by Ceilosca
monasca-ceilometer repo has an example copy of the ceilometer.conf
file used for devstack deployment and as an example.  Ceilometer
project has made a few changes in Pike and Queens (including
removal of the famous v2 API), so some options have changed.

Also noticed a typo in devstack/plugin.sh.

Change-Id: I2dabefd825bbe131b42d435af479075f8a372e0d
2018-03-20 15:06:45 -07:00
Zuul b18aaa053e Merge "Update the README" 2018-03-06 15:10:25 +00:00
Zuul d4d51fb223 Merge "Allow unicode for metadata keys in publisher" 2018-03-06 15:09:28 +00:00
Luka Peschke 294ff4f53f Update the README
This updates the README. Following work has been done:

* Indent some lines (there is a rendering issue on github)

* Remove the "Edit entry_points.txt" step. (This file doesn't exist anymore
  in any of Ceilometer's upstream branches.)

* Update some parts of "Edit setup.cfg" step: the 'ceilometer.publisher' section
  doesn't exist anymore.

* Remove 'storage/impl_monasca.py' from files to copy step

* Add opts.py and monasca_ceilometer_opts.py to copy step

* Wrap lines > 80 chars

* Made relevant files a bullet list

* Update branch from stable/liberty to stable/pike

Change-Id: I77820547df9cc1514896f56a567db779ed00e1f8
2018-02-15 11:36:18 +01:00