Bug 1153619

Summary: [RFE] Support of metadata with the XZ compression
Product: Red Hat Satellite 5 Reporter: Martin Korbel <mkorbel>
Component: ServerAssignee: Michael Mráka <mmraka>
Status: CLOSED DUPLICATE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: high Docs Contact:
Priority: high    
Version: 570   
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: 2014-10-16 11:03:15 UTC Type: Bug
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: 1127217    

Description Martin Korbel 2014-10-16 10:48:04 UTC
Description of problem:
Satellite does not support metadata with the XZ compression. Many  repositories has this type of metadata and satellite is not able to sync it. 

This bug is blocker or complication for testing of ARCH features.

Version-Release number of selected component (if applicable):
Satellite-5.7.0-RHEL6-re20141015.0

How reproducible:
100%

Steps to Reproduce:
#!/usr/bin/python
import xmlrpclib

SATELLITE_URL = "http://localhost/rpc/api"
SATELLITE_LOGIN = "admin"
SATELLITE_PASSWORD = "xxx"

client = xmlrpclib.Server(SATELLITE_URL, verbose=0)
key = client.auth.login(SATELLITE_LOGIN, SATELLITE_PASSWORD)

client.channel.software.createRepo(key, 'rep-fedora-21-aarch64', 'YUM', 'http://mirrors.nic.cz/fedora-secondary/development/21/aarch64/os/')
client.channel.software.addRepoFilter(key, 'rep-fedora-21-aarch64', {'filter': 'kernel*', 'flag': '+'})
client.channel.software.create(key, 'fedora-21-aarch64', 'Fedora 21 (aarch64)', 'XXX', 'channel-aarch64', '')
client.channel.software.associateRepo(key, 'fedora-21-aarch64', 'rep-fedora-21-aarch64')
client.channel.software.syncRepo(key, 'fedora-21-aarch64')


Actual results:
/var/log/rhn/reposync/fedora-21-aarch64.log
Sync started: Thu Oct 16 12:31:25 2014
['/usr/bin/spacewalk-repo-sync', '--channel', 'fedora-21-aarch64', '--type', 'yum', '']
Repo URL: http://mirrors.nic.cz/fedora-secondary/development/21/aarch64/os/
ERROR: xz compression not available
Sync completed.
Total time: 0:00:14



Expected results:
The channel will able to synchronize

Additional info:

Comment 1 Martin Korbel 2014-10-16 11:03:15 UTC

*** This bug has been marked as a duplicate of bug 1144008 ***