Document foremanctl impact on Pulp import/export paths - #4905
Conversation
|
The PR preview for d8df5b5 is available at theforeman-foreman-documentation-preview-pr-4905.surge.sh No diff compared to the current base |
|
Hi @aidenfine, can you please take a look at this PR and let me know if you think these are the changes needed to cover theforeman/foremanctl#455? Note that the preview links in #4905 (comment) include containerized and non-containerized docs preview builds. So for example to review the foremanctl changes, the right HTML builds to look at would be mainly https://theforeman-foreman-documentation-preview-pr-4905.surge.sh/nightly/Managing_Content/index-containerized-katello.html. |
vsedmik
left a comment
There was a problem hiding this comment.
Left one note bellow which is going to be addressed by another PR I have been told, so ACK here, looks good to me. 👍
maximiliankolb
left a comment
There was a problem hiding this comment.
Two minor suggestion, overall LGTM style-wise.
I also suggest to swap the order in the snippet file name:
$ fd snip_ | rg prereq
guides/common/modules/snip_prerequisite-activation-key-available.adoc
guides/common/modules/snip_prerequisite-configured-smart-proxy-registration-provisioning.adoc
guides/common/modules/snip_prerequisite-networking-for-provisioning.adoc
guides/common/modules/snip_prerequisite-project-client-repository-ak.adoc
guides/common/modules/snip_prerequisite-project-client-repository-enabled.adoc
guides/common/modules/snip_prerequisite-repositories-with-oscap.adoc
guides/common/modules/snip_prerequisites-common-compute-resource.adoc
guides/common/modules/snip_prerequisites-configuring-smartproxyservers-for-load-balancing.adoc
guides/common/modules/snip_prerequisites-deploying-ca-cert-rex.adoc
guides/common/modules/snip_registering-a-host-prerequisites.adoc
So maybe "snip_prerequisite-allowed-export-paths.adoc`.
|
Tech wise, I think that Tested on Foreman 3.18/Katello 4.20. |
ekohl
left a comment
There was a problem hiding this comment.
Please keep the installer and foremanctl commands in sync as much as possible. I realize it was already wrong before, but this is a good opportunity to fix it. Note that users who manually modify settings.py will lose the value on the next installer run and we also can't migrate them from non-containerized to containerized. For that latter part is exactly why we maintain the parameter mapping.
Sorry for late reply. I would agree with what @ekohl is saying. |
2b1e51d to
01a5f7a
Compare
92cda25 to
40cc4da
Compare
|
The |
By the way, this is also the reason why the diff in #4905 (comment) is empty, so to review this type of change, there is no preview and looking at the changed lines should be enough. |
|
Hi @aidenfine and/or @ekohl, can you please re-review? |
40cc4da to
5d976d2
Compare
|
@maximiliankolb I extended the script and raised #4964 to track the exception. Can you please re-review? |
maximiliankolb
left a comment
There was a problem hiding this comment.
Thank you Anet, LGTM!
|
|
||
| # containerized content build isn't published | ||
| # https://github.com/theforeman/foreman-documentation/issues/.... | ||
| unused.delete('guides/common/modules/snip_allowed-export-paths-prerequisite.adoc') |
There was a problem hiding this comment.
Noting down my thought and don't feel you need to implement this now. I wondered if we could force the cleanup of this somehow. Should be relatively straight forward by checking it actually deleted something.
| unused.delete('guides/common/modules/snip_allowed-export-paths-prerequisite.adoc') | |
| unless unused.delete('guides/common/modules/snip_allowed-export-paths-prerequisite.adoc') | |
| puts "Close https://github.com/theforeman/foreman-documentation/issues/4964" | |
| exit 1 | |
| end |
f4dc8b7 to
d8df5b5
Compare
|
Thanks, everyone! |
What changes are you introducing?
Why are you introducing these changes? (Explanation, links to references, issues, etc.)
theforeman/foremanctl#455
https://github.com/theforeman/foremanctl/blob/744ba31fd0ee4e4a74eef97e2c705acca1b2961d/src/roles/pulp/defaults/main.yaml#L29-L30
theforeman/foremanctl#445
Anything else to add? (Considerations, potential downsides, alternative solutions you have explored, etc.)
Assisted-by: Cursor
Contributor checklists
Please cherry-pick my commits into: