Page MenuHomePhabricator

Support multi-domain OpenStack
Open, Needs TriagePublic

Description

Magnum and Heat each use a service domain (conveniently named 'Magnum' and 'Heat') to store dynamically-created users and other resources.

This mostly works, and is well within the set of things that OpenStack is meant to support. Our custom code, however, generally expects there to be only one domain (id 'default' name 'Default') and has that hardcoded in quite a few places.

This change shouldn't break very much, but it is breaking situations where we try to enumerate projects and acquire auth in each one. Any keystone requests for project-specific tokens require a project domain to be specified. So, in places where we're creating keystone sessions with a specific project, we need to first dig up the proper project domain.

Note that I don't expect users to ever act outside of the default domain, only heat and magnum services.

Related Objects

StatusSubtypeAssignedTask
Resolvedrook
OpenNone

Event Timeline

Is this ticket meant to update our custom code in puppet?

Is this ticket meant to update our custom code in puppet?

Correct, this bug is to track changes like https://gerrit.wikimedia.org/r/c/operations/puppet/+/844525

Change 868811 had a related patch set uploaded (by Andrew Bogott; author: Andrew Bogott):

[operations/puppet@production] Keystone: allow anyone to list domains

https://gerrit.wikimedia.org/r/868811

Change 868811 merged by Andrew Bogott:

[operations/puppet@production] Keystone: allow anyone to list domains

https://gerrit.wikimedia.org/r/868811

Change 868812 had a related patch set uploaded (by Andrew Bogott; author: Andrew Bogott):

[operations/puppet@production] Keystone: open up more domain querying endpoints

https://gerrit.wikimedia.org/r/868812

Change 868812 merged by Andrew Bogott:

[operations/puppet@production] Keystone: open up more domain querying endpoints

https://gerrit.wikimedia.org/r/868812

Change 868814 had a related patch set uploaded (by Andrew Bogott; author: Andrew Bogott):

[operations/software/cumin@master] add domain param to openstack backend

https://gerrit.wikimedia.org/r/868814

rook removed rook as the assignee of this task.Jan 19 2023, 2:06 PM
rook subscribed.
rook unsubscribed.