Bug 1195786 - Retrace server UI was down due to permission issue on task status file
Summary: Retrace server UI was down due to permission issue on task status file
Keywords:
Status: CLOSED DUPLICATE of bug 1313011
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: retrace-server
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dave Wysochanski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-24 14:58 UTC by Shishir Prakash
Modified: 2016-03-19 23:27 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-19 23:27:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Shishir Prakash 2015-02-24 14:58:22 UTC
Description of problem:
We found that the retrace server's GUI was down due to permission issue on /cores/retrace/tasks/314101131/status 

Looking at /var/log/httpd/ssl_error_log  i found the below error.

[Tue Feb 24 02:15:31 2015] [error] [client 10.64.0.192] mod_wsgi (pid=25086): Exception occurred processing WSGI script '/usr/share/retrace-server/manager.wsgi'.
[Tue Feb 24 02:15:31 2015] [error] [client 10.64.0.192] Traceback (most recent call last):
[Tue Feb 24 02:15:31 2015] [error] [client 10.64.0.192]   File "/usr/share/retrace-server/manager.wsgi", line 475, in application
[Tue Feb 24 02:15:31 2015] [error] [client 10.64.0.192]     statuscode = task.get_status()
[Tue Feb 24 02:15:31 2015] [error] [client 10.64.0.192]   File "/usr/lib/python2.6/site-packages/retrace/retrace.py", line 1583, in get_status
[Tue Feb 24 02:15:31 2015] [error] [client 10.64.0.192]     result = self.get(RetraceTask.STATUS_FILE, maxlen=8)
[Tue Feb 24 02:15:31 2015] [error] [client 10.64.0.192]   File "/usr/lib/python2.6/site-packages/retrace/retrace.py", line 1490, in get
[Tue Feb 24 02:15:31 2015] [error] [client 10.64.0.192]     with open(filename, "r") as f:
[Tue Feb 24 02:15:31 2015] [error] [client 10.64.0.192] IOError: [Errno 13] Permission denied: '/cores/retrace/tasks/314101131/status'


Looked at the permission of the directory /cores/retrace/tasks/314101131/status and it was jsibble.

i changed it back to retrace:gss-eng-collab and the issue got resolved.


How reproducible:
Change the permission of any task's status

Comment 2 Dave Wysochanski 2016-03-19 23:27:50 UTC
After the patches to fix https://bugzilla.redhat.com/show_bug.cgi?id=1313011#c13 this should not be possible anymore.

*** This bug has been marked as a duplicate of bug 1313011 ***


Note You need to log in before you can comment on or make changes to this bug.