-
Notifications
You must be signed in to change notification settings - Fork 158
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
manifest: Add bootupd for x86_64|aarch64 #595
Conversation
11e4cff
to
5797149
Compare
OK I reworked this so that it's a no-op if bootupd isn't installed. Hopefully we can merge this now and testing out bootupd will involve less juggling of git branches. |
I'm having trouble understanding how this all ties together. I would've expected bootupd on the compose side to interact in coreos-assembler somewhere in |
No worries, me too 😄 I messed this all up initially. Basically this part replaces
That's a separate phase in coreos/coreos-assembler#1695 This phase needs to happen for every single ostree commit build. The coreos-assembler one happens only when we make a bootimage. |
Side note: the reason this is useful now is I am testing bootupd via |
fd3fdeb
to
703da5d
Compare
OK bootupd is in the repos; I reworked this to make it explicitly required for |
703da5d
to
9d392a0
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.
LGTM overall!
9d392a0
to
307b934
Compare
coreos/coreos-assembler#1695 (comment) |
Followup to coreos@5633655 Caught in CI for coreos/fedora-coreos-config#595
Followup to coreos@5633655 Caught in CI for coreos/fedora-coreos-config#595
Followup to 5633655 Caught in CI for coreos/fedora-coreos-config#595
OK, ✔️ CI here. We should probably debate whether to run with this right now; bootupd is still a WIP but I know it works for the "install" case, and having this in will help a lot developing it. OTOH it does mean shipping it to all FCOS users in WIP status. Hmm...maybe what we want is support for "build options" so that we can merge to testing-devel but turn off the option for stable? Not sure. |
I'm personally fine with merging it. We don't publicize/document the new CLI tool anywhere super user visible right now, and otherwise AFAICT bootupd on its own doesn't change the behaviour of a booted FCOS in any meaningful way, right? Do you see any risks/potential areas for regression from this change? |
How much of a WIP is bootupd right now? Is it "alpha" or "beta" quality? If is the former, then I think we should hold off. And what's the risk of bricking a user? FCOS is stable, but we would be introducing something that unstable by definition into the code.
This PR enables the socket. I would call that a meaningful change. If we do no foresee a major refactor or changes, then I would be okay shipping this once we have Kola tests to make sure we're good. I think we're probably safe, but let's put up the guard rails first to catch our human mistakes. |
I'd say alpha.
If they somehow discover and run
That's mostly an implementation detail I think, it's a unix domain socket, not listening on TCP or anything like that. But perhaps the simplest alternative is to keep the socket disabled? That would make it easy to turn on via Ignition or by hand and test out. |
307b934
to
ecdb18d
Compare
Updated with that change. |
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. Though to be safe let's hold until the current round of releases for this week is done. Otherwise, this'll get immediately promoted to testing
and next
e.g. tomorrow.
@@ -3,3 +3,4 @@ enable fedora-coreos-pinger.service | |||
# Provide information if no ignition is provided | |||
enable coreos-check-ignition-config.service | |||
enable coreos-check-ssh-keys.service | |||
|
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.
Minor/optional: spurious new line.
Also did coreos/bootupd#27 |
This converts the EFI update directory from (rpm-)ostree specific layout to bootupd layout. Required for both initial provisioning with bootupd as well as later updates. For now the `bootupd.socket` is disabled by default to further discourage users from trying it until we've fully productized it. This will be used by: coreos/coreos-assembler#1695
ecdb18d
to
a6d4b4c
Compare
Releases are out now. Restarted CI here. |
Basically pulling in coreos/fedora-coreos-config#595 for RHCOS. The immediate goal is allowing updating existing systems in place for Boot Hole.
Basically pulling in coreos/fedora-coreos-config#595 for RHCOS. The immediate goal is allowing updating existing systems in place for Boot Hole.
kola-denylist: disable crio.base tests for all arches
I strongly believe that I tested the use of a list in the denylist as part of coreos#595, but evidence says otherwise.
This converts the EFI update directory from (rpm-)ostree specific
layout to bootupd layout. Required for both initial
provisioning with bootupd as well as later updates.
Required by: coreos/coreos-assembler#1695