Bug 671465 - Content Provider not being updated on synching packages
Summary: Content Provider not being updated on synching packages
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Satellite Synchronization
Version: 540
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Jiri Kastner
URL:
Whiteboard:
Depends On: 671462
Blocks: sat54-errata 671464
TreeView+ depends on / blocked
 
Reported: 2011-01-21 15:36 UTC by Martin Poole
Modified: 2011-05-26 10:29 UTC (History)
5 users (show)

Fixed In Version: spacewalk-backend-1.2.13-34.el5sat
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-28 09:33:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0387 0 normal SHIPPED_LIVE Red Hat Network Satellite bug fix update 2011-03-28 09:32:12 UTC

Description Martin Poole 2011-01-21 15:36:11 UTC
Description of problem:

satellite 5.4 is not updating the Content Provider field when importing new packages

"Today I re-ran satellite-sync and pulled down a small collection of packages and Errata.

Within RHEL 5 channel I browsed to kernel packages (since that was one of errata) and confirmed it was sync'd with Unknown for Content Provider.

https://rlx-1-18.rhndev.redhat.com/rhn/channels/ChannelPackages.do?cid=101

the filter by kernel and look for:

kernel-2.6.18-238.1.1.el5.i686     The Linux kernel (the core of the Linux operating system)     Unknown

kernel-2.6.18-238.el5.i686     The Linux kernel (the core of the Linux operating system)     Red Hat Inc. "


Running

   spacewalk-update-signatures -d rhnsat/rhnsat@rhnsat 

can fix things if you're lucky, but I hit two bugs that causes it to fail.

Comment 1 Michael Mráka 2011-01-28 13:01:04 UTC
Fixed in spacewalk nightly by

commit f7d42e8e79aeca2c43da2cc47fd4b9f7ca3308b7
    671465 - fixed signature import
    
    and also moved signature / content provider import to PackageImport
    where we already know package_id thus needn't go to database for it

Fixed spacewalk package: spacewalk-backend-1.3.52-1

Comment 3 Jiri Kastner 2011-03-25 09:59:25 UTC
########### SYNC #################
satellite-sync
.....

05:54:44 Downloading rpm packages
05:54:44    Fetching any missing RPMs: rhel-i386-server-6 (3)
05:54:45       1/3 Fetch successful: tzdata-2011d-1.el6.noarch.rpm (457308 bytes)
05:54:46       2/3 Fetch successful: tzdata-java-2011d-1.el6.noarch.rpm (154796 bytes)
05:54:47       3/3 Fetch successful: cifs-utils-4.4-5.el6_0.2.i686.rpm (39436 bytes)
.....
############# WEBUI ###################

############### tzdata #################
tzdata-2010l-1.el6.noarch	 Timezone data	 Red Hat Inc.
tzdata-2010o-1.el6.noarch	 Timezone data	 Red Hat Inc.
tzdata-2011b-1.el6.noarch	 Timezone data	 Red Hat Inc.
tzdata-2011d-1.el6.noarch	 Timezone data	 Red Hat Inc.
tzdata-java-2010l-1.el6.noarch	 Timezone data for Java	 Red Hat Inc.
tzdata-java-2010o-1.el6.noarch	 Timezone data for Java	 Red Hat Inc.
tzdata-java-2011b-1.el6.noarch	 Timezone data for Java	 Red Hat Inc.
tzdata-java-2011d-1.el6.noarch	 Timezone data for Java	 Red Hat Inc.

########### cifs-utils: ###############
cifs-utils-4.4-5.el6_0.2.i686	 Utilities for mounting and managing CIFS mounts	 Red Hat Inc.
cifs-utils-4.4-5.el6.i686	 Utilities for mounting and managing CIFS mounts	 Red Hat Inc.

Comment 4 errata-xmlrpc 2011-03-28 09:33:11 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0387.html


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