Bug 1395207 - kickstarts sync with `cdn-sync --no-rpms` fails
Summary: kickstarts sync with `cdn-sync --no-rpms` fails
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Satellite Synchronization
Version: 580
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Jan Dobes
QA Contact: Pavel Studeník
URL:
Whiteboard:
Depends On:
Blocks: 1340444
TreeView+ depends on / blocked
 
Reported: 2016-11-15 12:12 UTC by Jan Hutař
Modified: 2017-06-21 12:11 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-21 12:11:32 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Jan Hutař 2016-11-15 12:12:26 UTC
Description of problem:
I'm unable to sync kickstart with cdn-sync --no-rpms.


Version-Release number of selected component (if applicable):
Satellite-5.8-RHEL-6-20161114.n.1-Satellite-x86_64


How reproducible:
always


Steps to Reproduce:
1. Install 580 with '--disconnected' and attempt to sync rhel-x86_64-server-6 with '--no-rpms'


Actual results:
 cdn-sync -c rhel-x86_64-server-6 --no-rpms
07:02:16 ======================================
07:02:16 | Channel: rhel-x86_64-server-6
07:02:16 ======================================
07:02:16 Sync of channel started.
07:02:16 Repo URL: https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/os
07:02:27 Packages in repo:             18314
07:02:49 Packages already synced:          0
07:02:49 Packages to sync:             18314
07:02:49 1/18314 : 389-ds-base-1.2.11.15-65.el6_7.x86_64
07:02:49 2/18314 : 389-ds-base-1.2.10.2-15.el6.x86_64
07:02:49 3/18314 : 389-ds-base-1.2.9.14-1.el6_2.2.x86_64
07:02:49 4/18314 : 389-ds-base-1.2.11.15-47.el6.x86_64
07:02:49 5/18314 : 389-ds-base-1.2.11.15-30.el6_5.x86_64
07:02:49 6/18314 : 389-ds-base-1.2.9.14-1.el6.x86_64
07:02:49 7/18314 : 389-ds-base-1.2.11.15-11.el6.x86_64
07:02:49 8/18314 : 389-ds-base-1.2.11.15-22.el6_4-0.x86_64
07:02:50
07:02:50 ERROR:
07:02:50 Repo URL: https://cdn.redhat.com/content/dist/rhel/server/6/6.8/x86_64/kickstart
07:02:52 Packages in repo:              3855
07:02:56 Packages already synced:          0
07:02:56 Packages to sync:              3855
07:02:56 1/3855 : 389-ds-base-1.2.11.15-74.el6-0.x86_64
07:02:57
07:02:57 ERROR:
07:02:57 Sync of channel completed in 0:00:40.
07:02:57 Total time: 0:00:40


Expected results:
Kickstart should be synced


Additional info:
Note that these 8 packages it synces are there most probably because I have ran without "--no-rpms"  before and killed the process after these 8 packages were already downloaded.

Comment 2 Jan Hutař 2016-11-15 12:16:03 UTC
cdn-sync-mappings-0.0.1-1.el6sat.noarch
spacewalk-backend-cdn-2.5.3-31.el6sat.noarch

Comment 3 Jan Dobes 2016-11-21 10:29:33 UTC
fixed in spacewalk master:

a59079bc35bb1af9ea8907f6056db9fc10591d99

Comment 5 Pavel Studeník 2017-01-12 10:29:47 UTC
Verified with spacewalk-backend-cdn-2.5.3-48.el6sat.noarch


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