Bug 1492171

Summary: PHP parse error with RackTables-0.20.13-1.el7.noarch
Product: [Fedora] Fedora Reporter: Lance Albertson <lance>
Component: RackTablesAssignee: Colin Coe <colin.coe>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: colin.coe, jiri.slezka, lance, sebastian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: RackTables-0.20.14-1.fc26 RackTables-0.20.14-1.el7 RackTables-0.20.14-1.fc25 RackTables-0.20.14-1.el6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-07 22:15:01 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:
Bug Depends On:    
Bug Blocks: 1480219    

Description Lance Albertson 2017-09-15 16:08:36 UTC
Description of problem:

Updated to the latest RackTables included in the EPEL repo and the website encountered a 500 error. Looking at the httpd logs I see the following:

PHP Parse error:  syntax error, unexpected '}' in /usr/share/RackTables/wwwroot/inc/exceptions.php on line 160

It seems as though this commit [1] might be the issue. If I download the file
from github for this tagged release [2] and copy over the one included in the
rpm the site works again.

[1] http://pkgs.fedoraproject.org/cgit/rpms/RackTables.git/commit/?h=epel7&id=cf75e1dd1c7b4bedbe44bd6e180404f91fe70b02
[2] https://raw.githubusercontent.com/RackTables/racktables/RackTables-0.20.13/wwwroot/inc/exceptions.php

Version-Release number of selected component (if applicable):

RackTables-0.20.13-1.el7.noarch

How reproducible:

Install this version and try to access the website.

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Colin Coe 2017-10-22 03:50:32 UTC
OK, I've verified this problem.

I'll try and have it fixed soon.

Comment 2 Fedora Update System 2017-10-22 11:03:22 UTC
RackTables-0.20.14-1.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-255a88f330

Comment 3 Fedora Update System 2017-10-22 11:03:29 UTC
RackTables-0.20.14-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-7a30c12c58

Comment 4 Fedora Update System 2017-10-22 11:03:35 UTC
RackTables-0.20.14-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-f25c9d4a81

Comment 5 Fedora Update System 2017-10-22 11:03:41 UTC
RackTables-0.20.14-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3ae32f3107

Comment 6 Colin Coe 2017-10-22 11:06:21 UTC
I believe I've fixed this and have submitted an update.

The update rebases to v0.20.14 and fixes the error raised in this BZ.

Please test and advise.

Comment 7 Sebastian Szary 2017-10-22 17:33:49 UTC
Tested on EL6 and EL7, works perfectly now.

Comment 8 Lance Albertson 2017-10-23 16:53:28 UTC
Confirmed, this seems to work properly now. Thanks!

Comment 9 Fedora Update System 2017-10-23 23:17:02 UTC
RackTables-0.20.14-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-7a30c12c58

Comment 10 Fedora Update System 2017-10-23 23:18:55 UTC
RackTables-0.20.14-1.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-255a88f330

Comment 11 Fedora Update System 2017-10-23 23:20:34 UTC
RackTables-0.20.14-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-f25c9d4a81

Comment 12 Fedora Update System 2017-10-23 23:49:27 UTC
RackTables-0.20.14-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3ae32f3107

Comment 13 Colin Coe 2017-11-03 23:44:59 UTC
*** Bug 1509380 has been marked as a duplicate of this bug. ***

Comment 14 Fedora Update System 2017-11-07 22:15:01 UTC
RackTables-0.20.14-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2017-11-07 22:15:23 UTC
RackTables-0.20.14-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2017-11-07 23:39:58 UTC
RackTables-0.20.14-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2017-11-07 23:42:16 UTC
RackTables-0.20.14-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.