zach-brockway / aws-elb-registration-cookbook Goto Github PK
View Code? Open in Web Editor NEWRecipes for AWS instance (de)registration with Elastic Load Balancers.
License: Apache License 2.0
Recipes for AWS instance (de)registration with Elastic Load Balancers.
License: Apache License 2.0
Output a failed run where hostname_mappings
was omitted from the data bag:
[2015-01-17T18:35:08+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found: http://127.0.0.1:8889/data/aws-elb-registration/hostname_mappings
[2015-01-17T18:35:08+00:00] ERROR: Failed to load data bag item: "aws-elb-registration" "hostname_mappings"
================================================================================
Recipe Compile Error in /var/lib/aws/opsworks/cache.stage2/cookbooks/aws-elb-registration/recipes/register.rb
================================================================================
Net::HTTPServerException
------------------------
404 "Not Found"
Cookbook Trace:
---------------
/var/lib/aws/opsworks/cache.stage2/cookbooks/aws-elb-registration/libraries/common.rb:7:in `get_mapped_elbs'
/var/lib/aws/opsworks/cache.stage2/cookbooks/aws-elb-registration/recipes/register.rb:14:in `from_file'
Relevant File Content:
----------------------
(snip)
[2015-01-17T18:35:08+00:00] ERROR: Running exception handlers
[2015-01-17T18:35:08+00:00] ERROR: Exception handlers complete
[2015-01-17T18:35:08+00:00] FATAL: Stacktrace dumped to /var/lib/aws/opsworks/cache.stage2/chef-stacktrace.out
[2015-01-17T18:35:08+00:00] ERROR: 404 "Not Found"
[2015-01-17T18:35:08+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.