Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add status when pipeline cannot be paused #102

Closed
emgrasmeder opened this issue Apr 18, 2021 · 1 comment
Closed

Add status when pipeline cannot be paused #102

emgrasmeder opened this issue Apr 18, 2021 · 1 comment

Comments

@emgrasmeder
Copy link
Member

emgrasmeder commented Apr 18, 2021

During provisioning / initialization of a pipeline(e.g. downloading an image), the pipeline cannot be paused. We should notify users that the pipeline cannot be paused, so they know to either stop the pipeline or retry pausing later.

A suggestion for the return status could be: unpausable/provisioning. The status code would be 422.

The actual internal state of bob should have the pipeline status listed as :initializing until the image pull is complete, after which it can be :running

@lispyclouds
Copy link
Member

Implemented in 51152c8
cc @emgrasmeder

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

No branches or pull requests

2 participants