← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1507031] Re: Add and then delete a user, results in unexpected error on the Openstack UI

 

Whenever a role is removed from the user, all the tokens that the user
is using is revoked.

I believe the bug in horizon is  it is not handling well the case when
token is expired/revoked.

** Changed in: horizon
       Status: New => Confirmed

** Changed in: keystone
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1507031

Title:
  Add and then delete a user, results in unexpected error on the
  Openstack UI

Status in OpenStack Dashboard (Horizon):
  Confirmed
Status in Keystone:
  Invalid

Bug description:
  Here is how to reproduce it:

  1. Install an Ubuntu Openstack on a VM.

  2. Login to the horizon for that VM.

  3. Add a new user role using the following command using CLI:
  keystone user-role-add --user <AN_EXISTING_USER> --tenant <AN_EXISTING_TENANT> --role < MEMBER_ROLE>

  4. Remove the user role, using the following command:
  keystone user-role-remove --user <SAME_EXISTING_USER> --tenant <SAME_EXISTING_TENANT>  --role < SAME_MEMBER_ROLE>

  5. Refresh the horizon, UI redirects to an error message page, with the following error message:
  "Something went wrong! An unexpected error has occurred. Try refreshing the page. If that doesn't help, contact your local administrator."

  
  A screenshot of the UI is attached.

  Please note that refreshing the page does not resolve the issue.
  However, either clearing the browser's cookies/history for that
  session or opening the horizon on an "Incognito" mode may resolve the
  issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1507031/+subscriptions


References