Description of problem: User can't change project just after project membership assignment. Version-Release number of selected component (if applicable): RHEL 7.2 openstack-dashboard-8.0.1-1.el7ost.noarch python-django-horizon-8.0.1-1.el7ost.noarch openstack-packstack-puppet-7.0.0-0.12.dev1699.g8f54936.el7ost.noarch openstack-packstack-7.0.0-0.12.dev1699.g8f54936.el7ost.noarch How reproducible: 2/2 Steps to Reproduce: 1. assume two users and two projects: admin, demo 2. log in as admin user 3. navigate to Identity - Identity - Projects 4. click to Manage members for 'demo' project 5. add 'admin' user as Project member with role "_member_' (this role is assigned by default) 6. wait until green Success message will appear 7. click to drop-down 'Project' on topbar Actual results: Just 'admin' Expected results: 'admin' and 'demo' Workaround: Reload the page until Project drop-down menu will be updated.
I am unable to reproduce this on rhos8. I believe this was fixed upstream with a series of patches to doa and horizon to remove the caching of projects like this one: https://github.com/openstack/horizon/commit/fa47798f38b2a58514b93b6613129b0dfca18f36 Im not sure if openstack-dashboard-8.0.1-1.el7ost.noarch is the latest release of horizon, Im gonna check with Matthias and do some more tests to try to reproduce it locally.
Can we get the version of python-django-openstack-auth?
Sure, here it is: python-django-openstack-auth-2.0.1-1.2.el7ost.noarch
python-django-horizon-8.0.1-2.el7ost should be available, can you update and try to reproduce it with that version please? Thanks!
Thank you, I'll do that as soon as I can.
Hmm.. it works if I add 'admin' to '__member__' role, but I've tried to remove this role back and it doesn't work. I still see 'demo' project in dropdown, even if I remove 'admin' user from membership completely, so this still doesn't work. Tested on: python-django-horizon-8.0.1-2.el7ost.noarch (so same, as Itxaka mentioned)
Weird, I have tried to reproduce this with the same set of versions here and the projects are updated properly. When adding -> it shows the proper project added to the list When removed -> removes the project from the list. Ill attach a small video.
Created attachment 1165305 [details] behaving correctly
Any special thing about this environment that could lead to this discrepancy?
I wanted to reproduce it again, but due problem with packstack installation I can't do that now. Adding the bug as Depends on this bug.
Created attachment 1170263 [details] bug-screencast-doesnt-work.ogv Unfortunately it still doesn't work for me... let's watch attachment bug-screencast-doesnt-work.ogv, especially at 0:27+
I believe, this is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1259626 please report your used version of python-django-openstack-auth
python-django-openstack-auth-2.0.1-1.2.el7ost.noarch
Ok, please try again with python-django-openstack-auth-2.0.1-3.el7ost that is the version explicitly listing to fix this kind of issue.
Thanks, I've just tried that with: python-django-openstack-auth-2.0.1-3.el7ost and horizon now behaves correctly.
Thank you for your comment. Marking this as duplicate. *** This bug has been marked as a duplicate of bug 1259626 ***