[RFE] Add domains to ironic context

Bug #1641972 reported by Vladyslav Drok
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Undecided
Vladyslav Drok

Bug Description

Currently, user domain and project domain information is not included in ironic context. With the planned complete switch to keystone v3, they should be included, to be able to fully use v3 functional.

Tags: rfe-approved
Vladyslav Drok (vdrok)
tags: added: rfe
Changed in ironic:
assignee: nobody → Vladyslav Drok (vdrok)
Changed in ironic:
status: New → In Progress
tags: added: rfe-approved
removed: rfe
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/295371
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=3eba764be3dcbafa01e1e4298bdf1810925a6f49
Submitter: Jenkins
Branch: master

commit 3eba764be3dcbafa01e1e4298bdf1810925a6f49
Author: Vladyslav Drok <email address hidden>
Date: Mon Mar 21 17:46:55 2016 +0200

    Add user and project domains to ironic context

    This change also removes most of the logic from ironic's
    RequestContext to reuse the oslo_context as much as possible.
    Usage of domain_id and domain_name in policy files is deprecated
    and their support will be removed in the Pike release. domain_id
    field was removed from the context class completely, domain_name
    value now mathces the oslo_context expectations.

    ContextHook is changed too so as not to duplicate from_environ
    functional from oslo_context.

    to_dict method left as is, so that we don't break an older service
    receiving the context over RPC. It will be changed in Pike release
    to reuse the base oslo_context class' to_dict.

    Closes-Bug: #1602081
    Closes-Bug: #1627173
    Closes-Bug: #1641972
    Co-Authored-By: Jamie Lennox <email address hidden>
    Co-Authored-By: Devananda van der Veen <email address hidden>
    Change-Id: I9afe89bc6aee282ee4b7579d661e3fa83cc0ce84

Changed in ironic:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ironic 7.0.0

This issue was fixed in the openstack/ironic 7.0.0 release.

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.