Bug 731048

Summary: after satellite-sync with 0 errata/packages/rpms/kickstart no repomd.xml are generated
Product: Red Hat Satellite 5 Reporter: Jiří Mikulka <jmikulka>
Component: Satellite SynchronizationAssignee: Michael Mráka <mmraka>
Status: CLOSED DEFERRED QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 541CC: cperry, slukasik, tlestach
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: 2015-05-29 20:11:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 462714    

Description Jiří Mikulka 2011-08-16 15:08:46 UTC
Description of problem:
Although synchronization using `satellite-sync` with no errata, no packages, no rpms and no kickstarts creates channel with correct name, label, architecture etc, the repomd.xml repodata file is not generated. This causes failures in other work with this channel.
Creating same channel in WebUI creates channel and repomd.xml correctly. 

Version-Release number of selected component (if applicable):
satellite-sync in spacewalk-backend-tools-1.2.13-52.el5sat on Satellite 541 on RHEL5.7

How reproducible:
deterministically (2 of 2 tries on my machine)

Steps to Reproduce:
1. register and activate system in satellite
2. create and synchronize channel without errata/packages/rpms/kickstarts
`satellite-sync -c rhel-x86_64-server-5 --no-errata --no-packages --no-rpms --no-kickstarts`
3. repomd.xml is not generated
  
Actual results:
file repomd.xml is missing

Expected results:
repomd.xml with repodata for this channel

Additional info:

Comment 1 Miroslav Suchý 2011-08-16 15:22:19 UTC
Tom, this is taskomatic problem, can you check it?

Comment 2 Tomas Lestach 2011-08-16 17:05:51 UTC
If taskomatic creates correct repomd.xml, when creating empty channel from WebUI, it's not an taskomatic issue.

I'd say, satellite-sync doesn't notify taskomatic to generate repo, when using --no-packages.