Skip to content

Instantly share code, notes, and snippets.

@corinnekrych
Created September 29, 2016 08:23
Show Gist options
  • Save corinnekrych/9db31f941d724d40a2295577fbf5c7ee to your computer and use it in GitHub Desktop.
Save corinnekrych/9db31f941d724d40a2295577fbf5c7ee to your computer and use it in GitHub Desktop.
❯❯❯ fhcap cluster provision --name client2 --git-ref FH-v3.14.0
Cluster::Provision: name = client2, strategy = chef
Repo::Checkout: repo = fhcap, git-ref = FH-v3.14.0, remote = origin
run git checkout -B deploy --quiet from "./fhcap/repos/fhcap"
run git fetch origin FH-v3.14.0 --quiet from "./fhcap/repos/fhcap"
run git reset --hard FETCH_HEAD --quiet from "./fhcap/repos/fhcap"
run librarian-chef install from "/Users/corinne/fhcap/repos/fhcap"
Repo::Checkout: repo = fhcap-dev, git-ref = FH-v3.14.0, remote = origin
run git checkout -B deploy --quiet from "./fhcap/repos/fhcap-dev"
run git fetch origin FH-v3.14.0 --quiet from "./fhcap/repos/fhcap-dev"
run git reset --hard FETCH_HEAD --quiet from "./fhcap/repos/fhcap-dev"
Chef::Environments::PromoteCookbooks: environments = ["client2-single"]
force fhcap/repos/fhcap-dev/environments/client2-single.json
Chef::Server::Bootstrap: environments = ["client2-single"], server = local
[Chef Zero Server] - running at http://127.0.0.1:7799
[Chef Zero Server] - Syncing nodes from /Users/corinne/fhcap/repos/fhcap-dev
* uploading local repo items from /Users/corinne/fhcap/repos/fhcap-dev - ["/nodes"] ...
* uploading local repo items from /Users/corinne/fhcap/repos/fhcap-dev - ["/data_bags/aws_*"] ...
* uploading local repo items from /Users/corinne/fhcap/repos/fhcap - ["/roles", "/nodes", "/environments/client2-single*", "/data_bags/environments/client2-single*", "/data_bags/aws", "/data_bags/diggers", "/data_bags/nagios_contactgroups", "/data_bags/nagios_contacts", "/data_bags/nagios_services", "/data_bags/nginx_ssl_certs", "/data_bags/openvpn", "/data_bags/users"] ...
* uploading local repo items from /Users/corinne/fhcap/repos/fhcap-dev - ["/roles", "/nodes", "/environments/client2-single*", "/data_bags/environments/client2-single*", "/data_bags/aws_eip_address", "/data_bags/aws_route_table", "/data_bags/aws_subnet", "/data_bags/aws_vpc", "/data_bags/nagios_contacts_fheng", "/data_bags/nginx_ssl_certs", "/data_bags/users"] ...
* uploading cookbooks from /Users/corinne/fhcap/.chef/knife-local.rb ...
[Chef Zero Server] - Syncing nodes to /Users/corinne/fhcap/repos/fhcap-dev
* downloading server items to /Users/corinne/fhcap/repos/fhcap-dev - ["/nodes"] ...
* downloading server items to /Users/corinne/fhcap/repos/fhcap-dev - ["/data_bags/aws_*"] ...
Chef::Provisioning::Provision client2
[Chef Zero Server] - Address in use (127.0.0.1:7799), assuming this is ok
[Chef Zero Server] - Syncing nodes from /Users/corinne/fhcap/repos/fhcap-dev
* uploading local repo items from /Users/corinne/fhcap/repos/fhcap-dev - ["/nodes"] ...
* uploading local repo items from /Users/corinne/fhcap/repos/fhcap-dev - ["/data_bags/aws_*"] ...
Compiling Cookbooks...
Recipe: provision::cluster_provision_instances
* machine_batch[cluster_provision_instances] action converge_only/Users/corinne/.rvm/gems/ruby-2.3.0/gems/net-ssh-2.9.4/lib/net/ssh/transport/session.rb:67:in `initialize': Object#timeout is deprecated, use Timeout.timeout instead.
/Users/corinne/.rvm/gems/ruby-2.3.0/gems/net-ssh-2.9.4/lib/net/ssh/transport/session.rb:84:in `initialize': Object#timeout is deprecated, use Timeout.timeout instead.
[client2-single-node1] Starting Chef Client, version 11.10.4
resolving cookbooks for run list: ["feedhenry_common::base_server", "mysql_feedhenry::server", "mongodb_feedhenry", "feedhenry_common::denyhosts", "gitlabshell_feedhenry", "rabbitmq_feedhenry", "fh-aaa", "fh-mobile-sdks", "millicore", "fh-studio", "fh-supercore", "fh-ngui", "fh-appstore", "unifiedpush", "fh-openshift-templates", "fh-ditch", "fh-scm", "fh-messaging", "fh-metrics", "feedhenry_dynovm::install", "fh-dynoman", "fh-proxy", "fh-mbaas", "fh-reaper", "fh-stats", "nginx_feedhenry::loadbalancer", "munin_feedhenry::server", "nagios_feedhenry::server", "syslogng_feedhenry", "fh-dfc", "tmuxinator", "feedhenry_common::fhctl"]
Synchronizing Cookbooks:
- feedhenry_common
- mysql_feedhenry
- mongodb_feedhenry
- gitlabshell_feedhenry
- rabbitmq_feedhenry
- fh-aaa
- fh-mobile-sdks
- millicore
- fh-studio
- fh-supercore
- fh-ngui
- fh-appstore
- unifiedpush
- fh-openshift-templates
- fh-ditch
- fh-scm
- fh-messaging
- fh-metrics
- feedhenry_dynovm
- fh-dynoman
- fh-proxy
- fh-mbaas
- fh-reaper
- fh-stats
- nginx_feedhenry
- munin_feedhenry
- nagios_feedhenry
- syslogng_feedhenry
- fh-dfc
- tmuxinator
- apt
- build-essential
- chef-solo-search
- denyhosts
- feedhenry_utils
- hostsfile
- ntp
- ohai
- openssh
- postfix
- resolver
- selinux
- ssh_known_hosts
- sudo
- vim
- macports_feedhenry
- rhel
- yum-epel
- gcc
- database
- feedhenry_galera
- mysql
- mongodb
- gitlab-shell
- logrotate
- ruby_build
- lsyncd
- rabbitmq
- fh-artifact
- nodejs_feedhenry
- tar
- ant
- apache2
- apache2_feedhenry
- aws
- fh-template-apps
- gitolite
- memcached_feedhenry
- tomcat_feedhenry
- phantomjs_feedhenry
- redis_feedhenry
- jboss7_feedhenry
- git_feedhenry
- debootstrap
- fh-nodeapp
- fh-vmvm
- lvm
- nginx
- partial_search
- munin
- java_feedhenry
- git
- nagios
- python
- syslog-ng
- tmux
- nodejs
- macports
- rhsm
- yum
- postgresql
- xfs
- openssl
- runit
- zlib
- readline
- ncurses
- redisio
- xml
- certificate
- erlang
- artifact
- systemd
- java
- ark
- memcached
- tomcat
- phantomjs
- redis
- jboss7
- rsync
- bluepill
- dmg
- windows
- php
- nginx_simplecgi
- chef-sugar
- ulimit
- yum-erlang_solutions
- chocolatey
- rsyslog
- chef_handler
- iis
- perl
- powershell
Compiling Cookbooks...
Recipe: feedhenry_common::hostname
* file[/etc/hostname] action create (up to date)
* execute[hostname client2-single-node1] action run (skipped due to only_if)
* ruby[setup feedhenry_common hostname - Set node FQDN] action run
- execute "ruby" "/tmp/chef-script20160929-31493-s0wrtv"
Recipe: ohai::default
* remote_directory[/etc/chef/ohai_plugins] action createRecipe: <Dynamically Defined Resource>
* cookbook_file[/etc/chef/ohai_plugins/README] action create (up to date)
(up to date)
Recipe: ohai::default
* remote_directory[/etc/chef/ohai_plugins] action createRecipe: <Dynamically Defined Resource>
* cookbook_file[/etc/chef/ohai_plugins/public_keys.rb] action create (up to date)
* cookbook_file[/etc/chef/ohai_plugins/private_ipaddress.rb] action create (up to date)
* cookbook_file[/etc/chef/ohai_plugins/macincloud_cloud_ip.rb] action create (up to date)
* cookbook_file[/etc/chef/ohai_plugins/ipaddress.rb] action create (up to date)
* cookbook_file[/etc/chef/ohai_plugins/generic.rb] action create (up to date)
(up to date)
Recipe: ohai::default
* ohai[custom_plugins] action reload
- re-run ohai and merge results into node attributes
Recipe: feedhenry_common::env
* ruby[setup feedhenry_common env] action run
- execute "ruby" "/tmp/chef-script20160929-31493-1s6f89e"
Recipe: apt::default
* execute[apt-get-update] action run
- execute apt-get update
Recipe: build-essential::_debian
* package[autoconf] action install (up to date)
* package[binutils-doc] action install (up to date)
* package[bison] action install (up to date)
* package[build-essential] action install (up to date)
* package[flex] action install (up to date)
* package[gettext] action install (up to date)
* package[ncurses-dev] action install (up to date)
Recipe: feedhenry_common::base_server_packages
* chef_gem[json] action install (up to date)
Recipe: aws::default
* chef_gem[right_aws] action install (up to date)
Recipe: mysql::ruby
* execute[apt-get update] action run
- execute apt-get update
Recipe: mysql::client
* package[mysql-client] action install (up to date)
* package[libmysqlclient-dev] action install (up to date)
Recipe: mysql::ruby
* chef_gem[mysql] action install (up to date)
I, [2016-09-29T08:16:56.610367 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
I, [2016-09-29T08:16:56.614686 #31493] INFO -- : Opening new HTTPS connection to fh-builds.s3.amazonaws.com:443
I, [2016-09-29T08:16:57.899388 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
I, [2016-09-29T08:16:59.138635 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
I, [2016-09-29T08:17:32.119609 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
I, [2016-09-29T08:17:32.121348 #31493] INFO -- : Closing HTTPS connection to fh-builds.s3.amazonaws.com:443, reason: 'end of file reached'
D, [2016-09-29T08:17:32.121796 #31493] DEBUG -- : Rightscale::HttpConnection : server fh-builds.s3.amazonaws.com closed connection
I, [2016-09-29T08:17:32.622549 #31493] INFO -- : Opening new HTTPS connection to fh-builds.s3.amazonaws.com:443
I, [2016-09-29T08:17:33.923205 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
I, [2016-09-29T08:17:34.478842 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
I, [2016-09-29T08:17:36.935043 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
I, [2016-09-29T08:17:38.443583 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
I, [2016-09-29T08:17:40.991861 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
I, [2016-09-29T08:17:41.783955 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
I, [2016-09-29T08:17:42.753601 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
I, [2016-09-29T08:17:44.346324 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
I, [2016-09-29T08:17:44.877629 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
I, [2016-09-29T08:17:45.494321 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
I, [2016-09-29T08:17:46.311213 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
I, [2016-09-29T08:18:01.925181 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
I, [2016-09-29T08:18:01.926870 #31493] INFO -- : Closing HTTPS connection to fh-builds.s3.amazonaws.com:443, reason: 'end of file reached'
D, [2016-09-29T08:18:01.927235 #31493] DEBUG -- : Rightscale::HttpConnection : server fh-builds.s3.amazonaws.com closed connection
I, [2016-09-29T08:18:02.427786 #31493] INFO -- : Opening new HTTPS connection to fh-builds.s3.amazonaws.com:443
I, [2016-09-29T08:18:03.952287 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
I, [2016-09-29T08:18:05.234834 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
Recipe: feedhenry_dynovm::dyno-template
* chef_gem[json] action install (up to date)
I, [2016-09-29T08:18:06.572433 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
I, [2016-09-29T08:18:07.179284 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
I, [2016-09-29T08:18:07.867884 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
I, [2016-09-29T08:18:09.637509 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
Recipe: lvm::default
* chef_gem[di-ruby-lvm] action install (up to date)
I, [2016-09-29T08:18:11.660413 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
I, [2016-09-29T08:18:12.254535 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
I, [2016-09-29T08:18:13.588153 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
I, [2016-09-29T08:18:25.464374 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
I, [2016-09-29T08:18:25.465929 #31493] INFO -- : Closing HTTPS connection to fh-builds.s3.amazonaws.com:443, reason: 'end of file reached'
D, [2016-09-29T08:18:25.466239 #31493] DEBUG -- : Rightscale::HttpConnection : server fh-builds.s3.amazonaws.com closed connection
I, [2016-09-29T08:18:25.966796 #31493] INFO -- : Opening new HTTPS connection to fh-builds.s3.amazonaws.com:443
I, [2016-09-29T08:18:27.268547 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
I, [2016-09-29T08:18:28.401568 #31493] INFO -- : New RightAws::S3Interface using shared connections mode
[2016-09-29T08:18:58+00:00] ERROR: Failed to list data bag items in data bag: "nagios_vpn_services_client2-single"
Converging 1083 resources
Recipe: feedhenry_common::hostname
* file[/etc/hostname] action nothing (skipped due to action :nothing)
* execute[hostname client2-single-node1] action run (skipped due to only_if)
* ohai[reload] action nothing (skipped due to action :nothing)
* ruby[setup feedhenry_common hostname - Set node FQDN] action run
- execute "ruby" "/tmp/chef-script20160929-31493-esbch9"
Recipe: ohai::default
* remote_directory[/etc/chef/ohai_plugins] action nothing (skipped due to action :nothing)
* remote_directory[/etc/chef/ohai_plugins] action nothing (skipped due to action :nothing)
* ohai[custom_plugins] action nothing (skipped due to action :nothing)
Recipe: feedhenry_common::env
* ruby[setup feedhenry_common env] action run
- execute "ruby" "/tmp/chef-script20160929-31493-edx61k"
Recipe: feedhenry_common::hosts
* hostsfile_entry[172.18.172.37] action create_if_missing (up to date)
* hostsfile_entry[172.18.172.37] action appendRecipe: <Dynamically Defined Resource>
* file[/etc/hosts] action create (up to date)
- Append hostsfile_entry[172.18.172.37]
Recipe: apt::default
* execute[apt-get-update] action nothing (skipped due to action :nothing)
* execute[apt-get-update] action run (skipped due to not_if)
* execute[apt-get update] action nothing (skipped due to action :nothing)
* execute[apt-get autoremove] action nothing (skipped due to action :nothing)
* execute[apt-get autoclean] action nothing (skipped due to action :nothing)
* package[update-notifier-common] action install (up to date)
* execute[apt-get-update-periodic] action run (skipped due to only_if)
* directory[/var/cache/local] action create (up to date)
* directory[/var/cache/local/preseeding] action create (up to date)
Recipe: feedhenry_common::base_server_packages
* cookbook_file[/etc/apt/apt.conf.d/10periodic] action create (up to date)
Recipe: build-essential::_debian
* package[autoconf] action nothing (skipped due to action :nothing)
* package[binutils-doc] action nothing (skipped due to action :nothing)
* package[bison] action nothing (skipped due to action :nothing)
* package[build-essential] action nothing (skipped due to action :nothing)
* package[flex] action nothing (skipped due to action :nothing)
* package[gettext] action nothing (skipped due to action :nothing)
* package[ncurses-dev] action nothing (skipped due to action :nothing)
Recipe: gcc::ubuntu_toolchain_repo
* apt_repository[ubuntu-toolchain-r] action addRecipe: <Dynamically Defined Resource>
* execute[install-key BA9EF27F] action run (skipped due to not_if)
* file[/var/lib/apt/periodic/update-success-stamp] action nothing (skipped due to action :nothing)
* execute[apt-cache gencaches] action nothing (skipped due to action :nothing)
* execute[apt-get update] action nothing (skipped due to action :nothing)
* file[/etc/apt/sources.list.d/ubuntu-toolchain-r.list] action create (up to date)
(up to date)
Recipe: gcc::cpp
* package[g++-4.8] action install (up to date)
* link[/usr/bin/gcc] action create (up to date)
* link[/usr/bin/g++] action create (up to date)
Recipe: feedhenry_common::base_server_packages
* package[mailutils] action install (up to date)
* package[iotop] action upgrade (up to date)
* package[htop] action upgrade (up to date)
* package[atop] action upgrade (up to date)
* package[unzip] action upgrade (up to date)
* package[zip] action upgrade (up to date)
* package[traceroute] action upgrade (up to date)
* package[sysstat] action upgrade (up to date)
* package[bash] action upgrade (up to date)
* chef_gem[json] action install (up to date)
Recipe: postfix::default
* package[postfix] action install (up to date)
* service[postfix] action enable (up to date)
* template[/etc/postfix/main.cf] action create (up to date)
* template[/etc/postfix/master.cf] action create (up to date)
* service[postfix] action start (up to date)
Recipe: feedhenry_common::sysctl
* template[/etc/sysctl.conf] action create (up to date)
* execute[sysctl] action run (skipped due to only_if)
Recipe: feedhenry_common::timezone
* package[tzdata] action install (up to date)
* template[/etc/timezone] action create (up to date)
* bash[dpkg-reconfigure tzdata] action nothing (skipped due to action :nothing)
Recipe: ntp::default
* package[ntp] action install (up to date)
* package[ntpdate] action install (up to date)
* directory[/var/lib/ntp] action create (up to date)
* directory[/var/log/ntpstats/] action create (up to date)
* service[ntp] action enable (up to date)
* service[ntp] action start (up to date)
* cookbook_file[/etc/ntp.leapseconds] action create (up to date)
* template[/etc/ntp.conf] action create (up to date)
Recipe: openssh::default
* package[openssh-client] action install (up to date)
* package[openssh-server] action install (up to date)
* service[ssh] action enable
- enable service service[ssh]
* service[ssh] action start
================================================================================
Error executing action `start` on resource 'service[ssh]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of /etc/init.d/ssh start ----
STDOUT:
STDERR:
---- End output of /etc/init.d/ssh start ----
Ran /etc/init.d/ssh start returned 1
Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/openssh/recipes/default.rb
30: service "ssh" do
31: service_name node['openssh']['service_name']
32: supports value_for_platform(
33: "debian" => { "default" => [ :restart, :reload, :status ] },
34: "ubuntu" => {
35: "8.04" => [ :restart, :reload ],
36: "default" => [ :restart, :reload, :status ]
37: },
38: "centos" => { "default" => [ :restart, :reload, :status ] },
39: "redhat" => { "default" => [ :restart, :reload, :status ] },
40: "fedora" => { "default" => [ :restart, :reload, :status ] },
41: "scientific" => { "default" => [ :restart, :reload, :status ] },
42: "arch" => { "default" => [ :restart ] },
43: "default" => { "default" => [:restart, :reload ] }
44: )
45: action [ :enable, :start ]
46: end
47:
Compiled Resource:
------------------
# Declared in /var/chef/cache/cookbooks/openssh/recipes/default.rb:30:in `from_file'
service("ssh") do
action [:enable, :start]
updated true
supports {:restart=>true, :reload=>true, :status=>true}
retries 0
retry_delay 2
service_name "ssh"
enabled true
pattern "ssh"
cookbook_name "openssh"
recipe_name "default"
end
Running handlers:
[2016-09-29T08:19:37+00:00] ERROR: Running exception handlers
Running handlers complete
[2016-09-29T08:19:37+00:00] ERROR: Exception handlers complete
[2016-09-29T08:19:37+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
Chef Client failed. 9 resources updated in 430.044978184 seconds
[2016-09-29T08:19:37+00:00] ERROR: service[ssh] (openssh::default line 30) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of /etc/init.d/ssh start ----
STDOUT:
STDERR:
---- End output of /etc/init.d/ssh start ----
Ran /etc/init.d/ssh start returned 1
[2016-09-29T08:19:37+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
WARN: Resource.dsl_name is deprecated and will be removed in Chef 13. Use resource_name instead.
================================================================================
Error executing action `converge_only` on resource 'machine_batch[cluster_provision_instances]'
================================================================================
RuntimeError
------------
Error: command 'chef-client -l error' exited with code 1.
Resource Declaration:
---------------------
# In /Users/corinne/.rvm/gems/ruby-2.3.0/gems/fhcap-cli-0.4.8/lib/cookbooks/provision/recipes/cluster_provision_instances.rb
5: machine_batch "cluster_provision_instances" do
6: cluster_instances.each do |chef_environment, instances|
7: instances.each do |name, cfg|
8: machine name do
9: chef_environment chef_environment
10: machine_options cfg[:machine_options]
11: run_list cfg[:instance_config][:run_list]
12: end
13: end
14: end
15: max_simultaneous node['max_simultaneous']
16: action :converge_only
17: end
18: end
Compiled Resource:
------------------
# Declared in /Users/corinne/.rvm/gems/ruby-2.3.0/gems/fhcap-cli-0.4.8/lib/cookbooks/provision/recipes/cluster_provision_instances.rb:5:in `block in from_file'
machine_batch("cluster_provision_instances") do
action [:converge_only]
retries 0
retry_delay 2
default_guard_interpreter :default
driver "fog:OpenStack:http://os1-public.osop.rhcloud.com:5000/v2.0/tokens"
chef_server {:chef_server_url=>"http://127.0.0.1:7799", :options=>{:client_name=>"corinne", :signing_key_filename=>"/Users/corinne/fhcap/.chef/local/corinne.pem", :ssl_verify_mode=>:verify_none, :api_version=>"0"}}
declared_type :machine_batch
cookbook_name :provision
recipe_name "cluster_provision_instances"
machines ["client2-single-node1"]
end
/Users/corinne/.rvm/gems/ruby-2.3.0/gems/chef-provisioning-1.4.1/lib/chef/provisioning/transport/ssh.rb:271:in `error!'
/Users/corinne/.rvm/gems/ruby-2.3.0/gems/chef-provisioning-1.4.1/lib/chef/provisioning/machine/basic_machine.rb:31:in `block in execute'
/Users/corinne/.rvm/gems/ruby-2.3.0/gems/chef-12.4.3/lib/chef/mixin/why_run.rb:52:in `add_action'
/Users/corinne/.rvm/gems/ruby-2.3.0/gems/chef-12.4.3/lib/chef/provider.rb:175:in `converge_by'
/Users/corinne/.rvm/gems/ruby-2.3.0/gems/chef-provisioning-1.4.1/lib/chef/provisioning/chef_provider_action_handler.rb:54:in `perform_action'
/Users/corinne/.rvm/gems/ruby-2.3.0/gems/chef-provisioning-1.4.1/lib/chef/provisioning/add_prefix_action_handler.rb:31:in `perform_action'
/Users/corinne/.rvm/gems/ruby-2.3.0/gems/chef-provisioning-1.4.1/lib/chef/provisioning/machine/basic_machine.rb:29:in `execute'
/Users/corinne/.rvm/gems/ruby-2.3.0/gems/chef-provisioning-1.4.1/lib/chef/provisioning/convergence_strategy/install_sh.rb:59:in `block (2 levels) in converge'
/Users/corinne/.rvm/gems/ruby-2.3.0/gems/chef-12.4.3/lib/chef/run_context.rb:273:in `open_stream'
/Users/corinne/.rvm/gems/ruby-2.3.0/gems/chef-provisioning-1.4.1/lib/chef/provisioning/chef_provider_action_handler.rb:59:in `open_stream'
/Users/corinne/.rvm/gems/ruby-2.3.0/gems/chef-provisioning-1.4.1/lib/chef/provisioning/convergence_strategy/install_sh.rb:56:in `block in converge'
/Users/corinne/.rvm/gems/ruby-2.3.0/gems/chef-12.4.3/lib/chef/run_context.rb:273:in `open_stream'
/Users/corinne/.rvm/gems/ruby-2.3.0/gems/chef-provisioning-1.4.1/lib/chef/provisioning/chef_provider_action_handler.rb:59:in `open_stream'
/Users/corinne/.rvm/gems/ruby-2.3.0/gems/chef-provisioning-1.4.1/lib/chef/provisioning/convergence_strategy/install_sh.rb:55:in `converge'
/Users/corinne/.rvm/gems/ruby-2.3.0/gems/chef-provisioning-1.4.1/lib/chef/provisioning/machine/basic_machine.rb:21:in `converge'
/Users/corinne/.rvm/gems/ruby-2.3.0/gems/chef-provisioning-1.4.1/lib/chef/provider/machine_batch.rb:74:in `block (2 levels) in <class:MachineBatch>'
/Users/corinne/.rvm/gems/ruby-2.3.0/gems/chef-12.4.3/lib/chef/chef_fs/parallelizer/parallel_enumerable.rb:267:in `process_input'
/Users/corinne/.rvm/gems/ruby-2.3.0/gems/chef-12.4.3/lib/chef/chef_fs/parallelizer/parallel_enumerable.rb:257:in `process_one'
/Users/corinne/.rvm/gems/ruby-2.3.0/gems/chef-12.4.3/lib/chef/chef_fs/parallelizer.rb:93:in `call'
/Users/corinne/.rvm/gems/ruby-2.3.0/gems/chef-12.4.3/lib/chef/chef_fs/parallelizer.rb:93:in `worker_loop'
[Chef Zero Server] - Syncing nodes to /Users/corinne/fhcap/repos/fhcap-dev
* downloading server items to /Users/corinne/fhcap/repos/fhcap-dev - ["/nodes"] ...
* downloading server items to /Users/corinne/fhcap/repos/fhcap-dev - ["/data_bags/aws_*"] ...
/Users/corinne/.rvm/gems/ruby-2.3.0/gems/fhcap-cli-0.4.8/lib/fhcap/chef-dk/chef_runner.rb:42:in `rescue in converge': Chef failed to converge: machine_batch[cluster_provision_instances] (provision::cluster_provision_instances line 5) had an error: RuntimeError: Error: command 'chef-client -l error' exited with code 1. (Fhcap::ChefConvergeError)
from /Users/corinne/.rvm/gems/ruby-2.3.0/gems/fhcap-cli-0.4.8/lib/fhcap/chef-dk/chef_runner.rb:34:in `converge'
from /Users/corinne/.rvm/gems/ruby-2.3.0/gems/fhcap-cli-0.4.8/lib/fhcap/tasks/chef/provisioning/chef_provisioning_task_base.rb:56:in `do_chef_run'
from /Users/corinne/.rvm/gems/ruby-2.3.0/gems/fhcap-cli-0.4.8/lib/fhcap/tasks/chef/provisioning/provision.rb:13:in `block in run'
from /Users/corinne/.rvm/gems/ruby-2.3.0/gems/fhcap-cli-0.4.8/lib/fhcap/knife_helper.rb:80:in `with_local_chef_server'
from /Users/corinne/.rvm/gems/ruby-2.3.0/gems/fhcap-cli-0.4.8/lib/fhcap/tasks/chef/chef_server_task.rb:23:in `with_chef_server'
from /Users/corinne/.rvm/gems/ruby-2.3.0/gems/fhcap-cli-0.4.8/lib/fhcap/tasks/chef/provisioning/provision.rb:11:in `run'
from /Users/corinne/.rvm/gems/ruby-2.3.0/gems/fhcap-cli-0.4.8/lib/fhcap/tasks/cluster/provision.rb:34:in `run'
from /Users/corinne/.rvm/gems/ruby-2.3.0/gems/fhcap-cli-0.4.8/lib/fhcap/cluster.rb:90:in `provision'
from /Users/corinne/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
from /Users/corinne/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /Users/corinne/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
from /Users/corinne/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:115:in `invoke'
from /Users/corinne/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor.rb:235:in `block in subcommand'
from /Users/corinne/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
from /Users/corinne/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /Users/corinne/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
from /Users/corinne/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
from /Users/corinne/.rvm/gems/ruby-2.3.0/gems/fhcap-cli-0.4.8/bin/fhcap:6:in `<top (required)>'
from /Users/corinne/.rvm/gems/ruby-2.3.0/bin/fhcap:23:in `load'
from /Users/corinne/.rvm/gems/ruby-2.3.0/bin/fhcap:23:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment