-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add section for RHEL8to9 in-place upgrade using LEAPP #3070
Add section for RHEL8to9 in-place upgrade using LEAPP #3070
Conversation
The PR preview for d0a512c is available at theforeman-foreman-documentation-preview-pr-3070.surge.sh The following output files are affected by this PR: |
guides/common/modules/proc_upgrading-project-or-proxy-in-place-using-leapp.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_upgrading-project-or-proxy-in-place-using-leapp.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_upgrading-project-or-proxy-in-place-using-leapp.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_upgrading-project-or-proxy-in-place-using-leapp.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_upgrading-project-or-proxy-in-place-using-leapp.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_upgrading-project-or-proxy-in-place-using-leapp.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_upgrading-project-or-proxy-in-place-using-leapp.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_upgrading-project-or-proxy-in-place-using-leapp.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_upgrading-project-or-proxy-in-place-using-leapp.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_upgrading-project-or-proxy-in-place-using-leapp.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_upgrading-project-or-proxy-in-place-using-leapp.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_upgrading-project-or-proxy-in-place-using-leapp.adoc
Outdated
Show resolved
Hide resolved
@maximiliankolb what are Orcharino's plans for EL9 upgrades? Should we include them here in the PR or will you enable them on your own whenever you're ready? |
guides/common/modules/proc_upgrading-project-or-proxy-in-place-using-leapp.adoc
Outdated
Show resolved
Hide resolved
orcharhino will orient itself to Katello and Satellite. @AkshayGadhaveRH Please include orcharhino in any "ifdef/ifndef" macros if possible. Feel free to ping me if something's unclear regarding those macros. I will also create a follow-up PR later on. |
guides/common/modules/proc_upgrading-project-or-proxy-in-place-using-leapp.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_upgrading-project-or-proxy-in-place-using-leapp.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_upgrading-project-or-proxy-in-place-using-leapp.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_upgrading-project-or-proxy-in-place-using-leapp.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_upgrading-project-or-proxy-in-place-using-leapp.adoc
Show resolved
Hide resolved
guides/common/modules/proc_upgrading-project-or-proxy-in-place-using-leapp.adoc
Show resolved
Hide resolved
guides/common/modules/proc_upgrading-project-or-proxy-in-place-using-leapp.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_upgrading-project-or-proxy-in-place-using-leapp.adoc
Outdated
Show resolved
Hide resolved
7b8eef5
to
5c1a161
Compare
guides/common/modules/proc_upgrading-project-or-proxy-in-place-using-leapp.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_upgrading-project-or-proxy-in-place-using-leapp.adoc
Show resolved
Hide resolved
1004ed9
to
93ef876
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last detail and I'm merging
guides/common/modules/proc_upgrading-project-or-proxy-in-place-using-leapp.adoc
Outdated
Show resolved
Hide resolved
…-using-leapp.adoc
guides/common/modules/proc_upgrading-project-or-proxy-in-place-using-leapp.adoc
Outdated
Show resolved
Hide resolved
…-using-leapp.adoc
guides/common/modules/proc_upgrading-project-or-proxy-in-place-using-leapp.adoc
Outdated
Show resolved
Hide resolved
I'm not sure about the cherry-pick to 3.11 because of the Pulpcore and Candlepin versions -- are you sure they are the same versions for 3.11 as for the future 3.12? I am not, therefore not cherry-picking. |
I am sure. please pick. |
@evgeni Thank you! :) |
Adding information about the process to upgrade the underlying OS from EL8to9. Repurposed the older RHEL7to8 LEAPP module from 3.1 for 8to9 LEAPP upgrade. * Add `PulpcoreVersion` attribute This attribute was removed as it was no longer needed after 3.1. Readding it as the LEAPP module refers to it. Setting it to correct version (3.49). --------- Co-authored-by: Akshay Gadhave <[email protected]> Co-authored-by: Zuzana Lena Ansorgová <[email protected]>
@Macleykun heya. thanks for the comment! Would you mind double-check against the final rendering at https://docs.theforeman.org/3.11/Upgrading_Project/index-katello.html#upgrading-foreman-or-smart-proxy-in-place-using-leapp_upgrading-connected -- at least the commands should all be there. You were using the leapp packages from RHEL, right, not the ones from the copr, as you're on a RHEL system? |
I kept an eye on this PR and noticed all the commands stayed the same including the repos that need to be configured since my comment, overall the steps look great! and correct I didn’t use copr! Those patches you mention, I assume these are being tracked in a PR in GitHub on the leapp repo? I may need to apply those patches manually still then :p . But isn’t it an issue that those patches aren’t out yet but the docs to in place are released public? ATM I’m out of the office for ~2 weeks so I may respond a bit later then I usually would! |
Just use the copr then ;-)
You are kinda right here. I was hoping that the RHEL update would be faster (it wasn't) and wasn't expecting to have too many "Foreman on RHEL" users (only "Foreman on CentOS/Rocky/Alma" which would use the copr anyway and "Satellite on RHEL" which would not be released before the RHEL update is out). We can drop the "not needed on rhel" note from the "enable copr" instruction.
No worries at all! |
I see, we are already running rhel 9 with foreman so I’m not sure if using copr would still work (installing leapp rhel 8 with the extra patches). Glad to read that the docs will also be updated to use the copr repo for rhel aswell to make the process smooth! |
If you're already running el9 you don't need the copr, as it contains only leapp related packages for the 8to9 upgrade. Did you reindex the database after switching to el9? |
Awsome! |
Sadly not, no. You need to run the following two commands:
only call the second if the first was successful! |
Understandable! Going to forward that immedialty to a collegeue of mine! Thank you so much for discussing the PR :)! <3 |
#3220 for the "copr on rhel" change |
Thank you @AkshayGadhaveRH |
Adding information about the process to upgrade the underlying OS from EL8to9. Repurposed the older RHEL7to8 LEAPP module from 3.1 for 8to9 LEAPP upgrade.
Please cherry-pick my commits into: