Bug 1487459 - [RFE] cannot use trusts with federated users in keystone [NEEDINFO]
Summary: [RFE] cannot use trusts with federated users in keystone
Keywords:
Status: CLOSED DUPLICATE of bug 1590932
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-keystone
Version: 13.0 (Queens)
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: ---
: ---
Assignee: Dave Wilde
QA Contact: Jeremy Agee
URL:
Whiteboard:
: 1480067 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-01 00:43 UTC by August Simonelli
Modified: 2023-08-03 15:46 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-17 18:03:36 UTC
Target Upstream Version:
Embargoed:
ifrangs: needinfo? (dwilde)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 1589993 0 None None None 2022-03-10 15:51:55 UTC
OpenStack gerrit 1600366 0 None None None 2022-03-10 15:51:55 UTC
Red Hat Issue Tracker OSP-216 0 None None None 2022-03-10 15:53:02 UTC
Red Hat Knowledge Base (Solution) 4933351 0 None None None 2020-03-27 13:57:05 UTC

Description August Simonelli 2017-09-01 00:43:20 UTC
Description of problem:

Keystone federation was implemented after trusts. But trusts don't work with federation. It would be good if they did work together.

Raised upstream here: https://bugs.launchpad.net/keystone/+bug/1600366


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

How reproducible:
All deployments suffer from this.

Steps to Reproduce:
1.
2.
3.

Actual results:
Federation and trusts don't work together at all.

Expected results:
Federation and trusts should work together.

Additional info:

Comment 1 August Simonelli 2017-09-01 00:43:50 UTC
Affects heat, as seen here: https://bugzilla.redhat.com/show_bug.cgi?id=1480067

Comment 4 August Simonelli 2017-09-12 03:41:04 UTC
Also see: https://review.openstack.org/#/c/415895/

Comment 5 Thomas Hervé 2017-09-13 22:32:02 UTC
In my testing, if you use a mapping for your federated users, it will work for trusts and Heat. The change (https://blueprints.launchpad.net/keystone/+spec/shadow-mapping) landed in Ocata and is in OSP11.

Comment 6 Thomas Hervé 2017-09-21 14:30:57 UTC
*** Bug 1480067 has been marked as a duplicate of this bug. ***

Comment 18 Harry Rybacki 2018-11-01 20:08:32 UTC
Per Cu. comment, this RFE is no longer requested. Closing as WONTFIX -- please re-open if the RFE is re-requested.

Comment 19 David Hill 2020-03-27 13:56:35 UTC
Got another customer hitting this issue again so I'm re-opening.

Comment 20 David Hill 2020-03-27 13:59:23 UTC
This is for RHOSP13 and not RHOSP10.

Comment 21 David Hill 2020-03-27 14:29:41 UTC
The current shadow user doesn't scale well with this:
~~~
[ {
            "local": [
                {
                    "user": {
                        "name": "{0}",
                        "email": "{0}"
                    },
                    "groups": "{1}",
                    "domain": {
                      "id" : "default"
                        }
}
            ],
            "remote": [
                {
                    "type": "OIDC-email"
                },
                {
                    "type": "OIDC-groups"
                }
            ]
        }]
~~~

Where would you add "_member_" roles to the existing groups created by various customer using this federated platform ?

Comment 22 Steve Relf 2020-04-06 21:22:10 UTC
Hi, commeneting so i get updates. Please feel free to reachout if you need additional info.

Just to expand on the above comments. 

We use Key cloak, and don't want to have to manage a mapping file which would grow to be massive and unusable, as we are a public cloud.

Comment 28 Dave Wilde 2022-03-17 18:03:36 UTC

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


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