Bug 481361 - Spacewalk GUI shows different # of required patches compared to client
Summary: Spacewalk GUI shows different # of required patches compared to client
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Spacewalk
Classification: Community
Component: WebUI
Version: 0.4
Hardware: i386
OS: Linux
low
high
Target Milestone: ---
Assignee: Justin Sherrill
QA Contact: Jesus M. Rodriguez
URL:
Whiteboard:
Depends On:
Blocks: space06
TreeView+ depends on / blocked
 
Reported: 2009-01-23 18:28 UTC by chris
Modified: 2009-07-31 16:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-07-31 16:13:59 UTC
Embargoed:


Attachments (Terms of Use)
The diff (1.12 KB, text/plain)
2009-03-11 21:21 UTC, Justin Sherrill
no flags Details

Description chris 2009-01-23 18:28:08 UTC
Description of problem:

Spacewalk GUI shows different # of required patches for a system compared to list generated from the client (x86_64) yum update.

Client is x86_64 joined to the x86_64 channel.  The x86_64 channel has the entire x86_64 patch repo.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Join client to spacewalk server
2. Go to system tab on spacewalk server
3. Note the number of patches to be updated
4. On the client do a yum update
5. Note the number of patches to be updated

Actual results:
The #'s differ from the spacewalk gui, from the yum update list provided on the client.

Expected results:
The # of patches to needing update should be the same on the spacewalk server gui as well as the client yum update list.  One would think anyway.

Additional info:

list of patches to be updated on client from yum: http://pastebin.com/m23481054

list from spacewalk: http://pastebin.com/f4f1355eb

Thanks a bunch!

Comment 1 Mike McCune 2009-01-23 18:52:22 UTC
attaching pastebin to bz since pastebins expire:

Yum list:

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 kernel-devel            x86_64     2.6.18-92.1.22.el5  famine updates    5.0 M
 kmod-gfs                x86_64     0.1.23-5.el5_2.4  famine updates    142 k
Updating:
 OpenIPMI                x86_64     2.0.6-6.el5_2.2  famine updates    140 k
 OpenIPMI-libs           x86_64     2.0.6-6.el5_2.2  famine updates    531 k
 avahi                   i386       0.6.16-1.el5_2.1  famine updates    250 k
 avahi                   x86_64     0.6.16-1.el5_2.1  famine updates    255 k
 avahi-glib              x86_64     0.6.16-1.el5_2.1  famine updates     14 k
 avahi-glib              i386       0.6.16-1.el5_2.1  famine updates     14 k
 avahi-qt3               x86_64     0.6.16-1.el5_2.1  famine updates     17 k
 avahi-qt3               i386       0.6.16-1.el5_2.1  famine updates     17 k
 bind-libs               x86_64     30:9.3.4-6.0.3.P1.el5_2  famine updates    874 k
 bind-utils              x86_64     30:9.3.4-6.0.3.P1.el5_2  famine updates    171 k
 bzip2                   x86_64     1.0.3-4.el5_2    famine updates     49 k
 bzip2-devel             x86_64     1.0.3-4.el5_2    famine updates     38 k
 bzip2-devel             i386       1.0.3-4.el5_2    famine updates     38 k
 bzip2-libs              x86_64     1.0.3-4.el5_2    famine updates     35 k
 bzip2-libs              i386       1.0.3-4.el5_2    famine updates     37 k
 cman                    x86_64     2.0.84-2.el5_2.3  famine updates    649 k
 cups                    x86_64     1:1.2.4-11.18.el5_2.3  famine updates    2.7 M
 cups-libs               i386       1:1.2.4-11.18.el5_2.3  famine updates    182 k
 cups-libs               x86_64     1:1.2.4-11.18.el5_2.3  famine updates    177 k
 dbus                    i386       1.0.0-7.el5_2.1  famine updates    469 k
 dbus                    x86_64     1.0.0-7.el5_2.1  famine updates    465 k
 dbus-devel              x86_64     1.0.0-7.el5_2.1  famine updates     37 k
 dbus-devel              i386       1.0.0-7.el5_2.1  famine updates     37 k
 dbus-x11                x86_64     1.0.0-7.el5_2.1  famine updates     28 k
 dhcpv6-client           x86_64     1.0.10-4.el5_2.3  famine updates    122 k
 dmraid                  x86_64     1.0.0.rc13-15.el5_2.1  famine updates    613 k
 ed                      x86_64     0.2-39.el5_2     famine updates     49 k
 enscript                x86_64     1.6.4-4.1.1.el5_2  famine updates    472 k
 evolution-data-server   i386       1.12.3-6.el5_2.3  famine updates    3.6 M
 evolution-data-server   x86_64     1.12.3-6.el5_2.3  famine updates    3.7 M
 freetype                x86_64     2.2.1-20.el5_2   famine updates    311 k
 freetype-demos          x86_64     2.2.1-20.el5_2   famine updates    162 k
 freetype-devel          x86_64     2.2.1-20.el5_2   famine updates    151 k
 glibc                   x86_64     2.5-24.el5_2.2   famine updates    4.7 M
 glibc                   i686       2.5-24.el5_2.2   famine updates    5.2 M
 glibc-common            x86_64     2.5-24.el5_2.2   famine updates     16 M
 glibc-devel             x86_64     2.5-24.el5_2.2   famine updates    2.4 M
 glibc-devel             i386       2.5-24.el5_2.2   famine updates    2.0 M
 glibc-headers           x86_64     2.5-24.el5_2.2   famine updates    601 k
 gnutls                  i386       1.4.1-3.el5_2.1  famine updates    351 k
 gnutls                  x86_64     1.4.1-3.el5_2.1  famine updates    364 k
 hpijs                   x86_64     1:1.6.7-4.1.el5.4  famine updates    285 k
 hplip                   x86_64     1.6.7-4.1.el5.4  famine updates    7.8 M
 initscripts             x86_64     8.45.19.1.EL-1.el5.centos  famine updates    1.6 M
 ipsec-tools             x86_64     0.6.5-9.el5_2.3  famine updates    364 k
 kernel-headers          x86_64     2.6.18-92.1.22.el5  famine updates    889 k
 krb5-devel              i386       1.6.1-25.el5_2.2  famine updates    1.9 M
 krb5-devel              x86_64     1.6.1-25.el5_2.2  famine updates    1.9 M
 krb5-libs               x86_64     1.6.1-25.el5_2.2  famine updates    666 k
 krb5-libs               i386       1.6.1-25.el5_2.2  famine updates    658 k
 krb5-workstation        x86_64     1.6.1-25.el5_2.2  famine updates    901 k
 lcms                    i386       1.15-1.2.2.el5_2.2  famine updates    169 k
 lcms                    x86_64     1.15-1.2.2.el5_2.2  famine updates    170 k
 libsane-hpaio           x86_64     1.6.7-4.1.el5.4  famine updates     57 k
 libtiff                 x86_64     3.8.2-7.el5_2.2  famine updates    314 k
 libtiff                 i386       3.8.2-7.el5_2.2  famine updates    308 k
 libxml2                 x86_64     2.6.26-2.1.2.7   famine updates    813 k
 libxml2                 i386       2.6.26-2.1.2.7   famine updates    799 k
 libxml2-devel           i386       2.6.26-2.1.2.7   famine updates    2.1 M
 libxml2-devel           x86_64     2.6.26-2.1.2.7   famine updates    2.2 M
 libxml2-python          x86_64     2.6.26-2.1.2.7   famine updates    706 k
 libxslt                 x86_64     1.1.17-2.el5_2.2  famine updates    488 k
 libxslt                 i386       1.1.17-2.el5_2.2  famine updates    485 k
 libxslt-devel           x86_64     1.1.17-2.el5_2.2  famine updates    308 k
 lvm2                    x86_64     2.02.32-4.el5_2.1  famine updates    2.4 M
 net-snmp-libs           i386       1:5.3.1-24.el5_2.2  famine updates    1.2 M
 net-snmp-libs           x86_64     1:5.3.1-24.el5_2.2  famine updates    1.2 M
 nfs-utils               x86_64     1:1.0.9-35z.el5_2  famine updates    386 k
 nscd                    x86_64     2.5-24.el5_2.2   famine updates    160 k
 nspr                    i386       4.7.3-2.el5      famine updates    119 k
 nspr                    x86_64     4.7.3-2.el5      famine updates    117 k
 nss                     x86_64     3.12.2.0-2.el5.centos  famine updates    1.1 M
 nss                     i386       3.12.2.0-2.el5.centos  famine updates    1.1 M
 nss-tools               x86_64     3.12.2.0-2.el5.centos  famine updates    1.3 M
 openssh                 x86_64     4.3p2-26.el5_2.1  famine updates    284 k
 openssh-askpass         x86_64     4.3p2-26.el5_2.1  famine updates     38 k
 openssh-clients         x86_64     4.3p2-26.el5_2.1  famine updates    445 k
 openssh-server          x86_64     4.3p2-26.el5_2.1  famine updates    260 k
 openssl                 i686       0.9.8b-10.el5_2.1  famine updates    1.4 M
 openssl                 x86_64     0.9.8b-10.el5_2.1  famine updates    1.4 M
 openssl-devel           x86_64     0.9.8b-10.el5_2.1  famine updates    1.8 M
 openssl-devel           i386       0.9.8b-10.el5_2.1  famine updates    1.8 M
 pam_krb5                x86_64     2.2.14-1.el5_2.1  famine updates    125 k
 pam_krb5                i386       2.2.14-1.el5_2.1  famine updates    125 k
 perl                    x86_64     4:5.8.8-15.el5_2.1  famine updates     12 M
 sos                     noarch     1.7-9.2.el5_2.2  famine updates    113 k
 strace                  x86_64     4.5.16-1.el5_2.2  famine updates    168 k
 systemtap               x86_64     0.6.2-1.el5_2.2  famine updates    1.3 M
 systemtap-runtime       x86_64     0.6.2-1.el5_2.2  famine updates     51 k
 thunderbird             x86_64     2.0.0.19-1.el5.centos  famine updates     23 M
 tzdata                  noarch     2008i-1.el5      famine updates    756 k
 vim-common              x86_64     2:7.0.109-4.el5_2.4z  famine updates    6.5 M
 vim-enhanced            x86_64     2:7.0.109-4.el5_2.4z  famine updates    1.3 M
 vim-minimal             x86_64     2:7.0.109-4.el5_2.4z  famine updates    337 k
 wireshark               x86_64     1.0.3-4.el5_2    famine updates     12 M
 wireshark-gnome         x86_64     1.0.3-4.el5_2    famine updates    699 k
 xterm                   x86_64     215-5.el5_2.2    famine updates    411 k
Removing:
 kernel                  x86_64     2.6.18-53.el5    installed          75 M
 kernel                  x86_64     2.6.18-53.1.19.el5  installed          75 M
 kernel-devel            x86_64     2.6.18-53.1.19.el5  installed          15 M
 kernel-devel            x86_64     2.6.18-53.el5    installed          15 M
Installing for dependencies:
 kernel                  x86_64     2.6.18-92.1.22.el5  famine updates     16 M


webui list:
avahi-0.6.16-1.el5_2.1 	avahi-0.6.16-1.el5
avahi-glib-0.6.16-1.el5_2.1 	avahi-glib-0.6.16-1.el5
avahi-qt3-0.6.16-1.el5_2.1 	avahi-qt3-0.6.16-1.el5
bind-libs-9.3.4-6.0.3.P1.el5_2:30 	bind-libs-9.3.4-6.0.2.P1.el5_2:30
bind-utils-9.3.4-6.0.3.P1.el5_2:30 	bind-utils-9.3.4-6.0.2.P1.el5_2:30
bzip2-1.0.3-4.el5_2 	bzip2-1.0.3-3
bzip2-devel-1.0.3-4.el5_2 	bzip2-devel-1.0.3-3
bzip2-libs-1.0.3-4.el5_2 	bzip2-libs-1.0.3-3
cman-2.0.84-2.el5_2.3 	cman-2.0.84-2.el5
cups-1.2.4-11.18.el5_2.3:1 	cups-1.2.4-11.18.el5_2.1:1
cups-libs-1.2.4-11.18.el5_2.3:1 	cups-libs-1.2.4-11.18.el5_2.1:1
dbus-1.0.0-7.el5_2.1 	dbus-1.0.0-7.el5
dbus-devel-1.0.0-7.el5_2.1 	dbus-devel-1.0.0-7.el5
dbus-x11-1.0.0-7.el5_2.1 	dbus-x11-1.0.0-7.el5
dhcpv6-client-1.0.10-4.el5_2.3 	dhcpv6-client-1.0.10-4.el5_2.2
dmraid-1.0.0.rc13-15.el5_2.1 	dmraid-1.0.0.rc13-9.el5
ed-0.2-39.el5_2 	ed-0.2-38.2.2
enscript-1.6.4-4.1.1.el5_2 	enscript-1.6.4-4.1.el5
evolution-data-server-1.12.3-6.el5_2.3 	evolution-data-server-1.12.3-6.el5
freetype-demos-2.2.1-20.el5_2 	freetype-demos-2.2.1-20
freetype-devel-2.2.1-20.el5_2 	freetype-devel-2.2.1-20
glibc-2.5-24.el5_2.2 	glibc-2.5-24
glibc-common-2.5-24.el5_2.2 	glibc-common-2.5-24
glibc-devel-2.5-24.el5_2.2 	glibc-devel-2.5-24
glibc-headers-2.5-24.el5_2.2 	glibc-headers-2.5-24
gnutls-1.4.1-3.el5_2.1 	gnutls-1.4.1-3.el5_1
hpijs-1.6.7-4.1.el5.4:1 	hpijs-1.6.7-4.1.el5.3:1
hplip-1.6.7-4.1.el5.4 	hplip-1.6.7-4.1.el5.3
initscripts-8.45.19.1.EL-1.el5.centos 	initscripts-8.45.19.EL-1.el5.centos.1
ipsec-tools-0.6.5-9.el5_2.3 	ipsec-tools-0.6.5-9.el5_2.1
kernel-2.6.18-92.1.22.el5 	kernel-2.6.18-53.1.21.el5
kernel-2.6.18-53.el5
kernel-2.6.18-53.1.19.el5
kernel-2.6.18-92.1.6.el5
kernel-devel-2.6.18-92.1.22.el5 	kernel-devel-2.6.18-53.1.21.el5
kernel-devel-2.6.18-53.1.19.el5
kernel-devel-2.6.18-92.1.6.el5
kernel-devel-2.6.18-53.el5
kernel-headers-2.6.18-92.1.22.el5 	kernel-headers-2.6.18-92.1.6.el5
kmod-gfs-0.1.23-5.el5_2.4 	kmod-gfs-0.1.23-5.el5
kmod-gfs-0.1.19-7.el5_1.1
krb5-devel-1.6.1-25.el5_2.2 	krb5-devel-1.6.1-25.el5
krb5-libs-1.6.1-25.el5_2.2 	krb5-libs-1.6.1-25.el5
krb5-workstation-1.6.1-25.el5_2.2 	krb5-workstation-1.6.1-25.el5
lcms-1.15-1.2.2.el5_2.2 	lcms-1.15-1.2.2
libsane-hpaio-1.6.7-4.1.el5.4 	libsane-hpaio-1.6.7-4.1.el5.3
libtiff-3.8.2-7.el5_2.2 	libtiff-3.8.2-7.el5
libxml2-2.6.26-2.1.2.7 	libxml2-2.6.26-2.1.2.1
libxml2-devel-2.6.26-2.1.2.7 	libxml2-devel-2.6.26-2.1.2.1
libxml2-python-2.6.26-2.1.2.7 	libxml2-python-2.6.26-2.1.2.1
libxslt-1.1.17-2.el5_2.2 	libxslt-1.1.17-2.el5_1.1
libxslt-devel-1.1.17-2.el5_2.2 	libxslt-devel-1.1.17-2.el5_1.1
lvm2-2.02.32-4.el5_2.1 	lvm2-2.02.32-4.el5
net-snmp-libs-5.3.1-24.el5_2.2:1 	net-snmp-libs-5.3.1-24.el5_2.1:1
nfs-utils-1.0.9-35z.el5_2:1 	nfs-utils-1.0.9-33.el5:1
nscd-2.5-24.el5_2.2 	nscd-2.5-24
nspr-4.7.3-2.el5 	nspr-4.7.1-1.el5
nss-3.12.2.0-2.el5.centos 	nss-3.12.0.3-1.el5.centos
nss-tools-3.12.2.0-2.el5.centos 	nss-tools-3.12.0.3-1.el5.centos
OpenIPMI-2.0.6-6.el5_2.2 	OpenIPMI-2.0.6-6.el5
OpenIPMI-libs-2.0.6-6.el5_2.2 	OpenIPMI-libs-2.0.6-6.el5
openssh-4.3p2-26.el5_2.1 	openssh-4.3p2-26.el5
openssh-askpass-4.3p2-26.el5_2.1 	openssh-askpass-4.3p2-26.el5
openssh-clients-4.3p2-26.el5_2.1 	openssh-clients-4.3p2-26.el5
openssh-server-4.3p2-26.el5_2.1 	openssh-server-4.3p2-26.el5
openssl-0.9.8b-10.el5_2.1 	openssl-0.9.8b-10.el5
openssl-devel-0.9.8b-10.el5_2.1 	openssl-devel-0.9.8b-10.el5
pam_krb5-2.2.14-1.el5_2.1 	pam_krb5-2.2.14-1
perl-5.8.8-15.el5_2.1:4 	perl-5.8.8-10.el5_2.3:4
sos-1.7-9.2.el5_2.2 	sos-1.7-9.2.el5
strace-4.5.16-1.el5_2.2 	strace-4.5.16-1.el5.1
systemtap-0.6.2-1.el5_2.2 	systemtap-0.6.2-1.el5
systemtap-runtime-0.6.2-1.el5_2.2 	systemtap-runtime-0.6.2-1.el5
thunderbird-2.0.0.19-1.el5.centos:0 	thunderbird-2.0.0.14-1.el5.centos:0
tzdata-2008i-1.el5 	tzdata-2007k-2.el5
vim-common-7.0.109-4.el5_2.4z:2 	vim-common-7.0.109-3.el5.3:2
vim-enhanced-7.0.109-4.el5_2.4z:2 	vim-enhanced-7.0.109-3.el5.3:2
vim-minimal-7.0.109-4.el5_2.4z:2 	vim-minimal-7.0.109-3.el5.3:2
wireshark-1.0.3-4.el5_2 	wireshark-0.99.7-1.el5
wireshark-gnome-1.0.3-4.el5_2 	wireshark-gnome-0.99.7-1.el5
xterm-215-5.el5_2.2 	xterm-215-5.el5

Comment 2 Clifford Perry 2009-03-11 02:41:32 UTC
The WebUI listing does not do dep resolution - Spacewalk lists newer packages of those currently installed. So if a newer version of package pulls in a new package, not previously installed, we will not display that within the WebUI. 

side-by-side review of the data does not make it easy and intuitive to see what packages are missing/added which is not explained by yums dep resolution routines pulling in new packages. 

Are you also maybe pointing out that the WebUI lists a package once in the count, even though both i386 and x86_64 is installed, so yum is counting the package twice, while WebUI once?

Sorry - not really investigating here, just trying to give idea's on what / where the issue is. 

Cliff

Comment 3 Justin Sherrill 2009-03-11 17:27:28 UTC
Cliff, 

Yeah those were my thoughts as well, although I'll dig through the list to make sure..

-Justin

Comment 4 Justin Sherrill 2009-03-11 21:20:42 UTC
So after analysing the 2 lists, i don't see much of a differences.  Excluding multiple packages for arch (since as cliff said spacewalk only shows an arch once) and excluding multiple versions of kernel and kernel-devel, there were only 2 real differences:

1) Spacewalk showed 2 versions of kmod-gfs to install, whereas yum only showed one. I'm not sure why it was showing a 2nd older version of kmod-gfs to install, that is a bit odd.

2) The only other difference is that yum wanted to install the newest freetype, whereas spacewalk was not suggesting that.  I'm going to guess it's because freetype wasn't installed on the box originally (although i'm not certain).



 So there could be a bug somewhere that caused an older kmod-gfs to show up but without some way to reproduce it would be very difficult to fix.  Chris, are you able to reliably reproduce this ?


for 2)  there's really no  way to know if freetype was installed before without having the installed package list at the time the problem occured. 


I'm attaching the diff if anyone is interested but note that since we put the epoch at the end, and yum puts it at the front of the EVR, it shows up a little different, so you can ignore things like:

< net-snmp-libs-5.3.1-24.el5_2.2:1
< nfs-utils-1.0.9-35z.el5_2:1
---
> net-snmp-libs-1:5.3.1-24.el5_2.2
> nfs-utils-1:1.0.9-35z.el5_2

Comment 5 Justin Sherrill 2009-03-11 21:21:18 UTC
Created attachment 334864 [details]
The diff

Comment 6 Justin Sherrill 2009-07-31 16:13:59 UTC
Going ahead and closing this, since we haven't heard anything


Note You need to log in before you can comment on or make changes to this bug.