Bug 1507866 - some new RHN Tools channels do not have product_* fields set in mappings
Summary: some new RHN Tools channels do not have product_* fields set in mappings
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Satellite Synchronization
Version: 580
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Jan Dobes
QA Contact: Ales Dujicek
URL:
Whiteboard:
Depends On:
Blocks: sat58-errata
TreeView+ depends on / blocked
 
Reported: 2017-10-31 10:54 UTC by Jan Hutař
Modified: 2018-03-26 12:43 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Release Note
Doc Text:
An issue was observed that some channels were missing part of the channel information in the cdn-sync-mappings, thus channel information was presented incomplete. cdn-sync-mappings package has been updated and contains all necessary information.
Clone Of:
Environment:
Last Closed: 2018-03-26 12:43:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0590 0 None None None 2018-03-26 12:43:13 UTC

Description Jan Hutař 2017-10-31 10:54:09 UTC
Description of problem:
some new RHN Tools channels do not have product_* fields set in mappings


Version-Release number of selected component (if applicable):
cdn-sync-mappings-2.5-1.el6sat.noarch


How reproducible:
always


Steps to Reproduce:
1. Sync some of these channels and check its product* info
rhn-tools-rhel-s390x-server-7.4.eus-debuginfo
rhn-tools-rhel-x86_64-server-7.4.aus
rhn-tools-rhel-x86_64-server-7.4.aus-debuginfo
rhn-tools-rhel-x86_64-server-7.4.eus-debuginfo
rhn-tools-rhel-x86_64-hpc-node-7.4.eus-debuginfo
rhn-tools-rhel-x86_64-hpc-node-7.4.eus
rhn-tools-rhel-ppc64-server-7.4.eus-debuginfo
rhn-tools-rhel-s390x-server-7.4.eus
rhn-tools-rhel-ppc64le-server-7.4.eus-debuginfo
rhn-tools-rhel-x86_64-server-7.4.eus
rhn-tools-rhel-ppc64-server-7.4.eus
rhn-tools-rhel-ppc64le-server-7.4.eus
2. Check in the DB:
   =# select rhnchannel.label, rhnchannel.product_name_id, rhnproductname.label, rhnproductname.name from rhnchannel, rhnproductname where rhnchannel.label='rhn-tools-rhel-x86_64-server-7.4.aus' and rhnchannel.product_name_id = rhnproductname.id;


Actual results:
Example for one of channels from mappings:

"rhn-tools-rhel-x86_64-server-7.4.aus": {
 "channel_arch": "channel-x86_64",
 "checksum_type": "sha256",
 "description": "Red Hat Network Tools for Red Hat Enterprise Linux Server AUS (v. 7.4.aus for 64-bit AMD64 / Intel64)",
 "eol": null,
 "gpg_key_url": "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release",
 "name": "RHN Tools for RHEL AUS (v. 7.4.aus for x86_64)",
 "parent_channel": "rhel-x86_64-server-7.4.aus",
 "product_beta": "N",
 "product_label": null,
 "product_name": null,
 "product_version": null,
 "summary": "Red Hat Network Tools for Red Hat Enterprise Linux Server AUS (v. 7.4.aus for 64-bit AMD64 / Intel64)"
 },

and from DB:

spacesatschema=# select rhnchannel.label, rhnchannel.product_name_id, rhnproductname.label, rhnproductname.name from rhnchannel, rhnproductname where rhnchannel.label='rhn-tools-rhel-x86_64-server-7.4.aus' and rhnchannel.product_name_id = rhnproductname.id;
 label | product_name_id | label | name 
-------+-----------------+-------+------
(0 rows)


Expected results:
product_* fields should be set, database should match

Comment 9 errata-xmlrpc 2018-03-26 12:43:09 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:0590


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