[Spacewalk-list] Interesting OSAD Problem

ezinne ibeagbazi eibeagbazi at gmail.com
Mon Dec 8 21:40:48 UTC 2014


Wald,

I think my clients were not well installed because non of them can list
osad service in it. I don't know if just kickstarting a vm from the
kickstart file I created will automatically add them to the server.

Please can you send me sample of your kickstart file for client, let me use
it and create one then the diff.

And also giving me procedures of adding a client to automatically see the
packages from the sw.

thanks.

On Mon, Dec 8, 2014 at 2:57 PM, Waldirio Manhães Pinheiro <
waldirio at gmail.com> wrote:

> Zinny
>
> You can check the server logs, btw this problem may happen when you have
> name resolution problem. When you generate your certificate, the name of
> your server is using fqdn for example and in your system, only hostname is
> identified.
>
> Check in /var/log/rhn/* for error.
>
> ______________
> Atenciosamente
> Waldirio
> msn: waldirio at gmail.com
> Skype: waldirio
> Site: www.waldirio.com.br
> Blog: blog.waldirio.com.br
> LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
> PGP: www.waldirio.com.br/public.html
>
> On Mon, Dec 8, 2014 at 5:11 PM, ezinne ibeagbazi <eibeagbazi at gmail.com>
> wrote:
>
>> Here is the output when I run the rhn_check -vvv command.
>>
>>
>> [root at child ~]# rhn_check -vvv
>> D: opening  db environment /var/lib/rpm cdb:mpool:joinenv
>> D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
>> D: locked   db index       /var/lib/rpm/Packages
>> D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key
>> D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key
>> D: loading keyring from rpmdb
>> D: opening  db index       /var/lib/rpm/Name rdonly mode=0x0
>> D: added key gpg-pubkey-fd431d51-4ae0493b to keyring
>> D: added key gpg-pubkey-2fa658e0-45700c69 to keyring
>> D: Using legacy gpg-pubkey(s) from rpmdb
>> D: opening  db index       /var/lib/rpm/Providename rdonly mode=0x0
>> D: do_call packages.checkNeedUpdate('rhnsd=1',){}
>> D: opening  db environment /var/lib/rpm cdb:mpool:joinenv
>> D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
>> D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key
>> D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key
>> D: loading keyring from rpmdb
>> D: opening  db index       /var/lib/rpm/Name rdonly mode=0x0
>> D: added key gpg-pubkey-fd431d51-4ae0493b to keyring
>> D: added key gpg-pubkey-2fa658e0-45700c69 to keyring
>> D: Using legacy gpg-pubkey(s) from rpmdb
>> D: opening  db index       /var/lib/rpm/Providename rdonly mode=0x0
>> D: closed   db index       /var/lib/rpm/Providename
>> D: closed   db index       /var/lib/rpm/Name
>> D: closed   db index       /var/lib/rpm/Packages
>> D: closed   db environment /var/lib/rpm
>> Loaded plugins: product-id, rhnplugin
>> Config time: 0.423
>> D: login(forceUpdate=False) invoked
>> D: readCachedLogin invoked
>> D: Checking pickled loginInfo, currentTime=1418061265.49,
>> createTime=1418058632.07, expire-offset=3600.0
>> D: readCachedLogin(): using pickled loginInfo set to expire at
>> 1418062232.07
>> D: rpcServer: Calling XMLRPC up2date.listChannels
>> This system is receiving updates from RHN Classic or RHN Satellite.
>> Setting up Package Sacks
>> updateLoginInfo() login info
>> D: login(forceUpdate=True) invoked
>> logging into up2date server
>> D: rpcServer: Calling XMLRPC up2date.login
>> D: writeCachedLogin() invoked
>> D: Wrote pickled loginInfo at 1418061275.67 with expiration of
>> 1418064875.67 seconds.
>> successfully retrieved authentication token from up2date server
>> D: logininfo:{'X-RHN-Server-Id': 1000010003, 'X-RHN-Auth-Server-Time':
>> '1418063315.26', 'X-RHN-Auth-Channels': [['centos6', '20141204103056', '1',
>> '1']], 'X-RHN-Auth': '4i2mZWbybU6Y9udbCEc2uA==', 'X-RHN-Auth-User-Id': '',
>> 'X-RHN-Auth-Expire-Offset': '3600.0'}
>> updateLoginInfo() login info
>> D: login(forceUpdate=True) invoked
>> logging into up2date server
>> D: rpcServer: Calling XMLRPC up2date.login
>> D: writeCachedLogin() invoked
>> D: Wrote pickled loginInfo at 1418061280.78 with expiration of
>> 1418064880.78 seconds.
>> successfully retrieved authentication token from up2date server
>> D: logininfo:{'X-RHN-Server-Id': 1000010003, 'X-RHN-Auth-Server-Time':
>> '1418063320.32', 'X-RHN-Auth-Channels': [['centos6', '20141204103056', '1',
>> '1']], 'X-RHN-Auth': 'F7sKe7ONjWcMSsr2x/2Ysw==', 'X-RHN-Auth-User-Id': '',
>> 'X-RHN-Auth-Expire-Offset': '3600.0'}
>> updateLoginInfo() login info
>> D: login(forceUpdate=True) invoked
>> logging into up2date server
>> D: rpcServer: Calling XMLRPC up2date.login
>> D: writeCachedLogin() invoked
>> D: Wrote pickled loginInfo at 1418061285.97 with expiration of
>> 1418064885.97 seconds.
>> successfully retrieved authentication token from up2date server
>> D: logininfo:{'X-RHN-Server-Id': 1000010003, 'X-RHN-Auth-Server-Time':
>> '1418063325.44', 'X-RHN-Auth-Channels': [['centos6', '20141204103056', '1',
>> '1']], 'X-RHN-Auth': 'k2kAqHa5P1bhFQV3hX0cJA==', 'X-RHN-Auth-User-Id': '',
>> 'X-RHN-Auth-Expire-Offset': '3600.0'}
>> D: local action status: ((6,), 'Fatal error in Python code occured', {})
>> D: rpcServer: Calling XMLRPC registration.welcome_message
>> D: closed   db index       /var/lib/rpm/Providename
>> D: closed   db index       /var/lib/rpm/Name
>> D: closed   db index       /var/lib/rpm/Packages
>> D: closed   db environment /var/lib/rpm
>>
>> [root at child ~]# yum repolist
>> Loaded plugins: product-id, rhnplugin, security, subscription-manager
>> This system is not registered to Red Hat Subscription Management. You can
>> use subscription-manager to register.
>> This system is receiving updates from RHN Classic or RHN Satellite.
>> repo id                                                 repo name
>>                                                        status
>> centos6
>> centOS6.6-Minimal-x86_64                                                 0
>> repolist: 0
>>
>>
>> On Mon, Dec 8, 2014 at 9:40 AM, Stuart Green <
>> stuart.green at doccentrics.com> wrote:
>>
>>> Hi,
>>>
>>>
>>> On 08/12/2014 14:31, ezinne ibeagbazi wrote:
>>> > Hi All,
>>> >
>>> > Can someone tell me why all my client server can not get packages from
>>> the
>>> > SW server, this is the same case for all the machines I kickstart from
>>> the
>>> > SW server and physical machine that I added as client to the SW server.
>>> >
>>> There's many issues that could cause this(not necessarily this bug),
>>> have you checked the relevant logs?
>>>
>>> If you run the command:   rhn_check -vvv on the client machine, does it
>>> receive the packages?
>>>
>>>
>>> > When I run yum repolist, it list all the repos but no packages. Please
>>> how
>>> > can I solve this issue.
>>>
>>> AFAIK, thats what 'yum repolist' is meant to do.
>>>
>>>
>>> > Thanks
>>> >
>>> >
>>> > On Mon, Dec 8, 2014 at 3:17 AM, Patrick Hurrelmann <
>>> > patrick.hurrelmann at lobster.de> wrote:
>>> >
>>> >> On 02.12.2014 19:27, Glennie, Jonathan - 0443 - MITLL wrote:
>>> >>> Hello All-
>>> >>>
>>> >>>
>>> >>>
>>> >>> I’m having an interesting osad problem… osa-dispatcher starts fine on
>>> >>> the server, but from a client, attempting to do a “service osad
>>> start”
>>> >>> generates the “Unable to connect to jabber servers” log messages.
>>> >>> However, if I manually launch osad from the command line, either by
>>> >>> running “osad _N –v –v –v –v” or simply typing “osad”, everything
>>> >>> launches just fine… I see the connection on the server side and I can
>>> >>> successfully ping/push commands to it from the GUI.
>>> >>>
>>> >>>
>>> >>>
>>> >>> What could be causing he difference in behavior?  I’ve checked and no
>>> >>> matter what way the service is launched, it runs as root so I
>>> wouldn’t
>>> >>> think it’s a permissions issue… Thanks for any help.
>>> >>>
>>> >>>
>>> >>>
>>> >>> -Jon
>>> >>
>>> >> This should be fixed by RHBA-2014-1964 [1]. Waiting for the CentOS
>>> >> rebuild to verify.
>>> >>
>>> >> Regards
>>> >> Patrick
>>> >>
>>> >> [1] https://rhn.redhat.com/errata/RHBA-2014-1964.html
>>> >>
>>> >> --
>>> >> Lobster SCM GmbH, Hindenburgstraße 15, D-82343 Pöcking
>>> >> HRB 178831, Amtsgericht München
>>> >> Geschäftsführer: Dr. Martin Fischer, Rolf Henrich
>>> >>
>>> >> _______________________________________________
>>> >> 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
>>> >
>>>
>>>
>>> _______________________________________________
>>> Spacewalk-list mailing list
>>> Spacewalk-list at redhat.com
>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>
>>
>>
>>
>> --
>> Ezinne M Ibeagbazi, Bsc, RHCE, RHCSA,VCA-Cloud, VCA-DCA, A+
>> Linux Systems Engineer
>> VINDS INC,
>> Landover, MD
>> 301-364-7694
>>
>> _______________________________________________
>> 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
>



-- 
Ezinne M Ibeagbazi, Bsc, RHCE, RHCSA,VCA-Cloud, VCA-DCA, A+
Linux Systems Engineer
VINDS INC,
Landover, MD
301-364-7694
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20141208/16442051/attachment.htm>


More information about the Spacewalk-list mailing list