Git Product home page Git Product logo

Comments (6)

sureshg avatar sureshg commented on June 11, 2024

@rjmoran68 Seems like a security group creation error. Could you share the full stack trace?

from walmart-cla.

 avatar commented on June 11, 2024

Here is the full log from the failed "compute" step. I am not sure where to go to get an actual stack trace if it is not in the log. It is probably something I messed up in the configuration rather than an actual bug. Thanks for the help.

Inductor: 172.31.44.160 (eth0)
### EXEC: localhost chef-solo -l debug -c /tmp/chef-121646 -j /opt/oneops/inductor/clouds-available/public.oneops.clouds.ec2-us-east-1/data/3589.json
Cmd: chef-solo -l debug -c /tmp/chef-121646 -j /opt/oneops/inductor/clouds-available/public.oneops.clouds.ec2-us-east-1/data/3589.json, Env: null
[2016-01-28T21:53:50+00:00] INFO: Forking chef instance to converge...
[2016-01-28T21:53:50+00:00] DEBUG: Fork successful. Waiting for new chef pid: 5230
[2016-01-28T21:53:50+00:00] DEBUG: Forked instance now converging
[2016-01-28T21:53:50+00:00] INFO: *** Chef 11.14.2 ***
[2016-01-28T21:53:50+00:00] INFO: Chef-client pid: 5230
[2016-01-28T21:53:50+00:00] DEBUG: Chef-client request_id: cef3070c-42f3-4be5-a416-dd2af8f33a9a
[2016-01-28T21:53:53+00:00] DEBUG: Building node object for ip-172-31-44-160.ec2.internal
[2016-01-28T21:53:53+00:00] INFO: Setting the run_list to ["recipe[compute::add]", "recipe[monitor::add]"] from CLI options
[2016-01-28T21:53:53+00:00] DEBUG: Applying attributes from json file
[2016-01-28T21:53:53+00:00] DEBUG: Extracting run list from JSON attributes provided on command line
[2016-01-28T21:53:53+00:00] DEBUG: Platform is centos version 6.7
[2016-01-28T21:53:53+00:00] INFO: Run List is [recipe[compute::add], recipe[monitor::add]]
[2016-01-28T21:53:53+00:00] INFO: Run List expands to [compute::add, monitor::add]
[2016-01-28T21:53:53+00:00] INFO: Starting Chef Run for ip-172-31-44-160.ec2.internal
[2016-01-28T21:53:53+00:00] INFO: Running start handlers
[2016-01-28T21:53:53+00:00] INFO: Start handlers complete.
[2016-01-28T21:53:53+00:00] DEBUG: No chefignore file found at /opt/oneops/inductor/circuit-oneops-1/components/chefignore no files will be ignored
[2016-01-28T21:53:54+00:00] DEBUG: No chefignore file found at /opt/oneops/inductor/shared/chefignore no files will be ignored
[2016-01-28T21:53:54+00:00] WARN: found a directory vendor in the cookbook path, but it contains no cookbook files. skipping.
[2016-01-28T21:53:54+00:00] DEBUG: Cookbooks to compile: [:azure, :compute, :monitor]
[2016-01-28T21:53:54+00:00] DEBUG: Loading cookbook azure's library file: /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/azure/libraries/azure_utils.rb
[2016-01-28T21:53:54+00:00] DEBUG: Loading cookbook azure's library file: /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/azure/libraries/network_interface_card.rb
[2016-01-28T21:53:54+00:00] DEBUG: Loading cookbook azure's library file: /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/azure/libraries/utils.rb
[2016-01-28T21:53:54+00:00] DEBUG: Loading cookbook azure's library file: /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/azure/libraries/public_ip.rb
[2016-01-28T21:53:54+00:00] DEBUG: Loading Recipe compute::add via include_recipe
[2016-01-28T21:53:54+00:00] DEBUG: Found recipe add in cookbook compute
[2016-01-28T21:53:54+00:00] DEBUG: Loading Recipe compute::node_lookup via include_recipe
[2016-01-28T21:53:54+00:00] DEBUG: Found recipe node_lookup in cookbook compute
[2016-01-28T21:53:54+00:00] INFO: compute::add -- name: webapp-test-env-SimpleApache-OneOps-121646
***RESULT:instance_name=webapp-test-env-SimpleApache-OneOps-121646
[2016-01-28T21:53:54+00:00] INFO: ostype: centos-7.0 size: m1.small image: ami-b14db5da
[2016-01-28T21:53:54+00:00] DEBUG: Loading Recipe compute::add_node_ec2 via include_recipe
[2016-01-28T21:53:54+00:00] INFO: Cloud Provider: ec2
[2016-01-28T21:53:54+00:00] DEBUG: Found recipe add_node_ec2 in cookbook compute
[2016-01-28T21:53:55+00:00] DEBUG: security domain: test-env.SimpleApache.OneOps
[2016-01-28T21:53:55+00:00] DEBUG: rfcCi attrs:{"metadata"=>"{}", "size"=>"S", "require_public_ip"=>"false", "ports"=>"{}", "tags"=>"{}"}
[2016-01-28T21:53:55+00:00] INFO: flavor: m1.small
[2016-01-28T21:53:55+00:00] INFO: image: Fog::Compute::AWS::Image id="ami-b14db5da", architecture="x86_64", block_device_mapping=[{"deviceName"="/dev/sda", "snapshotId"="snap-2ceecdb3", "volumeSize"=6, "deleteOnTermination"="false"}], description="CentOS 7 PV (24.06.2015)", location="256284446245/CentOS 7 PV (24.06.2015)", owner_id="256284446245", owner_alias=nil, state="available", type="machine", is_public=true, kernel_id="aki-b4aa75dd", platform=nil, product_codes=[], ramdisk_id=nil, root_device_type="ebs", root_device_name="/dev/sda", tags={}, name="CentOS 7 PV (24.06.2015)", virtualization_type="paravirtual"
[2016-01-28T21:53:56+00:00] DEBUG: tags: {"Name"=>"MyOneOps"}
[2016-01-28T21:53:56+00:00] INFO: sg: test-env.SimpleApache.OneOps
[2016-01-28T21:53:57+00:00] ERROR: Duplicate => the specified rule \"peer: sg-a0ae8dd9, TCP, from port: 1, to port: 65535, ALLOW\" already exists
[2016-01-28T21:53:57+00:00] DEBUG: filtered backtrace of compile error: /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:147:in `exit',/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:147:in `rescue in from_file',/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:133:in `from_file',/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add.rb:37:in `from_file'
[2016-01-28T21:53:57+00:00] DEBUG: filtered backtrace of compile error: /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:147:in `exit',/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:147:in `rescue in from_file',/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:133:in `from_file',/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add.rb:37:in `from_file'
[2016-01-28T21:53:57+00:00] DEBUG: backtrace entry for compile error: '/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:147:in `exit''
[2016-01-28T21:53:57+00:00] DEBUG: Line number of compile error: '147'
�[0m
================================================================================�[0m
�[31mRecipe Compile Error in /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add.rb�[0m
�[0mSystemExit�[0m
----------�[0m
exit�[0m
================================================================================�[0m
---------------�[0m
�[0mCookbook Trace:�[0m
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:147:in `exit'
�[0m /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:147:in `rescue in from_file'
�[0m /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:133:in `from_file'
�[0m /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add.rb:37:in `from_file'�[0m
�[0mRelevant File Content:�[0m
�[0m
�[0m143: Chef::Log.info("RequestLimitExceeded...waiting #{wait_sec} sec")
�[0m140: done = true
�[0m142: wait_sec = retry_count * 30
�[0m141: elsif e.message =~ /RequestLimitExceeded/
----------------------�[0m
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:
�[0m144: sleep wait_sec
�[0m148: end
�[0m147>> exit 1
�[0m146: Chef::Log.error(e.message)
�[0m151: end
�[0m145: else
�[0m150: end
�[0m149:
�[0m152:
�[0m156:
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:133:in `from_file'
�[0m155: Chef::Log.info("creating server")
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:147:in `rescue in from_file'
�[0m154: if server.nil?
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:147:in `exit'
�[0m153:
�[0m[2016-01-28T21:53:57+00:00] DEBUG: Re-raising exception: SystemExit - exit
�[0m
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:135:in `block in include_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:166:in `load_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/cookbook_version.rb:234:in `load_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/mixin/from_file.rb:30:in `from_file'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:134:in `include_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/mixin/from_file.rb:30:in `instance_eval'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:134:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/cookbook_version.rb:234:in `load_recipe'
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add.rb:37:in `from_file'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/dsl/include_recipe.rb:26:in `include_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/mixin/from_file.rb:30:in `instance_eval'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/mixin/from_file.rb:30:in `from_file'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context/cookbook_compiler.rb:75:in `compile'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context/cookbook_compiler.rb:138:in `compile_recipes'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:429:in `do_run'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context/cookbook_compiler.rb:138:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:265:in `setup_run_context'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context/cookbook_compiler.rb:140:in `block in compile_recipes'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/policy_builder/expand_node_object.rb:73:in `setup_run_context'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:166:in `load_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:89:in `load'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:213:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application/solo.rb:218:in `loop'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application/solo.rb:226:in `block in run_application'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application.rb:237:in `run_chef_client'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:207:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application.rb:55:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:207:in `fork'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application/solo.rb:218:in `run_application'
/usr/local/rvm/gems/ruby-1.9.3-p551/bin/chef-solo:23:in `<main>'
[2016-01-28T21:53:57+00:00] FATAL: Stacktrace dumped to /tmp/chef-stacktrace.out
/usr/local/rvm/gems/ruby-1.9.3-p551/bin/chef-solo:23:in `load'
[2016-01-28T21:53:57+00:00] ERROR: Exception handlers complete
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/bin/chef-solo:25:in `<top (required)>'
[2016-01-28T21:53:57+00:00] ERROR: Running exception handlers
/usr/local/rvm/gems/ruby-1.9.3-p551/bin/ruby_executable_hooks:15:in `<main>'
[2016-01-28T21:53:57+00:00] DEBUG: SystemExit: exit
/usr/local/rvm/gems/ruby-1.9.3-p551/bin/ruby_executable_hooks:15:in `eval'
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:133:in `from_file'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:135:in `block in include_recipe'
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:147:in `rescue in from_file'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:166:in `load_recipe'
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:147:in `exit'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/cookbook_version.rb:234:in `load_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/mixin/from_file.rb:30:in `from_file'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/mixin/from_file.rb:30:in `instance_eval'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/mixin/from_file.rb:30:in `instance_eval'
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add.rb:37:in `from_file'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context/cookbook_compiler.rb:140:in `block in compile_recipes'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/dsl/include_recipe.rb:26:in `include_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:166:in `load_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:134:in `include_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/cookbook_version.rb:234:in `load_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:134:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/mixin/from_file.rb:30:in `from_file'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context/cookbook_compiler.rb:138:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:265:in `setup_run_context'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/policy_builder/expand_node_object.rb:73:in `setup_run_context'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:89:in `load'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context/cookbook_compiler.rb:75:in `compile'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context/cookbook_compiler.rb:138:in `compile_recipes'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:429:in `do_run'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application.rb:237:in `run_chef_client'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:207:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application.rb:55:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:207:in `fork'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application/solo.rb:218:in `run_application'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:213:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application/solo.rb:218:in `loop'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application/solo.rb:226:in `block in run_application'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/bin/chef-solo:25:in `<top (required)>'
/usr/local/rvm/gems/ruby-1.9.3-p551/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-1.9.3-p551/bin/ruby_executable_hooks:15:in `<main>'
/usr/local/rvm/gems/ruby-1.9.3-p551/bin/chef-solo:23:in `<main>'
/usr/local/rvm/gems/ruby-1.9.3-p551/bin/chef-solo:23:in `load'
[2016-01-28T21:53:57+00:00] ERROR: exit
[2016-01-28T21:53:58+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
cmd error: ffi-yajl/json_gem is deprecated, these monkeypatches will be dropped shortly
cmd took: 8840 ms
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
Cmd: chef-solo -l debug -c /tmp/chef-121646 -j /opt/oneops/inductor/clouds-available/public.oneops.clouds.ec2-us-east-1/data/3589.json, Env: null
retry #: 1
[2016-01-28T21:54:00+00:00] INFO: Forking chef instance to converge...
[2016-01-28T21:54:00+00:00] DEBUG: Fork successful. Waiting for new chef pid: 5389
[2016-01-28T21:54:00+00:00] DEBUG: Forked instance now converging
[2016-01-28T21:54:00+00:00] DEBUG: Chef-client request_id: a260eea6-78eb-4da9-9836-d36a324229f8
[2016-01-28T21:54:00+00:00] INFO: *** Chef 11.14.2 ***
[2016-01-28T21:54:00+00:00] INFO: Chef-client pid: 5389
[2016-01-28T21:54:02+00:00] INFO: Setting the run_list to ["recipe[compute::add]", "recipe[monitor::add]"] from CLI options
[2016-01-28T21:54:02+00:00] DEBUG: Extracting run list from JSON attributes provided on command line
[2016-01-28T21:54:02+00:00] DEBUG: Building node object for ip-172-31-44-160.ec2.internal
[2016-01-28T21:54:02+00:00] DEBUG: Applying attributes from json file
[2016-01-28T21:54:02+00:00] DEBUG: Platform is centos version 6.7
[2016-01-28T21:54:02+00:00] INFO: Starting Chef Run for ip-172-31-44-160.ec2.internal
[2016-01-28T21:54:02+00:00] INFO: Run List expands to [compute::add, monitor::add]
[2016-01-28T21:54:02+00:00] INFO: Run List is [recipe[compute::add], recipe[monitor::add]]
[2016-01-28T21:54:02+00:00] DEBUG: No chefignore file found at /opt/oneops/inductor/circuit-oneops-1/components/chefignore no files will be ignored
[2016-01-28T21:54:02+00:00] INFO: Start handlers complete.
[2016-01-28T21:54:02+00:00] INFO: Running start handlers
[2016-01-28T21:54:03+00:00] DEBUG: No chefignore file found at /opt/oneops/inductor/shared/chefignore no files will be ignored
[2016-01-28T21:54:03+00:00] WARN: found a directory vendor in the cookbook path, but it contains no cookbook files. skipping.
[2016-01-28T21:54:03+00:00] DEBUG: Loading cookbook azure's library file: /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/azure/libraries/azure_utils.rb
[2016-01-28T21:54:03+00:00] DEBUG: Cookbooks to compile: [:azure, :compute, :monitor]
[2016-01-28T21:54:03+00:00] DEBUG: Loading cookbook azure's library file: /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/azure/libraries/network_interface_card.rb
[2016-01-28T21:54:03+00:00] DEBUG: Loading cookbook azure's library file: /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/azure/libraries/public_ip.rb
[2016-01-28T21:54:03+00:00] DEBUG: Loading cookbook azure's library file: /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/azure/libraries/utils.rb
[2016-01-28T21:54:03+00:00] DEBUG: Loading Recipe compute::add via include_recipe
[2016-01-28T21:54:03+00:00] DEBUG: Found recipe add in cookbook compute
[2016-01-28T21:54:03+00:00] DEBUG: Found recipe node_lookup in cookbook compute
[2016-01-28T21:54:03+00:00] DEBUG: Loading Recipe compute::node_lookup via include_recipe
***RESULT:instance_name=webapp-test-env-SimpleApache-OneOps-121646
[2016-01-28T21:54:03+00:00] INFO: compute::add -- name: webapp-test-env-SimpleApache-OneOps-121646
[2016-01-28T21:54:03+00:00] INFO: ostype: centos-7.0 size: m1.small image: ami-b14db5da
[2016-01-28T21:54:03+00:00] DEBUG: Loading Recipe compute::add_node_ec2 via include_recipe
[2016-01-28T21:54:03+00:00] INFO: Cloud Provider: ec2
[2016-01-28T21:54:03+00:00] DEBUG: Found recipe add_node_ec2 in cookbook compute
[2016-01-28T21:54:04+00:00] DEBUG: rfcCi attrs:{"metadata"=>"{}", "size"=>"S", "require_public_ip"=>"false", "ports"=>"{}", "tags"=>"{}"}
[2016-01-28T21:54:04+00:00] INFO: flavor: m1.small
[2016-01-28T21:54:04+00:00] DEBUG: security domain: test-env.SimpleApache.OneOps
[2016-01-28T21:54:04+00:00] INFO: image: Fog::Compute::AWS::Image id="ami-b14db5da", architecture="x86_64", block_device_mapping=[{"deviceName"="/dev/sda", "snapshotId"="snap-2ceecdb3", "volumeSize"=6, "deleteOnTermination"="false"}], description="CentOS 7 PV (24.06.2015)", location="256284446245/CentOS 7 PV (24.06.2015)", owner_id="256284446245", owner_alias=nil, state="available", type="machine", is_public=true, kernel_id="aki-b4aa75dd", platform=nil, product_codes=[], ramdisk_id=nil, root_device_type="ebs", root_device_name="/dev/sda", tags={}, name="CentOS 7 PV (24.06.2015)", virtualization_type="paravirtual"
[2016-01-28T21:54:04+00:00] DEBUG: tags: {"Name"=>"MyOneOps"}
[2016-01-28T21:54:04+00:00] INFO: sg: test-env.SimpleApache.OneOps
[2016-01-28T21:54:05+00:00] INFO: security group test-env.SimpleApache.OneOps already created.
[2016-01-28T21:54:05+00:00] ERROR: Duplicate => the specified rule \"peer: 0.0.0.0/0, TCP, from port: 22, to port: 22, ALLOW\" already exists
[2016-01-28T21:54:05+00:00] DEBUG: filtered backtrace of compile error: /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:121:in `exit',/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:121:in `rescue in from_file',/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:107:in `from_file',/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add.rb:37:in `from_file'
[2016-01-28T21:54:05+00:00] DEBUG: backtrace entry for compile error: '/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:121:in `exit''
[2016-01-28T21:54:05+00:00] DEBUG: filtered backtrace of compile error: /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:121:in `exit',/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:121:in `rescue in from_file',/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:107:in `from_file',/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add.rb:37:in `from_file'
[2016-01-28T21:54:05+00:00] DEBUG: Line number of compile error: '121'
================================================================================�[0m
�[0m
================================================================================�[0m
�[31mRecipe Compile Error in /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add.rb�[0m
---------------�[0m
exit�[0m
----------�[0m
�[0mSystemExit�[0m
�[0mCookbook Trace:�[0m
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:121:in `exit'
�[0m /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add.rb:37:in `from_file'�[0m
�[0m
�[0m /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:107:in `from_file'
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:
�[0m /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:121:in `rescue in from_file'
----------------------�[0m
�[0mRelevant File Content:�[0m
�[0m114: done = true
�[0m119: else
�[0m118: sleep wait_sec
�[0m117: Chef::Log.info("RequestLimitExceeded...waiting #{wait_sec} sec")
�[0m116: wait_sec = retry_count * 30
�[0m115: elsif e.message =~ /RequestLimitExceeded/
�[0m124: end
�[0m123: end
�[0m122: end
�[0m121>> exit 1
�[0m120: Chef::Log.error(e.message)
�[0m125:
�[0m129: while !done && retry_count < max_retry_count do
�[0m128: retry_count = 0
�[0m127: done = false
�[0m
�[0m126:
�[0m130: retry_count += 1
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:121:in `exit'
�[0m[2016-01-28T21:54:05+00:00] DEBUG: Re-raising exception: SystemExit - exit
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/mixin/from_file.rb:30:in `from_file'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/mixin/from_file.rb:30:in `instance_eval'
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:107:in `from_file'
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:121:in `rescue in from_file'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/cookbook_version.rb:234:in `load_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:166:in `load_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/dsl/include_recipe.rb:26:in `include_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:166:in `load_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:134:in `include_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/cookbook_version.rb:234:in `load_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:134:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/mixin/from_file.rb:30:in `from_file'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:135:in `block in include_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/mixin/from_file.rb:30:in `instance_eval'
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add.rb:37:in `from_file'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:89:in `load'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context/cookbook_compiler.rb:75:in `compile'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context/cookbook_compiler.rb:138:in `compile_recipes'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:429:in `do_run'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context/cookbook_compiler.rb:138:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:265:in `setup_run_context'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context/cookbook_compiler.rb:140:in `block in compile_recipes'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/policy_builder/expand_node_object.rb:73:in `setup_run_context'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:207:in `fork'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application/solo.rb:218:in `run_application'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:213:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application/solo.rb:218:in `loop'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application/solo.rb:226:in `block in run_application'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application.rb:237:in `run_chef_client'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:207:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p551/bin/chef-solo:23:in `load'
/usr/local/rvm/gems/ruby-1.9.3-p551/bin/chef-solo:23:in `<main>'
[2016-01-28T21:54:05+00:00] ERROR: Running exception handlers
/usr/local/rvm/gems/ruby-1.9.3-p551/bin/ruby_executable_hooks:15:in `<main>'
/usr/local/rvm/gems/ruby-1.9.3-p551/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/bin/chef-solo:25:in `<top (required)>'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application.rb:55:in `run'
[2016-01-28T21:54:05+00:00] ERROR: Exception handlers complete
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:121:in `rescue in from_file'
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:121:in `exit'
[2016-01-28T21:54:05+00:00] DEBUG: SystemExit: exit
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/mixin/from_file.rb:30:in `from_file'
[2016-01-28T21:54:05+00:00] FATAL: Stacktrace dumped to /tmp/chef-stacktrace.out
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/mixin/from_file.rb:30:in `instance_eval'
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:107:in `from_file'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:166:in `load_recipe'
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add.rb:37:in `from_file'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/cookbook_version.rb:234:in `load_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/dsl/include_recipe.rb:26:in `include_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:134:in `include_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:134:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:135:in `block in include_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/mixin/from_file.rb:30:in `instance_eval'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context/cookbook_compiler.rb:140:in `block in compile_recipes'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context/cookbook_compiler.rb:75:in `compile'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:166:in `load_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/cookbook_version.rb:234:in `load_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/mixin/from_file.rb:30:in `from_file'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context/cookbook_compiler.rb:138:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context/cookbook_compiler.rb:138:in `compile_recipes'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:429:in `do_run'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:213:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:89:in `load'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:207:in `fork'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/policy_builder/expand_node_object.rb:73:in `setup_run_context'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:207:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:265:in `setup_run_context'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application.rb:237:in `run_chef_client'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application/solo.rb:226:in `block in run_application'
/usr/local/rvm/gems/ruby-1.9.3-p551/bin/chef-solo:23:in `load'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application/solo.rb:218:in `loop'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application/solo.rb:218:in `run_application'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application.rb:55:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/bin/chef-solo:25:in `<top (required)>'
/usr/local/rvm/gems/ruby-1.9.3-p551/bin/chef-solo:23:in `<main>'
/usr/local/rvm/gems/ruby-1.9.3-p551/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-1.9.3-p551/bin/ruby_executable_hooks:15:in `<main>'
[2016-01-28T21:54:05+00:00] ERROR: exit
[2016-01-28T21:54:05+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
cmd error: ffi-yajl/json_gem is deprecated, these monkeypatches will be dropped shortly
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
cmd took: 6853 ms
Cmd: chef-solo -l debug -c /tmp/chef-121646 -j /opt/oneops/inductor/clouds-available/public.oneops.clouds.ec2-us-east-1/data/3589.json, Env: null
retry #: 2
[2016-01-28T21:54:15+00:00] INFO: Forking chef instance to converge...
[2016-01-28T21:54:15+00:00] DEBUG: Fork successful. Waiting for new chef pid: 5555
[2016-01-28T21:54:15+00:00] DEBUG: Forked instance now converging
[2016-01-28T21:54:15+00:00] INFO: Chef-client pid: 5555
[2016-01-28T21:54:15+00:00] INFO: *** Chef 11.14.2 ***
[2016-01-28T21:54:15+00:00] DEBUG: Chef-client request_id: ec3bc546-e4d6-4d67-98ac-b2bbfe67ce46
[2016-01-28T21:54:17+00:00] DEBUG: Building node object for ip-172-31-44-160.ec2.internal
[2016-01-28T21:54:17+00:00] DEBUG: Extracting run list from JSON attributes provided on command line
[2016-01-28T21:54:17+00:00] INFO: Setting the run_list to ["recipe[compute::add]", "recipe[monitor::add]"] from CLI options
[2016-01-28T21:54:17+00:00] DEBUG: Applying attributes from json file
[2016-01-28T21:54:17+00:00] DEBUG: Platform is centos version 6.7
[2016-01-28T21:54:17+00:00] INFO: Starting Chef Run for ip-172-31-44-160.ec2.internal
[2016-01-28T21:54:17+00:00] INFO: Run List is [recipe[compute::add], recipe[monitor::add]]
[2016-01-28T21:54:17+00:00] INFO: Run List expands to [compute::add, monitor::add]
[2016-01-28T21:54:17+00:00] DEBUG: No chefignore file found at /opt/oneops/inductor/circuit-oneops-1/components/chefignore no files will be ignored
[2016-01-28T21:54:17+00:00] INFO: Running start handlers
[2016-01-28T21:54:17+00:00] INFO: Start handlers complete.
[2016-01-28T21:54:17+00:00] DEBUG: No chefignore file found at /opt/oneops/inductor/shared/chefignore no files will be ignored
[2016-01-28T21:54:17+00:00] WARN: found a directory vendor in the cookbook path, but it contains no cookbook files. skipping.
[2016-01-28T21:54:17+00:00] DEBUG: Loading cookbook azure's library file: /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/azure/libraries/network_interface_card.rb
[2016-01-28T21:54:17+00:00] DEBUG: Loading cookbook azure's library file: /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/azure/libraries/public_ip.rb
[2016-01-28T21:54:17+00:00] DEBUG: Cookbooks to compile: [:azure, :compute, :monitor]
[2016-01-28T21:54:17+00:00] DEBUG: Loading cookbook azure's library file: /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/azure/libraries/azure_utils.rb
[2016-01-28T21:54:17+00:00] DEBUG: Loading cookbook azure's library file: /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/azure/libraries/utils.rb
[2016-01-28T21:54:17+00:00] DEBUG: Loading Recipe compute::add via include_recipe
[2016-01-28T21:54:17+00:00] DEBUG: Found recipe add in cookbook compute
[2016-01-28T21:54:17+00:00] DEBUG: Loading Recipe compute::node_lookup via include_recipe
[2016-01-28T21:54:17+00:00] DEBUG: Found recipe node_lookup in cookbook compute
[2016-01-28T21:54:17+00:00] INFO: compute::add -- name: webapp-test-env-SimpleApache-OneOps-121646
[2016-01-28T21:54:17+00:00] INFO: Cloud Provider: ec2
***RESULT:instance_name=webapp-test-env-SimpleApache-OneOps-121646
[2016-01-28T21:54:17+00:00] INFO: ostype: centos-7.0 size: m1.small image: ami-b14db5da
[2016-01-28T21:54:17+00:00] DEBUG: Loading Recipe compute::add_node_ec2 via include_recipe
[2016-01-28T21:54:17+00:00] DEBUG: Found recipe add_node_ec2 in cookbook compute
[2016-01-28T21:54:19+00:00] DEBUG: rfcCi attrs:{"metadata"=>"{}", "size"=>"S", "require_public_ip"=>"false", "ports"=>"{}", "tags"=>"{}"}
[2016-01-28T21:54:19+00:00] DEBUG: security domain: test-env.SimpleApache.OneOps
[2016-01-28T21:54:19+00:00] INFO: flavor: m1.small
[2016-01-28T21:54:19+00:00] INFO: image: Fog::Compute::AWS::Image id="ami-b14db5da", architecture="x86_64", block_device_mapping=[{"deviceName"="/dev/sda", "snapshotId"="snap-2ceecdb3", "volumeSize"=6, "deleteOnTermination"="false"}], description="CentOS 7 PV (24.06.2015)", location="256284446245/CentOS 7 PV (24.06.2015)", owner_id="256284446245", owner_alias=nil, state="available", type="machine", is_public=true, kernel_id="aki-b4aa75dd", platform=nil, product_codes=[], ramdisk_id=nil, root_device_type="ebs", root_device_name="/dev/sda", tags={}, name="CentOS 7 PV (24.06.2015)", virtualization_type="paravirtual"
[2016-01-28T21:54:19+00:00] DEBUG: tags: {"Name"=>"MyOneOps"}
[2016-01-28T21:54:19+00:00] INFO: sg: test-env.SimpleApache.OneOps
[2016-01-28T21:54:19+00:00] INFO: security group test-env.SimpleApache.OneOps already created.
[2016-01-28T21:54:20+00:00] ERROR: Duplicate => the specified rule \"peer: 0.0.0.0/0, TCP, from port: 22, to port: 22, ALLOW\" already exists
[2016-01-28T21:54:20+00:00] DEBUG: filtered backtrace of compile error: /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:121:in `exit',/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:121:in `rescue in from_file',/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:107:in `from_file',/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add.rb:37:in `from_file'
================================================================================�[0m
[2016-01-28T21:54:20+00:00] DEBUG: filtered backtrace of compile error: /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:121:in `exit',/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:121:in `rescue in from_file',/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:107:in `from_file',/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add.rb:37:in `from_file'
[2016-01-28T21:54:20+00:00] DEBUG: backtrace entry for compile error: '/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:121:in `exit''
[2016-01-28T21:54:20+00:00] DEBUG: Line number of compile error: '121'
�[0m
----------�[0m
�[31mRecipe Compile Error in /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add.rb�[0m
exit�[0m
================================================================================�[0m
�[0mCookbook Trace:�[0m
�[0mSystemExit�[0m
---------------�[0m
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:121:in `exit'
�[0mRelevant File Content:�[0m
�[0m /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:121:in `rescue in from_file'
----------------------�[0m
�[0m /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:107:in `from_file'
�[0m /opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add.rb:37:in `from_file'�[0m
�[0m115: elsif e.message =~ /RequestLimitExceeded/
�[0m116: wait_sec = retry_count * 30
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:
�[0m117: Chef::Log.info("RequestLimitExceeded...waiting #{wait_sec} sec")
�[0m
�[0m118: sleep wait_sec
�[0m114: done = true
�[0m119: else
�[0m120: Chef::Log.error(e.message)
�[0m127: done = false
�[0m123: end
�[0m124: end
�[0m121>> exit 1
�[0m122: end
�[0m125:
�[0m126:
�[0m[2016-01-28T21:54:20+00:00] DEBUG: Re-raising exception: SystemExit - exit
�[0m128: retry_count = 0
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:121:in `exit'
�[0m129: while !done && retry_count < max_retry_count do
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:121:in `rescue in from_file'
�[0m130: retry_count += 1
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:107:in `from_file'
�[0m
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/mixin/from_file.rb:30:in `from_file'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:134:in `include_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/cookbook_version.rb:234:in `load_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/dsl/include_recipe.rb:26:in `include_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:166:in `load_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:135:in `block in include_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/mixin/from_file.rb:30:in `instance_eval'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:134:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/cookbook_version.rb:234:in `load_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:166:in `load_recipe'
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add.rb:37:in `from_file'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/mixin/from_file.rb:30:in `instance_eval'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context/cookbook_compiler.rb:140:in `block in compile_recipes'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/mixin/from_file.rb:30:in `from_file'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context/cookbook_compiler.rb:138:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context/cookbook_compiler.rb:138:in `compile_recipes'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:429:in `do_run'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context/cookbook_compiler.rb:75:in `compile'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:213:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:89:in `load'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:207:in `fork'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/policy_builder/expand_node_object.rb:73:in `setup_run_context'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:265:in `setup_run_context'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application/solo.rb:226:in `block in run_application'
/usr/local/rvm/gems/ruby-1.9.3-p551/bin/chef-solo:23:in `load'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application/solo.rb:218:in `loop'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application/solo.rb:218:in `run_application'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:207:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application.rb:55:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application.rb:237:in `run_chef_client'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/bin/chef-solo:25:in `<top (required)>'
[2016-01-28T21:54:20+00:00] ERROR: Exception handlers complete
/usr/local/rvm/gems/ruby-1.9.3-p551/bin/chef-solo:23:in `<main>'
[2016-01-28T21:54:20+00:00] FATAL: Stacktrace dumped to /tmp/chef-stacktrace.out
/usr/local/rvm/gems/ruby-1.9.3-p551/bin/ruby_executable_hooks:15:in `eval'
[2016-01-28T21:54:20+00:00] DEBUG: SystemExit: exit
/usr/local/rvm/gems/ruby-1.9.3-p551/bin/ruby_executable_hooks:15:in `<main>'
[2016-01-28T21:54:20+00:00] ERROR: Running exception handlers
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:107:in `from_file'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:135:in `block in include_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/mixin/from_file.rb:30:in `instance_eval'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/mixin/from_file.rb:30:in `from_file'
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:121:in `exit'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/cookbook_version.rb:234:in `load_recipe'
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add_node_ec2.rb:121:in `rescue in from_file'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:166:in `load_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/cookbook_version.rb:234:in `load_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:134:in `each'
/opt/oneops/inductor/circuit-oneops-1/components/cookbooks/compute/recipes/add.rb:37:in `from_file'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/mixin/from_file.rb:30:in `instance_eval'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:134:in `include_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/dsl/include_recipe.rb:26:in `include_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/mixin/from_file.rb:30:in `from_file'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context/cookbook_compiler.rb:75:in `compile'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:166:in `load_recipe'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context.rb:89:in `load'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context/cookbook_compiler.rb:140:in `block in compile_recipes'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/policy_builder/expand_node_object.rb:73:in `setup_run_context'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context/cookbook_compiler.rb:138:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/run_context/cookbook_compiler.rb:138:in `compile_recipes'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:213:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:207:in `fork'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:207:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:265:in `setup_run_context'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/client.rb:429:in `do_run'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application.rb:237:in `run_chef_client'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application/solo.rb:226:in `block in run_application'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application/solo.rb:218:in `loop'
/usr/local/rvm/gems/ruby-1.9.3-p551/bin/chef-solo:23:in `<main>'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application/solo.rb:218:in `run_application'
/usr/local/rvm/gems/ruby-1.9.3-p551/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/lib/chef/application.rb:55:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/chef-11.14.2/bin/chef-solo:25:in `<top (required)>'
/usr/local/rvm/gems/ruby-1.9.3-p551/bin/chef-solo:23:in `load'
/usr/local/rvm/gems/ruby-1.9.3-p551/bin/ruby_executable_hooks:15:in `<main>'
[2016-01-28T21:54:20+00:00] ERROR: exit
[2016-01-28T21:54:20+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
cmd error: ffi-yajl/json_gem is deprecated, these monkeypatches will be dropped shortly
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
cmd took: 6380 ms
### EXEC EXIT CODE: 1

from walmart-cla.

vitaliyzinchenko avatar vitaliyzinchenko commented on June 11, 2024

Which version of the AMI image do you use?

from walmart-cla.

empath avatar empath commented on June 11, 2024

I get the exact same issue. It appears that it tries to create the SG twice. Once in the secgroup step and again in the compute step?

from walmart-cla.

kfilipovski avatar kfilipovski commented on June 11, 2024

@sureshg can you please check with @schwankl if https://github.com/oneops/circuit-oneops-1/pull/32 resolved this issue

from walmart-cla.

sureshg avatar sureshg commented on June 11, 2024

@kfilipovski yes it's fixed now (https://github.com/oneops/circuit-oneops-1/blob/master/components/cookbooks/compute/recipes/add_node_ec2.rb#L74-L76) . Instead of creating again it compute recipes, it uses the DependsOn Secgroup . What is the process to get the latest code, run the oo-setup.sh again ?

from walmart-cla.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.