Bug 512236 - ISE when (inter) satellite-sync of custom channel.
Summary: ISE when (inter) satellite-sync of custom channel.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Satellite Synchronization
Version: 530
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
Assignee: Pradeep Kilambi
QA Contact: Jeff Ortel
URL:
Whiteboard:
Depends On:
Blocks: 457071
TreeView+ depends on / blocked
 
Reported: 2009-07-16 19:08 UTC by Jeff Ortel
Modified: 2010-11-01 13:54 UTC (History)
5 users (show)

Fixed In Version: sat530
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-10 20:04:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jeff Ortel 2009-07-16 19:08:06 UTC
Description of problem:


Unhandled exception when doing Inter-satellite Synchronization of a single channel.


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

5.3


How reproducible:


Always


Steps to Reproduce:
1. On (ISS master) create a custom channel and rhnpush a package into the channel.
2. On (ISS slave) satellite-sync -c <custom channel>
3.
  
Actual results:

[root@dhcp-71 ~]# satellite-sync -c jortel
07:25:20 Red Hat Network Satellite - live synchronization
07:25:20    url: https://xxx.redhat.com
07:25:20    debug/output level: 1
07:25:21 
07:25:21 Retrieving / parsing channel-families data
07:25:24 channel-families data complete
07:25:24 
07:25:24 Retrieving / parsing arches data
07:25:28 arches data complete
07:25:28 
07:25:28 Retrieving / parsing additional arches data
07:25:29 additional arches data complete
07:25:29 
07:25:29 Retrieving / parsing channel data
07:25:54    p = previously imported/synced channel
07:25:54    . = channel not yet imported/synced
07:25:54    base-channels:
07:25:54       . jortel                                      1
07:25:54 
07:25:55 Channel data complete
07:25:55 
07:25:55 Retrieving / parsing blacklists data
07:25:57 blacklists data complete
07:25:57 
07:25:57 Retrieving / parsing product names data
07:25:58 product names data complete
07:25:58 
07:25:58 Retrieving short package metadata (used for indexing)
07:25:58    Retrieving / parsing short package metadata: jortel (1)
07:26:00 Diffing package metadata (what's missing locally?): jortel
            ________________________________________
Diffing:    ######################################## - complete
07:26:01 
07:26:01 Downloading rpm packages
07:26:01    Fetching any missing RPMs: jortel (1)
07:26:04       1/1 Fetch successful: python-suds-0.3.6-1.noarch.rpm (217668 bytes)
07:26:04 Processing rpm packages complete
07:26:04 No handler for step srpms
07:26:04 
07:26:04 Downloading package metadata
07:26:04    Retrieving / parsing *relevant* package metadata: jortel (1)
07:26:04    * WARNING: this may be a slow process.
            ________________________________________
Downloading:######################################## - complete
07:26:09 
07:26:09 Downloading errata data
07:26:09    Retrieving / parsing errata data: jortel (0)
07:26:09 Downloading errata data complete
07:26:09 
07:26:09 Downloading kickstartable trees metadata
07:26:09    Retrieving / parsing kickstart data: jortel (NONE RELEVANT)
07:26:09 
07:26:09 Downloading kickstartable trees files
07:26:09    Retrieving / parsing kickstart tree files: jortel (NONE RELEVANT)
07:26:09 
07:26:09 Importing package metadata
07:26:09    Importing *relevant* package metadata: jortel (1)
07:26:09    * WARNING: this may be a slow process.
            ________________________________________
Importing:  ######################################## - complete
07:26:11 
07:26:11 Linking packages to channels
+++ sending log as an email +++

SYNC ERROR: unhandled exception occurred:

(Check logs/email for potentially more detail)

Could not find object [<server.importlib.importLib.IncompletePackage instance; attributes={'channels': {101: 'jortel'}, 'package_arch_id': 100, 'name': 'python-suds', 'md5sum': 'bbccdd106caaec2a06f358e5498aa628', 'org_id': None, 'epoch': '', 'package_size': 217668, 'nevra_id': 1, 'package_id': 'rhn-package-18882', 'version': '0.3.6', 'name_id': 61, 'last_modified': '2009-07-16 11:15:19', 'release': '1', 'arch': 'noarch', 'evr_id': 41}] in table rhnPackage


Expected results:

Should work.


Additional info:

Comment 2 Jeff Ortel 2009-07-17 17:05:22 UTC
Related to bug 476207 and bug 509187, I can verify all at the same time.

Comment 3 Jeff Ortel 2009-07-20 18:57:32 UTC
Verified:
1. On (ISS master) create a custom channel and rhnpush a package into the
channel.
2. On (ISS slave) satellite-sync -c <custom channel>

Worked as expected with no ISE observed.

Comment 4 Pradeep Kilambi 2009-07-21 13:57:04 UTC
*** Bug 512936 has been marked as a duplicate of this bug. ***

Comment 5 Tomas Lestach 2009-08-12 10:05:05 UTC
Successfully iss synced a custom base channel with 6 packages without any error or exception.

Stage validated -> RELEASE_PENDING

Comment 6 Brandon Perkins 2009-09-10 20:04:51 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/RHEA-2009-1434.html


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