Bug 1282815

Summary: Cannot refresh openshift due to missing permissions for componentstatuses
Product: Red Hat CloudForms Management Engine Reporter: Mooli Tayer <mtayer>
Component: ProvidersAssignee: Mooli Tayer <mtayer>
Status: CLOSED ERRATA QA Contact: Einat Pacifici <epacific>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.5.0CC: cpelland, gblomqui, jfrey, jhardy, obarenbo, simaishi
Target Milestone: GA   
Target Release: 5.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: container
Fixed In Version: 5.5.0.11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-08 13:47:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mooli Tayer 2015-11-17 14:10:55 UTC
Description of problem:
When trying to refresh provider refresh fails, log contains:

User "system:serviceaccount:default:manageiq" cannot list all componentstatuses in the cluster

componentstatuses causes all the refresh to fail 

Version-Release number of selected component (if applicable):
5.5.0.10
openshift: v1.0.8

How reproducible:
100%

Steps to Reproduce:
1. refresh a openshift provider

Actual results:
refresh fails

Expected results:
other entities should refresh fine.

Additional info:
see also: https://github.com/openshift/origin/issues/5865

Comment 2 Mooli Tayer 2015-11-17 14:13:08 UTC
merged upstream: https://github.com/ManageIQ/manageiq/pull/5474/commits

Comment 3 Mooli Tayer 2015-11-17 14:16:44 UTC
To verify the this bug the following  Must be found in the log after refresh:

Unexpected Exception during refresh: HTTP status code 403, User "system:serviceaccount:default:manageiq" cannot list all componentstatuses in the 
cluster

And the refresh must succeed

Comment 5 Einat Pacifici 2015-11-26 09:01:01 UTC
Bug verified. 

The refresh succeeds and the evm.log shows: 

Unexpected Exception during refresh: HTTP status code 403, User "system:serviceaccount:default:manageiq" cannot list all componentstatuses in the 
cluster

Comment 7 errata-xmlrpc 2015-12-08 13:47:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2015:2551