Bug 1681171

Summary: libdnf product-id plugin removes the product cert whose package was not requested for removal
Product: Red Hat Enterprise Linux 8 Reporter: Shwetha Kallesh <skallesh>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED ERRATA QA Contact: Red Hat subscription-manager QE Team <rhsm-qe>
Severity: high Docs Contact:
Priority: high    
Version: 8.0CC: csnyder, jhnidek, jsefler, redakkan
Target Milestone: rcKeywords: Triaged
Target Release: 8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1704421 1722943 (view as bug list) Environment:
Last Closed: 2019-11-05 22:15:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1704421, 1722943    

Description Shwetha Kallesh 2019-02-25 16:02:46 UTC
Description of problem:
libdnf product-id plugin removes the product cert whose package was not requested for removal

Version-Release number of selected component (if applicable):
[root@kvm-04-guest23 ~]# rpm -qa subscription* dnf* libdnf
dnf-data-4.0.9.2-5.el8.noarch
subscription-manager-initial-setup-addon-1.24.2-1.git.212.9c17f9f.el8.x86_64
subscription-manager-migration-1.24.2-1.git.212.9c17f9f.el8.x86_64
dnf-plugins-core-4.0.2.2-3.el8.noarch
dnf-plugin-spacewalk-2.8.5-9.module+el8+2754+6a08e8f4.noarch
subscription-manager-rhsm-certificates-1.24.2-1.git.212.9c17f9f.el8.x86_64
dnf-plugin-subscription-manager-1.24.2-1.git.212.9c17f9f.el8.x86_64
subscription-manager-migration-data-2.0.37-2.el8.noarch
subscription-manager-cockpit-1.24.2-1.git.212.9c17f9f.el8.noarch
subscription-manager-plugin-ostree-1.24.2-1.git.212.9c17f9f.el8.x86_64
libdnf-0.22.5-4.el8.x86_64
subscription-manager-1.24.2-1.git.212.9c17f9f.el8.x86_64
dnf-4.0.9.2-5.el8.noarch
subscription-manager-plugin-container-1.24.2-1.git.212.9c17f9f.el8.x86_64

How reproducible:


Steps to Reproduce:
   
[root@kvm-04-guest23 ~]# subscription-manager register --auto-attach --username=shwetha_tier1_test --password=redhat
  Registering to: subscription.rhsm.stage.redhat.com:443/subscription
  The system has been registered with ID: 15b6937e-53d7-4d14-9a3d-a7069b0cdc0e
  The registered system name is: kvm-04-guest23.rhts.eng.bos.redhat.com
  Installed Product Current Status:
  Product Name: Red Hat Enterprise Linux for x86_64 High Touch Beta
  Status:       Subscribed
     
  Product Name: Red Hat Enterprise Linux for x86_64
  Status:       Subscribed
     
  [root@kvm-04-guest23 ~]# subscription-manager repos --enable=rhel-8-for-x86_64-rt-htb-rpms
  Failed to synchronize cache for repo 'rhel-8-for-x86_64-appstream-rpms', ignoring this repo.
  Failed to synchronize cache for repo 'rhel-8-for-x86_64-baseos-rpms', ignoring this repo.
  Repository 'rhel-8-for-x86_64-rt-htb-rpms' is enabled for this system.
     
  Now lets install a package from Real Time High Touch Beta repo:
     
  [root@kvm-04-guest23 ~]# ls /etc/pki/product
  230.pem
  
  [root@kvm-04-guest23 ~]# pkcon install rt-tests
  Resolving                     [=========================]        
  Testing changes               [=========================]        
  Finished                      [                         ] (0%)  
  The following packages have to be installed:
  rt-tests-1.3-13.el8.x86_64     Programs that test various rt-features
  Proceed with changes? [N/y] y
     
                                  [=========================]        
  Installing                    [=========================]        
  Testing changes               [=========================]        
  Installing packages           [=========================]        
  Finished                      [=========================]  
     
  Observe the product cert for Real Time High Touch Beta are now installed:
         
 [root@kvm-04-guest23 ~]# ls /etc/pki/product
  230.pem  500.pem  502.pem
 
 [root@kvm-04-guest23 ~]# subscription-manager  list --installed
  +-------------------------------------------+
      Installed Product Status
  +-------------------------------------------+
  Product Name:   Red Hat Enterprise Linux for x86_64 High Touch Beta
  Product ID:     230
  Version:        8.0 HTB
  Arch:           x86_64
  Status:         Subscribed
  Status Details:
  Starts:         01/30/2019
  Ends:           01/29/2020
     
  Product Name:   Red Hat Enterprise Linux for x86_64
  Product ID:     479
  Version:        8.0
  Arch:           x86_64
  Status:         Subscribed
  Status Details:
  Starts:         01/30/2019
  Ends:           01/29/2020
     
  Product Name:   Red Hat Enterprise Linux for Real Time High Touch Beta
  Product ID:     500
  Version:        8.0 HTB
  Arch:           x86_64
  Status:         Subscribed
  Status Details:
  Starts:         01/30/2019
  Ends:           01/29/2020
     
  Product Name:   Red Hat Enterprise Linux for Real Time for NFV High Touch Beta
  Product ID:     502
  Version:        8.0 HTB
  Arch:           x86_64
  Status:         Not Subscribed
  Status Details: Not supported by a valid subscription.
  Starts:        
  Ends:          
     
  Now lets enable resilientstorage-htb and High Availability High Touch Beta and install package awscli:
     
  [root@kvm-04-guest23 ~]# subscription-manager repos --enable rhel-8-for-x86_64-resilientstorage-htb-rpms
  Failed to synchronize cache for repo 'rhel-8-for-x86_64-appstream-rpms', ignoring this repo.
  Failed to synchronize cache for repo 'rhel-8-for-x86_64-baseos-rpms', ignoring this repo.
  Repository 'rhel-8-for-x86_64-resilientstorage-htb-rpms' is enabled for this system.
     
  [root@kvm-04-guest23 ~]# subscription-manager repos --enable rhel-8-for-x86_64-highavailability-htb-rpms
  Failed to synchronize cache for repo 'rhel-8-for-x86_64-appstream-rpms', ignoring this repo.
  Failed to synchronize cache for repo 'rhel-8-for-x86_64-baseos-rpms', ignoring this repo.
  Repository 'rhel-8-for-x86_64-highavailability-htb-rpms' is enabled for this system.

  [root@kvm-04-guest23 ~]# pkcon install awscli
  Resolving                     [=========================]        
  Loading cache                 [=========================]        
  Testing changes               [=========================]        
  Finished                      [                         ] (0%)  
  The following packages have to be installed:
  awscli-1.14.50-5.el8.noarch    Universal Command Line Environment for AWS
  python3-botocore-1.9.1-2.el8.noarch    Low-level, data-driven core of boto 3
  python3-docutils-0.14-11.module+el8+2525+995c3d63.noarch       System for processing plaintext documentation for python3
  python3-jmespath-0.9.0-11.el8.noarch   JSON Matching Expressions
  python3-pip-9.0.3-13.el8.noarch        A tool for installing and managing Python3 packages
  python3-pyyaml-3.12-12.el8.x86_64      YAML parser and emitter for Python
  python3-s3transfer-0.1.13-1.el8.noarch An Amazon S3 Transfer Manager
  python3-setuptools-39.2.0-4.el8.noarch Easily build and distribute Python 3 packages
  python36-3.6.8-1.module+el8+2710+846623d6.x86_64       Interpreter of the Python programming language
  Proceed with changes? [N/y] y
                                 [=========================]        
  Installing                    [=========================]        
  Downloading packages          [=========================]        
  Testing changes               [=========================]        
  Installing packages           [=========================]        
  Finished                      [=========================]  
     
  Now observe the resilientstorage-htb and High Availability High Touch Beta product cert getting installed:
           
  [root@kvm-04-guest23 ~]# ls /etc/pki/product
  230.pem  236.pem  238.pem  500.pem  502.pem
  
[root@kvm-04-guest23 ~]# subscription-manager list --installed
    +-------------------------------------------+
        Installed Product Status
    +-------------------------------------------+
    Product Name:   Red Hat Enterprise Linux for x86_64 High Touch Beta
    Product ID:     230
    Version:        8.0 HTB
    Arch:           x86_64
    Status:         Subscribed
    Status Details:
    Starts:         01/30/2019
    Ends:           01/29/2020
     
    Product Name:   Red Hat Enterprise Linux High Availability High Touch Beta
    Product ID:     236
    Version:        8.0 HTB
    Arch:           x86_64
    Status:         Subscribed
    Status Details:
    Starts:         01/30/2019
    Ends:           01/29/2020
     
    Product Name:   Red Hat Enterprise Linux Resilient Storage High Touch Beta
    Product ID:     238
    Version:        8.0 HTB
    Arch:           x86_64
    Status:         Subscribed
    Status Details:
    Starts:         01/30/2019
    Ends:           01/29/2020
     
    Product Name:   Red Hat Enterprise Linux for x86_64
    Product ID:     479
    Version:        8.0
    Arch:           x86_64
    Status:         Subscribed
    Status Details:
    Starts:         01/30/2019
    Ends:           01/29/2020
     
    Product Name:   Red Hat Enterprise Linux for Real Time High Touch Beta
    Product ID:     500
    Version:        8.0 HTB
    Arch:           x86_64
    Status:         Subscribed
    Status Details:
    Starts:         01/30/2019
    Ends:           01/29/2020
     
    Product Name:   Red Hat Enterprise Linux for Real Time for NFV High Touch Beta
    Product ID:     502
    Version:        8.0 HTB
    Arch:           x86_64
    Status:         Not Subscribed
    Status Details: Not supported by a valid subscription.
    Starts:        
    Ends:          
     
     
 Now remove the awscli and its dependent package:
     
 [root@kvm-04-guest23 ~]# pkcon remove  awscli  python3-botocore  python3-docutils  python3-jmespath  python3-pip  python3-pyyaml  python3-s3transfer  python3-setuptools  python36 -y
    Resolving                     [=========================]        
    Removing                      [=========================]        
    Requesting data               [=========================]        
    Removing packages             [=========================]        
    Finished                      [=========================]    
     
 Observe that resilientstorage-htb , High Availability High Touch Beta and Real Time High Touch Beta getting removed
     
[root@kvm-04-guest23 ~]# subscription-manager list --installed
    +-------------------------------------------+
        Installed Product Status
    +-------------------------------------------+
    Product Name:   Red Hat Enterprise Linux for x86_64 High Touch Beta
    Product ID:     230
    Version:        8.0 HTB
    Arch:           x86_64
    Status:         Subscribed
    Status Details:
    Starts:         01/30/2019
    Ends:           01/29/2020
     
    Product Name:   Red Hat Enterprise Linux for x86_64
    Product ID:     479
    Version:        8.0
    Arch:           x86_64
    Status:         Subscribed
    Status Details:
    Starts:         01/30/2019
    Ends:           01/29/2020
     
    Product Name:   Red Hat Enterprise Linux for Real Time for NFV High Touch Beta
    Product ID:     502
    Version:        8.0 HTB
    Arch:           x86_64
    Status:         Not Subscribed
    Status Details: Not supported by a valid subscription.
    Starts:        
    Ends:          
     
[root@kvm-04-guest23 ~]# ls /etc/pki/product
    230.pem  502.pem
^^Observe that Real Time High Touch Beta(500.pem) is now removed from /etc/pki/product dir
     
[root@kvm-04-guest23 ~]#rpm -qa | grep rt-tests
rt-tests-1.3-13.el8.x86_64


Actual results:
Product cert 500.pem is removed even though it was not asked for

Expected results:
Product cert 500.pem should not be removed

Additional info:

Comment 5 Shwetha Kallesh 2019-04-01 12:39:33 UTC
Chris,

        rt-tests package is provided by only rhel-8-for-x86_64-rt-htb-rpms 

[root@kvm-01-guest09 product]# yum list --available | grep rt-tests
Failed to synchronize cache for repo 'rhel-8-for-x86_64-appstream-rpms', ignoring this repo.
Failed to synchronize cache for repo 'rhel-8-for-x86_64-baseos-rpms', ignoring this repo.
rt-tests.x86_64                                      1.3-13.el8                                           rhel-8-for-x86_64-rt-htb-rpms

Comment 12 Shwetha Kallesh 2019-07-24 09:15:13 UTC
Verification with beta cert:

[root@kvm-01-guest24 ~]# subscription-manager register --auto-attach --username=stage_auto_syspurpose001 --password=***** --serverurl subscription.rhsm.stage.redhat.com:443/subscription
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
The system has been registered with ID: af146271-b317-4878-bfa1-2e4d39584572
The registered system name is: kvm-01-guest24.lab.eng.brq.redhat.com
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux for x86_64 Beta
Status:       Subscribed

[root@kvm-01-guest24 ~]# subscription-manager repos --enable=rhel-8-for-x86_64-rt-*-rpms
Repository 'rhel-8-for-x86_64-rt-beta-debug-rpms' is enabled for this system.
Repository 'rhel-8-for-x86_64-rt-beta-source-rpms' is enabled for this system.
Repository 'rhel-8-for-x86_64-rt-beta-rpms' is enabled for this system.
[root@kvm-01-guest24 ~]# ls /etc/pki/product
[root@kvm-01-guest24 ~]# ls /etc/pki/product*
/etc/pki/product:

/etc/pki/product-default:
486.pem

[root@kvm-01-guest24 ~]# pkcon install rt-tests
Resolving                     [=========================]         
Loading cache                 [=========================]         
Testing changes               [=========================]         
Finished                      [                         ] (0%)  
The following packages have to be installed:
 rt-tests-1.3-20.el8.x86_64	Programs that test various rt-features
Proceed with changes? [N/y] y

                              [=========================]         
Installing                    [=========================]         
Downloading packages          [=========================]         
Testing changes               [=========================]         
Installing packages           [=========================]         
Finished                      [=========================]         
[root@kvm-01-guest24 ~]# ls /etc/pki/product*
/etc/pki/product:
501.pem

/etc/pki/product-default:
486.pem
[root@kvm-01-guest24 ~]# subscription-manager list --installed
+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name:   Red Hat Enterprise Linux for x86_64 Beta
Product ID:     486
Version:        8.1 Beta
Arch:           x86_64
Status:         Subscribed
Status Details: 
Starts:         07/11/2019
Ends:           07/11/2020

Product Name:   Red Hat Enterprise Linux for Real Time for NFV Beta
Product ID:     501
Version:        8.1 Beta
Arch:           x86_64
Status:         Subscribed
Status Details: 
Starts:         07/11/2019
Ends:           07/11/2020

[root@kvm-01-guest24 ~]# subscription-manager repos --enable rhel-8-for-x86_64-resilientstorage* --enable rhel-8-for-x86_64-highavailability*
Repository 'rhel-8-for-x86_64-resilientstorage-beta-rpms' is enabled for this system.
Repository 'rhel-8-for-x86_64-resilientstorage-beta-debug-rpms' is enabled for this system.
Repository 'rhel-8-for-x86_64-resilientstorage-beta-source-rpms' is enabled for this system.
Repository 'rhel-8-for-x86_64-highavailability-beta-source-rpms' is enabled for this system.
Repository 'rhel-8-for-x86_64-highavailability-beta-rpms' is enabled for this system.
Repository 'rhel-8-for-x86_64-highavailability-beta-debug-rpms' is enabled for this system.
[root@kvm-01-guest24 ~]# pkcon install awscli
Resolving                     [=========================]         
Loading cache                 [=========================]         
Testing changes               [=========================]         
Finished                      [                         ] (0%)  
The following packages have to be installed:
 awscli-1.14.50-5.el8.noarch	Universal Command Line Environment for AWS
 python3-botocore-1.9.1-2.el8.noarch	Low-level, data-driven core of boto 3
 python3-docutils-0.14-12.module+el8.1.0+3334+5cb623d7.noarch	System for processing plaintext documentation for python3
 python3-jmespath-0.9.0-11.el8.noarch	JSON Matching Expressions
 python3-pip-9.0.3-15.el8.noarch	A tool for installing and managing Python3 packages
 python3-pyyaml-3.12-12.el8.x86_64	YAML parser and emitter for Python
 python3-s3transfer-0.1.13-1.el8.noarch	An Amazon S3 Transfer Manager
 python3-setuptools-39.2.0-5.el8.noarch	Easily build and distribute Python 3 packages
 python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64	Interpreter of the Python programming language
Proceed with changes? [N/y] y

                              [=========================]         
Installing                    [=========================]         
Downloading packages          [=========================]         
Requesting data               [=========================]         
Testing changes               [=========================]         
Installing packages           [=========================]         
Finished                      [=========================]         

[root@kvm-01-guest24 ~]# ls /etc/pki/product*
/etc/pki/product:
487.pem  501.pem

/etc/pki/product-default:
486.pem


[root@kvm-01-guest24 ~]# subscription-manager list --installed
+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name:   Red Hat Enterprise Linux for x86_64 Beta
Product ID:     486
Version:        8.1 Beta
Arch:           x86_64
Status:         Subscribed
Status Details: 
Starts:         07/11/2019
Ends:           07/11/2020

Product Name:   Red Hat Enterprise Linux High Availability Beta
Product ID:     487
Version:        8.1 Beta
Arch:           x86_64
Status:         Subscribed
Status Details: 
Starts:         07/11/2019
Ends:           07/11/2020

Product Name:   Red Hat Enterprise Linux for Real Time for NFV Beta
Product ID:     501
Version:        8.1 Beta
Arch:           x86_64
Status:         Subscribed
Status Details: 
Starts:         07/11/2019
Ends:           07/11/2020


[root@kvm-01-guest24 ~]# pkcon remove  awscli  python3-botocore  python3-docutils  python3-jmespath  python3-pip  python3-pyyaml  python3-s3transfer  python3-setuptools  python36 -y
Resolving                     [=========================]         
Removing                      [=========================]         
Requesting data               [=========================]         
Removing packages             [=========================]         
Finished                      [=========================]         
[root@kvm-01-guest24 ~]# subscription-manager list --installed
+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name:   Red Hat Enterprise Linux for x86_64 Beta
Product ID:     486
Version:        8.1 Beta
Arch:           x86_64
Status:         Subscribed
Status Details: 
Starts:         07/11/2019
Ends:           07/11/2020

Product Name:   Red Hat Enterprise Linux for Real Time for NFV Beta
Product ID:     501
Version:        8.1 Beta
Arch:           x86_64
Status:         Subscribed
Status Details: 
Starts:         07/11/2019
Ends:           07/11/2020

[root@kvm-01-guest24 ~]# ls /etc/pki/product*
/etc/pki/product:
501.pem

/etc/pki/product-default:
486.pem

Comment 13 Shwetha Kallesh 2019-07-24 09:30:41 UTC
Verification with only htb cert:
[root@kvm-01-guest24 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.7.2-1
subscription management rules: 5.37
subscription-manager: 1.25.12-1.el8


[root@kvm-01-guest24 ~]# subscription-manager register --auto-attach
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
Username: stage_auto_syspurpose001
Password: 
The system has been registered with ID: ad089625-2a81-410d-82f0-b66e7b965fa2
The registered system name is: kvm-01-guest24.lab.eng.brq.redhat.com
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux for x86_64 High Touch Beta
Status:       Subscribed

[root@kvm-01-guest24 ~]# subscription-manager repos --enable=rhel-8-for-x86_64-rt-*-rpms
warning: rpmdb: BDB2053 Freeing read locks for locker 0x189: 18505/140648963352320
warning: rpmdb: BDB2053 Freeing read locks for locker 0x18b: 18505/140648963352320
warning: rpmdb: BDB2053 Freeing read locks for locker 0x211: 18505/140648665343744
warning: rpmdb: BDB2053 Freeing read locks for locker 0x213: 18505/140648665343744
warning: rpmdb: BDB2053 Freeing read locks for locker 0x23e: 18505/140648963352320
warning: rpmdb: BDB2053 Freeing read locks for locker 0x240: 18505/140648963352320
warning: rpmdb: BDB2053 Freeing read locks for locker 0x1d2: 18505/140648963352320
warning: rpmdb: BDB2053 Freeing read locks for locker 0x1d4: 18505/140648963352320
warning: rpmdb: BDB2053 Freeing read locks for locker 0x2f3: 18505/140648684254976
warning: rpmdb: BDB2053 Freeing read locks for locker 0x2f5: 18505/140648684254976
warning: rpmdb: BDB2053 Freeing read locks for locker 0x27d: 18505/140648684254976
warning: rpmdb: BDB2053 Freeing read locks for locker 0x27f: 18505/140648684254976
Repository 'rhel-8-for-x86_64-rt-htb-source-rpms' is enabled for this system.
Repository 'rhel-8-for-x86_64-rt-htb-debug-rpms' is enabled for this system.
Repository 'rhel-8-for-x86_64-rt-htb-rpms' is enabled for this system.
[root@kvm-01-guest24 ~]# ls /etc/pki/product*
/etc/pki/product:

/etc/pki/product-default:
230.pem
[root@kvm-01-guest24 ~]# pkcon install rt-tests
Resolving                     [=========================]         
Loading cache                 [=========================]         
Testing changes               [=========================]         
Finished                      [                         ] (0%)  
The following packages have to be installed:
 rt-tests-1.3-20.el8.x86_64	Programs that test various rt-features
Proceed with changes? [N/y] y

                              [=========================]         
Installing                    [=========================]         
Testing changes               [=========================]         
Installing packages           [=========================]         
Finished                      [=========================]         
[root@kvm-01-guest24 ~]# ls /etc/pki/product*
/etc/pki/product:
486.pem  501.pem

/etc/pki/product-default:
230.pem
[root@kvm-01-guest24 ~]# subscription-manager list --installed
+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name:   Red Hat Enterprise Linux for x86_64 High Touch Beta
Product ID:     230
Version:        8.1 HTB
Arch:           x86_64
Status:         Subscribed
Status Details: 
Starts:         07/11/2019
Ends:           07/11/2020

Product Name:   Red Hat Enterprise Linux for x86_64 Beta
Product ID:     486
Version:        8.1 Beta
Arch:           x86_64
Status:         Not Subscribed
Status Details: Not supported by a valid subscription.
Starts:         
Ends:           

Product Name:   Red Hat Enterprise Linux for Real Time for NFV Beta
Product ID:     501
Version:        8.1 Beta
Arch:           x86_64
Status:         Not Subscribed
Status Details: Not supported by a valid subscription.
Starts:         
Ends:           

[root@kvm-01-guest24 ~]# subscription-manager repos --enable rhel-8-for-x86_64-resilientstorage* --enable rhel-8-for-x86_64-highavailability*
Repository 'rhel-8-for-x86_64-resilientstorage-htb-debug-rpms' is enabled for this system.
Repository 'rhel-8-for-x86_64-resilientstorage-htb-rpms' is enabled for this system.
Repository 'rhel-8-for-x86_64-resilientstorage-htb-source-rpms' is enabled for this system.
Repository 'rhel-8-for-x86_64-highavailability-htb-rpms' is enabled for this system.
Repository 'rhel-8-for-x86_64-highavailability-htb-source-rpms' is enabled for this system.
Repository 'rhel-8-for-x86_64-highavailability-htb-debug-rpms' is enabled for this system.
[root@kvm-01-guest24 ~]# pkcon install awscli
Resolving                     [=========================]         
Loading cache                 [=========================]         
Testing changes               [=========================]         
Finished                      [                         ] (0%)  
The following packages have to be installed:
 awscli-1.14.50-5.el8.noarch	Universal Command Line Environment for AWS
 python3-botocore-1.9.1-2.el8.noarch	Low-level, data-driven core of boto 3
 python3-docutils-0.14-12.module+el8.1.0+3334+5cb623d7.noarch	System for processing plaintext documentation for python3
 python3-jmespath-0.9.0-11.el8.noarch	JSON Matching Expressions
 python3-pip-9.0.3-15.el8.noarch	A tool for installing and managing Python3 packages
 python3-pyyaml-3.12-12.el8.x86_64	YAML parser and emitter for Python
 python3-s3transfer-0.1.13-1.el8.noarch	An Amazon S3 Transfer Manager
 python3-setuptools-39.2.0-5.el8.noarch	Easily build and distribute Python 3 packages
 python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64	Interpreter of the Python programming language
Proceed with changes? [N/y] y

                              [=========================]         
Installing                    [=========================]         
Downloading packages          [=========================]         
Testing changes               [=========================]         
Installing packages           [=========================]         
Finished                      [=========================]         
[root@kvm-01-guest24 ~]# ls /etc/pki/product*
/etc/pki/product:
486.pem  487.pem  501.pem

/etc/pki/product-default:
230.pem
[root@kvm-01-guest24 ~]# subscription-manager list --installed
+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name:   Red Hat Enterprise Linux for x86_64 High Touch Beta
Product ID:     230
Version:        8.1 HTB
Arch:           x86_64
Status:         Subscribed
Status Details: 
Starts:         07/11/2019
Ends:           07/11/2020

Product Name:   Red Hat Enterprise Linux for x86_64 Beta
Product ID:     486
Version:        8.1 Beta
Arch:           x86_64
Status:         Not Subscribed
Status Details: Not supported by a valid subscription.
Starts:         
Ends:           

Product Name:   Red Hat Enterprise Linux High Availability Beta
Product ID:     487
Version:        8.1 Beta
Arch:           x86_64
Status:         Not Subscribed
Status Details: Not supported by a valid subscription.
Starts:         
Ends:           

Product Name:   Red Hat Enterprise Linux for Real Time for NFV Beta
Product ID:     501
Version:        8.1 Beta
Arch:           x86_64
Status:         Not Subscribed
Status Details: Not supported by a valid subscription.
Starts:         
Ends:           

[root@kvm-01-guest24 ~]# pkcon remove  awscli  python3-botocore  python3-docutils  python3-jmespath  python3-pip  python3-pyyaml  python3-s3transfer  python3-setuptools  python36 -y
Resolving                     [=========================]         
Removing                      [=========================]         
Requesting data               [=========================]         
Removing packages             [=========================]         
Finished                      [=========================]         
[root@kvm-01-guest24 ~]# subscription-manager list --installed
+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name:   Red Hat Enterprise Linux for x86_64 High Touch Beta
Product ID:     230
Version:        8.1 HTB
Arch:           x86_64
Status:         Subscribed
Status Details: 
Starts:         07/11/2019
Ends:           07/11/2020

Product Name:   Red Hat Enterprise Linux for x86_64 Beta
Product ID:     486
Version:        8.1 Beta
Arch:           x86_64
Status:         Not Subscribed
Status Details: Not supported by a valid subscription.
Starts:         
Ends:           

Product Name:   Red Hat Enterprise Linux for Real Time for NFV Beta
Product ID:     501
Version:        8.1 Beta
Arch:           x86_64
Status:         Not Subscribed
Status Details: Not supported by a valid subscription.
Starts:         
Ends:

Comment 15 errata-xmlrpc 2019-11-05 22:15:32 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-2019:3561