Bug 627566 - some errata(s) contain 0 packages inside
Summary: some errata(s) contain 0 packages inside
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Satellite Synchronization
Version: 540
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Jan Hutař
URL:
Whiteboard:
: 630599 (view as bug list)
Depends On:
Blocks: sat540-blockers
TreeView+ depends on / blocked
 
Reported: 2010-08-26 12:37 UTC by Garik Khachikyan
Modified: 2015-01-04 21:57 UTC (History)
7 users (show)

Fixed In Version: spacewalk-backend-1.2.13-3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-28 14:56:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Garik Khachikyan 2010-08-26 12:37:28 UTC
Description of problem:
there are some erratas (accidentally found just only 2) for which there are no packages related.
But the RHN host where the packages/erratas were satellite-sync-ed contains the information about the errata (packages) correctly.
The erratas affected (found so far):
---
RHSA-2010:9798
RHBA-2010:9802
---

Version-Release number of selected component (if applicable):
Satellite-5.4.0-RHEL5-re20100820.0-x86_64.iso

How reproducible:
got this issue currently on 2 erratas above

Steps to Reproduce:
1. satellite sync the Red Hat channel: rhel-i386-server-5
2. find errata by synopsis: "firefox" in 
3. it would list "RHSA-2010:9798" there. Refer to its package list.
4. the same could be achieved by selecting rhnerratapackage table for appropriate errata id.

Actual results:
no packages displayed for the errata

Expected results:
the packages should be got displayed.

Additional info:

Comment 2 Clifford Perry 2010-08-30 16:31:00 UTC
Need to understand if this is a 
1 - Regression
2 - Happens with sat-sync and channel dumps or one or the other

If this is a regression compared 5.3, then we need to fix (if we can). Please let me know if not regression and fix not easy/risky to determine if this stays on -blockers or not.

Cliff

Comment 5 Michael Mráka 2010-09-10 09:01:49 UTC
*** Bug 630599 has been marked as a duplicate of this bug. ***

Comment 6 Michael Mráka 2010-09-20 12:23:51 UTC
Fixed in upstream spacewalk git by
commit cfffe158c116e337edf342ccc49070323f70a7a0
    627566 - update package checksum with value found in database
    
    __lookupObjectCollection(..., ignore_missing=1) causes that we skip
    looking for package with other checksums

Comment 7 Michael Mráka 2010-09-20 12:24:52 UTC
Backported to satellite git as
commit 1ec238af99973784f4d3a7b0faa7c923fd2b6c34
    627566 - update package checksum with value found in database
    
    __lookupObjectCollection(..., ignore_missing=1) causes that we skip
    looking for package with other checksums
    (cherry picked from commit cfffe158c116e337edf342ccc49070323f70a7a0)

Comment 12 Miroslav Suchý 2010-10-26 09:20:46 UTC
verified in stage, list of packages are show in errata.

Comment 13 Clifford Perry 2010-10-28 14:51:38 UTC
The 5.4.0 RHN Satellite and RHN Proxy release has occurred. This issue has been resolved with this release. 


RHEA-2010:0801 - RHN Satellite Server 5.4.0 Upgrade
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10332

RHEA-2010:0803 - RHN Tools enhancement update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10333

RHEA-2010:0802 - RHN Proxy Server 5.4.0 bug fix update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10334

RHEA-2010:0800 - RHN Satellite Server 5.4.0
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10335

Docs are available:

http://docs.redhat.com/docs/en-US/Red_Hat_Network_Satellite/index.html 

Regards,
Clifford


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