Unable to grant role in project to user/group in latest DevStack

Bug #1505209 reported by Marcin Zbik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
Undecided
Unassigned

Bug Description

Git version of Horizon 8.0.0.0rc2 from branch stable/liberty

Steps:
1. Identity -> Projects
2. Select one of projects and edit its members
3. One can add user but no roles to select are shown. No errors in apache log but in firebug console there is: TypeError: role_list is undefined

Some more informations from firebug console:
TypeError: role_list is undefined
http://myLocalIP/static/dashboard/js/a5878f7901a6.js
Line 3261

This is line 3261:
else{for(role in membership){if(membership.hasOwnProperty(role)){horizon.membership.remove_member(step_slug,data_id,role,membership[role]);}}}},add_member_to_role:function(step_slug,data_id,role_id){var role_list=horizon.membership.current_membership[step_slug][role_id];role_list.push(data_id);horizon.membership.update_role_lists(step_slug,role_id,role_list);},update_member_role_dropdown:function(step_slug,data_id,role_ids,member_el){if(typeof(role_ids)==='undefined'){role_ids=horizon.membership.get_member_roles(step_slug,data_id);}

And that part of line is indicated:
....current_membership[step_slug][role_id];role_list.push(data_id);horizon.membersh...
----------------------------------------------------------------------^

I can easily list roles under url: /identity/roles/ and grant roles from CLI level.

Revision history for this message
Marcin Zbik (zbikmarc+launchpad) wrote :

It might be connected with LDAP backend for keystone.
I changed from LDAP to SQL backend in keystone and exact same horizon instance was able to list available roles for user (in project).

description: updated
description: updated
Revision history for this message
Gary W. Smith (gary-w-smith) wrote :

I cannot reproduce this bug with Pike devstack. This bug is nearly 2 years
old, so marking as Invalid. If this issue still exists, please feel free to
reopen it and provide additional details.

Changed in horizon:
status: New → Invalid
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.