Skip to content

Add version property to uuidtools chef_gem stanza #15

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

68lc040
Copy link

@68lc040 68lc040 commented Nov 25, 2015

Add a version property to the uuidtools chef_gem stanza.

In using this cookbook across hundreds of nodes, which are coincidentally NAT'd behind the same public IPv4 address, we started to notice strange network behavior that caused chef-client runs to hang while processing the uuidtools stanza. Each node typically had two https connections stuck in an ESTABLISHED and/or CLOSE_WAIT state with data in recv-q. We quickly surmised that this was symptomatic of chef checking for an updated uuidtools gem, and some kludgey rate limiting over at the gem repo causing our clients to hang indefinitely. If you don't specify a gem version, upon each client run chef will attempt to retrieve the latest version info for that gem. By specifying a suitable gem version we take a step to use the gem repo responsibly.

@coderanger
Copy link
Owner

This would need to be parameterized and disabled by default.

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.

2 participants