Rework additive mirroring policy for Oracle Linux#4732
Rework additive mirroring policy for Oracle Linux#4732maximiliankolb merged 1 commit intotheforeman:masterfrom
Conversation
|
The PR preview for 78e58b3 is available at theforeman-foreman-documentation-preview-pr-4732.surge.sh The following output files are affected by this PR: |
There was a problem hiding this comment.
Is this a real issue for concept modules? Until now, I thought this rule only applies to procedures.
There was a problem hiding this comment.
AFAIK it is an issue now for concept modules. I raised jhradilek/asciidoctor-dita-vale#177 to clarify.
m-bucher
left a comment
There was a problem hiding this comment.
LGTM from a technical point of view.
Lennonka
left a comment
There was a problem hiding this comment.
I'm cool with the new procedures, but I suggest rethinking the concept module.
guides/common/modules/proc_limiting-growth-of-synchronized-content-by-using-cli.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_limiting-growth-of-synchronized-content-by-using-web-ui.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_limiting-growth-of-synchronized-content-by-using-cli.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_limiting-growth-of-synchronized-content-by-using-web-ui.adoc
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
How about moving the core of this to Best practices as a new list item? 🤔
There was a problem hiding this comment.
I did not think about this before but I wish to keep it as is: the OOM problem has been specifically reported for Yum content from Oracle for Oracle Linux because Oracle only adds packages to repos instead of replacing them. This means that you might end up with dozens of package versions of large packages, such as golang-bin.
There was a problem hiding this comment.
I understand that the problem is specific to Oracle Linux, but I'm not entirely happy with adding a new heading for it.
This patch adds procedures to set the "Mirroring Policy" and "Retain package versions" for any content. It's recommended that users set this for any content for Oracle Linux because Oracle adds packages without removing old versions. This can trigger Pulp OOM issues.
b104295 to
78e58b3
Compare
maximiliankolb
left a comment
There was a problem hiding this comment.
Thanks Lena! Rebased to HEAD of "master" and applied all suggestions.
I would like to keep it a separate concept module for now. Ready for re-review.
guides/common/modules/proc_limiting-growth-of-synchronized-content-by-using-cli.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_limiting-growth-of-synchronized-content-by-using-cli.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_limiting-growth-of-synchronized-content-by-using-web-ui.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_limiting-growth-of-synchronized-content-by-using-web-ui.adoc
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
I did not think about this before but I wish to keep it as is: the OOM problem has been specifically reported for Yum content from Oracle for Oracle Linux because Oracle only adds packages to repos instead of replacing them. This means that you might end up with dozens of package versions of large packages, such as golang-bin.
This patch adds procedures to set the "Mirroring Policy" and "Retain package versions" for any content. It's recommended that users set this for any content for Oracle Linux because Oracle adds packages without removing old versions. This can trigger Pulp OOM issues. (cherry picked from commit 5fe2811)
|
Thanks Lena. Merged to "master" and cherry-picked: Should I create a follow-up PR to move this to troubleshooting? As F+K Community, we recommend setting up content for Oracle Linux "correctly", aka. as documented with this PR. As a user, I might ignore this/not follow the docs to setup Yum content/run into this issue after the docs are public & then search for it in troubleshooting. What do you think @Lennonka and @aneta-petrova ? |
What changes are you introducing?
This patch adds procedures to set the "Mirroring Policy" and "Retain package versions" for any content.
Why are you introducing these changes? (Explanation, links to references, issues, etc.)
It's recommended that users set this for any content for Oracle Linux because Oracle adds packages without removing old versions. This can trigger Pulp OOM issues.
Anything else to add? (Considerations, potential downsides, alternative solutions you have explored, etc.)
Users report Pulp OOM issues -> recommendation to not keep all packages for content from Oracle.
Contributor checklists
Please cherry-pick my commits into: