Bug 1638045
Summary: | Metric capture tracebacks for Microsoft SCVMM provider | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Tasos Papaioannou <tpapaioa> |
Component: | C&U Capacity and Utilization | Assignee: | Adam Grare <agrare> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Tasos Papaioannou <tpapaioa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 5.9.5 | CC: | dmetzger, mfeifer, obarenbo, simaishi, smallamp, tpapaioa |
Target Milestone: | GA | ||
Target Release: | 5.10.0 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | 5.10.0.27 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-04-10 18:03:54 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | CFME Core | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1595696 |
Description
Tasos Papaioannou
2018-10-10 14:23:05 UTC
Please test with 5.9.4 and report results here. I tested and can see the same issue on 5.9.4, 5.9.3, and 5.9.2. Also tested and verified the same issue on 5.9.1 and 5.9 GA. New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/6e33bbe60eb27d03eb1c2aa748ada74b7daed1a8 commit 6e33bbe60eb27d03eb1c2aa748ada74b7daed1a8 Author: Adam Grare <agrare> AuthorDate: Mon Nov 26 12:52:19 2018 -0500 Commit: Adam Grare <agrare> CommitDate: Mon Nov 26 12:52:19 2018 -0500 Fix supports_capture assuming MetricsCapture class The supports :capture block assumes that the MetricsCapture class always exists even if metrics capture is unsupported which is not the case. Modify the block to check for the existence of the metrics capture class before checking its instance methods. Also fix the unsupported_reason_add setting the reason to the wrong feature key (:metrics when should have been :capture). Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1638045 app/models/metric/ci_mixin.rb | 5 +- spec/models/metric/ci_mixin_spec.rb | 22 + 2 files changed, 25 insertions(+), 2 deletions(-) New commit detected on ManageIQ/manageiq/hammer: https://github.com/ManageIQ/manageiq/commit/43ed8cb994eb57ae7f71eb0f3da0483660bc2c65 commit 43ed8cb994eb57ae7f71eb0f3da0483660bc2c65 Author: Keenan Brock <keenan> AuthorDate: Mon Nov 26 13:54:42 2018 -0500 Commit: Keenan Brock <keenan> CommitDate: Mon Nov 26 13:54:42 2018 -0500 Merge pull request #18233 from agrare/bz_1638045_fix_supports_capture Fix supports_capture assuming MetricsCapture class (cherry picked from commit 603d59a07d00289e03c0936f371145b2abe725d4) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1638045 app/models/metric/ci_mixin.rb | 5 +- spec/models/metric/ci_mixin_spec.rb | 22 + 2 files changed, 25 insertions(+), 2 deletions(-) Verified on 5.10.0.33 and 5.10.3.0. |