Skip to content

Commit

Permalink
ignore non-OpenStack Rackspace products (#2)
Browse files Browse the repository at this point in the history
The Rackspace service catalog returns roles for non-OpenStack products
that Rackspace offers. These do not using the same types of values or
mappings that OpenStack uses which causes an issue. They aren't
something that would be supported in keystone anyway since they exist
outside of identity for roles and permissions so ignore them from this
plugin.

Signed-off-by: Doug Goldstein <doug.goldstein@rackspace.com>
  • Loading branch information
cardoe authored Jan 22, 2024
1 parent 422cf35 commit 5bc0a4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions keystone_rxt/rackspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ def _parse_service_catalog(self, service_catalog):
[
i["name"].split(":")[-1]
for i in service_catalog["access"]["user"]["roles"]
if access_token["tenant"]["id"] in i.get("tenantId", "")
]
)
self._set_federation_env(
Expand Down

0 comments on commit 5bc0a4e

Please sign in to comment.