| Summary: | Metrics capture does not work in Cloud - moved to gnocchi API in OSP10 | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Marek Aufart <maufart> | |
| Component: | Providers | Assignee: | Marek Aufart <maufart> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Omri Hochman <ohochman> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 5.7.0 | CC: | cpelland, dcain, jfrey, jhardy, obarenbo, tzumainn | |
| Target Milestone: | GA | Keywords: | TestOnly | |
| Target Release: | 5.8.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | openstack | |||
| Fixed In Version: | 5.8.0.0 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1395223 (view as bug list) | Environment: | ||
| Last Closed: | 2017-06-12 17:41:01 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | Openstack | Target Upstream Version: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 1395223 | |||
Upstream PR: https://github.com/ManageIQ/manageiq/pull/12396 with dependency on https://github.com/ManageIQ/manageiq-gems-pending/pull/9 verified on 5.8.0.4 The default RHOS10 are Gnocchi, metrics has been collected |
Description of problem: OSP 10 moved metrics-related API calls to Gnocchi. We need update Openstack provider with a new service for metrics called Gnocchi (different to metering for Ceilometer) and use it for metrics loading from Overcloud. Undercloud should use an existing Ceilometer API calls in OSP10 and older (and in close future until Gnocchi appears in overcloud - 11/Ocata or later). Version-Release number of selected component (if applicable): 5.7, 5.6 How reproducible: always with OSP10 overcloud Steps to Reproduce: 1. setup OSP10 2. add Cloud provider 3. provision an instance 4. capture metrics from rails console - Vm.last.perf_capture("realtime", 3.hours.ago.utc, Time.now.utc) Actual results: getting 410 error for /v2/meters: This telemetry installation is configured to use Gnocchi. Please use the Gnocchi API available on the metric endpoint to retrieve data. Expected results: no errors, metrics were loaded Additional info: Error log: http://paste.openstack.org/show/586570/