Bug 2211676
| Summary: | [RFE]: Change logging priority for "Installed product 479 not present in response from server." if compliance is TRUE | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Taft Sanders <tasander> |
| Component: | subscription-manager | Assignee: | CSI Client Tools Bugs <csi-client-tools-bugs> |
| Status: | CLOSED DUPLICATE | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.8 | Flags: | pm-rhel:
mirror+
|
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-06-01 14:06:30 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: | |||
There is no "compliance" when using SCA :) This looks like a duplicate of bug 1982670, so I'm marking it as such. *** This bug has been marked as a duplicate of bug 1982670 *** |
Description of problem: When a client registers to an SCA-enabled environment, the following message is seen multiple times and causes concern for users. 2023-05-31 17:00:01,047 [WARNING] subscription-manager:120197:MainThread @cert_sorter.py:199 - Installed product 479 not present in response from server. 2023-05-31 17:00:01,172 [WARNING] subscription-manager:120197:MainThread @cert_sorter.py:199 - Installed product 479 not present in response from server. 2023-05-31 17:00:01,298 [WARNING] subscription-manager:120197:MainThread @cert_sorter.py:199 - Installed product 479 not present in response from server. 2023-05-31 17:00:01,474 [WARNING] subscription-manager:120197:MainThread @cert_sorter.py:199 - Installed product 479 not present in response from server. Version-Release number of selected component (if applicable): subscription-manager-1.28.36-2.el8.x86_64 How reproducible: Every time Steps to Reproduce: 1. Register any RHEL 7,8,9 server to an SCA enabled environment 2. 3. Actual results: Warning messages are seen Expected results: This should be logged as debug if compliance is true Additional info: From the function that writes this warning to the log, we should first check if compliance is true or not before writing this line as a warning. Something like the following: [root@drone86 ~]# vim /usr/lib64/python3.6/site-packages/subscription_manager/cert_sorter.py +194 194 for pid in list(self.installed_products.keys()): if status[compliance] != 'True': 195 if pid not in self.valid_products and pid not in \ 196 self.partially_valid_products and pid not in \ 197 unentitled_pids: 198 log.warning("Installed product %s not present in response from " 199 "server." % pid) 200 unentitled_pids.append(pid) else: log.debug("Installed product %s not present in response from " "server." % pid)