Bug 1258383
Summary: | Failed to update 'query' field for threshold based alarm | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Yurii Prokulevych <yprokule> | ||||
Component: | python-ceilometerclient | Assignee: | Pradeep Kilambi <pkilambi> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Yurii Prokulevych <yprokule> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 5.0 (RHEL 7) | CC: | eglynn, jruzicka, mburns, ohochman, pbrady, rhel-osp-director-maint, sclewis, scohen, yeylon | ||||
Target Milestone: | --- | Keywords: | ZStream | ||||
Target Release: | 5.0 (RHEL 7) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | python-ceilometerclient-1.0.14-2.el7ost | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-12-16 15:55:26 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Yurii Prokulevych
2015-08-31 09:06:56 UTC
Seem like a python-ceilometerclient oversight, as the threshold_rule query is not set appropriately in the outgoing PUT request. Same behaviour while updating user_id or project_id. Regards, Yurii The issue with user_id and project_id is something that has been fixed in a relatively recent version of ceilometerclient (one that is later than Kilo): https://bugs.launchpad.net/python-ceilometerclient/+bug/1395932 Given that this is a pretty long standing bug I'm not sure of the process there? I'm still working through the issue with query. To make sure the error is where we think it is, I confirmed that the tests cases work with modern python-ceilometerclient (installed from pypi) and a rhos5 setup. I'm still trying to find the relevant change. It is non obvious. :( Some more information. The fix was at the commit linked to this bug: https://bugs.launchpad.net/python-ceilometerclient/+bug/1313676 The basic problem is that the v2/shell.py is not assigning the query string to the right destination so it is dropped. The version of ceilometerclient in rhos5 is 1.0.10. The fix is in 1.0.11 and 1.0.12. The branch tagged 1.0.12 is also tagged 'icehouse-eol'. Can we just update to a newer packaging of the client? If so, how? |