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

Máirí­n Duffy duffy at redhat.com
Thu Feb 19 22:07:55 UTC 2009


Hi Mark,

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?

'Core dump' in oracle doesn't really tell me much either except, whoah, 
sounds bad. :)

>>> 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

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.

~m




More information about the Spacewalk-list mailing list