Bug 1387310 - Metrics capture does not work in Cloud - moved to gnocchi API in OSP10
Summary: Metrics capture does not work in Cloud - moved to gnocchi API in OSP10
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.8.0
Assignee: Marek Aufart
QA Contact: Omri Hochman
URL:
Whiteboard: openstack
Depends On:
Blocks: 1395223
TreeView+ depends on / blocked
 
Reported: 2016-10-20 15:20 UTC by Marek Aufart
Modified: 2018-06-15 13:57 UTC (History)
6 users (show)

Fixed In Version: 5.8.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1395223 (view as bug list)
Environment:
Last Closed: 2017-06-12 17:41:01 UTC
Category: ---
Cloudforms Team: Openstack
Target Upstream Version:


Attachments (Terms of Use)

Description Marek Aufart 2016-10-20 15:20:36 UTC
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/

Comment 2 Marek Aufart 2016-11-14 17:47:38 UTC
5.7 PR: https://github.com/ManageIQ/manageiq/pull/12547

Comment 5 Ronnie Rasouli 2017-03-14 14:29:39 UTC
verified on 5.8.0.4

The default RHOS10 are Gnocchi, metrics has been collected


Note You need to log in before you can comment on or make changes to this bug.