Bug 1308625
Summary: | [Beaker][inverted group] "INTERNAL SERVER ERROR" When adding a additional owners | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Jeff Burke <jburke> | ||||
Component: | web UI | Assignee: | matt jia <mjia> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 22 | CC: | dcallagh, mjia, rjoost | ||||
Target Milestone: | 22.2 | Keywords: | Patch, Triaged | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-03-18 00:45:23 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Reproduced on beaker-devel, stack trace is: bkr.server ERROR Exception on /groups/bz1308625-test/owners/ [POST] Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/usr/lib/python2.6/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/lib/python2.6/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/usr/lib/python2.6/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/usr/lib/python2.6/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/usr/lib/python2.6/site-packages/bkr/server/flask_util.py", line 209, in wrapper return f(*args, **kwds) File "/usr/lib/python2.6/site-packages/bkr/server/group.py", line 720, in grant_ownership group.grant_ownership(user, agent=identity.current.user) File "/usr/lib/python2.6/site-packages/bkr/server/model/identity.py", line 707, in grant_ownership assoc, = [a for a in self.user_group_assocs if a.user == user] ValueError: need more than 0 values to unpack On gerrit: http://gerrit.beaker-project.org/#/c/4693/ This fix was actually included in Beaker 22.2 although we missed it because the milestone was not set correctly... |
Created attachment 1127321 [details] screen shot of the failure Description of problem: I created a inverted group. I tried to add an additional owner to the group and it fails with the following error: INTERNAL SERVER ERROR: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <title>500 Internal Server Error</title> <h1>Internal Server Error</h1> <p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p> Attach is a screenshot