Bug 1465541

Summary: In case system project not exsit, no filters load on Ad hoc metrics
Product: Red Hat CloudForms Management Engine Reporter: Shalom Naim <snaim>
Component: ProvidersAssignee: Yaacov Zamir <yzamir>
Status: CLOSED CURRENTRELEASE QA Contact: Shalom Naim <snaim>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.8.0CC: epacific, gblomqui, jfrey, jhardy, obarenbo, simaishi, snaim, yzamir
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: container:ui
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1478532 (view as bug list) Environment:
Last Closed: 2018-03-06 15:14:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Container Management Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1478532    
Attachments:
Description Flags
Bug simulation
none
cfme logs
none
bug simulation none

Description Shalom Naim 2017-06-27 15:10:17 UTC
Description of problem:

On my system something want wrong on openShift, which caused the tenant "System" project to be unavailable.

Now, when I navigated to ad-hoc metrics it fail to get filters the first option on the dropdown list


Version-Release number of selected component (if applicable):
5.8.1.0

How reproducible:
delete Casandra pod on openShift and navigate to ad hoc view

Steps to Reproduce:
1. remove casanra pod on openshift (oc delete pod hawkular-cassandra-1-u8app -n )openshift-infra 
2.wait until the pod raise again
3.navigate to ad hoc and try to get matrices

Comment 2 Shalom Naim 2017-06-27 15:11:42 UTC
Created attachment 1292373 [details]
Bug simulation

Comment 3 Shalom Naim 2017-06-27 15:30:24 UTC
Created attachment 1292377 [details]
cfme logs

Comment 4 Shalom Naim 2017-06-27 15:51:01 UTC
Created attachment 1292400 [details]
bug simulation

Comment 5 Federico Simoncelli 2017-06-27 22:16:24 UTC
Nimrod, in case you need help to resolve this one you can ask Yaacov.

Comment 6 Yaacov Zamir 2017-07-02 12:45:48 UTC
submitted upstream:
https://github.com/ManageIQ/manageiq-ui-classic/pull/1639

Nimrod, Federico - Sorry, Shalom showed me this bug and I fixed it without knowing it was assign to Nimrod :-(

Comment 7 Yaacov Zamir 2017-07-11 11:29:33 UTC
merged upstream:
https://github.com/ManageIQ/manageiq-ui-classic/pull/1639