RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1613968 - [RHEL76] product-id plugin provided by dnf-plugin-subscription-manager fails to install product certificate from repo
Summary: [RHEL76] product-id plugin provided by dnf-plugin-subscription-manager fails ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.6
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Jiri Hnidek
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks: 1615433
TreeView+ depends on / blocked
 
Reported: 2018-08-08 16:25 UTC by Rehana
Modified: 2018-10-30 10:38 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-30 10:37:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github candlepin subscription-manager pull 1903 0 None closed 1613968: DNF product-id plugin can install product cert; ENT-789 2020-11-30 16:06:56 UTC
Red Hat Product Errata RHBA-2018:3153 0 None None None 2018-10-30 10:38:05 UTC

Description Rehana 2018-08-08 16:25:20 UTC
Description of problem:
NOTE: Please click on Unwrap comment for better reading experience. 

It is observed that product-id plugin was failing to download product-id file in to /etc/pki/product after installing a package from a repo (ex : RHSCL in this case)

Version-Release number of selected component (if applicable):
dnf-plugin-subscription-manager-1.21.5-7.el7.x86_64
subscription-manager: 1.21.5-7.el7

How reproducible:
Always

Steps to Reproduce:
1. Before we begin, its worth noting the due to following bugs (Bug 1613454 AND Bug 1613456 )we need to follow few workarounds to get pass these ^ bugs

Workarounds in place 
=====================

# cat /etc/dnf/dnf.conf 
[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=True
pluginpath=/usr/lib64/python2.7/site-packages/dnf-plugins,/usr/lib/python2.7/site-packages/dnf-plugins

Since yum and dnf can co-exist on RHEL76, make sure the all the yum plugins
are disabled (to make sure the dnf is not using the file that are already
populated by yum ) 

# subscription-manager config --list |grep auto_enable
   auto_enable_yum_plugins = 0

# cat /etc/yum/pluginconf.d/search-disabled-repos.conf | grep enabled
enabled=0

# cat /etc/yum/pluginconf.d/subscription-manager.conf | grep enabled
enabled=0

# cat /etc/yum/pluginconf.d/product-id.conf | grep enabled
enabled=0

2.Register and auto-attach the system 
3.Attach a RHSCL subscription on the system
4.Displaying only RHSCL Subscription below
# subscription-manager list --consumed
+-------------------------------------------+
   Consumed Subscriptions
+-------------------------------------------+
Subscription Name:   Red Hat Enterprise Linux Server, Standard (2 sockets) (Unlimited guests) with Resilient Storage
Provides:            Red Hat Beta
                     Red Hat Developer Tools (for RHEL Server)
                     Oracle Java (for RHEL Server)
                     Red Hat Developer Tools Beta (for RHEL Server)
                     Red Hat Enterprise Linux for x86_64
                     Red Hat Enterprise Linux Resilient Storage (for RHEL Server)
                     Red Hat Software Collections Beta (for RHEL Server)
                     dotNET on RHEL (for RHEL Server)
                     dotNET on RHEL Beta (for RHEL Server)
                     Red Hat Enterprise Linux High Availability (for RHEL Server)
                     Red Hat Ansible Engine
                     Red Hat Enterprise Linux Server
SKU:                 RH0148194
Contract:            11517187
Account:             477931
Serial:              7610270808271145878
Pool ID:             8a99f98160dcc4fc0160dcf003670bb1
Provides Management: No
Active:              True
Quantity Used:       1
Service Level:       Standard
Service Type:        L1-L3
Status Details:      Subscription is current
Subscription Type:   Standard
Starts:              Tuesday 09 January 2018
Ends:                Tuesday 08 January 2019
System Type:         Virtual
<snip>

5.Enable rhscl repo on the system
ex : subscription-manager repos --enable=rhel-server-rhscl-7-rpms

6. List the product certificates

# ll /etc/pki/product*
/etc/pki/product:
total 0

/etc/pki/product-default:
total 4
-rw-r--r--. 1 root root 2167 Aug  1 11:32 69.pem

7.Enable rhscl repos on the system and list

# subscription-manager repos --list-enabled
+----------------------------------------------------------+
    Available Repositories in /etc/yum.repos.d/redhat.repo
+----------------------------------------------------------+
Repo ID:   rhel-server-rhscl-7-rpms
Repo Name: Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server
Repo URL:  https://cdn.redhat.com/content/dist/rhel/server/7/7.4/$basearch/rhscl/1/os
Enabled:   1

Repo ID:   rhel-7-server-rpms
Repo Name: Red Hat Enterprise Linux 7 Server (RPMs)
Repo URL:  https://cdn.redhat.com/content/dist/rhel/server/7/7.4/$basearch/os
Enabled:   1

8.  Delete the redhat.repo file ( only to be tried on rhel76, as the redhat.repo file is already populated by yum)
#rm -rf /etc/yum.repos.d/redhat.repo 

9.Install a package from RHSCL repo
Ex : # dnf install devtoolset-3-apache-commons-el-javadoc-1.0-30* -d3

# dnf install devtoolset-3-apache-commons-el-javadoc-1.0-30* -d3
Loaded plugins: builddep, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, product-id, repoclosure, repograph, repomanage, reposync, subscription-manager
DNF version: 2.7.5
cachedir: /var/cache/dnf
Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo
Unknown configuration option: ui_repoid_vars = releasever basearch in /etc/yum.repos.d/redhat.repo

<SNIP> ^^ this  will be addressed in a separate bug 

Updating Subscription Management repositories.
Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server                                                                                                            2.3 MB/s |  17 MB     00:07    
not found deltainfo for: Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server
rhel-server-rhscl-7-rpms: using metadata from Thursday 02 August 2018 04:33:55 AM EDT.
Red Hat Enterprise Linux 7 Server (RPMs)                                                                                                                                           4.1 MB/s |  51 MB     00:12    
not found deltainfo for: Red Hat Enterprise Linux 7 Server (RPMs)
rhel-7-server-rpms: using metadata from Thursday 02 August 2018 04:35:21 AM EDT.
Last metadata expiration check: 0:00:13 ago on Wednesday 08 August 2018 07:35:10 AM EDT.
Missing file *modules.yaml in metadata cache dir: /var/cache/dnf/rhel-server-rhscl-7-rpms-d6513f5c7529d87c
Missing file *modules.yaml in metadata cache dir: /var/cache/dnf/rhel-7-server-rpms-007572f6a49efdad
Completion plugin: Generating completion cache...
--> Starting dependency resolution
---> Package devtoolset-3-apache-commons-el-javadoc.noarch 1.0-30.el7 will be installed
--> Finished dependency resolution
Dependencies resolved.
===================================================================================================================================================================================================================
 Package                                                              Arch                                 Version                                    Repository                                              Size
===================================================================================================================================================================================================================
Installing:
 devtoolset-3-apache-commons-el-javadoc                               noarch                               1.0-30.el7                                 rhel-server-rhscl-7-rpms                               107 k

Transaction Summary
===================================================================================================================================================================================================================
Install  1 Package

Total download size: 107 k
Installed size: 1.6 M
Is this ok [y/N]: y
Downloading Packages:
devtoolset-3-apache-commons-el-javadoc-1.0-30.el7.noarch.rpm                                                                                                                       104 kB/s | 107 kB     00:01    
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                              103 kB/s | 107 kB     00:01     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                           1/1 
  Installing       : devtoolset-3-apache-commons-el-javadoc-1.0-30.el7.noarch                                                                                                                                  1/1 
  Verifying        : devtoolset-3-apache-commons-el-javadoc-1.0-30.el7.noarch                                                                                                                                  1/1 
Installed products updated.
Completion plugin: Generating completion cache...

Installed:
  devtoolset-3-apache-commons-el-javadoc.noarch 1.0-30.el7                                                                                                                                                         

Complete!

10. Check the install product 

Actual results:
Observed that product cert 201.pem was not installed on the system 

Expected results:
Product cert should be installed 

Additional info:
If the same scanrio was performed by yum on the same system the product certificate gets installed 

rhsm.log
--------
2018-08-08 07:37:14,554 [WARNING] dnf:3637:MainThread @product-id.py:102 - Error loading productid metadata for [rhel-server-rhscl-7-rpms]
ip_resolve: None
enabled_metadata: None
proxy_password: None
deltarpm: True
bandwidth: 0
cost: 1000
exclude: []
priority: 99
max_parallel_downloads: None
repo_gpgcheck: False
sslverify: True
failovermethod: priority
gpgkey: [u'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release', u'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release']
minrate: 1000
fastestmirror: False
excludepkgs: []
mirrorlist: None
gpgcheck: True
type: None
sslcacert: /etc/rhsm/ca/redhat-uep.pem
username: None
metadata_expire: 86400
sslclientcert: /etc/pki/entitlement/2001309781034992442.pem
baseurl: [u'https://cdn.qa.redhat.com/content/dist/rhel/server/7/7Server/x86_64/rhscl/1/os']
includepkgs: []
throttle: 0
password: None
basecachedir: /var/cache/dnf
retries: 10
mediaid: None
name: Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server
deltarpm_percentage: 75
sslclientkey: /etc/pki/entitlement/2001309781034992442-key.pem
metalink: None
enabled: True
skip_if_unavailable: True
protected_packages: [u'dnf', u'systemd', u'dnf']
proxy_username: None
timeout: 30
enablegroups: True
hotfixes: False
proxy: https://auto-services.usersys.redhat.com:3129.
2018-08-08 07:37:14,555 [ERROR] dnf:3637:MainThread @product-id.py:103 - [Errno 2] No such file or directory: u'/tmp/dnf-rD4lLt/repodata/46cc2fe682fb760d661e101a9d0629c91ef257cf55ad566a630d6f5a1244cca4'
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/dnf-plugins/product-id.py", line 93, in get_enabled
    cert = self._get_cert(fn)
  File "/usr/lib64/python2.7/site-packages/subscription_manager/productid.py", line 712, in _get_cert
    f = open(fn)
IOError: [Errno 2] No such file or directory: u'/tmp/dnf-rD4lLt/repodata/46cc2fe682fb760d661e101a9d0629c91ef257cf55ad566a630d6f5a1244cca4'
2018-08-08 07:37:16,027 [WARNING] dnf:3637:MainThread @product-id.py:102 - Error loading productid metadata for [rhel-7-server-rpms]
ip_resolve: None
enabled_metadata: None
proxy_password: None
deltarpm: True
bandwidth: 0
cost: 1000
exclude: []
priority: 99
max_parallel_downloads: None
repo_gpgcheck: False
sslverify: True
failovermethod: priority
gpgkey: [u'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release']
minrate: 1000
fastestmirror: False
excludepkgs: []
mirrorlist: None
gpgcheck: True
type: None
sslcacert: /etc/rhsm/ca/redhat-uep.pem
username: None
metadata_expire: 86400
sslclientcert: /etc/pki/entitlement/7610270808271145878.pem
baseurl: [u'https://cdn.qa.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os']
includepkgs: []
throttle: 0
password: None
basecachedir: /var/cache/dnf
retries: 10
mediaid: None
name: Red Hat Enterprise Linux 7 Server (RPMs)
deltarpm_percentage: 75
sslclientkey: /etc/pki/entitlement/7610270808271145878-key.pem
metalink: None
enabled: True
skip_if_unavailable: True
protected_packages: [u'dnf', u'systemd', u'dnf']
proxy_username: None
timeout: 30
enablegroups: True
hotfixes: False
proxy: https://auto-services.usersys.redhat.com:3129.
2018-08-08 07:37:16,027 [ERROR] dnf:3637:MainThread @product-id.py:103 - [Errno 2] No such file or directory: u'/tmp/dnf-3xM2lS/repodata/d79954bc5f3f069740740db4c1cce5aeaa8e8328f7bfb6203b8cd7fdd966c803'
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/dnf-plugins/product-id.py", line 93, in get_enabled
    cert = self._get_cert(fn)
  File "/usr/lib64/python2.7/site-packages/subscription_manager/productid.py", line 712, in _get_cert
    f = open(fn)
IOError: [Errno 2] No such file or directory: u'/tmp/dnf-3xM2lS/repodata/d79954bc5f3f069740740db4c1cce5aeaa8e8328f7bfb6203b8cd7fdd966c803'
2018-08-08 07:37:16,029 [DEBUG] dnf:3637:MainThread @product-id.py:108 - Unable to load productid metadata for repos: [u'rhel-server-rhscl-7-rpms', u'rhel-7-server-rpms']
2018-08-08 07:37:17,098 [DEBUG] dnf:3637:MainThread @productid.py:418 - Checking for product id certs to install or update.
2018-08-08 07:37:17,098 [DEBUG] dnf:3637:MainThread @productid.py:423 - active set([u'rhel-7-server-rpms'])
2018-08-08 07:37:17,099 [DEBUG] dnf:3637:MainThread @productid.py:424 - enabled []
2018-08-08 07:37:17,099 [DEBUG] dnf:3637:MainThread @productid.py:556 - about to run post_product_id_install
2018-08-08 07:37:17,099 [DEBUG] dnf:3637:MainThread @productid.py:567 - about to run post_product_id_update

Comment 6 Rehana 2018-09-10 14:04:20 UTC
Verifying on: 
dnf-plugin-subscription-manager-1.21.9-1.el7.x86_64
dnf-2.7.5-17.el7.noarch

1. Make sure the yum plugins are disabled 

# subscription-manager config --list |grep auto_enable
   auto_enable_yum_plugins = 0

# cat /etc/yum/pluginconf.d/search-disabled-repos.conf | grep enabled
enabled=0
# Repositories matching the patterns listed in ignored_repos will not be enabled by the plugin

# cat /etc/yum/pluginconf.d/subscription-manager.conf | grep enabled
enabled=0

# cat /etc/yum/pluginconf.d/product-id.conf | grep enabled
enabled=0

2. Register and auto-attach the system

# subscription-manager register --auto-attach
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
Username: stage_test_*****
Password: 
The system has been registered with ID: 6fdc7ee9-1163-4e93-9fd9-927e5d345e00
The registered system name is: dhcp35-117.lab.eng.blr.redhat.com
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux Server
Status:       Subscribed

# subscription-manager list --consumed
+-------------------------------------------+
   Consumed Subscriptions
+-------------------------------------------+
Subscription Name:   Red Hat Enterprise Linux for Virtual Datacenters, Premium
Provides:            Red Hat Beta
                     Red Hat EUCJP Support (for RHEL Server) - Extended Update Support
                     Red Hat Enterprise Linux Atomic Host
                     Red Hat Enterprise Linux Atomic Host Beta
                     Oracle Java (for RHEL Server)
                     Red Hat Developer Tools (for RHEL Server)
                     Red Hat Developer Tools Beta (for RHEL Server)
                     Red Hat Developer Toolset (for RHEL Server)
                     Red Hat Enterprise Linux High Performance Networking (for RHEL Server) - Extended Update Support
                     Oracle Java (for RHEL Workstation)
                     Red Hat Software Collections (for RHEL Server)
                     Oracle Java (for RHEL Server) - Extended Update Support
                     Red Hat S-JIS Support (for RHEL Server) - Extended Update Support
                     Red Hat Software Collections Beta (for RHEL Server)
                     Red Hat Enterprise Linux Resilient Storage (for RHEL Server) - Extended Update Support
                     Red Hat Enterprise Linux Server - Extended Update Support
                     dotNET on RHEL (for RHEL Server)
                     Red Hat Enterprise Linux Scalable File System (for RHEL Server) - Extended Update Support
                     Red Hat Ansible Engine
                     Red Hat Enterprise Linux High Availability (for RHEL Server) - Extended Update Support
                     Red Hat Enterprise Linux Load Balancer (for RHEL Server) - Extended Update Support
                     Red Hat Enterprise Linux Server
SKU:                 RH00049
Contract:            11488976
Account:             6117003
Serial:              550929152793967766
Pool ID:             8a99f9835f01e06a015f0a71b1a02eeb
Provides Management: No
Active:              True
Quantity Used:       1
Service Level:       Premium
Service Type:        L1-L3
Status Details:      Guest has not been reported on any host and is using a temporary unmapped guest subscription.
Subscription Type:   Standard (Temporary)
Starts:              Wednesday 11 October 2017
Ends:                Monday 17 September 2018
System Type:         Virtual


3. Enable rhscl repo on the system
ex : subscription-manager repos --enable=rhel-server-rhscl-7-rpms

4.Enabled repos on the system 

# subscription-manager repos --list-enabled
+----------------------------------------------------------+
    Available Repositories in /etc/yum.repos.d/redhat.repo
+----------------------------------------------------------+
Repo ID:   rhel-server-rhscl-7-rpms
Repo Name: Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server
Repo URL:  https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/rhscl/1/os
Enabled:   1

Repo ID:   rhel-7-server-rpms
Repo Name: Red Hat Enterprise Linux 7 Server (RPMs)
Repo URL:  https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/os
Enabled:   1


5.Delete the redhat.repo file ( only to be tried on rhel76, as the redhat.repo file is already populated by yum)

#rm -rf /etc/yum.repos.d/redhat.repo 

6.Install a package from RHSCL repo
Ex : # dnf install devtoolset-3-apache-commons-el-javadoc-1.0-30*

# dnf install devtoolset-3-apache-commons-el-javadoc-1.0-30*
Updating Subscription Management repositories.
Updating Subscription Management repositories.
Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server                                                                                                            1.1 MB/s |  20 MB     00:19    
Red Hat Enterprise Linux 7 Server (RPMs)                                                                                                                                           1.6 MB/s |  62 MB     00:39    
Last metadata expiration check: 0:00:17 ago on Monday 10 September 2018 07:27:09 PM IST.
Dependencies resolved.
===================================================================================================================================================================================================================
 Package                                                              Arch                                 Version                                    Repository                                              Size
===================================================================================================================================================================================================================
Installing:
 devtoolset-3-apache-commons-el-javadoc                               noarch                               1.0-30.el7                                 rhel-server-rhscl-7-rpms                               107 k

Transaction Summary
===================================================================================================================================================================================================================
Install  1 Package

Total download size: 107 k
Installed size: 1.6 M
Is this ok [y/N]: y
Downloading Packages:
devtoolset-3-apache-commons-el-javadoc-1.0-30.el7.noarch.rpm                                                                                                                        37 kB/s | 107 kB     00:02    
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                               37 kB/s | 107 kB     00:02     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                           1/1 
  Installing       : devtoolset-3-apache-commons-el-javadoc-1.0-30.el7.noarch                                                                                                                                  1/1 
  Verifying        : devtoolset-3-apache-commons-el-javadoc-1.0-30.el7.noarch                                                                                                                                  1/1 
Last metadata expiration check: 0:00:51 ago on Monday 10 September 2018 07:27:09 PM IST.
Installed products updated.

Installed:
  devtoolset-3-apache-commons-el-javadoc.noarch 1.0-30.el7                                                                                                                                                         

Complete!

7. Check the install product 

# subscription-manager list --installed
+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name:   Red Hat Software Collections (for RHEL Server)
Product ID:     201
Version:        3
Arch:           x86_64
Status:         Subscribed
Status Details: 
Starts:         Wednesday 11 October 2017
Ends:           Monday 17 September 2018

Product Name:   Red Hat Enterprise Linux Server
Product ID:     69
Version:        7.6
Arch:           x86_64
Status:         Subscribed
Status Details: 
Starts:         Wednesday 11 October 2017
Ends:           Monday 17 September 2018

[root@dhcp35-117 ~]# ll /etc/pki/product*
/etc/pki/product:
total 4
-rw-r--r--. 1 root root 2183 Sep 10 19:28 201.pem

/etc/pki/product-default:
total 4
-rw-r--r--. 1 root root 2159 Sep 10 19:09 69.pem
[root@dhcp35-117 ~]# 


rhsm.log:
-----------

2018-09-10 19:28:02,678 [DEBUG] dnf:9510:MainThread @productid.py:418 - Checking for product id certs to install or update.
2018-09-10 19:28:02,678 [DEBUG] dnf:9510:MainThread @productid.py:423 - active set([u'rhel-7-server-rpms', u'rhel-server-rhscl-7-rpms'])
2018-09-10 19:28:02,678 [DEBUG] dnf:9510:MainThread @productid.py:424 - enabled [(<rhsm.certificate2.ProductCertificate object at 0x7fc762b3d710>, u'rhel-server-rhscl-7-rpms'), (<rhsm.certificate2.ProductCertificate object at 0x7fc762b3d190>, u'rhel-7-server-rpms')]
2018-09-10 19:28:02,678 [DEBUG] dnf:9510:MainThread @productid.py:440 - product cert: 201 repo: rhel-server-rhscl-7-rpms
2018-09-10 19:28:02,678 [DEBUG] dnf:9510:MainThread @productid.py:440 - product cert: 69 repo: rhel-7-server-rpms
2018-09-10 19:28:02,678 [DEBUG] dnf:9510:MainThread @productid.py:500 - Latest version of product cert for Red Hat Enterprise Linux Server 7.5 is already installed, not updating
2018-09-10 19:28:02,678 [INFO] dnf:9510:MainThread @productid.py:528 - Updating product db with 201 -> rhel-server-rhscl-7-rpms
2018-09-10 19:28:02,679 [INFO] dnf:9510:MainThread @productid.py:579 - Installed product cert 201: Red Hat Software Collections (for RHEL Server) /etc/pki/product/201.pem
2018-09-10 19:28:02,679 [DEBUG] dnf:9510:MainThread @productid.py:556 - about to run post_product_id_install
2018-09-10 19:28:02,679 [DEBUG] dnf:9510:MainThread @productid.py:567 - about to run post_product_id_update


Conclusion:
Observed that the product id cert 201.pem was installed during " dnf install devtoolset-3-apache-commons-el-javadoc-1.0-30" from the repo rhel-server-rhscl-7-rpms

note: Bug 1620136 will track the product id removal bug by the product-id plugin

Based on the above observations, moving the bug to verified.

Comment 8 errata-xmlrpc 2018-10-30 10:37:37 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:3153


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