Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1201049

Summary: 500 Error when accessing "Installed Systems" or "Target Systems" tabs in Package->Details
Product: [Community] Spacewalk Reporter: Raj <rajsasidharan>
Component: WebUIAssignee: Grant Gainey <ggainey>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 2.2   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-26 15:27:10 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: 1484117    

Description Raj 2015-03-11 23:16:03 UTC
Description of problem:
In the WEBUI, when you click on a package, you land in the overview tab. Next to it, If we click on dependencies/File Lists/New Versions/Installed Systems/Target Systems, we get the Apache 500 Internal server error and the following logged in the httpd error_log.

[Wed Mar 11 16:10:10 2015] [error] Execution of /var/www/html/errors/500.pxt failed at Wed Mar 11 16:10:10 2015: install_driver(Pg) failed: Attempt to reload DBD/Pg.pm aborted.\nCompilation failed in require at (eval 1344) line 3.\n\n at /usr/share/perl5/vendor_perl/RHN/DB/User.pm line 1427

[Wed Mar 11 16:10:10 2015] [error] Traceback sent to xxx at /usr/share/perl5/vendor_perl/PXT/ApacheHandler.pm line 563.


Error mailed.

The following exception occurred while executing this request:
 GET /network/software/packages/dependencies.pxt?pid=9576 HTTP/1.1 (from browser)  /errors/500.pxt (from Apache)

Date:
  Wed Mar 11 13:39:49 2015

Headers:
  Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
  Accept-Encoding: gzip, deflate, sdch
  Accept-Language: en-US,en;q=0.8
  Connection: keep-alive
  Cookie: pxt-session-cookie=13468x1c17ca3e110fe686e446c92e0caad22a3e1e204114d69d5ea33b9c18dc5264cf
  Host: ussclddspacewk01
  Referer: https://ussclddspacewk01/rhn/software/packages/Details.do?pid=9576
  User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36

Form variables:


User Information:
(not logged in)

Error notes:
  (none)

Initial Request:
  No

Error message:
  install_driver(Pg) failed: Attempt to reload DBD/Pg.pm aborted.
Compilation failed in require at (eval 1344) line 3.

 at /usr/share/perl5/vendor_perl/RHN/DB/User.pm line 1427


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


How reproducible:


Steps to Reproduce:
1.In the WEBUI, when you click on a package, you land in the overview tab. Next to it, If we click on dependencies/File Lists/New Versions/Installed Systems/Target Systems.


Actual results:

500 Internal Server Error


Expected results:

Dependencies/File Lists/New Versions/Installed Systems/Target Systems of a package.


Additional info:

Comment 1 Grant Gainey 2016-02-26 15:27:10 UTC
As of Spacewalk-2.4, all the perl pages have been ported to Java

Comment 2 Eric Herget 2017-09-28 18:06:46 UTC
This BZ closed some time during 2.5, 2.6 or 2.7.  Adding to 2.7 tracking bug.