Red Hat Bugzilla – Bug 862824
"Couldn't find all Roles with IDs" error when creating a role
Last modified: 2014-11-09 17:52:38 EST
Description of problem:
Version-Release number of selected component (if applicable):
CFSE puddle katello-1.1.12-12.el6cf.noarch
not very - automated test fails pretty often (~50%), but not reproducible when the server is not under load
Steps to Reproduce:
1. Create a role named "edit-role-1003-095822-300" (but I doubt that the name matters)
Fails with "×Couldn't find all Roles with IDs (1, 22, 2, 16, 19, 18, 21, 20) (found 7 results, but was looking for 8)"
also fails on katello builds
Note that the role is successfully created but there is some sort of timing issue with, we think, elasticsearch. Investigation will continue.
It seems to be a timing issue where the left pane is loading roles at the same time another session deletes a role. It could maybe be reproduced using two browsers, clicking delete on one, and then refresh the roles page on the other?
PR issued: https://github.com/Katello/katello/pull/804
So i believe this should fix the issue. Only time and countless test runs will tell.
What's the status of this issue with regards to the CloudFOrms-1.1 release? Is this already fixed in downstream CloudForms?
No, it's not fixed in SE and the issue was deemed not important enough to be fixed now.
I agree with that assessment, in order to trigger the problem you need to do 2 pretty specific things in 2 separate sessions at the same time.
It's pretty unlikely a customer would trigger it, and if he did, the error is not severe. As far as I can tell, the customer can just ignore the error notification and continue.
moving to 2.0
These bugs have been resolved in upstream projects for a period of months so I'm mass-closing them as CLOSED:UPSTREAM. If this is a mistake feel free to re-open.