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

Already on GitHub? Sign in to your account

Work around EC2 bug #241

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

maf23 commented Dec 14, 2013

Added a rescue clause since ec2 may return a 404 for a resource it has
said it can provide. This is an ec2 bug which I have reported to them,
but while we wait for them to fix it this patch is needed since it
gets chef working again.

Without this patch ohai returns no ec2 data at all when one of the
resources return 404.

@maf23 maf23 Added a rescue clause since ec2 me return a 404 for a resource it has
says it can provide. This is an ec2 bug which I have reported to them,
but while we wait for them to fix it this patch is usable since it
gets chef working again.

Without this patch ohai returns no ec2 data at all when one of the
resources return 404.
8801eba
Owner

sersut commented May 21, 2014

As a rule of thumb we don't want to have rescue clauses without exception type unless we have to @maf23. Also I believe #332 will be a solution to your problem.

Please reopen if it doesn't work for you and we can investigate.

@sersut sersut closed this May 21, 2014

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