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

Unknown error when attempting to stop a deployment #48

Open
rosieyohannan opened this issue Nov 8, 2018 · 1 comment
Open

Unknown error when attempting to stop a deployment #48

rosieyohannan opened this issue Nov 8, 2018 · 1 comment

Comments

@rosieyohannan
Copy link
Contributor

When I start a deployment, then try to stop it using reco deploy stop <ID> I get the error message:

histogram-array $ reco deploy stop fc27a0c5-a106-414f-8cd0-f13038fd3ee0

Error: Unknown error occurred

But if I look at the deploy list I see it's trying to terminate:

histogram-array $ reco deploy list

             DEPLOYMENT ID                                BUILD ID                           COMMAND               STATUS           STARTED         DURATION  
  fc27a0c5-a106-414f-8cd0-f13038fd3ee0      b5e66fb4-4b0e-4f8c-97d6-32248f02f320      test-histogram             terminating      1 minute ago      -         
  7766670e-de85-467e-8469-bf94bd255ebc      b5e66fb4-4b0e-4f8c-97d6-32248f02f320      test-histogran             errored          1 week ago        2m15s     
  448ea0d3-d66f-4d14-940f-14524c8d1464      33a606f2-7f5a-4748-bb5f-221473011e93      bench-histogram-FPGA       completed        2 months ago      3m7s 
@CampGareth
Copy link
Contributor

Just to update everyone on the status, this is an API-side error where if you create a deployment and terminate it rapidly we haven't gotten around to creating your deployment by the time the termination comes in. This causes an internal error which reco reports as unknown error occurred.

The fixes for this are two-fold:

  1. Fix the API, that work is in progress
  2. Have reco report the error provided by the API instead of a generic message.

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

No branches or pull requests

2 participants