Due to these sorts of nagging issues (especially when they proliferate across 
SCORES of servers), I finally set up a standard daily cron task (pushed out via 
the SW configuration management!) that does these actions daily on all clients:

/usr/bin/yum clean all
/usr/bin/yum makecache
/usr/sbin/rhn-profile-sync
/sbin/service osad restart

I find it handy to run that script "by hand" at times also.  A sledgehammer 
approach, perhaps, but one with very little downside AFAIK.

I'd say that that has eliminated 90% of the nagging one-off problems with 
connectivity (osad) and failed updates.

FWIW.

If you have root privileges to the spacewalk SERVER (which you presumably do), 
you may find that recreating the repodata for the affected channel may help.

cd /var/cache/rhn/repodata/
remove the affected channel's directory tree
then run (in spacecmd) the "softwarechannel_regenerateyumcache" command against 
that channel
new repodata should then shortly re-appear
(At which point, I've found that I may need to run the cron script (above) by 
hand on the client.)

Andy

Andy Ingham, MS, CISSP
IT Infrastructure
Fuqua School of Business
Duke University


From: <Boyd>, Robert 
<[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Friday, April 17, 2015 at 1:03 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: [Spacewalk-list] Yum client reports no update, But Spacewalk GUI 
reports that there are

This problem continues.  The master clearly sees that a number of packages need 
updating.  For some reason on the client these packages are not being seen.  I 
attempted scheduling updates from Spacewalk GUI.  Then ran rhn_check on the 
client.   Then I see this result on the master:

Summary:

Package Install scheduled by <username>

Details:

This action will be executed after 04/17/15 12:58:53 PM EDT.

This action's status is: Failed.
The client picked up this action on 04/17/15 12:59:09 PM EDT.
The client completed this action on 04/17/15 12:59:15 PM EDT.
Client execution returned "Error while executing packages action: empty 
transaction [[6]]" (code -1)
Packages Scheduled:
·         xorg-x11-server-common-1.15.0-26.el6_6
·         libipa_hbac-python-1.11.6-30.el6_6.4
·         cyrus-sasl-2.1.23-15.el6_6.2
·         scl-utils-20120927-27.el6_6
·         kernel-2.6.32-504.12.2.el6
·         sssd-1.11.6-30.el6_6.4
·         dhcp-common-4.1.1-43.P1.el6_6.1:12
·         busybox-1.15.1-21.el6_6:1
·         nss-softokn-freebl-3.14.3-22.el6_6
·         tzdata-2015b-1.el6
·         kpartx-0.4.9-80.el6_6.3
·         openssl-1.0.1e-30.el6_6.8
·         samba-winbind-3.6.23-14.el6_6:0
·         samba-winbind-clients-3.6.23-14.el6_6:0
·         ntp-4.2.6p5-3.el6_6
·         krb5-libs-1.10.3-37.el6_6
·         sssd-krb5-common-1.11.6-30.el6_6.4
·         perf-2.6.32-504.12.2.el6
·         flac-1.2.1-7.el6_6
·         krb5-workstation-1.10.3-37.el6_6
·         freetype-2.3.11-15.el6_6.1
·         cyrus-sasl-lib-2.1.23-15.el6_6.2
·         unzip-6.0-2.el6_6
·         dhclient-4.1.1-43.P1.el6_6.1:12
·         augeas-libs-1.0.0-7.el6_6.1
·         samba4-libs-4.0.0-66.el6_6.rc4:0
·         samba-common-3.6.23-14.el6_6:0
·         tzdata-java-2015b-1.el6
·         sssd-client-1.11.6-30.el6_6.4
·         dracut-004-356.el6_6.1
·         curl-7.19.7-40.el6_6.4
·         cyrus-sasl-plain-2.1.23-15.el6_6.2
·         libsss_idmap-1.11.6-30.el6_6.4
·         libcurl-7.19.7-40.el6_6.4
·         sssd-proxy-1.11.6-30.el6_6.4
·         libipa_hbac-1.11.6-30.el6_6.4
·         openssl-devel-1.0.1e-30.el6_6.8
·         krb5-devel-1.10.3-37.el6_6
·         libssh2-1.4.2-1.el6_6.1
·         nss-softokn-3.14.3-22.el6_6
·         sssd-common-1.11.6-30.el6_6.4
·         python-sssdconfig-1.11.6-30.el6_6.4
·         shadow-utils-4.1.4.2-19.el6_6.1:2
·         sssd-ipa-1.11.6-30.el6_6.4
·         xorg-x11-server-Xorg-1.15.0-26.el6_6
·         alsa-utils-1.0.22-9.el6_6
·         sssd-krb5-1.11.6-30.el6_6.4
·         kexec-tools-2.0.0-280.el6_6.2
·         ruby-1.8.7.374-4.el6_6
·         kernel-headers-2.6.32-504.12.2.el6
·         sssd-ad-1.11.6-30.el6_6.4
·         kernel-firmware-2.6.32-504.12.2.el6
·         gdbm-1.8.0-38.el6
·         openjpeg-libs-1.3-11.el6
·         gdbm-devel-1.8.0-38.el6
·         tcsh-6.17-25.el6_6
·         sssd-ldap-1.11.6-30.el6_6.4
·         dracut-kernel-004-356.el6_6.1
·         nss-softokn-freebl-3.14.3-22.el6_6
·         ruby-libs-1.8.7.374-4.el6_6
·         cyrus-sasl-gssapi-2.1.23-15.el6_6.2
·         sssd-common-pac-1.11.6-30.el6_6.4

Time:

04/17/15 12:58:53 PM EDT

________________________________
Reschedule:

This history event was caused by a failed scheduled action.
If you have corrected the problem, you may reschedule the action b



Robert Boyd
Sr. Systems Engineer
PeopleFluent
p. 919-645-2972 | c. 919-306-4681
e. [email protected]<mailto:[email protected]>

[http://mktg.peoplefluent.com/rs/peopleclick/images/140410_PF4colorLOGOx150.png]<http://www.peoplefluent.com/>
Click here<http://www.peoplefluent.com/> to experience the power of the new 
PeopleFluent Mirror Suite (tm)
Visit: www.peoplefluent.com<http://www.peoplefluent.com/> | Read: PeopleFluent 
Blog<http://peoplefluent.com/resources/peoplefluent-blog> | Follow: 
@PeopleFluent<http://twitter.com/peoplefluent>
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to