oxidecomputer / oxidecomputer/omicron

wicket/wicketd: expose a way to abort an in-progress update on the SP

Open
#3,156 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Updates on the SP are relatively stateful: if we've started an update to (e.g.) the host-boot-flash, no other updates can be started until that update either finishes or is aborted, or the SP is restarted. Today, there is no way from wicket to explicitly restart the SP or abort an in-progress-from-the-SP's-point-of-view update. To do this by hand, we can use faux-mgs:

update-status COMPONENT

will print the status and a UUID of the update, then

update-abort COMPONENT UUID

will abort the update.

In the worst case, we do have ignition control exposed in wicket, but it would be good to use the more graceful cleanup methods if we could.

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 by tracing wicket/wicketd's existing update handling and the exposed ignition-control path, then compare how faux-mgs uses update-status and update-abort for a component. Done means wicket provides a graceful way to identify and abort an in-progress SP update without restarting the SP.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.