Policies do not support multi domain setups

Bug #1566985 reported by Bjoern
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Won't Fix
Undecided
Unassigned

Bug Description

We seem the demand rising in supporting multi domain setups in Openstack to realize requests like
"Customer want's admins per domain" etc.

It seems like we have to alter the policies for at least keystone as laid out at https://github.com/openstack/keystone/blob/master/etc/policy.v3cloudsample.json and it would be beneficial to support that by default ?

How's the project thinking about that idea?

Revision history for this message
Ian Cordasco (icordasc) wrote :

> How's the project thinking about that idea?

The individual projects? Keystone? oslo.policy? Which project?

Keystone has been talking about admin-ness not being properly scoped for a while. [1] Meanwhile, if you look up domains, there are good examples of using domains in a policy rule. [2]

Do you want OSA to configure multi-domain clouds with configuration and create admins per-domain? If so, you're asking that in a very round-about manner and I'm not certain that's OSA's purpose (which is to deploy OpenStack). Yes part of deploying OpenStack is to create the service users in Keystone, but it really doesn't go much further than that. Something extending OSA could do this work. I'm not convinced OSA needs to support this though (outside maybe allowing for domains to be created with it's keystone library)

[1]: https://bugs.launchpad.net/keystone/+bug/968696
[2]: https://wiki.openstack.org/wiki/Domains

Revision history for this message
Bjoern (bjoern-t) wrote :

Keystone at first and most likely everywhere.
I'm primarily asking to roll out the policies around cloud-admin (as example) to make the adoption easier.

Revision history for this message
Jesse Pretorius (jesse-pretorius) wrote :

The project provides the default policy files and has decided to do that to reduce technical debt carried. There are movements across OpenStack projects to adjust how the policies work and it would be best to participate in this process if you wish the defaults to change.

As this bug is written it implies that this is an OSA bug, but it is not a bug. This is implemented by design and the project provides facilities for the deployer to override the defaults. If anything I can see how a deployer may wish to copy their own whole policy files from the deployment host to the target host instead of using the config_override mechanism. I would support a request for that as a new feature.

Changed in openstack-ansible:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.