Bug 1918349
| Summary: | [RFE] Implement new Aodh alarm type for aggregates | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Takashi Kajinami <tkajinam> |
| Component: | openstack-aodh | Assignee: | Yadnesh Kulkarni <ykulkarn> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Leonid Natapov <lnatapov> |
| Severity: | medium | Docs Contact: | mgeary <mgeary> |
| Priority: | medium | ||
| Version: | 16.1 (Train) | CC: | apevec, csibbitt, jjoyce, jschluet, lhh, lmadsen, mmagr, mrunge, ykulkarn |
| Target Milestone: | ga | Keywords: | FutureFeature, Triaged |
| Target Release: | --- | Flags: | ifrangs:
needinfo?
(ykulkarn) |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-aodh-12.0.1-1.20221111060713.ef6b6c8.el9osttrunk | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-03-15 13:32:04 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
Takashi Kajinami
2021-01-20 14:08:40 UTC
The similar issue was reported in the community. https://github.com/gnocchixyz/gnocchi/issues/1044 In the above discussion it was mentioned that using reaggregation would solve the problem, and in fact gnocchi returns "better" results (I've not yet confirmed that this is CORRECT) with --reaggregation mean. (overcloud) [stack@undercloud-0 ~]$ gnocchi measures show 61628b14-d9b2-4c20-b990-1352ef060b10 +---------------------------+-------------+---------------+ | timestamp | granularity | value | +---------------------------+-------------+---------------+ | 2021-01-20T13:15:00+00:00 | 300.0 | 12460000000.0 | | 2021-01-20T13:20:00+00:00 | 300.0 | 13730000000.0 | | 2021-01-20T13:25:00+00:00 | 300.0 | 15080000000.0 | | 2021-01-20T13:30:00+00:00 | 300.0 | 16290000000.0 | | 2021-01-20T13:35:00+00:00 | 300.0 | 17510000000.0 | | 2021-01-20T13:40:00+00:00 | 300.0 | 18700000000.0 | | 2021-01-20T13:45:00+00:00 | 300.0 | 19880000000.0 | | 2021-01-20T13:50:00+00:00 | 300.0 | 21090000000.0 | | 2021-01-20T13:55:00+00:00 | 300.0 | 22290000000.0 | | 2021-01-20T14:00:00+00:00 | 300.0 | 23500000000.0 | | 2021-01-20T14:05:00+00:00 | 300.0 | 24700000000.0 | +---------------------------+-------------+---------------+ (overcloud) [stack@undercloud-0 ~]$ gnocchi measures show 0b815173-e7a4-438a-8e9d-cbe9d449edc9 +---------------------------+-------------+-----------------+ | timestamp | granularity | value | +---------------------------+-------------+-----------------+ | 2021-01-20T12:45:00+00:00 | 300.0 | 12520000000.0 | | 2021-01-20T12:50:00+00:00 | 300.0 | 13740000000.0 | | 2021-01-20T12:55:00+00:00 | 300.0 | 15060000000.0 | | 2021-01-20T13:00:00+00:00 | 300.0 | 16270000000.0 | | 2021-01-20T13:05:00+00:00 | 300.0 | 17480000000.0 | | 2021-01-20T13:10:00+00:00 | 300.0 | 42370000000.0 | | 2021-01-20T13:15:00+00:00 | 300.0 | 340970000000.0 | | 2021-01-20T13:20:00+00:00 | 300.0 | 638260000000.0 | | 2021-01-20T13:25:00+00:00 | 300.0 | 934970000000.0 | | 2021-01-20T13:30:00+00:00 | 300.0 | 1233120000000.0 | | 2021-01-20T13:35:00+00:00 | 300.0 | 1530310000000.0 | | 2021-01-20T13:40:00+00:00 | 300.0 | 1828570000000.0 | | 2021-01-20T13:45:00+00:00 | 300.0 | 2125600000000.0 | | 2021-01-20T13:50:00+00:00 | 300.0 | 2423520000000.0 | | 2021-01-20T13:55:00+00:00 | 300.0 | 2721700000000.0 | | 2021-01-20T14:00:00+00:00 | 300.0 | 3019660000000.0 | | 2021-01-20T14:05:00+00:00 | 300.0 | 3316890000000.0 | +---------------------------+-------------+-----------------+ (overcloud) [stack@undercloud-0 ~]$ gnocchi measures show 754f6645-210e-46c1-8f1f-ff87f464d042 +---------------------------+-------------+---------------+ | timestamp | granularity | value | +---------------------------+-------------+---------------+ | 2021-01-20T13:20:00+00:00 | 300.0 | 12680000000.0 | | 2021-01-20T13:25:00+00:00 | 300.0 | 13850000000.0 | | 2021-01-20T13:30:00+00:00 | 300.0 | 15160000000.0 | | 2021-01-20T13:35:00+00:00 | 300.0 | 16340000000.0 | | 2021-01-20T13:40:00+00:00 | 300.0 | 17530000000.0 | | 2021-01-20T13:45:00+00:00 | 300.0 | 18690000000.0 | | 2021-01-20T13:50:00+00:00 | 300.0 | 19880000000.0 | | 2021-01-20T13:55:00+00:00 | 300.0 | 21080000000.0 | | 2021-01-20T14:00:00+00:00 | 300.0 | 22250000000.0 | | 2021-01-20T14:05:00+00:00 | 300.0 | 23430000000.0 | +---------------------------+-------------+---------------+ (overcloud) [stack@undercloud-0 ~]$ openstack metric measures aggregation --resource-type instance --granularity 300 --aggregation rate:mean --metric cpu --query server_group=ef852196-edf3-43f7-9f01-cb0689cb8a04 --needed-overlap 0 --reaggregation mean +---------------------------+-------------+--------------------+ | timestamp | granularity | value | +---------------------------+-------------+--------------------+ | 2021-01-20T13:25:00+00:00 | 300.0 | 99743333333.33333 | | 2021-01-20T13:30:00+00:00 | 300.0 | 100223333333.33333 | | 2021-01-20T13:35:00+00:00 | 300.0 | 99863333333.33333 | | 2021-01-20T13:40:00+00:00 | 300.0 | 100213333333.33333 | | 2021-01-20T13:45:00+00:00 | 300.0 | 99790000000.0 | | 2021-01-20T13:50:00+00:00 | 300.0 | 100106666666.66667 | | 2021-01-20T13:55:00+00:00 | 300.0 | 100193333333.33333 | | 2021-01-20T14:00:00+00:00 | 300.0 | 100113333333.33333 | | 2021-01-20T14:05:00+00:00 | 300.0 | 99870000000.0 | +---------------------------+-------------+--------------------+ (overcloud) [stack@undercloud-0 ~]$ openstack metric measures aggregation --resource-type instance --granularity 300 --aggregation rate:mean --metric cpu --query server_group=ef852196-edf3-43f7-9f01-cb0689cb8a04 --needed-overlap 0 +---------------------------+-------------+---------------------+ | timestamp | granularity | value | +---------------------------+-------------+---------------------+ | 2021-01-20T13:30:00+00:00 | 300.0 | 480000000.0 | | 2021-01-20T13:35:00+00:00 | 300.0 | -360000000.0 | | 2021-01-20T13:40:00+00:00 | 300.0 | 350000000.0 | | 2021-01-20T13:45:00+00:00 | 300.0 | -423333333.33332825 | | 2021-01-20T13:50:00+00:00 | 300.0 | 316666666.66667175 | | 2021-01-20T13:55:00+00:00 | 300.0 | 86666666.6666565 | | 2021-01-20T14:00:00+00:00 | 300.0 | -80000000.0 | | 2021-01-20T14:05:00+00:00 | 300.0 | -243333333.33332825 | +---------------------------+-------------+---------------------+ However even if we can solve the issue by reaggregation, the problem here would be that aodh doesn't support reaggregation or any combined aggregations, IIUC. This bug was reported for 16.1, since there aren't any plans to release 16.1 z-streams any more, should we close this bug as won't fix ? Fixes for this bug have been backported to: 16.2 - https://bugzilla.redhat.com/show_bug.cgi?id=2133030 17.0 - https://bugzilla.redhat.com/show_bug.cgi?id=2133029 17.1 - https://bugzilla.redhat.com/show_bug.cgi?id=2133027 Yes, this totally makes sense to close it. (In reply to Matthias Runge from comment #18) > Yes, this totally makes sense to close it. This has been closed, but did anyone consider release note or documentation implication? Should there be documentation for this feature, or a release note rather than silently closing this? (In reply to Leif Madsen from comment #19) > (In reply to Matthias Runge from comment #18) > > Yes, this totally makes sense to close it. > > This has been closed, but did anyone consider release note or documentation > implication? Should there be documentation for this feature, or a release > note rather than silently closing this? Do you suggest to document that this was not fixed, where it has been fixed in 16.2, 17.0, and 17.1, see bugs in https://bugzilla.redhat.com/show_bug.cgi?id=1918349#c17 ? These bugs have doc texts. |