[Spacewalk-list] API Issue

Alexander Dacre alex.dacre at aridhia.com
Mon Jul 6 08:30:47 UTC 2015


Thanks Jan!

Alex Dacre
Systems Engineer
+44 131 560 1466

-----Original Message-----
From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Jan Dobes
Sent: 03 July 2015 16:56
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] API Issue

Hello,

this is a bug and I've just fixed it in spacewalk master. Thank you for reporting!

Regards,
--
Jan Dobes
Satellite Engineering, Red Hat

----- Original Message -----
> From: "Alexander Dacre" <alex.dacre at aridhia.com>
> To: spacewalk-list at redhat.com
> Sent: Friday, July 3, 2015 9:48:52 AM
> Subject: [Spacewalk-list] API Issue
> 
> 
> 
> Hi,
> 
> 
> 
> I’m having some difficulties with an API call following an upgrade to 2.3.
> 
> 
> 
> The API call in question is system.listUngroupedSystems. I’ve checked 
> the logs and there is an exception in rhn_web_api.log, but there is 
> nothing in the PostgreSQL logs as to why the query could not be executed. Thoughts?
> Error below.
> 
> 
> 
> [2015-07-03 08:44:35,802] INFO - REQUESTED FROM: 192.168.184.21 CALL:
> auth.login(apiuser, ********) CALLER: (none) TIME: 3.022 seconds
> 
> [2015-07-03 08:44:36,142] ERROR - REQUESTED FROM: 192.168.184.21 CALL:
> system.listUngroupedSystems(apiuser) CALLER: (apiuser) TIME: 0.2 
> seconds
> 
> redstone.xmlrpc.XmlRpcFault: unhandled internal exception: could not 
> execute query
> 
> at 
> com.redhat.rhn.frontend.xmlrpc.BaseHandler.invoke(BaseHandler.java:208
> )
> 
> at 
> redstone.xmlrpc.XmlRpcDispatcher.dispatch(XmlRpcDispatcher.java:123)
> 
> at
> com.redhat.rhn.frontend.xmlrpc.RhnXmlRpcServer.execute(RhnXmlRpcServer
> .java:54)
> 
> at
> com.redhat.rhn.frontend.xmlrpc.XmlRpcServlet.doPost(XmlRpcServlet.java
> :162)
> 
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
> 
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> 
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cationFilterChain.java:290)
> 
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
> lterChain.java:206)
> 
> at
> com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMesh
> Filter.java:129)
> 
> at
> com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilte
> r.java:77)
> 
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cationFilterChain.java:235)
> 
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
> lterChain.java:206)
> 
> at
> com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter.doFilter(L
> ocalizedEnvironmentFilter.java:67)
> 
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cationFilterChain.java:235)
> 
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
> lterChain.java:206)
> 
> at
> com.redhat.rhn.frontend.servlets.EnvironmentFilter.doFilter(Environmen
> tFilter.java:100)
> 
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cationFilterChain.java:235)
> 
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
> lterChain.java:206)
> 
> at
> com.redhat.rhn.frontend.servlets.SessionFilter.doFilter(SessionFilter.
> java:57)
> 
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cationFilterChain.java:235)
> 
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
> lterChain.java:206)
> 
> at
> com.redhat.rhn.frontend.servlets.SetCharacterEncodingFilter.doFilter(S
> etCharacterEncodingFilter.java:97)
> 
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cationFilterChain.java:235)
> 
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
> lterChain.java:206)
> 
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa
> lve.java:233)
> 
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa
> lve.java:191)
> 
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
> va:127)
> 
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja
> va:102)
> 
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
> e.java:109)
> 
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
> :298)
> 
> at 
> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
> 
> at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
> 
> at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
> 
> at
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.jav
> a:698)
> 
> at
> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocke
> t.java:891)
> 
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPo
> ol.java:690)
> 
> at java.lang.Thread.run(Thread.java:701)
> 
> 
> 
> Thanks,
> 
> 
> 
> Alex Dacre
> 
> Systems Engineer
> 
> 
> 
> Aridhia Informatics Ltd.
> 
> Hobart House
> 
> 80 Hanover Street
> 
> Edinburgh
> 
> EH2 1EL
> 
> 
> 
> +44 131 560 1466
> www.aridhia.com
> 
> 
> 
> Keep up to date with all the latest news by following us on Twitter 
> @aridhia
> 
> 
> 
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list

_______________________________________________
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