Neutron NeutronKeystoneContext object doesn't retrieve user_domain attribute
Bug #1621073 reported by
SFilatov
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Akihiro Motoki |
Bug Description
Neutron object does not retrieve keystone domain attribute from request headers.
Neutron policies use context to check rules so we are not able to use domains.
Context is formed from headers in __call__ of NeutronKeystone
tags: | added: api |
Changed in neutron: | |
assignee: | nobody → Akihiro Motoki (amotoki) |
Changed in neutron: | |
milestone: | none → pike-1 |
To post a comment you must log in.
oslo_context provides a convenient way to create a context from environment [1].
neutron.auth has its own logic to extract environments and create a context [2].
neutron.auth needs to be updated to use the standard way from oslo.context.
[1] http:// git.openstack. org/cgit/ openstack/ oslo.context/ tree/oslo_ context/ context. py git.openstack. org/cgit/ openstack/ neutron/ tree/neutron/ auth.py# n27
[2] http://