Bug 1391083 - partial tenant list for projects created by Horizon UI
Summary: partial tenant list for projects created by Horizon UI
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: cfme-future
Assignee: Tzu-Mainn Chen
QA Contact: Ola Pavlenko
URL:
Whiteboard: openstack
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-02 14:18 UTC by Ronnie Rasouli
Modified: 2017-08-30 03:48 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-17 11:47:32 UTC
Category: ---
Cloudforms Team: Openstack
Target Upstream Version:


Attachments (Terms of Use)
XZ compressed data evm log (2.88 MB, application/x-xz)
2016-11-02 14:18 UTC, Ronnie Rasouli
no flags Details

Description Ronnie Rasouli 2016-11-02 14:18:48 UTC
Created attachment 1216583 [details]
XZ compressed data evm log

Description of problem:

The tenant list does not show tenants created by Horizon, it list tenants created by CRUD tenants in CFME

openstack project list
+----------------------------------+---------+
| ID                               | Name    |
+----------------------------------+---------+
| 1f0caa433076438b9a96cfdac218f5ad | service |
| 4dafe86b786f45b882ad740b2faf2a46 | admin   |
| 55734ce7a6a9435d9eefb1901b1c7e1d | twt     |
| ff297c8ca7f54159b0c8f930fb148e10 | my_ten  |
+----------------------------------+---------+

In CFME UI

Cloud Tenants


	Name
	Cloud Provider 	Instances
	admin 	oc_ci 	0
	my_ten 	oc_ci 	0 

my_ten created via CRUD, twt is a project in Horizon which is not visible on CFME cloud providers


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

How reproducible:


Steps to Reproduce:
1. create a new project in Horizon
2. go to compute --> cloud --> tenants


Actual results:

The cloud tenant list is missing the project created in Horizon web UI

Expected results:

list all tenants in the cloud provider 

Additional info:

Comment 2 Tzu-Mainn Chen 2016-11-08 15:39:12 UTC
Ronnie, does the Horizon-created tenant have 'admin' as a user?  If not, this is working as intended.

Comment 3 Ronnie Rasouli 2016-11-14 09:04:27 UTC
Mainn, correct I have created new project as admin

Comment 7 Ronnie Rasouli 2016-11-17 11:47:32 UTC
Added by 

curl -X PUT -H "X-Auth-Token:$TOKEN" $KEYSTONE_URL/projects/$PROJECT_ID/users/$ADMIN_ID/roles/$ADMIN_ROLE


Note You need to log in before you can comment on or make changes to this bug.