Bug 922250

Summary: eventReceivers needs to be updated for httpd 2.4, Apache2::Connection remote_ip
Product: [Community] Spacewalk Reporter: Stephen Herr <sherr>
Component: ServerAssignee: Jan Pazdziora (Red Hat) <jpazdziora>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.9CC: jpazdziora, tkasparek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-02 12:37:18 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: 991452    

Description Stephen Herr 2013-03-15 20:49:51 UTC
Description of problem:
httpd-2.4 has changed it's API somewhat, the Apache2::Connection::remote_ip method is now Apache2::Connection::client_ip. Current versions of the eventReceivers rpm cause an error to appear in the error_log:

 [Fri Mar 15 16:04:13.806800 2013] [perl:error] [pid 4298] [client 127.0.0.1:37741] Can't locate object method "remote_ip" via package "Apache2::Connection" at /usr/share/perl5/vendor_perl/NOCpulse/MonitoringAccessHandler.pm line 48.\n

Version-Release number of selected component (if applicable):
httpd-2.4.3-15.fc18.x86_64
mod_perl-2.0.7-11.2.fc18.x86_64
eventReceivers-2.20.17-1.fc18.noarch

Steps to Reproduce:
1. I think you must have Monitoring enabled in Spacewalk 1.9 on Fedora 18

Additional info:
See discussion here: http://www.gossamer-threads.com/lists/modperl/dev/104221

Comment 1 Stephen Herr 2013-03-18 18:39:09 UTC
Actually it looks like this is used in various places throughout the perl codebase. This bug should probably represent fixing all of them, not just the one area where I happened to run into the error.

Comment 2 Jan Pazdziora (Red Hat) 2013-03-21 14:41:59 UTC
Fixed in Spacewalk master, 2e6bac11a125d3b348ede3f6dbdc6abc0a0df443, for /help/about.pxt and (untested) the MonitoringAccessHandler.pm issue from comment 0.

Comment 3 Tomáš Kašpárek 2013-08-02 12:37:18 UTC
Fix for this bug is present in Spacewalk 2.0, closing this bug as CURRENTRELEASE.