Bug 1153619 - [RFE] Support of metadata with the XZ compression
Summary: [RFE] Support of metadata with the XZ compression
Keywords:
Status: CLOSED DUPLICATE of bug 1144008
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server
Version: 570
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: sat570-triage
TreeView+ depends on / blocked
 
Reported: 2014-10-16 10:48 UTC by Martin Korbel
Modified: 2014-10-16 11:03 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-16 11:03:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


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