summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [stable-only] Add confluent-kafka to test-requirementsqueens-eolstable/queensElod Illes2020-05-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As confluent-kafka 1.4.2 was released, which is based on librdkafka v1.4.2, which drops python 2 support, the py27 tox job started to fail with the following error: [..]/confluent_kafka/cimpl.so: undefined symbol: PyUnicodeUCS2_FromObject confluent-kafka is pulled in by an extra with oslo.messaging. In oslo.messaging's setup.cfg kafka is lower constrained only [1]. oslo.messaging uses global upper-constraints.txt which constrain confluent-kafka to version 0.11.6. Ceilometer however does not use global upper-constraints.txt, so when installing oslo.message[kafka] it pulls in latest confluent-kafka. To avoid failure of py27 tox target, this patch introduces explicit requirement of confluent-kafka, with an upper constraint for python 2. NOTE(elod.illes): this patch is only needed in Stein and older stable branches, as from Train ceilometer uses global upper-constraints.txt. Conflicts: test-requirements.txt [1] https://opendev.org/openstack/oslo.messaging/src/branch/stable/stein/setup.cfg#L28 Change-Id: Ia0d4b2c3d46764315b02e7fb2ade17a73a46f4b7 (cherry picked from commit 41428813d89c000c1d05718e4fb73cea6f02c88c) (cherry picked from commit 93baa22645d5ba64fa8b1d44cc97525437312256)
* Temporary failures should be treated as temporary.Matthias Runge2020-05-053-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)
* [stable-only] Cap msgpackElod Illes2020-02-191-1/+1
| | | | | | | | | | | | | | | periodic job py27 started to fail with: TypeError: __init__() got an unexpected keyword argument 'encoding' This failure comes with the new version of msgpack (1.0.0). Since ceilometer does not use global upper-constraints.txt from requirements repository, msgpack has to be constrained in requirements.txt Change-Id: I3ca76c80b96d49d4d256110c8fca13f9365add0d (cherry picked from commit f63a65acc0b70699e366f2ffe9f449835020e107) (cherry picked from commit 9923f27d24ef91f8600f428546df035214f6ec15)
* [stable-only] Fix sphinx requirementElod Illes2019-05-101-1/+1
| | | | | | | | | | | | | | | | | | | | | Sphinx 2.0.0 dropped python 2.7 and 3.4 support. Ceilometer use global upper-constraints.txt only from Train, before that there isn't any upper constraint for the packages and job openstack-tox-py27 tries to install Sphinx 2.0.1 and fails [1] with: Downloading http://mirror.dfw.rax.openstack.org/wheel/ubuntu-16.04-x86_64/sphinx/Sphinx-2.0.1-py2.py3-none-any.whl (3.2MB) ERROR: Sphinx requires Python '>=3.5' but the running Python is 2.7.12 Conflicts: test-requirements.txt Note(elod.illes): conflict caused by not having patch I9e8b79d7a18cd36946daff10abb1a2f43b1aa3a1 in stable/queens. [1] http://logs.openstack.org/periodic-stable/opendev.org/openstack/ceilometer/stable/rocky/openstack-tox-py27/b47132e/job-output.txt.gz#_2019-05-10_06_26_02_016271 Change-Id: I4ad330dce974236be90259cd6e9f48585ff44816 (cherry picked from commit e47d366fbba74150e1e39785bb1f4a7a5d2011ea)
* Add new attributes to instanceMehdi Abaakouk2019-05-034-1/+22
| | | | | | | | | | | | | | This change adds launched_at/started_at/deleted_at attribute to instance. Rely on started_at/ended_at of Gnocchi to known when the operation have done is not precise. Nova records the exact time of this event, just copy them to Gnocchi. Backport to queens. Signed-off-by: Ryan McCabe <rmccabe@redhat.com> Change-Id: If7870fd525d1ef58e4c2dbbbf93525bab3623b0f (cherry picked from commit 36414e1cebe3a43d962f8d2adfe7cc34742e9057)
* Merge "Remove _ceilometer_check_for_storage check" into stable/queensZuul2019-04-291-18/+0
|\
| * Remove _ceilometer_check_for_storage checkzhurong2019-04-281-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We can check from the history[0], actually it doesn't matter if gnocchi or panko is started first., so this check is unnecessary. Also when i want to migration using native zuulv3, the enabled plugins is in the alphabetical order, so this will caused can not install devstack correctly. [0]: https://review.opendev.org/#/c/387620 [1]: http://logs.openstack.org/99/651999/3/check/telemetry-integration-test/9066108/controller/logs/devstacklog.txt.gz#_2019-04-17_07_26_30_988 Change-Id: I5cbd93739f75b8141f8b79ae03bb8b99756b2a38 (cherry picked from commit 27eb3f431e177054789ef47859517d10862bc902) (cherry picked from commit ac190d5087e17231cb388882e68029e17327deca)
* | tempest: Allow to configure tempest configzhurong2019-04-282-0/+6
|/ | | | Change-Id: Ied0822ee1031c399c7aa86482e8f570c48c3935e
* OpenDev Migration PatchOpenDev Sysadmins2019-04-193-8/+8
| | | | | | | | | | | | | | | 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.
* Replace openstack.org git:// URLs with https://Ian Wienand2019-03-243-4/+4
| | | | | | | | | | | | | | | | | 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: I98fb2b252f1c865494ce6cceca706c56be8230ae
* Merge "Only print polling.yaml file contents as DEBUG" into stable/queensZuul2019-01-171-1/+1
|\
| * Only print polling.yaml file contents as DEBUGEdward Hope-Morley2019-01-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since this file can contain sensitive information such as admin credentials of target resources (e.g. snmp) it is not a good idea to print this log as INFO since admins might want to have INFO level logging but without the risk of it containing this kind of information. We might want to consider remmoving this log altogether. Closes-Bug: #1811098 (cherry picked from commit 8881a42af169a2d7c912b1434911f978883c83f3) (cherry picked from commit 50f268f23852af2b1bc5f1aed4405786a47b7839) Change-Id: Iff5fcc4b6c30142f2c5c9ad26027dc5a6542a881
* | Use kafka extras for oslo.messagingElod Illes2018-12-131-1/+1
|/ | | | | | | | | | | | | | | | | oslo.messaging replaced kafka-python to confluent-kafka [1], so instead of adding the kafka-python to test-requirements the oslo-messaging[kafka] should be used. [1] https://github.com/openstack/oslo.messaging/blob/master/releasenotes/notes/kafka-client-library-change-fe16d5a34550db7f.yaml#L11 Closes-Bug: #1808350 Conflicts: test-requirements.txt Change-Id: If56890b35bbe40141c01467e47bccdf4d5584e86 (cherry picked from commit 87611fe375857990fbb084619a7ef91be39bdc03) (cherry picked from commit 9c9110278a9521dc821b80e6c4c23bc6d01b6cf9)
* Fix ceilometer polling process not able to coordinate issueLeehom Li (feli5)2018-10-111-1/+6
| | | | | | | | | | | Add option start_heart=True when start partition_coordinator to prevent old member be overwritten when new member joined group Besides upadte member information each time before doing poll Change-Id: I3d0acda90a57b4cb32468433f6bd593a038e76ec Closes-Bug: #1787125 Signed-off-by: Leehom Li (feli5) <feli5@cisco.com> (cherry picked from commit 4e627004f6a21bfe248d82a32818faabf1834c06)
* import zuul job settings from project-configDoug Hellmann2018-08-311-0/+7
| | | | | | | | | | | | | | | | | | | | 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: Ib99abb50b304a37b831946ecbc113536caedef4d Story: #2002586 Task: #24339
* Merge "Remove notused playbook" into stable/queensZuul2018-06-262-137/+0
|\
| * Remove notused playbookMehdi Abaakouk2018-06-132-137/+0
| | | | | | | | | | Depends-On: I01f2d18b9bd1afc1ad21c8311a355f2352a97539 Change-Id: Ia3d21ebe18a8d2a4c3ebb34ae391a228b8592ddd
* | snmp: make oid value retrieval more solidqueens-em10.0.1Julien Danjou2018-05-041-7/+5
|/ | | | | | | There's no need to try to convert before ignoring. Change-Id: Ie9dcb63c43e7d69ce25aff62a2575b89f26ffca5 (cherry picked from commit 7de90448e6c61a8bef7663ad87a87b3be587b36e)
* avoid verbose tracebacks on known errorsgord chung2018-03-285-34/+29
| | | | | | | | | | - log that no pollsters loaded rather than throwing error - ipmi are expected to be missing as note says, just debug logs with details rather than massive traceback. Closes-Bug: #1747536 Change-Id: Ib592c84dca017e94c66aad0170f0317e514fd747 (cherry picked from commit 35f65339992c320b8aab89dab2517281d225d01b)
* Merge "add disk.device.*.latency meters" into stable/queensZuul2018-03-163-0/+17
|\
| * add disk.device.*.latency metersgord chung2018-02-263-0/+17
| | | | | | | | | | | | | | | | | | it's missing from docs and gnocchi see: I0235087af459278b9ad0a66f95c4e4c4ac72e112 Change-Id: If2bad05c52c636c728c95ab6e9520cb6467a99e1 (cherry picked from commit 8fdd19e78a2053285569cda05cdc4875b716190c)
* | Merge "update ipmi docs" into stable/queensZuul2018-03-085-33/+59
|\ \
| * | update ipmi docsgord chung2018-02-275-33/+59
| |/ | | | | | | | | | | | | | | | | | | - add install instructions - fix docs to better show ipmi meters from notifications(ironic) and pollsters(ipmitool/node manager) Closes-Bug: #1746736 Change-Id: Ia83b56006e201bb0f8681ac1299387fb2ee6bdb6 (cherry picked from commit 8e06ebcecfcf7245dbbfe693e0cae36ed7a92952)
* | Imported Translations from ZanataOpenStack Proposal Bot2018-03-017-1291/+20
|/ | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I2e29585d57d176c47b1b0f85482d8149c4c6b7ba
* Gracefully handle missing metadata in libvirt xmlLars Kellogg-Stedman2018-02-201-22/+35
| | | | | | | | | | | | | | | Missing metadata in the libvirt domain xml for a nova instance would cause ceilometer-compute to abort, leading to missing metrics for the current and any subequent libvirt guests. This commit puts a try/except AttributeError block around all the code that is fetching attributes on the result of metadata_xml.find(...). also pull in I41aa76cf9def3e8c4bceef0280d15c1fd7c48e3d Change-Id: I8adc609cc21c86de2daba326d24b73a80d6eb61f Closes-Bug: #1749960 (cherry picked from commit d2af7e9ece2f903633bf4e95208b2e3ba6ac464d)
* ignore compute.instance.update for metricsgord chung2018-02-141-1/+1
| | | | | | | | | | | | | nova sends *.update events in between create.start and create.end events and it might not have a host name (which we need). in reality to any changes to vcpus/memory/root_gb/ephemeral_gb metrics will either send a *.resize notification and/or require a reboot which sends it's own notification. because of that, just ignore *.update notifications Change-Id: I1f975c2d73adfc19126d70bdb1ab452e37b278fd closes-bug: #1718290 (cherry picked from commit 192620941c01f3f4f1205be457e5efdfe321c0b0)
* Merge "Update .gitreview for stable/queens" into stable/queensZuul2018-02-081-0/+1
|\
| * Update .gitreview for stable/queensOpenStack Release Bot2018-02-081-0/+1
| | | | | | | | Change-Id: I6d9055be865dee27d9b21dec095ac2a48ee1e3e1
* | Use msgpack instead of msgpack-pythonThomas Bechtold2018-02-081-1/+1
|/ | | | | | | | | | | | | msgpack-python got renamed to msgpack (see https://pypi.python.org/pypi/msgpack-python/0.5.1) and msgpack-python is deprecated now. This is important because other requirements already switched to msgpack (eg. oslo.serialization) and installing both in parallel is not possible for Distros. Change-Id: I603eadbc2a5e1705375050920d5f1631c51a5a02 Closes-Bug: #1743445 (cherry picked from commit 2452958be4f4ef9c93d6ea2f1596e6040c17e24b)
* Merge "add hardware.disk.read|write.* stats"10.0.0Zuul2018-02-074-0/+68
|\
| * add hardware.disk.read|write.* statsgord chung2018-02-054-0/+68
| | | | | | | | | | | | | | | | enable read|write hardware stats via snmp see: http://www.circitor.fr/Mibs/Html/U/UCD-DISKIO-MIB.php Change-Id: I98bad10df94539a711382bef6a48163660a79bba
* | Merge "utils: move hash_of_set where it's solely used"Zuul2018-02-074-37/+14
|\ \
| * | utils: move hash_of_set where it's solely usedJulien Danjou2018-01-314-37/+14
| | | | | | | | | | | | Change-Id: I5a842da34c1c2cf96eb24b2d086f5992c4990af1
* | | Merge "Imported Translations from Zanata"Zuul2018-02-071-4/+13
|\ \ \
| * | | Imported Translations from ZanataOpenStack Proposal Bot2018-02-061-4/+13
| | |/ | |/| | | | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I173ccdf966a78697fde223b930c112cdbe0b3b3b
* | | Merge "utils: move kill_listeners to ceilometer.notification"Zuul2018-02-063-14/+12
|\ \ \ | | |/ | |/|
| * | utils: move kill_listeners to ceilometer.notificationJulien Danjou2018-01-313-14/+12
| | | | | | | | | | | | Change-Id: I9da63dcf30c11b58298c6db89090fe9e27a8065a
* | | Merge "add volume.provider.* meters to docs"Zuul2018-02-062-1/+42
|\ \ \
| * | | add volume.provider.* meters to docsgord chung2018-02-052-1/+42
| | | | | | | | | | | | | | | | | | | | Change-Id: I3f562bc5b6e5690a74ab22af82be720c605fb08b Implements: cinder-capacity-notifications
* | | | Merge "Remove bundled intree ceileometer tempest plugin"Zuul2018-02-0622-1488/+0
|\ \ \ \ | |_|_|/ |/| | |
| * | | Remove bundled intree ceileometer tempest pluginChandan Kumar2018-01-1522-1488/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * All the telemetry related projects intree tempest plugins are now moved to telemetry-tempest-plugin Change-Id: I57738964f65495364dcc74821634d54aea1769fd
* | | | Merge "add volume provider resource types to gnocchi"Zuul2018-02-052-0/+31
|\ \ \ \ | | |/ / | |/| |
| * | | add volume provider resource types to gnocchigord chung2018-01-242-0/+31
| | | | | | | | | | | | | | | | | | | | Implements: cinder-capacity-notifications Change-Id: I23429467e61fea701949b99a2ac53eb988a6cf64
* | | | Merge "support cinder capacity statistics"Zuul2018-02-051-0/+80
|\ \ \ \ | |/ / /
| * | | support cinder capacity statisticsgord chung2018-01-241-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cinder sends a notification about its capacity: https://review.openstack.org/#/c/206923 for provider pool, the name_to_id is an concatenation of host#pool_name. Change-Id: Ica0b55658ae9ac9ec1ed4ef5ab8cda450a139c7d Implements: cinder-capacity-notifications
* | | | Merge "add note explaining gnocchi coordination_url"Zuul2018-02-051-0/+2
|\ \ \ \
| * | | | add note explaining gnocchi coordination_urlgord chung2018-02-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I632663679d0649e1d5912aef98a65c610fdeaac2 Partial-Bug: #1745806
* | | | | Merge "Deprecate aggregated disk.* metrics on instance"Zuul2018-02-053-4/+20
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Deprecate aggregated disk.* metrics on instanceMehdi Abaakouk2018-02-023-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | disk.* are just aggregates of disk.device.*. We basically build the same think twice. It's up to the backend (ie: Gnocchi) to aggregate them if someone want the aggregate. Change-Id: I612b575004f65665f8630f19f56c2fb3637448fd
* | | | | Merge "Zuul: Remove project name"Zuul2018-02-021-1/+0
|\ \ \ \ \ | |/ / / / |/| | | |