-
Notifications
You must be signed in to change notification settings - Fork 911
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
Systemd and config: align rhel custom files with upstream #1431
Conversation
@TheRealFalcon @raharper Hi! |
36a1e8b
to
23cd642
Compare
Rhel-specific files are here: https://gitlab.com/redhat/centos-stream/src/cloud-init/-/tree/c9s/rhel |
8899a22
to
3b8f074
Compare
83412a8
to
3b8f074
Compare
@esposem , thanks for this! It will be good to bring things closer to upstream. Comparing yours to the rhel-specific files you linked, I noticed a few differences:
Are all of these intentional? Additionally, have you been able to build and test your changes? |
@TheRealFalcon you are right, I did not notice these differences in Regarding testing yes, we have tested the changes (without the above you suggested), and all seems to work fine 🎉 |
3b8f074
to
9608095
Compare
Oh sorry I understand what you mean with For example, we have an issue that requires the Anyways I am pushing again, I think some modules are supported by rhel (at least, by looking at |
9608095
to
eabda6e
Compare
I will test the whole build again, and see if everything works as expected. But I don't see why it shouldn't. |
eabda6e
to
a92d538
Compare
So far RHEL had its own custom .service and cloud.cfg files, that diverged from upstream. We always replaced the generated files with the ones we had. This caused only confusion and made it harder to rebase and backport patches targeting these files. Hopefully this brings some alignment with upstream. At the same time, we are going to delete our custom downstream-only files and use the ones generated by .tmpl. The mapping is config/cloud.cfg.tmpl -> rhel/cloud.cfg systemd/* -> rhel/systemd/* Such rhel-specific files are open and available in the Centos repo: https://gitlab.com/redhat/centos-stream/src/cloud-init With this commit, we are also introducing modules in cloud.cfg that were not in the default rhel cfg file, even though they should already have been there with previous rebases and releases. Anyways such modules support rhel as distro, and therefore should cause no harm. Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
a92d538
to
c81c964
Compare
Once the build passes, let me know and I'll approve the PR. |
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.
Thank you @esposem for pushing this content upstream. changeset looks pretty good, I am just trying to wrap my head around the intent behind a couple of changes. Please see questions inline.
Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
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.
LGTM. Thank you @esposem for pushing these changes upstream.
Just reviewed the PR and LGTM too. Thanks for taking that, @esposem. Huge benefit for everyone 👍 |
@TheRealFalcon @blackboxsw downstream tests passed, feel free to merge this PR 🎉 |
The previous change in PR canonical#1887 attempted to fix some issues created by PR's canonical#1431 and canonical#1639. Unfortunately this change wrongly assumed all derivatives were not expecting cloud-user. This attempts to correct that.
The previous change in PR canonical#1887 attempted to fix some issues created by PR's canonical#1431 and canonical#1639. Unfortunately this change wrongly assumed all derivatives were not expecting cloud-user. This attempts to correct that.
Proposed Commit Message
RHBZ 2082071
Checklist: