Bug 1399645 - cdn-sync does not work with --no-rpms but NO --no-packages
Summary: cdn-sync does not work with --no-rpms but NO --no-packages
Keywords:
Status: CLOSED DUPLICATE of bug 1397427
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Satellite Synchronization
Version: 580
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Dobes
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: 1340444
TreeView+ depends on / blocked
 
Reported: 2016-11-29 13:48 UTC by Lukáš Hellebrandt
Modified: 2017-03-20 08:39 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-20 10:28:45 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Lukáš Hellebrandt 2016-11-29 13:48:49 UTC
Description of problem:
When running cdn-sync with --no-rpms argument but without --no-packages argument:
1) The packages are not visible in WebUI (while the correct behavior is they are shown but not downloaded/downloadable)
2) The command itself ends "successfully" but with error message (shown for cdn-sync -c rhel-x86_64-server-6 --no-kickstarts --no-errata --no-rpms):
---
08:28:39 failure: Packages/389-ds-base-1.2.11.15-65.el6_7.x86_64.rpm from content_dist_rhel_server_6_6Server_x86_64_os: [Errno 256] No more mirrors to try.
08:28:39 ERROR: failure: Packages/389-ds-base-1.2.11.15-65.el6_7.x86_64.rpm from content_dist_rhel_server_6_6Server_x86_64_os: [Errno 256] No more mirrors to try.
---

How reproducible:
Deterministic

Steps to Reproduce:
1. cdn-sync -c rhel-x86_64-server-6 --no-kickstarts --no-errata --no-rpms
2. View channel packages in WebUI, there are none
3. Notice the command, although ending with "08:28:39 Sync of channel completed in..." and returning 0, shows error mentioned above.

Actual results:
cdn-sync actually fails

Expected results:
No error message, packages in WebUI

Comment 6 Jan Dobes 2016-12-20 10:28:45 UTC

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


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