oxidecomputer / oxidecomputer/omicron

Ability to abandon/cancel disk import

Open
#2,987 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

api known issue
Dominant language
Rust
Stars
572
Forks
97
Avg merge
2d 12h
Merged PRs (30d)
96

Description

The action is meant to allow user to remove a disk that can't finish blocks import for any reasons. What happens behind the scenes may be similar to a combination of bulk-write-stop and finalize actions. This may be more a need for the CLI because it obscures the need to manage the granular actions/states, to the extent that when the import fails to complete, user may not know what to do with a disk that is taking up space but cannot be deleted.

I've putting this as a post-MVP requirement and will document the disk state diagrams like the following in the user guide and augment them with instructions for handling disk deletion.
disk-create-fsm
disk-use-fsm

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the existing bulk-write-stop and finalize actions, then review the disk-create and disk-use state diagrams linked in the issue. Determine how a failed import should be abandoned so the disk can be deleted, and whether the CLI should hide the granular state handling. Update the user guide with the resulting disk-deletion instructions.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api, cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.