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 2211676 - [RFE]: Change logging priority for "Installed product 479 not present in response from server." if compliance is TRUE
Summary: [RFE]: Change logging priority for "Installed product 479 not present in resp...
Keywords:
Status: CLOSED DUPLICATE of bug 1982670
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: subscription-manager
Version: 8.8
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: CSI Client Tools Bugs
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-01 13:21 UTC by Taft Sanders
Modified: 2023-06-01 14:06 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-06-01 14:06:30 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-158809 0 None None None 2023-06-01 13:29:49 UTC
Red Hat Knowledge Base (Solution) 7016350 0 None None None 2023-06-01 13:35:50 UTC

Description Taft Sanders 2023-06-01 13:21:48 UTC
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)

Comment 2 Pino Toscano 2023-06-01 14:06:30 UTC
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 ***


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