Bug 2088559
Summary: | [RFE] Prevent repositories that are protected by client certificates from appearing in the list of available repositories at /pulp/content. | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Gourav Padholia <gpadholi> |
Component: | Pulp | Assignee: | satellite6-bugs <satellite6-bugs> |
Status: | CLOSED ERRATA | QA Contact: | Jameer Pathan <jpathan> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.10.6 | CC: | ahumbe, dalley, dkliban, egolov, ehelms, ggainey, gtalreja, hyu, lzap, mhulan, pcreech, rchan, vijsingh |
Target Milestone: | 6.14.0 | Keywords: | FutureFeature, PrioBumpGSS, Regression, Security, Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python39-pulpcore-3.22, foreman-installer-3.7.0-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-11-08 14:17:47 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: |
Description
Gourav Padholia
2022-05-19 16:53:57 UTC
Created redmine issue https://projects.theforeman.org/issues/34950 from this bug *** Bug 2075752 has been marked as a duplicate of this bug. *** With the change from Pulp 2 to Pulp 3 there was a change in behavior in how protection of repositories is handled. It is true that in the current implementation the list of repositories is viewable but the repository itself and the content within it are both not browsable or downloadable without a valid client certificate. We are examining further whether viewing the list of available repositories is something we can gate. Given Pulp 3 handles cert guard differently than Pulp 2 did, this particular bug would need to be an RFE, something akin to "Prevent repositories that are protected by client certificates from appearing in the list of available repositories at /pulp/content". If that is something you would like to see, please do update this to an RFE and the text. Any additional context or use case information to help the guide the team would also be appreciated. Upstream bug assigned to ehelms Requesting needsinfo from upstream developer dkliban, ggainey because the 'FailedQA' flag is set. Dropped the Pulp-related NEEDINFOs as the remaining changes are NOT in the pulp realm (but in the installer) and the Pulp bits have been verified to be working as expected. foreman-installer 3.7.0 now defaults to HIDE_GUARDED_DISTRIBUTIONS=True (but overrideable by the user), so this should be the last missing bit. Moving to POST. @pcreech why was this manually moved to ON_DEV? the fix is in foreman-installer-3.7.0-1 while we still only ship foreman-installer-3.7.0-0.4.rc3 in snap 5. additionally, foreman-proxy and foreman-selinux packages weren't updated to their respective GA versions either. Requesting needsinfo from upstream developer dkliban, ggainey because the 'FailedQA' flag is set. Verified: Verified with: - foreman-installer-3.7.0.1-1.el8sat.noarch - Satellite 6.14.0 snap 7 Test steps: - satellite-installer --scenario satellite --full-help |grep foreman-proxy-content-pulpcore-hide-guarded-distributions - Go to https://satellite.example.com/pulp/content/ Observations: - foreman-proxy-content-pulpcore-hide-guarded-distributions installer option is present and is enabled by default. - No content listed/downloadable on https://satellite.example.com/pulp/content/ - "403: [('PEM routines', 'get_name', 'no start line')]" when the setting is disabled. Additional info: # satellite-installer --full-help | grep foreman-proxy-content-pulpcore-hide-guarded-distributions --foreman-proxy-content-pulpcore-hide-guarded-distributions Hide distributions that are protected by a content guard from the default listing (current: true) --reset-foreman-proxy-content-pulpcore-hide-guarded-distributions Reset pulpcore_hide_guarded_distributions to the default value (true) 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 (Important: Satellite 6.14 security and bug fix update), 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/RHSA-2023:6818 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days |