[Yahoo-eng-team] [Bug 1621073] [NEW] Neutron NeutronKeystoneContext object doesn't retrieve user_domain attribute

2016-09-07 Thread SFilatov
Public bug reported: 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 NeutronKeystoneContext object, which initializes Context object. ** A

[Yahoo-eng-team] [Bug 1620217] [NEW] Glance RequestContext object doesn't retrieve user_domain attribute

2016-09-05 Thread SFilatov
Public bug reported: Glance object does not retrieve domain attribute from request headers. Glance policies use context to check rules so we are not able to use domains. Context is formed in middleware _get_authenticated_context func: kwargs = { 'user': req.headers.get('X-User-Id'),