Bug 1274158

Summary: [RFE][PRD] Collect keypairs of all the users within a tenant or multiple tenant
Product: Red Hat CloudForms Management Engine Reporter: Prasad Mukhedkar <pmukhedk>
Component: ProvidersAssignee: John Hardy <jhardy>
Status: CLOSED WONTFIX QA Contact: Ola Pavlenko <opavlenk>
Severity: high Docs Contact:
Priority: high    
Version: 5.4.0CC: dajohnso, gblomqui, jfrey, jhajyahy, jhardy, jjozwiak, jocarter, kmorey, lavenel, nstephan, obarenbo
Target Milestone: GAKeywords: FutureFeature
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: tenant:openstack:cloud:prd
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-11 18:03:52 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: 1211987    
Bug Blocks: 1511957    

Description Prasad Mukhedkar 2015-10-22 07:18:28 UTC
Cloudforms currently collects keypairs created by  the admin user (the same CloudForms use). It doesnt collect keypairs those are created by normal users.

It is important to allow users to create their own keys on OpenStack and use them on CloudForms.

Example : 

Projects : tenant1, tenant2, tenant3,tenant4
Users : cfmeadmin (admin for all four above projects/tenants ) and user1 (member of tenant1)

create a keypair by login as "user1" in tenant1 and one more keypair created by login as "cfmeadmin".
---

Add this opemstack env to cloudforms and the evm refresh. 

Being a cfmeadmin as admin user for all above four tenants, Ideally it should see all the keypairs created in these tenant irrespective of which user and how but but it lists only one keypair that is created by himself.

Comment 4 Greg Blomquist 2016-02-19 15:01:01 UTC
@Ladas, looks like they added this feature in OSP.

Can you give an estimate of implementation for our OSP integration?

Comment 5 Greg Blomquist 2016-02-19 15:03:15 UTC
John, where does this fit in with priorities?

Also, reassigning to Mainn for OSP integration.

Comment 6 Tzu-Mainn Chen 2016-02-19 15:22:06 UTC
Re-assigning the Marek.

Comment 7 John Hardy 2016-07-28 13:46:57 UTC
Please confirm this is delivered in CF 4.2 thanks

Comment 9 Marek Aufart 2016-11-23 09:37:20 UTC
The Openstack spec mentioned in comment #3 requires user_id, which is Openstack User that is not modelled in CF at this moment. I expected that it will be part of an Impersonation feature in future.

If this would become blocker before modelling Openstack User, we can list Openstack users, collect their ids without saving and use it to query key pairs. Then this BZ could be resolved.