theforeman / foreman-ansible-modules

Ansible modules for interacting with the Foreman API and various plugin APIs such as Katello
GNU General Public License v3.0
145 stars 162 forks source link

redhat_manifest.content_access_mode does not change Simple Content Access on existing manifests #1741

Open jeremylenz opened 1 month ago

jeremylenz commented 1 month ago
SUMMARY

See https://bugzilla.redhat.com/show_bug.cgi?id=2283543

Since Katello 4.7, SCA status has been tied to the local Katello organization, not the manifest. Therefore, Katello no longer can change the content_access_mode flag of the manifest, and this flag is ignored by Katello.

Not sure which Katello API endpoint this module calls, but some SCA-related endpoints were removed in Katello 4.12, so this may fail much less silently in 4.12+.

ISSUE TYPE
EXPECTED RESULTS

Can we remove this content_access_mode param based on Katello version? or maybe it should just be removed period.

ACTUAL RESULTS

according to the BZ, it updates the manifest with no errors, but ignores the content_access_mode param.