[Spacewalk-list] Spacewalk 2.2: Clients are not picking up scheduled tasks

Brian Musson mrbrian at gmail.com
Thu Jun 11 18:43:47 UTC 2015


I have about 3000 systems registered in spacewalk, but today we are
focusing on applying package updates to 22 of them. Of the 22 systems
scheduled to have security errata applied to them, 20 successfully
completed the update without error. Unfortunately, there are two systems
which have the task queued and have not picked it up yet.

I have restarted osad, rhnsd, restarted jabberd on the spacewalk master and
proxy through which these failed systems connect. Other clients which have
successfully updated go through this proxy server as well.

When looking at the GUI, the client appears to be healthy.

[image: Inline image 1]

These are the scheduled tasks:

[image: Inline image 2]

Doing 'rhn_check -vvvv' over and over doesn't seem to do anything. I am not
sure what else to check. No firewall is configured either on the client or
the server. I am using the run plugins to install packages, so i know at
least that is working.

Here is nmap from the client to the proxy:

Host is up (0.00017s latency).
rDNS record for 10.122.13.142: proxy.domain.tld
Not shown: 990 closed ports
PORT     STATE SERVICE
22/tcp   open  ssh
25/tcp   open  smtp
80/tcp   open  http
111/tcp  open  rpcbind
443/tcp  open  https
465/tcp  open  smtps
587/tcp  open  submission
5222/tcp open  xmpp-client
5269/tcp open  xmpp-server
8080/tcp open  http-proxy




   1. # service osad status
   2. osad (pid  1842) is running...
   3.
   4. # rhn-actions-control --report
   5. deploy is enabled
   6. diff is enabled
   7. upload is enabled
   8. mtime_upload is enabled
   9. run is enabled
   10.
   11.
   12. # rhn_check -vvv
   13. D: opening  db environment /var/lib/rpm cdb:mpool:joinenv
   14. D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
   15. D: locked   db index       /var/lib/rpm/Packages
   16. D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key
   17. D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key
   18. D: loading keyring from rpmdb
   19. D: opening  db index       /var/lib/rpm/Name rdonly mode=0x0
   20. D: added key gpg-pubkey-c105b9de-4e0fd3a3 to keyring
   21. D: added key gpg-pubkey-0608b895-4bd22942 to keyring
   22. D: added key gpg-pubkey-442df0f8-4783f24a to keyring
   23. D: added key gpg-pubkey-548c16bf-4c29a642 to keyring
   24. D: added key gpg-pubkey-217521f6-45e8a532 to keyring
   25. D: added key gpg-pubkey-863a853d-4f55f54d to keyring
   26. D: added key gpg-pubkey-1bb35891-54f75af8 to keyring
   27. D: Using legacy gpg-pubkey(s) from rpmdb
   28. D: opening  db index       /var/lib/rpm/Providename rdonly mode=0x0
   29. D: do_call packages.checkNeedUpdate('rhnsd=1',){}
   30. D: opening  db environment /var/lib/rpm cdb:mpool:joinenv
   31. D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
   32. D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key
   33. D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key
   34. D: loading keyring from rpmdb
   35. D: opening  db index       /var/lib/rpm/Name rdonly mode=0x0
   36. D: added key gpg-pubkey-c105b9de-4e0fd3a3 to keyring
   37. D: added key gpg-pubkey-0608b895-4bd22942 to keyring
   38. D: added key gpg-pubkey-442df0f8-4783f24a to keyring
   39. D: added key gpg-pubkey-548c16bf-4c29a642 to keyring
   40. D: added key gpg-pubkey-217521f6-45e8a532 to keyring
   41. D: added key gpg-pubkey-863a853d-4f55f54d to keyring
   42. D: added key gpg-pubkey-1bb35891-54f75af8 to keyring
   43. D: Using legacy gpg-pubkey(s) from rpmdb
   44. D: opening  db index       /var/lib/rpm/Providename rdonly mode=0x0
   45. D: closed   db index       /var/lib/rpm/Providename
   46. D: closed   db index       /var/lib/rpm/Name
   47. D: closed   db index       /var/lib/rpm/Packages
   48. D: closed   db environment /var/lib/rpm
   49. Loaded plugins: fastestmirror, presto, rhnplugin
   50. Config time: 0.038
   51. D: login(forceUpdate=False) invoked
   52. D: readCachedLogin invoked
   53. D: Unable to read pickled loginInfo at:
   /var/spool/up2date/loginAuth.pkl
   54. logging into up2date server
   55. D: rpcServer: Calling XMLRPC up2date.login
   56. D: writeCachedLogin() invoked
   57. D: Wrote pickled loginInfo at 1434032930.09 with expiration of
   1434036530.09 seconds.
   58. successfully retrieved authentication token from up2date server
   59. D: logininfo:{'X-RHN-Server-Id': 1000010314,
   'X-RHN-Auth-Server-Time': '1434032926.38', 'X-RHN-Auth':
   '7RfB/XtV6EqZw8hGYqe+dFasQ+3q9QvfIzO+RrKIdd0=',
'X-RHN-Auth-Channels': [['centos6-base-x86_64',
   '20150611060001', '1', '1'], ['spacewalk-client-x86_64', '20150611061143',
   '0', '1'], ['epel6-x86_64', '20150611061143', '0', '1'],
['centos6-sysops-x86_64',
   '20150504165024', '0', '1'], ['centos6-updates-x86_64', '20150611060258',
   '0', '1']], 'X-RHN-Auth-User-Id': '', 'X-RHN-Auth-Expire-Offset': '3600.0
   '}
   60. D: rpcServer: Calling XMLRPC up2date.listChannels
   61. This system is receiving updates from RHN Classic or Red Hat
   Satellite.
   62. Setting up Package Sacks
   63. Loading mirror speeds from cached hostfile
   64. pkgsack time: 0.065
   65. rpmdb time: 0.000
   66. Loading mirror speeds from cached hostfile
   67. repo time: 0.000
   68. D: local action status: (0, 'rpm database not modified since last
   update (or package list recently updated)', {})
   69. D: rpcServer: Calling XMLRPC registration.welcome_message
   70. D: closed   db index       /var/lib/rpm/Providename
   71. D: closed   db index       /var/lib/rpm/Name
   72. D: closed   db index       /var/lib/rpm/Packages
   73. D: closed   db environment /var/lib/rpm

BM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20150611/7e38575f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2015-06-11 at 11.25.03 AM.png
Type: image/png
Size: 270928 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20150611/7e38575f/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2015-06-11 at 11.39.59 AM.png
Type: image/png
Size: 65910 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20150611/7e38575f/attachment-0001.png>


More information about the Spacewalk-list mailing list