Bug 635597

Summary: channel with checksum sha1 have packages checksum sha256
Product: Red Hat Satellite 5 Reporter: Jan Hutař <jhutar>
Component: ServerAssignee: Shannon Hughes <shughes>
Status: CLOSED NOTABUG QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 540CC: cperry
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-20 13:55:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 487677    

Description Jan Hutař 2010-09-20 09:58:02 UTC
Description of problem:
I have channel with checksum set to "sha1" and in /var/cache/rhn/repodata/jhutar-a-sha1/repomd.xml I see '<checksum type="sha">' which seems correct. But in /var/cache/rhn/repodata/jhutar-a-sha1/primary.xml.gz there is:

  [...]
  <name>SSS-hpc-1</name>
  <arch>x86_64</arch>
  <version ver="1" rel="1" epoch="0"/>
  <checksum type="sha256" pkgid="YES">d79ed384c5862e1233fa5cb4a402675c178dd5a6e04d01df30db066b9d053d0f</checksum>'
  [...]

Is it correct/expected?


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


How reproducible:
1 of 1


Steps to Reproduce:
1. Create channel with SHA1 checksum
2. Push some packages into it
3. Investigate checksum types used in /var/cache/rhn/repodata/<channel>/repomd.xml and /var/cache/rhn/repodata/<channel>/primary.xml.gz


Actual results:
sha in repomod.xml and sha256 in primary.xml.gz


Expected results:
This is more a question than a bug, so expected is whatever devel says :)


Additional info:
This might be expected, but asking to be 100% sure.

Comment 1 Clifford Perry 2010-09-20 13:55:26 UTC
<mim> cliff-bug-triage: I'd close it completely - not a bug. Repo and rpm checksum are two independent things.