-
Notifications
You must be signed in to change notification settings - Fork 45
[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
[24/n] [reconfigurator-planning] support no-op image source updates #8486
Conversation
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
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
Created using spr 1.3.6-beta.1
return None; | ||
} | ||
|
||
let file_name = format!("{}.tar.gz", artifact.id.name); |
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.
I don't think this name is consistent with real TUF repos, but maybe that doesn't matter? Kinda uneasy about the whole situation.
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.
yeah, definitely needs to be fixed.
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.
fixed by adding yet another mapping function...
"crucible-zone.tar.gz", | ||
"crucible-pantry-zone.tar.gz", |
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.
Same as previous comment; some of these names are not consistent with real TUF repos.
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.
Addressed as part of #8518.
Created using spr 1.3.6-beta.1
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: