Bug 791217 - IPv6: MonitoringScout on Proxy cannot download NOCpulse.ini from Spacewalk
Summary: IPv6: MonitoringScout on Proxy cannot download NOCpulse.ini from Spacewalk
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Spacewalk
Classification: Community
Component: Proxy Server
Version: 1.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Stephen Herr
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: 790326 space27
TreeView+ depends on / blocked
 
Reported: 2012-02-16 14:30 UTC by Lukas Pramuk
Modified: 2017-09-28 17:55 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-30 16:02:17 UTC


Attachments (Terms of Use)

Description Lukas Pramuk 2012-02-16 14:30:17 UTC
Description of problem:
During Proxy configuration,the MonitoringScout is not able to download initial config file NOCpulse.ini from IPv6 Spacewalk (ip6 hostname or ip)

Version-Release number of selected component (if applicable):
SatConfig-general 1.216.25-1.el6
nocpulse-common   2.2.1-1.el6
perl-libwww-perl 5.833-2.el6
perl 5.10.1-119.el6_1.1

How reproducible:
100%

Steps to Reproduce:
1. register to IPv6 parent SW
2. run configure-proxy.sh
3. be sure to enable Monitoring Scout, during MonitoringScout service start error message is printed
  
Actual results:
NOCpulse.ini is not downloaded, following error message is printed:
Starting MonitoringScout ...  
2012-02-16 08:59:13 InstallSoftwareConfig: 	!! Couldn't download NOCpulse.ini:  500 Can't connect to ipv6-machine.domain:443 (Bad hostname 'ipv6-machine.domain')

Expected results:
NOCpulse.ini is downloaded, no error messages, just [ OK ]

Additional info:
NOCpulse::NOCpulseini->download_nocpulseini is using perl-libwww-perl LWP::UserAgent->get, which seems not being aware of IPv6

Comment 1 Jan Pazdziora 2012-04-10 14:20:36 UTC
I believe just adding

  use Net::INET6Glue::INET_is_INET6;

could make the monitoring code IPv6 aware.

Comment 2 Lukas Pramuk 2013-03-26 09:50:31 UTC
I tried to add "use Net::INET6Glue::INET_is_INET6;" into /usr/share/perl5/vendor_perl/NOCpulse/NOCpulseini.pm and yes 500 was gone, but 403 popped instead.

2013-03-25 21:57:14 InstallSoftwareConfig: 	!! Couldn't download NOCpulse.ini:  403 Forbidden

Not sure if it helped or not. (Dimi would say: Im'suspicious about that :-)

Comment 4 Lukas Pramuk 2013-03-26 10:04:41 UTC
INET6Glue for IPv4 behaves same way as for IPv6: 403 Forbidden.
So it seems it just breaks IPv4 connection and doesn't help to establish IPv6 connection...

I tested these cases:
[1] IPv4
Starting MonitoringScout ...  
	Starting InstallSoftwareConfig ...  [ OK ]

[2] IPv4, INET6Glue 
Starting MonitoringScout ...  
2013-03-25 22:35:19 InstallSoftwareConfig: 	!! Couldn't download NOCpulse.ini:  403 Forbidden

[3] IPv6, INET6Glue
Starting MonitoringScout ...  
2013-03-25 22:40:35 InstallSoftwareConfig: 	!! Couldn't download NOCpulse.ini:  403 Forbidden

[4] IPv6 (reported issue)
Starting MonitoringScout ...  
2013-03-25 22:43:43 InstallSoftwareConfig: 	!! Couldn't download NOCpulse.ini:  500 Can't connect to ipv6-machine.domain:443 (Bad hostname 'ipv6-machine.domain')

Comment 5 Grant Gainey 2015-03-30 16:02:17 UTC
As of the Spacewalk 2.3 release, Spacewalk no longer supports monitoring.  Closing.

Comment 6 Eric Herget 2017-09-28 17:55:58 UTC
This BZ closed some time during 2.5, 2.6 or 2.7.  Adding to 2.7 tracking bug.


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