Bug 1267341

Summary: Openstack cloud refresh fails when adding the admin user as a member in other tenant
Product: Red Hat CloudForms Management Engine Reporter: Marius Cornea <mcornea>
Component: ProvidersAssignee: Greg Blomquist <gblomqui>
Status: CLOSED DUPLICATE QA Contact: Dave Johnson <dajohnso>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.4.0CC: jfrey, jhardy, obarenbo
Target Milestone: GA   
Target Release: 5.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-30 14:38:30 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:
Attachments:
Description Flags
error log none

Description Marius Cornea 2015-09-29 17:18:05 UTC
Created attachment 1078438 [details]
error log

Description of problem:
The Openstack cloud provider refresh fails after adding the admin user as a member in other tenant.

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

How reproducible:
100%

Steps to Reproduce:
1. Register Openstack Cloud provider by using the admin user
2. In Openstack create a new tenant(project) 
3. Add the admin user as a member of that  project

Actual results:
Cloud refresh fails with: undefined method `directories' for nil:NilClass

Expected results:
Cloud refresh finishes. 

Additional info:
Attaching log.

Comment 2 Marius Cornea 2015-09-29 17:21:17 UTC
Refresh worked after assigning the admin user the admin role in the tenant.

Comment 3 Marius Cornea 2015-09-30 14:38:30 UTC

*** This bug has been marked as a duplicate of bug 1257734 ***