Bug 2034846

Summary: [RFE] Provide debug logs for katello<->pulp communication
Product: Red Hat Satellite Reporter: Pavel Moravec <pmoravec>
Component: Content ViewsAssignee: satellite6-bugs <satellite6-bugs>
Status: NEW --- QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.10.0CC: sajha
Target Milestone: UnspecifiedKeywords: FutureFeature, Triaged
Target Release: Unused   
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: 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:

Description Pavel Moravec 2021-12-22 10:45:08 UTC
Description of problem:
When dealing with support cases about unexpected content of CV (with filters and/or depsolving), it is often almost impossible to determine where some content (rpm/errata/..) was taken from - or why. Simply, there are no debugs available that would significantly help in troubleshooting such cases.

Please add such logs (of _debug_ level, for sure) somewhere in katello<->pulp communication (I think katello side is preferable, as we should log there also "requesting this purge due to that CV exclude filter" info).

Ideally, we would like to see debug logs like:
- what setting (repo/filter/depsolving/..) triggered / requested the specific pulp request
- log that request to pulp (with all its details, so we can replay from cmdline, including PUT requests that current pulp_rest debugs dont offer)
- log full response (partially covered by current pulp_rest, not sure how it works with pulp-3)


Version-Release number of selected component (if applicable):
Sat any version


How reproducible:
100%


Steps to Reproduce:
1. Publish some CV with depsolving and some filters on more repos, and try to inspect/debug why some package was added/removed/present in the CV.


Actual results:
Very limited way, just pulp_rest logs that are incomplete (see above for details)


Expected results:
Better debug logs as described above.


Additional info:

Comment 4 Brad Buckingham 2023-07-21 21:06:39 UTC
Upon review of our valid but aging backlog the Satellite Team has concluded that this Bugzilla does not meet the criteria for a resolution in the near term, and are planning to close in a month. This message may be a repeat of a previous update and the bug is again being considered to be closed. If you have any concerns about this, please contact your Red Hat Account team.  Thank you.