[Spacewalk-list] spacewalk throwing XmlRpcException calling cobbler

Partha Aji paji at redhat.com
Fri Apr 3 16:33:26 UTC 2009


Hey Josh,

 From the rpms you seem to have installed I am guessing you are using 
spacewalk 0.4 with cobbler 1.6.. Please let me know if this is not the 
case.. i.e. let us know the output-> rpm -q cobbler

If the output says 1.6 or greater read further ...

Cobbler 1.6 had some changes in it with respect to xmlrpc connection URI 
(/cobbler_api_rw got changed to /cobbler_api_rw). In that sense cobbler 
1.6 and spacewalk 0.4 are incompatible .. To remedy this situation you 
have 3 options

1) (Recommended) Upgrade to spacewalk 0.5 which works well with cobbler 
1.6 and other bug fixes pertaining to cobbler spacewalk integration.
2) Downgrade Cobbler to 1.4.3 from 1.6
3) Add the following rewrite rule to 
"/etc/httpd/conf.d/zz-spacewalk-www.conf"
RewriteRule ^/cobbler_api_rw /cobbler_api [P]



Partha

Josh Fiske wrote:
> So I have gotten past my initial cobbler problem on install and have
> managed to get spacewalk started.  I'm able to login in to the web
> interface and start poking around.  But I find myself inundated with
> emails like this:
> 
>  
> 
> java.lang.RuntimeException: XmlRpcException calling cobbler.
> 
>       at
> com.redhat.rhn.manager.kickstart.cobbler.CobblerXMLRPCHelper.invokeMetho
> d(CobblerXMLRPCHelper.java:76)
> 
>       at
> com.redhat.rhn.taskomatic.task.CobblerSyncTask.execute(CobblerSyncTask.j
> ava:71)
> 
>       at
> com.redhat.rhn.taskomatic.task.SingleThreadedTestableTask.execute(Single
> ThreadedTestableTask.java:54)
> 
>       at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
> 
>       at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java
> :520)
> 
> Caused by: redstone.xmlrpc.XmlRpcException: The response could not be
> parsed.
> 
>       at
> redstone.xmlrpc.XmlRpcClient.handleResponse(XmlRpcClient.java:434)
> 
>       at redstone.xmlrpc.XmlRpcClient.endCall(XmlRpcClient.java:376)
> 
>       at redstone.xmlrpc.XmlRpcClient.invoke(XmlRpcClient.java:165)
> 
>       at
> com.redhat.rhn.manager.kickstart.cobbler.CobblerXMLRPCHelper.invokeMetho
> d(CobblerXMLRPCHelper.java:73)
> 
>       ... 4 more
> 
> Caused by: java.io.FileNotFoundException: 
> http://spacewalk.clarkson.edu:80/cobbler_api_rw
> 
>       at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
> tion.java:1259)
> 
>       at
> redstone.xmlrpc.XmlRpcClient.handleResponse(XmlRpcClient.java:420)
> 
>       ... 7 more
> 
>  
> 
> This would appear to be related to this bug:  
> https://bugzilla.redhat.com/show_bug.cgi?id=488137
> 
>  
> 
> Any pointers on how I might be able to take the proposed fix and apply
> it to my installation?  Is this a critical error, or can I proceed with
> the setup process for Spacewalk while ignoring these exceptions?
> 
>  
> 
> Thanks!
> 
>  
> 
> Josh
> 
> - - - -
> 
> Joshua Fiske '03, '04
> 
> Network and Security Engineer
> 
> Clarkson University, Office of Information Technology
> 
> (315) 268-6722 -- Fax:  (315) 268-6570
> 
> I route, therefore you are.
> 
>  
> 
>    Think before you print.
> 
>  
> 
> CONFIDENTIALITY:  This e-mail (including any attachments) may contain
> confidential, proprietary and privileged information, and unauthorized
> disclosure or use is prohibited.  If you received this e-mail in error,
> please notify the sender and delete this e-mail from your system.
> 
>  
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list