Skip to content

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