Bug 1626144

Summary: CFME doesn't show Openstack Infrastructure timelines from OSP 14
Product: Red Hat CloudForms Management Engine Reporter: Ido Ovadia <iovadia>
Component: ProvidersAssignee: Alexander Demicev <ademicev>
Status: CLOSED CURRENTRELEASE QA Contact: Ido Ovadia <iovadia>
Severity: high Docs Contact:
Priority: high    
Version: 5.10.0CC: dmetzger, gblomqui, iovadia, jfrey, jhardy, obarenbo, ohochman, slucidi
Target Milestone: GAKeywords: Regression, Reopened
Target Release: 5.10.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-12 16:52:52 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:
Embargoed:
Bug Depends On: 1623387    
Bug Blocks:    

Description Ido Ovadia 2018-09-06 16:24:36 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 (in order to list events)
   e.g power off/on a node, create volumes, networks and instances power off/on 
3. Check infrastructure timelines and cloud timelines 

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



----] 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:
=================
No error on log, events should list 

Additional info:
================
Events doesn't show on OSP CLI too.

Comment 6 Omri Hochman 2018-10-31 12:43:00 UTC
the issue is still relevant, even if the solution is dependent on fix for that, I would expect to switch the BZ to ON_QA for verification one we have that RPM on the undercloud.  

https://bugzilla.redhat.com/show_bug.cgi?id=1623387

Comment 7 Alexander Demicev 2018-11-01 12:59:23 UTC
Hello, 
I think it may not depend on 1623387, since python-gnocchiclient is just a cli for communicating with Gnocchi API.

Comment 8 Alexander Demicev 2018-11-01 13:00:33 UTC
CF doesn't talk with gnocchi API via python-gnocchiclient, it's done via Fog library.

Comment 10 Ido Ovadia 2018-11-11 12:37:30 UTC
Verified
========
CFME 5.10.0.23