Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Correct non-existent exception in ec2_asg #2527

Merged
merged 1 commit into from Aug 2, 2016
Merged

Conversation

shawnsi
Copy link
Contributor

@shawnsi shawnsi commented Nov 23, 2015

Fixes #2526

@bcoca bcoca changed the title Fix #2526 Correct non-existent exception in ec2_asg Nov 23, 2015
@robynbergeron
Copy link

Hi @shawnsi -- thanks for submitting this PR.

@garethr -- Please review this PR to make sure it adheres to the following guidelines:

http://docs.ansible.com/developing_modules.html#module-checklist

If it passes these guidelines, and if you believe it’s a good PR otherwise, please add a comment with "shipit" in the text, and we will flag it for inclusion.
If it fails these guidelines, please add a comment with "needs_revision" in the text, along with the needed changes, and we will flag it for revision.

@gregdek
Copy link
Contributor

gregdek commented Dec 4, 2015

Thanks @shawnsi for this PR. Unfortunately, it is not mergeable in its current state due to merge conflicts. Please rebase your PR. When you are done, please comment with text 'ready_for_review' and we will put this PR back into review.

@shawnsi
Copy link
Contributor Author

shawnsi commented Dec 4, 2015

ready_for_review

@gregdek
Copy link
Contributor

gregdek commented Dec 6, 2015

Thanks @shawnsi. @garethr please review according to guidelines (http://docs.ansible.com/ansible/developing_modules.html#module-checklist) and comment with text 'shipit' or 'needs_revision' as appropriate.

1 similar comment
@gregdek
Copy link
Contributor

gregdek commented Dec 6, 2015

Thanks @shawnsi. @garethr please review according to guidelines (http://docs.ansible.com/ansible/developing_modules.html#module-checklist) and comment with text 'shipit' or 'needs_revision' as appropriate.

@robynbergeron
Copy link

@garethr This change is still pending your review; do you have time to take a look and comment? Please comment with text 'shipit' or 'needs_revision' as appropriate.

@john-dodson
Copy link

@robynbergeron @garethr can someone please merge this? Functionality is completely broken for me and I'd rather not run production deployments off someone's forked branch.

@gregdek
Copy link
Contributor

gregdek commented Jan 11, 2016

@garethr still waiting on your review. Please comment with text 'shipit' or 'needs_revision' as appropriate. If we don't hear from you within 14 days, we will start to look for additional maintainers for this module.

@gregdek
Copy link
Contributor

gregdek commented Jan 26, 2016

Moving into review by the @ansible/core team. @shawnsi apologies for the delay.

@shawnsi
Copy link
Contributor Author

shawnsi commented Feb 8, 2016

I've updated the exception handling per this comment in the issue.

@helsing
Copy link

helsing commented Apr 5, 2016

@gregdek Is there any progress with this pull request?

@gregdek
Copy link
Contributor

gregdek commented Apr 6, 2016

@shawnsi @helsing this PR has been moved into core_review because there are currently no community maintainers. Would one/both of you be willing to become maintainers for this module?

@shawnsi
Copy link
Contributor Author

shawnsi commented Jul 26, 2016

@gregdek Are you still looking to identify a maintainer? This change is pretty simple and would be very helpful if merged.

@gregdek
Copy link
Contributor

gregdek commented Jul 26, 2016

I'm gonna put this one into shipit and see what happens. :)

@@ -333,8 +333,12 @@ def elb_healthy(asg_connection, elb_connection, module, group_name):
# but has not yet show up in the ELB
try:
lb_instances = elb_connection.describe_instance_health(lb, instances=instances)
except boto.exception.InvalidInstance:
pass
except boto.exception.BotoServerError, e:
Copy link
Member

Choose a reason for hiding this comment

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

Just to keep things happy on the python3 front, this should be except boto.exception.BotoServerError as e:

@nitzmahone
Copy link
Member

@shawnsi One minor nit on this one- ping me when it's fixed and I'll merge. Thanks!

Fail on unhandled exception rather than raise
@shawnsi
Copy link
Contributor Author

shawnsi commented Aug 2, 2016

@nitzmahone Its fixed. Thanks for the prompt review.

@nitzmahone
Copy link
Member

Noice- thanks!

@nitzmahone nitzmahone merged commit 380dbd4 into ansible:devel Aug 2, 2016
@shawnsi shawnsi deleted the fix2526 branch August 2, 2016 20:43
kontrafiktion pushed a commit to kontrafiktion/ansible-modules-core that referenced this pull request Aug 7, 2016
Fail on unhandled exception in ec2_asg rather than raise
david-resnick pushed a commit to david-resnick/ansible-modules-core that referenced this pull request Oct 13, 2016
Fail on unhandled exception in ec2_asg rather than raise
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants