Replies: 1 comment
-
|
I'm going to close this in favor of #2013 which I created from this. I'm not super familiar with how the LBI code works offhand but the behavior you're describing is definitely not right. It's better to discuss in the issue because any of the comments from discussions don't automatically get transferred over when moving from discussion -> issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As I've been working with logically-bound images, I've encountered a couple of challenges around reliability. These can more or less be summed up by saying that errors pulling LBIs are not really handled, which makes it tough to rely on
bootc switch/upgradewhen LBIs are involved.The two main challenges are:
These two issues combine to make updates with any LBI changes nearly impossible to apply atomically - we expect LBIs to be available immediately on boot, but we cannot retry them if the initial fetch fails. Right now, we're working around this by using physically-embedded images, but this is painful for other reasons (we lose the layering from the embedded images, so updates are huge, and loading images into c/storage is fallible at boot-time).
I'm not sure what the best option here is - off the top of my head, it seems safest to unstage a deployment (if this is possible) if we can't fetch its LBIs; that way, we're back in the state we started in and it's up to the caller to retry the
bootcoperation that failed.Beta Was this translation helpful? Give feedback.
All reactions