Bug 461596

Summary: web.product_name not in master config list in PXT::Config at /usr/lib/perl5/site_perl/5.8.8/PXT/Config.pm
Product: [Community] Spacewalk Reporter: Milan Zázrivec <mzazrivec>
Component: WebUIAssignee: Justin Sherrill <jsherril>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 0.2CC: cperry, dgoodwin, jesusr, jsherril
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-17 07:01:17 UTC Type: ---
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: 456551    

Description Milan Zázrivec 2008-09-09 10:44:58 UTC
Description of problem:
When navigating to Channel -> arbitrary channel in list -> Packages ->
arbitrary package in list -> Dependencies

Following error is printed into /var/log/https/error_log:
error] config web.product_name not in master config list in PXT::Config at
/usr/lib/perl5/site_perl/5.8.8/PXT/Config.pm line 163

Seemingly the application is trying to read /etc/rhn/default/rhn_web.conf,
which does not contain web.product_name config option, nonetheless the
config value is present in /etc/rhn/rhn.conf

Version-Release number of selected component (if applicable):
spacewalk-web-0.2.3-1.el5.sw

Comment 1 Justin Sherrill 2008-10-15 18:37:21 UTC
Looks like this was designed so that all options needed would be in the 'default' config file, and just overridden in the rhn.conf.  I'm not going to change this logic, so I'm just going to add an entry into rhn_web.conf in the default directory.

9b1e098..7b37eb9

Comment 2 Devan Goodwin 2008-11-04 18:04:45 UTC
Verified in spacewalk 0.3. No error being printed to httpd/error_log, and web.product_name is defined in /etc/rhn/default/rhn_web.conf.

Comment 3 Miroslav Suchý 2009-09-17 07:01:17 UTC
Spacewalk has been released for some time.