Bug 1437927
| Summary: | gnocchi metric doesn't exist error while using metric id with "gnocchi measures" | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | VIKRANT <vaggarwa> |
| Component: | openstack-gnocchi | Assignee: | Mehdi ABAAKOUK <mabaakou> |
| Status: | CLOSED NOTABUG | QA Contact: | Sasha Smolyak <ssmolyak> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 10.0 (Newton) | CC: | apevec, jschluet, lhh, mabaakou, vaggarwa |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-04-10 16:16:13 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: | |||
|
Description
VIKRANT
2017-03-31 12:55:51 UTC
You must not set the resource-id if you get the measures with the metric id, this is enough: $ gnocchi measures show 5345d4cd-2963-4975-830a-a450aae945d2 When resource-id is set that means that the metric argument is a name and not an ID. In your case metric ID "5345d4cd-2963-4975-830a-a450aae945d2" is the cpu.util of the instance a6508f68-d8bf-4833-995a-4fc864297875 You need to choice between metric ID, or resource ID + metric name. Mixing them doesn't work. Does that answer your question ? Thank. Yes, it does answer my query. I was mixing metric id + instance id which as per your comment is not a valid combination. Closing this bug. Once again, thanks for your help. |