Bug 717884 - cobbler xml-rpc is not reachable from Satellite in an IPv6 only environment
Summary: cobbler xml-rpc is not reachable from Satellite in an IPv6 only environment
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Provisioning
Version: 541
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Milan Zázrivec
QA Contact: Pavel Studeník
URL:
Whiteboard:
Depends On:
Blocks: sat550-post-ga, sat550-test-blockers sat550-ipv6
TreeView+ depends on / blocked
 
Reported: 2011-06-30 10:12 UTC by Milan Zázrivec
Modified: 2012-10-12 09:58 UTC (History)
5 users (show)

Fixed In Version: cobbler-2.0.7-15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-12 09:58:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch (1.10 KB, patch)
2011-06-30 10:12 UTC, Milan Zázrivec
no flags Details | Diff
updated patch (1.35 KB, patch)
2011-06-30 12:59 UTC, Milan Zázrivec
no flags Details | Diff
next evolution of cobbler ipv6 patch (3.27 KB, patch)
2011-11-03 17:10 UTC, Milan Zázrivec
no flags Details | Diff
next evolution of cobbler ipv6 patch (3.27 KB, patch)
2011-11-03 17:13 UTC, Milan Zázrivec
no flags Details | Diff
Next patch evolution (working w/ Satellite's cobbler-2.0.7) (3.72 KB, patch)
2011-11-11 16:00 UTC, Milan Zázrivec
no flags Details | Diff
Next patch evolution (working w/ Satellite's cobbler-2.0.7) (6.82 KB, patch)
2012-01-23 17:52 UTC, Milan Zázrivec
no flags Details | Diff
Next patch evolution (working w/ Satellite's cobbler-2.0.7) (3.86 KB, patch)
2012-01-26 11:12 UTC, Milan Zázrivec
no flags Details | Diff
Next patch evolution (working w/ Satellite's cobbler-2.0.7) (4.50 KB, patch)
2012-01-26 11:31 UTC, Milan Zázrivec
no flags Details | Diff

Description Milan Zázrivec 2011-06-30 10:12:37 UTC
Created attachment 510626 [details]
patch

Description of problem:
* Satellite 5.4.1 installation in an IPv6 only environment
* Apache configuration, cobbler_wsgi.conf:

    ProxyPass /cobbler_api http://localhost:25151/
    ProxyPassReverse /cobbler_api http://localhost:25151/

* In an IPv6 only environment, Apache resolves "localhost" as ::1
* Cobbler listens on 127.0.0.1 only

As a result of the above, Apache won't be able to reach cobbler and
proxy the requests coming from the web application and / or taskomatic.

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

How reproducible:
Always

Steps to Reproduce:
1. Satellite 5.4.1 in an IPv6 only environment
2. Check /var/log/rhn/rhn_taskomatic_daemon.log
  
Actual results:
Apache is unable to reach Cobbler, errors like:

ERROR com.redhat.rhn.taskomatic.task.CobblerSyncTask - RuntimeExceptioneError trying to sync to cobbler: XmlRpcException calling cobbler.
java.lang.RuntimeException: XmlRpcException calling cobbler.
      at com.redhat.rhn.manager.kickstart.cobbler.CobblerXMLRPCHelper.invokeMethod(CobblerXMLRPCHelper.java:72)
      at com.redhat.rhn.taskomatic.task.CobblerSyncTask.execute(CobblerSyncTask.java:70)
      at com.redhat.rhn.taskomatic.task.RhnJavaJob.execute(RhnJavaJob.java:80)
      at com.redhat.rhn.taskomatic.TaskoJob.execute(TaskoJob.java:168)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)

Expected results:
Apache is able to reach Cobbler's XML-RPC

Additional info:
N/A

Comment 1 Milan Zázrivec 2011-06-30 12:59:31 UTC
Created attachment 510662 [details]
updated patch

Comment 2 Milan Zázrivec 2011-11-03 17:10:20 UTC
Created attachment 531611 [details]
next evolution of cobbler ipv6 patch

Comment 3 Milan Zázrivec 2011-11-03 17:13:04 UTC
Created attachment 531612 [details]
next evolution of cobbler ipv6 patch

Comment 4 Milan Zázrivec 2011-11-11 16:00:28 UTC
Created attachment 533102 [details]
Next patch evolution (working w/ Satellite's cobbler-2.0.7)

Comment 5 Milan Zázrivec 2012-01-23 17:52:36 UTC
Created attachment 557017 [details]
Next patch evolution (working w/ Satellite's cobbler-2.0.7)

Comment 6 Milan Zázrivec 2012-01-26 11:12:20 UTC
Created attachment 557639 [details]
Next patch evolution (working w/ Satellite's cobbler-2.0.7)

Comment 7 Milan Zázrivec 2012-01-26 11:31:02 UTC
Created attachment 557646 [details]
Next patch evolution (working w/ Satellite's cobbler-2.0.7)


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