summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix broken test_discovery_with_libvirt_errorstable/trainSzymon Wroblewski2023-01-031-5/+7
| | | | | | | | | | | | Mock only small parts of libvirt not the whole library, when testing libvirt discovery. Closes-Bug: #1774292 Change-Id: Ifbcf3fa0602d805b1e493f1ee6c3385edb87a277 (cherry picked from commit 0940d4f2318e7216486ad2d6ad11837c8f54797a) (cherry picked from commit 274e51555f0b939efc228efe1ec34e0253742a8e) (cherry picked from commit b80d48afea9ab934e380f277ab92aaf4d45e1297) (cherry picked from commit bcada72c3aaeeb2a86de3368b1787a9253c9d55b)
* Remove queue declaration and fix lower-constraints jobsMatthias Runge2022-12-154-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit combines the following changes: * Remove lingering queue declaration from .zuul.yaml file. https://review.opendev.org/859777 (master) Co-authored-by: Matthias Runge <mrunge@redhat.com> * Bump up "lxml" to 4.2.3 While building 'lxml.etree' extension, lower-constraint job fails with the error: ``` src/lxml/lxml.etree.c: In function ‘__Pyx_ExceptionSave’: src/lxml/lxml.etree.c:202693:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 202693 | *type = tstate->exc_type; | ^~~~~~~~ | curexc_type ``` https://review.opendev.org/744612 (master) Co-authored-by: Ghanshyam Mann <gmann@ghanshyammann.com> * Set upper constraint for cryptography Lower constraint job fails due to missing flag "X509_V_FLAG_CB_ISSUER_CHECK" while running unit test cases ``` AttributeError: module \'lib\' has no attribute \'ERR_load_RAND_strings\' ``` ERR_load_RAND_strings was removed in cryptography 35.0.0[1] Since ceilometer doesn't have a constraint for it, the latest package gets installed, which is 38.0.4 as of now. This change sets cryptography to use "3.4.8" which is the last release to have the missing attribute. Co-authored-by: Yadnesh Kulkarni <ykulkarn@redhat.com> * Bump up "tenacity" to 4.12.0 Since "async" became a keyword in Python3.7[2], lower constraint job fails with error: ``` from tenacity.async import AsyncRetrying ^ SyntaxError: invalid syntax ``` https://review.opendev.org/744612 (master) Co-authored-by: Ghanshyam Mann <gmann@ghanshyammann.com> * Bump up "oslo.messaging" to 8.0.0 Since "async" became a keyword in Python3.7[2], lower constraint job fails with error: ``` sender = zmq_senders.RequestSenderDirect(conf, async=True) ^ SyntaxError: invalid syntax ``` The use of "async" was changed to "use_async" in [3] https://review.opendev.org/744612 (master) Co-authored-by: Ghanshyam Mann <gmann@ghanshyammann.com> [1] https://github.com/pyca/cryptography/commit/c2e97f9a777d9984608240d923f12acd7758f0aa [2] https://bugs.python.org/issue30406 [3] https://github.com/openstack/oslo.messaging/commit/5626782fac8e0c16e52146040fcf4053aee2c95e Change-Id: I9b34ac062d45b2b839dc9d6e0cdce696185890e4 (cherry picked from commit 7e545b0fd9fd4a393d9e2af30f9fc370b20078c0) (cherry picked from commit 142cb0b6e6f6fa85634c5176c84ab15d6511fa89)
* [Stable-only] Pin Gnocchi to a specific releaseTakashi Kajinami2021-07-261-2/+1
| | | | | | | | | | | | | | | Currently we use the latest Gnocchi in functional tests but this often results problems caused by any update in Gnocchi side. This change pins Gnocchi to a specific version to avoid such problems. Backport note: Because stable/train and older supports Python 2, Gnocchi 4.3.z is used instead of Gnocchi 4.4.z which no longer supports Python 2. Change-Id: I791f214c6c130973fff9703a0ada1efd93720ae6 (cherry picked from commit 6026253883fac20cffdd22f6d5feb4ca0800c806) (cherry picked from commit 564a2ca6dfac2552c4537a9d99dffe167f074ec7) (cherry picked from commit 9812f4b35a77fd17ddf158a96d13dcfbacea6152)
* Merge "Cap tenacity < 7.0.0" into stable/trainZuul2021-06-071-1/+1
|\
| * Cap tenacity < 7.0.0Matthias Runge2021-03-291-1/+1
| | | | | | | | | | | | | | | | https://github.com/jd/tenacity/pull/274/files removed code which was still in use. Change-Id: I8ac6684d9f03a48cc5dd3d712cbd2868b34e1013 (cherry picked from commit e7abc7070e9de182b7f4c5ae16e1d615f8d35c96)
* | [stable-only] Add font for PDF generation and fix lower constraintsElod Illes2021-06-063-6/+9
|/ | | | | | | | | | | | | | | | | | | | | | | | openstack-tox-docs job started to fail with the following error: ! LaTeX Error: File `tgtermes.sty' not found. This patch adds the required font package to bindep doc profile. With the new pip resolver (introduced in pip 20.3) the constraints checking is now working better, thus reveals multiple constrain conflicts. This patch also fixes those problems: - no extra is allowed for constraints - futurist 1.8.0 depends on six>=1.10.0 - keystoneauth1 3.9.0 depends on requests>=2.14.2 - oslo.upgradecheck==0.1.1 was not listed among lower constraints Conflicts: lower-constraints.txt requirements.txt Change-Id: I00c994316653446748823867eb7c1a1ba5abfbea (cherry picked from commit 418af55c7bb8446af5361bbdd0f24d62cabb2ef4) (cherry picked from commit ea7014ba6d67e6745e7feb7e93edd4e37d38966a)
* Re-enable telemetry-dsvm-integration-train jobs for traintrain-em13.1.2Matthias Runge2020-11-241-0/+6
| | | | Change-Id: I52a81efe2f99ab581e2b575b3818f15a4f57aba7
* Merge "Fix instantiation of manager.AgentManager on ↵Zuul2020-10-161-2/+1
|\ | | | | | | cmd.polling.create_polling_service" into stable/train
| * Fix instantiation of manager.AgentManager on cmd.polling.create_polling_serviceRafael Weingärtner2020-08-281-2/+1
| | | | | | | | | | | | | | | | | | | | | | The commit 28f0a70da99b2fde2479ce6a5c62128ab75554af broke the selection of polling namespaces. When creating the agent manager we should define the polling group that we want to use. Otherwise, Ceilometer will for instance enable the "central" polling methods in the compute nodes, and vice versa. Change-Id: I179c95a7bfaf5d9722037618108fc882d85fda5a Signed-off-by: Rafael Weingärtner <rafael@apache.org> (cherry picked from commit 6ba6726aee103b8474ba79d31880e2af77167f0f)
* | Merge "Add logic for event_update handling and set transfer event as ↵Zuul2020-10-164-1/+77
|\ \ | | | | | | | | | event_update" into stable/train
| * | Add logic for event_update handling and set transfer event as event_updatepleimer2020-09-094-1/+77
| |/ | | | | | | | | | | | | | | | | | | This patch implements logic for updating resources in gnocchi when an event_update happens. Additionally, it adds volume.transfer events to the event_definitions.yaml and attributes for said event in gnocchi_resources.yaml Change-Id: I15bc4e1589f92fc856876a563122c1a1e07d4c4a (cherry picked from commit aa6b4e86421312665155485e0018643939f48572)
* | Make grenade and telemetry-dvsm non-votingMatthias Runge2020-10-131-26/+1
|/ | | | | | These jobs are failing for some time now in different components Change-Id: Idb255b1cfb49c57223b6881feb654095a785423b
* Remove [ and ] around parameter values in http urlMatthias Runge2020-07-271-1/+1
| | | | | | | | | | | | Without this patch, using a publisher like - http://host.com/?a=b&c=d leads to calling a http post to http://host.com/?a=['b']&c=['d'] URLs without additional parameters are not affected. Change-Id: I7c4f03b5d4412ec2844cb24d32ce575442c9fd3c (cherry picked from commit 4c859ad4dfe7a704fc596c041de5b67db7b065ce) (cherry picked from commit af90111c142ba171fe0b8ce497414687a6a3bd58)
* Trigger volume deletes only on volume deletedMatthias Runge2020-07-062-5/+5
| | | | | | | | | | | | | | | | | | | It was possible to create a volume and to do the following operations with the volume; at the end, the volume itself is marked as ended, but the volume is still available. openstack volume create --size x foo openstack volume snapshot create --volume <id> foo_snap openstack volume create --snapshot <id_of_snap> clone openstack volume delete --purge <id_of_foo> openstack metric resource show <id_of_foo> This commit fixes that issue. Change-Id: I55f0667c71ba4f3a33959a44bef43c3b05bc097c (cherry picked from commit f8992d40a135188a9d89c86f78868d340f3a1b96) (cherry picked from commit 4185147ddd6824c26cbe41c1ce25ce36559288be)
* Fix PDF buildAndreas Jaeger2020-07-021-4/+6
| | | | | | | | | Do not include ceilometer.conf.sample since PDF building fails with the large file. This fix PDF building of openstack-tox-docs job. Change-Id: Idaf811f71bab0b49de5b68a6a69a7872cb481ffb (cherry picked from commit 89969ec0a919a3a5ea9f4cee7e9b128c5fe0804d) (cherry picked from commit 96dcc2cbc22ec9efa98eb75771ba3154bc881bba)
* Add volume.manage to metrics.Matthias Runge2020-06-052-1/+8
| | | | | | | | | | This allows to monitor cinder managed ceph volumes to be monitored. The second addition here allows the same for snapshots. Change-Id: I7f045fa618e78351e05ad69bc9580e98487f0c29 (cherry picked from commit 7df749884b21ea760ff3ce07f4b257d2f4a89318) (cherry picked from commit fd41c23d1c4fb9e00a8b36827c899ab7e095c68c)
* Merge "Temporary failures should be treated as temporary." into stable/train13.1.1Zuul2020-04-173-12/+0
|\
| * Temporary failures should be treated as temporary.Matthias Runge2020-04-093-12/+0
| | | | | | | | | | | | | | | | There is no reason e.g to treat timeouts as permanent and thus these sources should not be removed from polling. Change-Id: Ifcb8dc7ca2c91f3d2482264afbd81df6e51c5937 (cherry picked from commit cf86cc3b7ac41f62cf6a359e8e2d97b01542cde0)
* | Fix docs build errorzhurong2020-04-152-5/+5
|/ | | | | Change-Id: I25558ff48b6236773f765aad8d1fc150f7011aef (cherry picked from commit 4fafac840468ab277ac00d919af50740f1ea600a)
* Tell reno to ignore the kilo branch13.1.0Pierre Riteau2020-02-121-0/+4
| | | | | | | | | | | | | | | | | | | When reno 3.x runs under setuptools, it scans all of the branches it can find, including any that look like they're closed and have an -eol tag. The old kilo branch in this repository has a jumbled history that somehow makes it look like it should include tags that it doesn't. We know that there are no release notes in that branch, because reno wasn't adopted while it was open. The releasenotes/source/index.rst links to separate release notes in the wiki. This patch tells reno to ignore that branch so that it doesn't throw an exception when it gets confused about the old tag. Change-Id: I8047d805b0a3da4051a6d618ed9ac40875b8636a Co-Authored-By: Doug Hellmann <doug@doughellmann.com> Story: 2007274 Task: 38749 (cherry picked from commit 8770b9223005a52c5270556606be43909895b9f3)
* Fix logging libvirt error on python 3Artem Vasilyev2020-02-111-2/+1
| | | | | | | | | | | | | This patch fixes error caused by absence of "message" attribute in libvirtError when running on python 3. ceilometer-agent-compute service fails to fetch domain metadata and tries to log libvirt error, during logging the following exception is raised and service fails: AttributeError: 'libvirtError' object has no attribute 'message' Change-Id: I56e74d1cb30310db104c850e74b2d422d3aeb966
* Add note for loadbalancer resource type supportPierre Riteau2020-02-071-0/+6
| | | | | | | | | This adds a release note for the loadbalancer resource type change Ib6e78438c3da0e22d93f720f00cdeadf0ed7a91f which was backported to stable branches. Change-Id: I10a3700c2520748e55e56e2a762433de5f1e6039 (cherry picked from commit 1617aa3099bfa5f7b38c11c51b23d2b9cf9b5c2b)
* Merge "Fix samples with dots in sample name" into stable/trainZuul2019-11-292-7/+24
|\
| * Fix samples with dots in sample nameYanos Angelopoulos2019-11-042-7/+24
| | | | | | | | | | | | | | | | | | This patch fixes Prometheus publisher behavior when Ceilometer metric names contain dots by replacing them with underscores. Prometheus does not accept metrics with dots. Change-Id: If4799a1b17001c0535413a26ec5d2f427e52f168 Signed-off-by: Yanos Angelopoulos <yanos@admin.grnet.gr>
* | Merge "Add loadbalancer resource type." into stable/trainZuul2019-11-282-0/+18
|\ \
| * | Add loadbalancer resource type.Jorge Niedbalski2019-11-122-0/+18
| |/ | | | | | | | | | | | | | | | | | | Adds the loadbalancer resource type for usage with the network.services.lb.* metrics. Change-Id: Ib6e78438c3da0e22d93f720f00cdeadf0ed7a91f Closes-Bug: #1848286 Signed-off-by: Jorge Niedbalski <jnr@metaklass.org> (cherry picked from commit cd9e199076b1e3cb8ef6e6bc3e7844b0d23f7e48)
* | Imported Translations from ZanataOpenStack Proposal Bot2019-11-261-2/+6
|/ | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Depends-On: https://review.opendev.org/#/c/695855/ Change-Id: Ifc880a138aa0455f3a01c9793e2823c56706ef57
* Imported Translations from Zanata13.0.0.0rc213.0.0OpenStack Proposal Bot2019-09-273-1475/+15
| | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: If8e9c32f569534e8379412f508547e28659a9d10
* Update TOX/UPPER_CONSTRAINTS_FILE for stable/trainOpenStack Release Bot2019-09-261-1/+1
| | | | | | | | | | | | Update the URL to the upper-constraints file to point to the redirect rule on releases.openstack.org so that anyone working on this branch will switch to the correct upper-constraints list automatically when the requirements repository branches. Until the requirements repository has as stable/train branch, tests will continue to use the upper-constraints list on master. Change-Id: I7eb80c733003d960b64deda708ec8db56a871b16
* Update .gitreview for stable/trainOpenStack Release Bot2019-09-261-0/+1
| | | | Change-Id: Idf8a444228d4254c4bd8da8a95fa9bbd54f9c6dc
* Merge "PDF documentation build"13.0.0.0rc1Zuul2019-09-247-18/+33
|\
| * PDF documentation buildzhurong2019-09-197-18/+33
| | | | | | | | Change-Id: Icf5f7f31b686d8ce97ae8cf145eaf1071860a75f
* | Merge "Added metric backup.size to remove warning in ↵Zuul2019-09-231-0/+1
|\ \ | | | | | | | | | ceilometer-agent-notification log"
| * | Added metric backup.size to remove warning in ceilometer-agent-notification logprankul2019-01-171-0/+1
| | | | | | | | | | | | | | | Change-Id: I07a129088b1a0063c8885ffc16251be2994f8e77 Closes-bug: #1810148
* | | Set proper trait typezhang-shaoman2019-09-171-0/+14
| |/ |/| | | | | | | | | Set proper trait type for event defination, such as datetime and int. Change-Id: Idaf07c69221cb1ad5c3813ce687e658256f30b23
* | Type field missing in snmp data harware.cpu metersManuel Rodriguez2019-09-021-0/+7
| | | | | | | | | | | | | | | | | | | | | | Type field is missing in snmp.yaml for hardware.cpu.* meters as a result it is throwing Missing field unit errors in the log files. Adding Type gauge per the telemetry-measurements documentation. Change-Id: I4c349d82e3b2b35727c3f814116410dd1ffc8f37 Task: 36428 Story: 2006485
* | Merge "Only install monotonic on python2"Zuul2019-08-302-3/+8
|\ \
| * | Only install monotonic on python2Jon Schlueter2019-08-232-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | monotonic is a backport of time.monotonic from python3. Only install it for python2. Depends-On: https://review.openstack.org/615441 Change-Id: Id27cd748e883d54dd93dac2e6bd8caee6728f7e1
* | | Run 'telemetry-dsvm-integration-ipv6-only' job in gatezhurong2019-08-261-0/+4
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | As part of Train community goal 'Support IPv6-Only Deployments and Testing'[1], Tempest has defined the base job 'devstack-tempest-ipv6' which will deploy services on IPv6. This commit Run 'telemetry-dsvm-integration-ipv6-only' job in ceilometer gate. Story: #2005477 Task: #35939 [1] https://governance.openstack.org/tc/goals/train/ipv6-support-and-testing.html Change-Id: I068c996b04c75f0aa077b1902e7be2ab7afc3983
* | Fixing broken linksAlexandra Settle2019-08-092-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | 1. Dead link to the HA guide. Added a comment regarding availability and reliability. 2. Hyper-v link re-routed to Azure instead of Hyper-V. Updated this so it reflects Hyper-V docs. Suggestion: Might be worth mentioning which Hyper-V servers ceilometer actually supports. Change-Id: I4a56ee26ae39ab02bed8bac8d0e364322617622c backport: stein rocky
* | Get output for processutils.execute impi commandzhurong2019-08-071-1/+1
| | | | | | | | | | | | | | Without return will ony execute the command, but impi command need a output to parse, so this commit add a return for command execute. Change-Id: Id583cd0d9dcc30b59d2d70391ea5b1e6483decda
* | Unit field missing in snmp dataVinay Kapalavai2019-07-282-0/+18
| | | | | | | | | | | | | | | | | | | | | | Unit field is missing in snmp.yaml for hardware.cpu.* metrics as result it is throwing Missing field unit in the log files. Added unit as tick from looking at the telemetry-measurements doc upstream. Story: #2006287 Task: #35996 Change-Id: Id50bf64e2a69f7d5152040a6784b914dadf8d8d6
* | Windows: avoid passing conf objects to subprocessesDaniel Vincze2019-05-221-9/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | On Windows, cotyledon uses multiprocessing instead of forking. Meanwhile, config objects as well as service manager objects aren't pickleable. For this reason, we'll avoid passing unpickleable objects to subprocesses, making all the required initialization on the subprocess side. This change will allow ceilometer-polling to run on Windows. Change-Id: Id51db8f06f295bb7019915b53e560df52456cbda Closes-Bug: #1625602
* | Merge "metering data lost randomly"Zuul2019-05-201-3/+8
|\ \
| * | metering data lost randomlyzhang-shaoman2019-05-051-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Thread lock has been added for flush(), while queue may be modified in other places, which has not been protected, so need to add lock in such places too. Change-Id: I6b46f07690f2fc165fe27bf509ee8926656fd6b9 Closes-Bug: #1827768
* | | Cleanup option meter_definitions_cfg_filezhangxuanyuan2019-05-171-0/+5
| | | | | | | | | | | | | | | | | | | | | Remove deprecated option meter_definitions_cfg_file, use meter_definitions_dirs to configure meter notification file. Change-Id: If29aed358aaa370644d145ddd971af9384628e57
* | | Cap sphinx for py2 to match global requirementszhangboye2019-05-161-1/+2
| | | | | | | | | | | | Change-Id: Ib99fd21744813f3ed83fad989e1c91a2f2e99c17
* | | Add framework for ceilometer-status upgrade checkakhiljain232019-05-169-0/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds the functionality of ceilometer-status CLI for performing upgrade checks as part of the Stein cycle upgrade-checkers goal. It only includes a sample check which must be replaced by real checks in future. Change-Id: I6e76b74b2f02251ee39025e02de44b13568ebed2 Story: 2003657 Task: 27732
* | | Imported Translations from ZanataOpenStack Proposal Bot2019-05-151-1/+86
| | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I6f0ef04614c6e4bd69923033005745c9ad323fa8
* | | Merge "Update reno for stable/rocky"Zuul2019-05-152-0/+7
|\ \ \