Bug 1507553 - [RFE] Remove error messages about channels not being mapped unless user runs cdn-sync with verbose option
Summary: [RFE] Remove error messages about channels not being mapped unless user runs ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Satellite Synchronization
Version: 580
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Jan Dobes
QA Contact: Martin Korbel
URL:
Whiteboard:
Depends On:
Blocks: sat58-errata
TreeView+ depends on / blocked
 
Reported: 2017-10-30 14:46 UTC by Candace Sheremeta
Modified: 2021-06-10 13:24 UTC (History)
6 users (show)

Fixed In Version: spacewalk-backend-2.5.3-161-sat
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-06 15:46:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1434787 0 high CLOSED Channel mapping errors upon activation with new manifest 2021-03-11 15:04:32 UTC
Red Hat Product Errata RHBA-2018:0393 0 normal SHIPPED_LIVE Red Hat Satellite 5.8.0 bug fix update 2018-03-06 20:47:01 UTC

Internal Links: 1434787

Description Candace Sheremeta 2017-10-30 14:46:34 UTC
Description of problem:
After upgrading to Satellite 5.8 from some previous version of Satellite 5.x, if the user had channels synced on the previous version that are not mapped to the CDN (due to the channel being deprecated, etc), the user will see error messages like the following when running a cdn-sync:

23:43:56 ERROR: Channel 'rhel-x86_64-server-lb-6.3.z-debuginfo' not found in channel metadata mapping.
23:43:57 ERROR: Channel 'redhat-rhn-proxy-5.6-server-x86_64-5' not found in channel metadata mapping.
23:43:58 ERROR: Channel 'rhel-x86_64-server-6.3.z' not found in channel metadata mapping.
23:43:58 ERROR: Channel 'rhel-x86_64-server-optional-6.3.z' not found in channel metadata mapping.
23:43:59 ERROR: Channel 'rhn-tools-rhel-x86_64-server-6.3.z' not found in channel metadata mapping.
23:43:59 ERROR: Channel 'rhel-x86_64-server-supplementary-6.3.z' not found in channel metadata mapping.
23:43:59 ERROR: Channel 'rhel-x86_64-server-6.3.z-debuginfo' not found in channel metadata mapping.
23:43:59 ERROR: Channel 'redhat-rhn-proxy-5.3-server-x86_64-5' not found in channel metadata mapping.

As these error messages can be safely ignored, we would kindly request that they not show up in the output of cdn-sync unless the user runs cdn-sync with the verbose option. Support Delivery is handling innumerable cases where customers are concerned about these "error" messages wherein we have to tell them that these messages can be safely ignored.


Version-Release number of selected component (if applicable):
Satellite 5.8 (after upgrading from previous version of Satellite 5.x)


How reproducible:
100%


Steps to Reproduce:
1. Build a Satellite 5.7 or lower
2. Sync a channel on the Satellite that is not currently mapped to the CDN (see above list for examples)
3. Upgrade Satellite to 5.8 and run cdn-sync

Actual results:
Error message appears for channel that is not mapped to CDN


Expected results:
We would like for this error message to not appear unless the user runs cdn-sync with the verbose option

Comment 4 Jan Dobes 2018-01-08 10:56:18 UTC
changed error message verbosity in spacewalk.git(master):

b17473bca3fa924ce0e6b42e6ab9b50358961724

support listing such unmapped channels:

29da981cd71482139aadcd11aa5336d945ea445d

Comment 7 Martin Korbel 2018-02-22 10:10:59 UTC
VERIFIED on spacewalk-backend-2.5.3-161

Reproducer in comment #0


Old version:
>cdn-sync
05:03:11 ERROR: Channel 'rhel-x86_64-server-6.3.z' not found in channel metadata mapping.
05:03:11 ======================================
05:03:11 | Channel: rhel-x86_64-server-6
05:03:11 ======================================
05:03:11 Sync of channel started.


New version:
> cdn-sync
05:07:34 ======================================
05:07:34 | Channel: rhel-x86_64-server-6
05:07:34 ======================================
05:07:34 Sync of channel started.

Comment 10 errata-xmlrpc 2018-03-06 15:46:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0393


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