Bug 652614

Summary: generating repodata for rhel4 channels
Product: Red Hat Satellite 5 Reporter: Tomas Lestach <tlestach>
Component: ServerAssignee: Michael Mráka <mmraka>
Status: CLOSED NOTABUG QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 540CC: cperry, msuchy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-15 11:23:04 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:

Description Tomas Lestach 2010-11-12 10:58:29 UTC
Description of problem:
I've found that taskomatic generates repodata for a rhel4 channel in the /var/log/rhn/rhn_taskomatic_daemon.log.

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

Steps to Reproduce:
1. check taskomatic log on sputnik-prod
  
Actual results:
INFO   | jvm 2    | 2010/11/12 09:40:11 | 2010-11-12 09:40:11,300 [Thread-58] INFO  com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter - File Modified Date:2010-11-01 12:35:17 CET
INFO   | jvm 2    | 2010/11/12 09:40:11 | 2010-11-12 09:40:11,300 [Thread-58] INFO  com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter - Channel Modified Date:2010-11-12 06:56:10 CET
INFO   | jvm 2    | 2010/11/12 09:40:11 | 2010-11-12 09:40:11,504 [Thread-58] INFO  com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter - Checksum Type Value: sha1
INFO   | jvm 2    | 2010/11/12 09:40:11 | 2010-11-12 09:40:11,516 [Thread-58] INFO  com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter - Generating new repository metatada for channel 'rhel-x86_64-as-4.8.z' 8909 packages, 235 updates

Expected results:
There's a RHEL5_REGEXP defined in backend/server/importlib/channelImport.py, that shall allow creating repodata only for rhel5 channels.
Not for rhel4 channels.

Comment 1 Michael Mráka 2010-11-15 11:23:04 UTC
Well, if channels have checksum_type set then repo is created. And during upgrade checksum_type is set for all existing channels. (Which is the case there.)