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 zones doesn't create datasets (#7006) #7160

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

smklein
Copy link
Collaborator

@smklein smklein commented Nov 25, 2024

Commentary

This PR re-lands #7006 , which was reverted by #7157.
This should only be merged after a branch for release 12 has been cut.

Old PR message

Calls to PUT zones will now check that datasets exist -- as they should be initialized, with prior calls -- rather than forcefully creating them.

This PR checks that datasets exist in the "configuration", rather than querying inventory.

Fixes #6991

Calls to `PUT` zones will now check that datasets exist -- as they
should be initialized, with prior calls -- rather than
forcefully creating them.

This PR checks that datasets exist in the "configuration", rather than
querying inventory.

Fixes #6991
@smklein
Copy link
Collaborator Author

smklein commented Dec 16, 2024

Blocked on #7229

@smklein
Copy link
Collaborator Author

smklein commented Dec 16, 2024

Chatted with @jgallagher , interestingly, because of all our backwards-compatibility checks, this may not actually be blocked on #7229

  • We only look for the filesystem_pool dataset here if it's not None
  • In the sled agent, we're still provisioning a filesystem_pool for zones without one specified, for backwards compatibility:

https://github.com/oxidecomputer/omicron/blob/main/sled-agent/src/services.rs#L3702-L3710

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.

PUT /omicron-zone -- stop provisioning datasets!
1 participant