Skip to content
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

Sled Agent: PUT /omicron-zones needs a way to specify TUF artifact for zone image #7281

Open
davepacheco opened this issue Dec 19, 2024 · 0 comments

Comments

@davepacheco
Copy link
Collaborator

davepacheco commented Dec 19, 2024

The idea we've discussed is that OmicronZoneConfig would grow an artifact_id (or artifact_sha256?) field that identifies which artifact from the [TUF] Repo Depot should be used for this zone's root filesystem.

This is a little trickier than just migrating sled-agent-owned config to Nexus-owned config because the behavior is changing, too:

  • if the property is not specified, then the image to be used is "whatever was put in the install dataset by the last mupdate"
  • once the property is specified, then the image to be used is what's specified in the property

This likely depends on #4411. If we don't do that first: sled agent has no way to find the right control-plane artifact that contains the requested zone image. (We could have the API identify the control plane artifact instead of the specific image within it. But I think that's not what we want in the long term because it requires Sled Agent to know more about the structure of the TUF repo and it also requires the whole artifact to be present everywhere -- though that second part is already going to be true.)

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

No branches or pull requests

1 participant