Bug 1039514

Summary: 500 error met when anonymous view system
Product: [Retired] Beaker Reporter: wangjing <jingwang>
Component: web UIAssignee: Nick Coghlan <ncoghlan>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 0.15CC: aigao, asaha, dcallagh, llim, qwan, rmancy
Target Milestone: 0.15.2Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-19 07:04:13 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:

Comment 3 Nick Coghlan 2013-12-11 05:06:59 UTC
The systems page checks for reservation permissions to determine what messages to display on the "Provisioning" tab, but the permissions checks in the system model assume a logged in user.

This can lead to an AttributeError and hence a 500 error when an anonymous user views the page (whether that will actually happen depends on various other things about the state of the system).

Comment 4 Dan Callaghan 2013-12-11 05:09:27 UTC
Sounds like a regression in 0.15.1.

Comment 5 Nick Coghlan 2013-12-11 06:20:09 UTC
On Gerrit: http://gerrit.beaker-project.org/#/c/2612

Comment 8 wangjing 2013-12-13 03:27:34 UTC
reproduced on my vm, updating to the latest packages(beaker-server-0.15.2-0.git.111.249da37.el6eng), 500 error fixed, actual results as same as expected results in comment7

Comment 9 Amit Saha 2013-12-19 07:04:13 UTC
Release announcement: https://lists.fedorahosted.org/pipermail/beaker-devel/2013-December/000923.html