Skip to content

sealing: re-seal KEK if seal mode changes - #922

Merged
daniel-weisse merged 2 commits into
masterfrom
dw/image-upgrade-flake
Jan 12, 2026
Merged

sealing: re-seal KEK if seal mode changes#922
daniel-weisse merged 2 commits into
masterfrom
dw/image-upgrade-flake

Conversation

@daniel-weisse

Copy link
Copy Markdown
Member

Context

In the past we have seen intermittent failure of the image upgrade e2e tests.
After some investigation, I could narrow this down to being an issue with unsealing the KEK with new Coordinators on all nodes but the one where an old Coordinator instance originally received the manifest.
Turns out the seal mode of the KEK was never updated on "secondary" instances after the manifest gets set.
In cases where the test scheduled no new Coordinator instances on the node where the original manifest got set, no new instance can load a KEK, resulting in test failure.

Proposed changes

  • For distributed mode, re-seal the KEK if the seal mode of the state changes.

Additional info

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
@daniel-weisse daniel-weisse added the bug fix This change fixes a user facing bug from the previous release label Jan 12, 2026
@daniel-weisse
daniel-weisse merged commit a6a5362 into master Jan 12, 2026
12 checks passed
@daniel-weisse
daniel-weisse deleted the dw/image-upgrade-flake branch January 12, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug fix This change fixes a user facing bug from the previous release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants