context roles are incorrectly initialized

Bug #1654813 reported by hongbin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Fix Released
Undecided
hongbin
Zun
Fix Released
Undecided
hongbin

Bug Description

For RequestContext, if it is created without setting the roles parameters, the roles fields should be passed to oslo_context to initialize (which will be set as empty list).

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to zun (master)

Fix proposed to branch: master
Review: https://review.openstack.org/417648

Changed in zun:
assignee: nobody → hongbin (hongbin034)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (master)

Fix proposed to branch: master
Review: https://review.openstack.org/417649

Changed in magnum:
assignee: nobody → hongbin (hongbin034)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to zun (master)

Reviewed: https://review.openstack.org/417648
Committed: https://git.openstack.org/cgit/openstack/zun/commit/?id=649b84af6284c410382ac82488b1ef5ea2d2c831
Submitter: Jenkins
Branch: master

commit 649b84af6284c410382ac82488b1ef5ea2d2c831
Author: Hongbin Lu <email address hidden>
Date: Sat Jan 7 22:55:39 2017 -0600

    Fix the incorrect initialization of context roles

    We should pass roles to oslo_context to initialize instead of
    manually set it.

    Change-Id: I651053c3b3c3175cc9e757387994be11539059fe
    Closes-Bug: #1654813

Changed in zun:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (master)

Reviewed: https://review.openstack.org/417649
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=a60529cb11ea71784cfd5138c8abe4984662252c
Submitter: Jenkins
Branch: master

commit a60529cb11ea71784cfd5138c8abe4984662252c
Author: Hongbin Lu <email address hidden>
Date: Sat Jan 7 23:35:08 2017 -0600

    Fix the incorrect initialization of context roles

    We should pass roles to oslo_context to initialize instead of
    manually set it.

    Change-Id: Ice05204d789bb1770ab6605f06d670c5fc7c6726
    Closes-Bug: #1654813

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

This issue was fixed in the openstack/magnum 4.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.