Keystone REST handles default role incorrectly

Bug #1453245 reported by Thai Tran
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Richard Jones

Bug Description

The keystone REST currently assigns a role to the user even if the role is the default role (_member_). This causes keystone client v2 to return an error.

Thai Tran (tqtran)
summary: - KeystoneREST handles default role incorrectly
+ Keystone REST handles default role incorrectly
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

Changed in horizon:
assignee: nobody → Thai Tran (tqtran)
status: New → In Progress
Revision history for this message
Canh Truong (canh-v-truong) wrote :

I get the same error with user role when I change the primary project of admin user. The keystone client return an error for user role. I read your solution and fix follow yours. But it doesn't work. Do you have any tests for your solution ?
The bug I mentioned is at: https://bugs.launchpad.net/horizon/+bug/1459065

Changed in horizon:
milestone: liberty-1 → liberty-2
Changed in horizon:
assignee: Thai Tran (tqtran) → Richard Jones (r1chardj0n3s)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/181501
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=9347cb43cc23b3acb2d059b5278f3b5335cee334
Submitter: Jenkins
Branch: master

commit 9347cb43cc23b3acb2d059b5278f3b5335cee334
Author: Thai Tran <email address hidden>
Date: Fri May 8 11:57:59 2015 -0700

    Keystone REST handles default role incorrectly

    The keystone REST currently assigns a role to the user even if the role is the
    default role (_member_). This causes keystone client v2 to return an error.
    This patch fixes this issue.

    Change-Id: I6de6c66eb88abfd23a171c0f13aeff2f707991e2
    Closes-bug: #1453245
    Co-Authored-By: Richard Jones <email address hidden>

Changed in horizon:
status: In Progress → Fix Committed
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: liberty-2 → 8.0.0
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.