Bug 2178610
| Summary: | Entitlement certificate related errors logged in /var/log/rhsm/rhsm.log when simple content access enabled. | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Pino Toscano <ptoscano> | |
| Component: | subscription-manager | Assignee: | Pino Toscano <ptoscano> | |
| Status: | VERIFIED --- | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | unspecified | CC: | ahumbe, candlepin-bugs, dhjoshi, jsefler, jstavel, mkalyat, pbadguja, peter.vreman, redakkan, rhsm-qe, saydas, shughes, zpetrace | |
| Target Milestone: | rc | Keywords: | Triaged, ZStream | |
| Target Release: | 9.3 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | subscription-manager-1.29.34-1.el9 | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 1982670 | |||
| : | 2221711 (view as bug list) | Environment: | ||
| Last Closed: | 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: | 1982670, 2221711 | |||
|
Description
Pino Toscano
2023-03-15 12:17:28 UTC
I have installed a product certificate 479.pem into /etc/pki/product-default. A warning about certificate appeared in the log file. 2023-03-27 08:46:09,536 [WARNING] subscription-manager:22559:MainThread @cert_sorter.py:194 - Installed product 479 not present in response from server. [root@sgi-uv30-01 ~]# subscription-manager syspurpose role --set "Red Hat Enterprise Linux Workstation" Warning: Provided value "Red Hat Enterprise Linux Workstation" is not included in the list of valid values - Red Hat Enterprise Linux Server role set to "Red Hat Enterprise Linux Workstation". [root@sgi-uv30-01 ~]# root@sgi-uv30-01 ~]# subscription-manager status +-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: Disabled Content Access Mode is set to Simple Content Access. This host has access to content, regardless of subscription status. System Purpose Status: Disabled After I updated package subscription-manager to the latest version provided by a jenkins build job no warning appeared. Final verification done on sub-man version: [root@kvm-01-guest09 ~]# subscription-manager version server type: This system is currently not registered. subscription management server: 4.2.15-1 subscription management rules: 5.43 subscription-manager: 1.29.34-1.el9 [root@kvm-01-guest09 ~]# cat /etc/redhat-release Red Hat Enterprise Linux release 9.3 Beta (Plow) [root@kvm-01-guest09 ~]# subscription-manager status +-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: Disabled Content Access Mode is set to Simple Content Access. This host has access to content, regardless of subscription status. System Purpose Status: Disabled Updating the certificate: [root@kvm-01-guest09 product-default]# ls /etc/pki/product-default/ 479.pem cat /var/log/rhsm/rhsm.log: 2023-04-18 12:54:04,000 [INFO] subscription-manager:16517:MainThread @managerlib.py:103 - Consumer created: kvm-01-guest09.lab.eng.brq2.redhat.com (414ccbfc-bc31-4bbe-a79c-94a8ab2003e8) 2023-04-18 12:54:06,834 [INFO] subscription-manager:16517:MainThread @entcertlib.py:107 - certs updated: Total updates: 1 Found (local) serial# [] Expected (UEP) serial# [7365450278341807506] Added (new) [sn:7365450278341807506 ( Content Access,) @ /etc/pki/entitlement/7365450278341807506.pem] Deleted (rogue): <NONE> ^^ There was no "[WARNING] subscription-manager:5798:MainThread @cert_sorter.py:194 - Installed product 479 not present in response from server." error -> PASSED |