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

showing details about failed respawn/deploy in cli #559

Closed
wants to merge 3 commits into from

Conversation

cjander
Copy link

@cjander cjander commented Mar 21, 2019

closes #558

@@ -178,8 +182,26 @@ def deploy_status(deploy_id, elastigroup_id, spotinst_account_data):
'{}/aws/ec2/group/{}/roll/{}?accountId={}'.format(SPOTINST_API_URL, elastigroup_id, deploy_id,
spotinst_account_data.account_id),
headers=headers, timeout=(DEFAULT_CONNECT_TIMEOUT, DEFAULT_READ_TIMEOUT))
response.raise_for_status()

raise_for_status(response, elastigroup_id)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would expect deploy status to not fail because a deploy is already in progress. Did you observe such a behavior?

@@ -156,7 +158,9 @@ def deploy(batch_size=20, grace_period=300, strategy=DEPLOY_STRATEGY_REPLACE,
'{}/aws/ec2/group/{}/roll?accountId={}'.format(SPOTINST_API_URL, elastigroup_id,
spotinst_account_data.account_id),
headers=headers, timeout=(DEFAULT_CONNECT_TIMEOUT, DEFAULT_READ_TIMEOUT), data=json.dumps(body))
response.raise_for_status()

raise_for_status(response, elastigroup_id)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a test to validate this behavior?

@hjacobs
Copy link
Contributor

hjacobs commented Sep 9, 2020

This project is not actively maintained anymore (#573). Closing.

@hjacobs hjacobs closed this Sep 9, 2020
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

Successfully merging this pull request may close these issues.

senza respawn and deployment with Elastigroup blocked by previously failed deployment
3 participants