-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add internal API and omdb command to expunge a sled (#5234)
The omdb interface might be overly cautious; feedback welcome. You can try this against `omicron-dev run-all`; it looks roughly like: ``` note: using Nexus URL http://[::1]:12221 note: using database URL postgresql://root@[::1]:42285/omicron?sslmode=disable note: database schema version matches expected (39.0.0) WARNING: sled b6d65341-167c-41df-9b5c-41cded99c229 IS PRESENT in the most recent inventory collection; are you sure you want to mark it expunged? WARNING: This operation will PERMANENTLY and IRRECOVABLY mark sled b6d65341-167c-41df-9b5c-41cded99c229 (sim-b6d65341) expunged. To proceed, type the sled's serial number. sled serial〉sim-b6d65341 expunged sled b6d65341-167c-41df-9b5c-41cded99c229 (previous policy: InService(Provisionable)) ``` This handles the "internal" half of #5134
- Loading branch information
1 parent
13a28f0
commit 4f101be
Showing
10 changed files
with
413 additions
and
63 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.