Bug 1626151 - CFME doesn't show Openstack Infrastructure nodes Utilization from OSP 14
Summary: CFME doesn't show Openstack Infrastructure nodes Utilization from OSP 14
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.10.0
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: GA
: 5.10.z
Assignee: Marek Aufart
QA Contact: Ido Ovadia
URL:
Whiteboard:
Depends On: 1659453
Blocks: 1569441 1637525
TreeView+ depends on / blocked
 
Reported: 2018-09-06 16:42 UTC by Ido Ovadia
Modified: 2020-07-01 13:48 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1637525 (view as bug list)
Environment:
Last Closed: 2020-07-01 13:48:44 UTC
Category: ---
Cloudforms Team: Openstack
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ido Ovadia 2018-09-06 16:42:29 UTC
Description of problem:
=======================
CFME doesn't show Openstack Infrastructure timelines from OSP 14 

Version-Release number of selected component:
=============================================
CFME 5.10.0.14 RHOS14

How reproducible:
=================
100%

Steps to Reproduce:
===================
1. Deploy Rhos 14, SSL Undercloud and Overcloud and connect to CFME
2. Do some operation on the cloud
3. Browse to: Compute --> Infastructure --> Nodes 
4. Click on node 
5. Click Monitoring --> Utilization 

Actual results:
===============
Can't click on Utilization, it is gray out

evm.log
-------

----] I, [2018-09-06T12:18:27.039178 #15949:8aca67c]  INFO -- : Querying OpenStack for events newer than 2018-09-06T16:00:40.780565...
[----] E, [2018-09-06T12:18:27.051699 #15361:d62f7c] ERROR -- : MIQ(ManageIQ::Providers::Openstack::InfraManager::MetricsCapture#perf_collect_metrics) [realtime] for: [ManageIQ::Providers::Openstack::InfraMan
ager::Host], [10000000000001], [d962e650-867e-4e24-9935-6eb118e5d108 (NovaCompute)] Unhandled exception during perf data collection: [MiqException::ServiceNotAvailable], class: [MiqException::ServiceNotAvaila
ble]
[----] E, [2018-09-06T12:18:27.051823 #15361:d62f7c] ERROR -- : MIQ(ManageIQ::Providers::Openstack::InfraManager::MetricsCapture#perf_collect_metrics) [realtime] for: [ManageIQ::Providers::Openstack::InfraMan
ager::Host], [10000000000001], [d962e650-867e-4e24-9935-6eb118e5d108 (NovaCompute)]   Timings at time of error: {:capture_state=>0.0026090145111083984, :connect=>2.5450081825256348}
[----] E, [2018-09-06T12:18:27.051999 #15361:d62f7c] ERROR -- : [MiqException::ServiceNotAvailable]: MiqException::ServiceNotAvailable  Method:[block (2 levels) in <class:LogProxy>]
[----] I, [2018-09-06T12:18:27.052287 #15361:d62f7c]  INFO -- : Exception in realtime_block :total_time - Timings: {:capture_state=>0.0026090145111083984, :connect=>2.5450081825256348, :total_time=>2.55046844
48242188}
[----] E, [2018-09-06T12:18:27.052514 #15361:d62f7c] ERROR -- : MIQ(MiqQueue#deliver) Message id: [10000000064181], Error: [MiqException::ServiceNotAvailable]
[----] I, [2018-09-06T12:18:27.052629 #15361:d62f7c]  INFO -- : MIQ(MiqQueue#delivered) Message id: [10000000064181], State: [error], Delivered in [2.564666691] seconds
[----] I, [2018-09-06T12:18:27.055632 #15361:d62f7c]  INFO -- : MIQ(MiqQueue#m_callback) Message id: [10000000064181], Invoking Callback with args: [[10000000004080, 10000000004080], "error", "MiqException::S
erviceNotAvailable", "nil"]


Expected results:
=================
Utilization sould display

Additional info:
================
Metrics don't shown on OSP CLI too.
Seems related to: https://bugzilla.redhat.com/show_bug.cgi?id=1623387

Comment 3 Alexander Demicev 2018-11-01 13:02:21 UTC
Removing dependency on 1623387, since python-gnocchiclient is just a cli for communicating with Gnocchi API. CF doesn't talk with gnocchi API via python-gnocchiclient, it's done via Fog library.

Comment 5 Ido Ovadia 2018-11-04 13:47:14 UTC
Failed QA
=========
CFME 5.10.0.21

OpenStack configured correctly and telemetry enabled

e.g, this one show compute instance memory metrics:

(undercloud) [stack@undercloud-0 ~]$ openstack metric measures show 8799a495-e86b-4037-8b27-b2651d907687
+---------------------------+-------------+---------+
| timestamp                 | granularity |   value |
+---------------------------+-------------+---------+
| 2018-10-24T13:15:00-04:00 |       300.0 | 12288.0 |
+---------------------------+-------------+---------+


But on CFME UI: Can't click on Utilization, it is gray out

Comment 18 dmetzger 2019-08-01 14:09:22 UTC
Lowering the priority as the blocker BZ https://bugzilla.redhat.com/show_bug.cgi?id=1659453 was closed for insufficient data. We can re-adjust the priority once unblocked.


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