Skip to content

Instance deletion produces incorrect status codes #324

@teisenbe

Description

@teisenbe

Instance deletion returns 404 if the target instance exists and is neither stopped nor failed. It should probably return either 400 or one of the precondition failure status codes

To reproduce, run this from the root of the omicron repo:

tools/oxapi_demo project_create_demo p1
tools/oxapi_demo instance_create_demo p1 i1
tools/oxapi_demo instance_reboot p1 i1
tools/oxapi_demo instance_delete p1 i1

Metadata

Metadata

Assignees

Labels

apiRelated to the API.bugSomething that isn't working.nexusRelated to nexus

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions