[Spacewalk-list] Are there any docs for configuring the client for a push?

m.roth2006 at rcn.com m.roth2006 at rcn.com
Thu Feb 19 22:28:28 UTC 2009


Hey, Mairin,

>Date: Thu, 19 Feb 2009 17:07:55 -0500
>From: Máirí­n Duffy <duffy at redhat.com>  
>m.roth2006 at rcn.com wrote:
>> Mairin,
>>> Date: Thu, 19 Feb 2009 14:05:31 -0500
>>> From: Máirín Duffy <duffy at redhat.com>  
>>> m.roth2006 at rcn.com wrote:
>>>> Are there any? I can't seem to create a profile for my
>>>> client. None was created when I registered it, and when I
>>>> try rhn-profile-sync, it fails with error communicating
>>>> with server in /var/log/up2date on the client, and not
>>>> connected to Oracle on the server.
>>> Can you provide us the full error from the up2date log?
>> 
>> Certainly:
>> [Wed Feb 18 13:22:09 2009] up2date Error communicating with server. The message was:
>> Internal Server Error
>> [Wed Feb 18 13:22:09 2009] up2date
>> Traceback (most recent call last):
>>   File "/usr/sbin/rhn-profile-sync", line 54, in ?
>>     cli.run()
>>   File "/usr/share/rhn/up2date_client/rhncli.py", line 65, in run
>>     sys.exit(self.main() or 0)
>>   File "/usr/sbin/rhn-profile-sync", line 42, in main
>>     rhnPackageInfo.updatePackageProfile()
>>   File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 27, in updatePackageProfile
>>     rpmUtils.getInstalledPackageList(getArch=1))
>>   File "/usr/share/rhn/up2date_client/rhnserver.py", line 50, in __call__
>>     return rpcServer.doCall(method, *args, **kwargs)
>>   File "/usr/share/rhn/up2date_client/rpcServer.py", line 263, in doCall
>>     raise up2dateErrors.CommunicationError(e.errmsg)
>> up2date_client.up2dateErrors.CommunicationError: Error communicating with server. The message was:
>> Internal Server Error
>> 
>>> Where is the Oracle error message? Can you provide that?
>> 
>>>From /usr/lib/oracle//xe/app/oracle/admin/XE/bdump/alert_XE.log:
>> Wed Feb 18 13:20:41 2009
>> Errors in file /usr/lib/oracle/xe/app/oracle/admin/XE/udump/xe_ora_16495.trc:
>> ORA-07445: exception encountered: core dump [evapls()+133] [SIGSEGV] [Address not mapped to object] [0x4] [] []
>> 
>> And in catalina.out, I get the usual 50million lines of a java exception when, about 15 min. earlier than the above, I tried to schedule a profile update from spacewalk via browser, for the client system: null pointer exception
>
>Okay. 'Internal Server Error' doesn't really tell me much. Can you post 
>the java exceptions somewhere and link to them, or send them as an 
>attachment?

I'll put them at the end of this email.
>
>'Core dump' in oracle doesn't really tell me much either except, whoah, 
>sounds bad. :)

A SEGV is *always* bad, and should *not* happen, esp. since I was under the impression that everything in Java was protected against that.... <g>
>
>>>> There must be *something* that I need to do to make the
>>>> profile, so I can set up a push.
>>> By setting up a push, do you mean configuring the client for
>>> OSAD?
>>>
>>> https://fedorahosted.org/spacewalk/wiki/OSADSetup
>> 
>> What is OSAD? I saw setup instructions for it, but nothing that told me in the client setup docs what it was, or why it was needed, at least in the client setup docs, which end with the registration. Is this a daemon that needs to run on the client? Is it needed on the server, as well?
>>> Or are you talking about rhnpush-ing content into a channel?
>
>I'm wondering how you could have set things up for push-to-clients if 
>you didn't know what OSAD was.... if you don't set up OSAD then 
>Spacewalk is client pull only.
>
>What steps did you follow up to this point??


>> 
>> Oh, no, I've got that working just fine, thanks. Did I post the script I wrote for that?
>
>I don't know.
>
>>> (I am assuming the former since the latter doesn't have much
>>> to do with a client system)
>> 
>> Right: we don't plan to have the client pull the update, but rather push it from the server.
>>>> Oh, and when I scheduled a push via browser/spacewalk, it
>>>> errored out.
>>> Okay? What error message did you get? Is the osad daemon
>>> running on the Satellite? Does the client you're trying to
>>> push to have an active OSAD status in its system details page?
>> 
>> I'd have to rerun it. First, though, could you tell me, or point me to a doc, that tells me about OSAD, other than just how to set it up?
>> 
>
>I honestly hate to pick on you at this point (although you probably 
>think I'm a real meaniehead by now anyway) it is all on the main 
>documentation page on the Spacewalk wiki, OSAD docs also turn up if you 
>search for 'OSAD' in the Spacewalk wiki search or if you search for 
>'OSAD spacewalk' in yahoo or google. Anyhow, here is the documentation 
>from there that talks about OSAD beyond how to set it up:
>
>https://fedorahosted.org/spacewalk/wiki/HowToRhnpush

Um, there's no link to that doc at <https://fedorahosted.org/spacewalk/wiki/UserDocs> That's where I was looking, and I followed the "Registering Clients". I looked at the ManageingFedoraSystems, and that's the one that has, as the last two lines of the doc, 
Pushing packages to Fedora clients 
Managing configuration of Fedora clients 
that are *not* links, but apparently placeholders for future documents.

>From a quick skim of that document, is it the case that jabberd only needs to run on the server, not on the client?
>
>OSAD is also mentioned in the python architecture diagram here:
>
>https://fedorahosted.org/spacewalk/wiki/PythonDocumentation
>
>For reference, the main Spacewalk documentation page is here:
>
>https://fedorahosted.org/spacewalk/wiki/UserDocs
>
>'OSAD' is meaningless if you have no idea what it means, but the 
>description of the doc on the User Docs page does make it clear. Maybe 
>the User Docs page would be easier to read if the docs were split out by 
>functionality, though. E.g., client configuration, 
>kickstart/provisioning, etc etc.

Hope the logs below help.

    mark
The error logs: 
2009-02-18 13:06:52,179 [TP-Processor13] ERROR com.redhat.rhn.frontend.servlets.SessionFilter - Error during transaction. Rolling back
javax.servlet.ServletException
        at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:237)
        at com.redhat.rhn.frontend.struts.RhnRequestProcessor.process(RhnRequestProcessor.java:82)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
        at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at com.redhat.rhn.frontend.servlets.AuthFilter.doFilter(AuthFilter.java:73)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:142)
        at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:58)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter.doFilter(LocalizedEnvironmentFilter.java:67)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at com.redhat.rhn.frontend.servlets.EnvironmentFilter.doFilter(EnvironmentFilter.java:108)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at com.redhat.rhn.frontend.servlets.SessionFilter.doFilter(SessionFilter.java:55)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at com.redhat.rhn.frontend.servlets.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:97)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
        at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.NullPointerException
        at com.redhat.rhn.frontend.action.schedule.ScheduledActionAction.cancelActions(ScheduledActionAction.java:119)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)
        at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)
        at org.apache.struts.actions.LookupDispatchAction.execute(LookupDispatchAction.java:150)
        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
        ... 40 more
2009-02-18 13:06:52,262 [TP-Processor13] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/rhn].[action] - Servlet.service() for servlet action threw exception
java.lang.NullPointerException
        at com.redhat.rhn.frontend.action.schedule.ScheduledActionAction.cancelActions(ScheduledActionAction.java:119)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)
        at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)
        at org.apache.struts.actions.LookupDispatchAction.execute(LookupDispatchAction.java:150)
        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:237)
        at com.redhat.rhn.frontend.struts.RhnRequestProcessor.process(RhnRequestProcessor.java:82)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
        at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at com.redhat.rhn.frontend.servlets.AuthFilter.doFilter(AuthFilter.java:73)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:142)
        at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:58)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter.doFilter(LocalizedEnvironmentFilter.java:67)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at com.redhat.rhn.frontend.servlets.EnvironmentFilter.doFilter(EnvironmentFilter.java:108)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at com.redhat.rhn.frontend.servlets.SessionFilter.doFilter(SessionFilter.java:55)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at com.redhat.rhn.frontend.servlets.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:97)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
        at java.lang.Thread.run(Thread.java:636)





More information about the Spacewalk-list mailing list