Skip to content

Allow failed instances to be stopped #2468

Closed

Description

@david-crespo

Also rebooted maybe?

oxidecomputer/omicron#6652

Activity

  1. added this to the 11 milestone on Sep 24, 2024
  2. hawkw commented on Sep 24, 2024

    @hawkw
    Member

    Also rebooted maybe?

    I believe Failed instances can be restarted by PUT /v1/instances/{id}/start, but not rebooted by PUT /v1/instances/{id}/reboot. The "reboot" API doesn't start a stopped/failed instance on a new VMM, but instead instructs the existing VMM to reboot the guest (as though the guest was power-cycled, essentially). That doesn't work when there is no VMM --- the instance will have to be started first.

  3. charliepark commented on Sep 28, 2024

    @charliepark
    Contributor

    #2481 looks to be a duplicate of this, though I don't know that I have enough context on the rebooting conversation above to know if it's an exhaustive duplicate or only a partial duplicate.

  4. hawkw commented on Sep 28, 2024

    @hawkw
    Member

    @charliepark I think #2481 is definitely a duplicate of this. Re: rebooting, we should not allow rebooting a Failed instance, since that will just result in Nexus returning an error anyway. I'd probably keep this issue over #2481 since it has that additional context.

  5. hawkw commented on Sep 28, 2024

    @hawkw
    Member

    Oh, if #2482 closes #2481, it should definitely also close this --- the rebooting thing is just kinda a red herring.

  6. charliepark commented on Sep 28, 2024

    @charliepark
    Contributor

    Solid; will update #2482 and close #2481.

  7. self-assigned this
    on Sep 28, 2024
  8. askfongjojo commented on Sep 28, 2024

    @askfongjojo

    Sorry about the dup. I should have checked before filing it. 😓

  9. charliepark commented on Sep 28, 2024

    @charliepark
    Contributor

    No worries! It was actually seeing your issue that prompted my working on the fix, so it all worked out. 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions