Bug 1589065

Summary: Forbidden to read the project: admin, for collection type: stack
Product: Red Hat CloudForms Management Engine Reporter: Niladri Roy <niroy>
Component: ProvidersAssignee: Gilles Dubreuil <gdubreui>
Status: CLOSED ERRATA QA Contact: Omri Hochman <ohochman>
Severity: medium Docs Contact:
Priority: low    
Version: 5.9.0CC: abraverm, gblomqui, gdubreui, jfrey, jhajyahy, jhardy, ngupta, niroy, obarenbo, simaishi, slucidi, smallamp
Target Milestone: GA   
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.13 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-07 23:03:00 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:    
Bug Blocks: 1595269    

Description Niladri Roy 2018-06-08 09:57:03 UTC
Description of problem:
Repeated entries in evm.log with WARN of "Forbidden to read the project:"

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

How reproducible:
everytime at Cu environment

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 14 Gilles Dubreuil 2018-08-30 23:54:38 UTC
Hi Nikhil,

That's great, thanks guys.This only occurs when there are no stacks in the environment anywhere. Having even a single one works around that problem.

I'll test and follow-up for back-port.

Comment 17 Jad Haj Yahya 2018-12-06 07:55:43 UTC
Hi Gilles,

Could you supply steps to verify this bug


Thanks

Comment 18 Gilles Dubreuil 2018-12-13 11:47:39 UTC
Hi Jadh,

The customer is facing warnings when CloudForms Inventory is trying to access Orchestration stacks. And assuming there are no tasks (the default for the overcloud) which makes "openstack stack list" CLI return with an empty list.

From CloudForm just register against an OSP instance using default admin user and monitor the evm.log file for the warning messages containing: 

"WARN -- : MIQ(OpenstackHandle::OrchestrationDelegate#handled_list) Forbidden to read the project: admin, for collection type: stacks, in provider:"

Please let me know if you need more details.

Regards

Comment 19 Jad Haj Yahya 2018-12-13 12:45:09 UTC
(In reply to Gilles Dubreuil from comment #18)
> Hi Jadh,
> 
> The customer is facing warnings when CloudForms Inventory is trying to
> access Orchestration stacks. And assuming there are no tasks (the default
> for the overcloud) which makes "openstack stack list" CLI return with an
> empty list.
> 
> From CloudForm just register against an OSP instance using default admin
> user and monitor the evm.log file for the warning messages containing: 
> 
> "WARN -- : MIQ(OpenstackHandle::OrchestrationDelegate#handled_list)
> Forbidden to read the project: admin, for collection type: stacks, in
> provider:"
> 
> Please let me know if you need more details.
> 
> Regards

Thnaks a lot, that was helpful

Comment 20 Jad Haj Yahya 2018-12-13 12:45:52 UTC
Verified on 5.10.0.28

Comment 21 errata-xmlrpc 2019-02-07 23:03:00 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-2019:0212