Bug 922250 - eventReceivers needs to be updated for httpd 2.4, Apache2::Connection remote_ip
Summary: eventReceivers needs to be updated for httpd 2.4, Apache2::Connection remote_ip
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 1.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Pazdziora (Red Hat)
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space20
TreeView+ depends on / blocked
 
Reported: 2013-03-15 20:49 UTC by Stephen Herr
Modified: 2013-08-02 12:37 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-08-02 12:37:18 UTC
Embargoed:


Attachments (Terms of Use)

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.


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