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-manager | Assignee: | candlepin-bugs | |
Status: | CLOSED ERRATA | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 8.0 | CC: | csnyder, jhnidek, jsefler, redakkan | |
Target Milestone: | rc | Keywords: | 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
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 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 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: 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 |