Skip to content

[24/n] [reconfigurator-planning] support no-op image source updates #8486

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

Conversation

sunshowers
Copy link
Contributor

@sunshowers sunshowers commented Jun 30, 2025

RFD 556 discusses part of the mupdate recovery process being a zone image source switch from the install dataset to the TUF repo depot.

During discussions, we figured out that this doesn't have to be tied to the mupdate override stuff for the most part, and that this is a process we are allowed to perform on any zones where a mupdate override isn't in place.

This depends on some pending work in Sled Agent to treat image source switches as no-ops if the underlying hash is the same.

Depends on:

TODO:

  • Tests

Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1

[skip ci]
Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1
@sunshowers sunshowers changed the title [wip] [22/n] [reconfigurator-planning] support no-op image source updates [24/n] [reconfigurator-planning] support no-op image source updates Jul 1, 2025
Created using spr 1.3.6-beta.1

[skip ci]
Created using spr 1.3.6-beta.1
@sunshowers sunshowers changed the base branch from sunshowers/spr/main.wip-22n-reconfigurator-planning-support-no-op-image-source-updates to main July 1, 2025 21:53
Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1
return None;
}

let file_name = format!("{}.tar.gz", artifact.id.name);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this name is consistent with real TUF repos, but maybe that doesn't matter? Kinda uneasy about the whole situation.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, definitely needs to be fixed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed by adding yet another mapping function...

Comment on lines 50 to 51
"crucible-zone.tar.gz",
"crucible-pantry-zone.tar.gz",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as previous comment; some of these names are not consistent with real TUF repos.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed as part of #8518.

Created using spr 1.3.6-beta.1
@sunshowers sunshowers enabled auto-merge (squash) July 4, 2025 00:29
@sunshowers sunshowers merged commit 80a9e91 into main Jul 4, 2025
17 checks passed
@sunshowers sunshowers deleted the sunshowers/spr/wip-22n-reconfigurator-planning-support-no-op-image-source-updates branch July 4, 2025 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants