Skip to content

bug(server): driver-initiated stops report Error instead of Stopped #4638

Closed as not planned

Description

@delgadof

Problem

The gateway maps a Ready=False condition with reason ContainerStopped to the Stopped phase only when the gateway itself requested the stop. When the driver stops a sandbox on its own (for example, stopping VMs it cannot relaunch during recovery after a driver restart), the sandbox shows Error, and openshell sandbox start refuses to start it.

Today

External drivers add a Suspended=True condition, borrowed from the Kubernetes driver, which the gateway maps to Stopped.

Proposal

Treat ContainerStopped as Stopped regardless of who initiated the stop, or document the Suspended convention as part of the driver contract.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:triage-neededOpened without agent diagnostics and needs triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions