Skip to content

Hide Complete Mirroring mirroring policy for SLES - #5254

Open
maximiliankolb wants to merge 1 commit into
theforeman:masterfrom
ATIX-AG:suse_mirroring_policy
Open

Hide Complete Mirroring mirroring policy for SLES#5254
maximiliankolb wants to merge 1 commit into
theforeman:masterfrom
ATIX-AG:suse_mirroring_policy

Conversation

@maximiliankolb

Copy link
Copy Markdown
Contributor

What changes are you introducing?

The SCC Manager plugin does not allow users to configure mirroring policy "Complete Mirroring" for new SUSE content. However, users can theoretically change the mirroring policy after setting up SUSE content via SCC Manager plugin.

This patch hides this section for SUSE Linux Enterprise Server Clients.

This patch also hides Yum repositories for Deb Clients. Downstream docs for Debian or Ubuntu Client OS do not show the mirroring policy for Yum content. Only RHEL Clients show the mirroring policy for Red Hat content.

This patch does not affect upstream builds.

Why are you introducing these changes? (Explanation, links to references, issues, etc.)

scc_manager

Anything else to add? (Considerations, potential downsides, alternative solutions you have explored, etc.)

Fixes #4333 (SUSE content: Avoid mirroring policy "Complete Mirroring")

Contributor checklists

  • I am okay with my commits getting squashed when you merge this PR.
  • I am familiar with the contributing guidelines.

Please cherry-pick my commits into:

  • Foreman 5.0/Katello 5.0
  • Foreman 3.19/Katello 4.21
  • Foreman 3.18/Katello 4.20 (Satellite 6.19; orcharhino 7.9 and 7.10)
  • Foreman 3.17/Katello 4.19
  • Foreman 3.16/Katello 4.18 (Satellite 6.18; orcharhino 7.6, 7.7, and 7.8)
  • Foreman 3.15/Katello 4.17
  • Foreman 3.14/Katello 4.16 (Satellite 6.17; orcharhino 7.4; orcharhino 7.5)
  • We do not accept PRs for Foreman older than 3.14.

The SCC Manager plugin does not allow users to configure mirroring
policy "Complete Mirroring" for new SUSE content. However, users can
theoretically change the mirroring policy after setting up SUSE content
via SCC Manager plugin.

This patch hides this section for SUSE Linux Enterprise Server Clients.

This patch also hides Yum repositories for Deb Clients.
Downstream docs for Debian or Ubuntu Client OS do not show the
mirroring policy for Yum content. Only RHEL Clients show the mirroring
policy for Red Hat content.

This patch does not affect upstream builds.

Fixes theforeman#4333 (SUSE content: Avoid mirroring policy "Complete Mirroring")
@github-actions github-actions Bot added Needs tech review Requires a review from the technical perspective Needs style review Requires a review from docs style/grammar perspective Needs testing Requires functional testing labels Aug 31, 2026
@maximiliankolb

Copy link
Copy Markdown
Contributor Author

I created this upstream PR based on ATIX-AG/foreman_scc_manager#161 (comment). Does it match your expectation? @nadjaheitmann

I checked that the SCC Manager plugin does not show "complete mirroring" & that users could, if they wanted to, still change the mirroring policy for Yum content from SUSE. IMO that makes it a good idea to hide it for SLES clients so users don't set it to "complete mirroring".

@nadjaheitmann

Copy link
Copy Markdown

Looks good to me, thanks @maximiliankolb . I think it is a bit sneaky to add the Deb change in the same commit but fine for me if it's okay for you ;)

@maximiliankolb maximiliankolb added tech review done No issues from the technical perspective and removed Needs tech review Requires a review from the technical perspective Not yet reviewed Needs testing Requires functional testing labels Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs style review Requires a review from docs style/grammar perspective tech review done No issues from the technical perspective

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SUSE content: Do not use mirroring policy "Complete Mirroring"

2 participants