Skip to content

Instantly share code, notes, and snippets.

@Stromweld
Last active March 22, 2016 20:41
Show Gist options
  • Save Stromweld/8b78349757f5df1f9eee to your computer and use it in GitHub Desktop.
Save Stromweld/8b78349757f5df1f9eee to your computer and use it in GitHub Desktop.
Chef Bootstrap client 12.8.1
Instance ID: i-93076e4b
Flavor: c4.large
Image: ami-e4db3284
Region: us-west-2
Availability Zone: us-west-2a
Security Group Ids: sg-3c26af59
IAM Profile: nativex_ec2
Tags: Name: TAW2AL-TEST01
SSH Key: administrator
Waiting for EC2 to create the instance......
Subnet ID: subnet-79ef460e
Tenancy: default
Private IP Address: 172.21.16.56
Waiting for sshd access to become available...................done
Cookbook dir already exists
Upload Failed
Doing old-style registration with the validation key at /Users/corey.hemminger/.chef/corey-dev-validator.pem...
Delete your validation key in order to use your user credentials instead
Connecting to 172.21.16.56
172.21.16.56 -----> Installing Chef Omnibus (-v 12)
172.21.16.56 downloading https://omnitruck-direct.chef.io/chef/install.sh
172.21.16.56 to file /tmp/install.sh.2321/install.sh
172.21.16.56 trying wget...
172.21.16.56 el 6 x86_64
172.21.16.56 Getting information for chef stable 12 for el...
172.21.16.56 downloading https://omnitruck-direct.chef.io/stable/chef/metadata?v=12&p=el&pv=6&m=x86_64
172.21.16.56 to file /tmp/install.sh.2332/metadata.txt
172.21.16.56 trying wget...
172.21.16.56 url https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-12.8.1-1.el6.x86_64.rpm
172.21.16.56 md5 4fdfa9d0cb7ad1d32730f3a049ec26bc
172.21.16.56 sha256 43fa71d4f8f1cd71ce3c26512aa66d6c58bc080ecaca60214d0bf7392f1e7232
172.21.16.56 version 12.8.1
172.21.16.56 downloaded metadata file looks valid...
172.21.16.56 downloading https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-12.8.1-1.el6.x86_64.rpm
172.21.16.56 to file /tmp/install.sh.2332/chef-12.8.1-1.el6.x86_64.rpm
172.21.16.56 trying wget...
172.21.16.56 Comparing checksum with sha256sum...
172.21.16.56 Installing chef 12
172.21.16.56 installing with rpm...
172.21.16.56 Preparing... ########################################### [100%]
172.21.16.56 1:chef ########################################### [100%]
172.21.16.56 Thank you for installing Chef!
172.21.16.56 Starting the first Chef Client run...
172.21.16.56 Starting Chef Client, version 12.8.1
172.21.16.56 Creating a new client identity for TAW2AL-TEST01 using the validator key.
172.21.16.56 resolving cookbooks for run list: ["collectd-ng"]
172.21.16.56 Synchronizing Cookbooks:
172.21.16.56 - yum-epel (0.6.6)
172.21.16.56 - collectd-ng (2.1.0)
172.21.16.56 - build-essential (2.4.0)
172.21.16.56 - yum (3.10.0)
172.21.16.56 - windows (1.39.2)
172.21.16.56 - 7-zip (1.0.2)
172.21.16.56 - chef_handler (1.3.0)
172.21.16.56 Installing Cookbook Gems:
172.21.16.56 Compiling Cookbooks...
172.21.16.56 Converging 20 resources
172.21.16.56 Recipe: build-essential::_rhel
172.21.16.56 * yum_package[autoconf] action install
172.21.16.56 - install version 2.63-5.1.el6 of package autoconf
172.21.16.56 * yum_package[bison] action install
172.21.16.56 - install version 2.4.1-5.el6 of package bison
172.21.16.56 * yum_package[flex] action install
172.21.16.56 - install version 2.5.35-9.el6 of package flex
172.21.16.56 * yum_package[gcc] action install (up to date)
172.21.16.56 * yum_package[gcc-c++] action install (up to date)
172.21.16.56 * yum_package[kernel-devel] action install (up to date)
172.21.16.56 * yum_package[make] action install (up to date)
172.21.16.56 * yum_package[m4] action install (up to date)
172.21.16.56 * yum_package[patch] action install (up to date)
172.21.16.56 * yum_package[gettext-devel] action install
172.21.16.56 - install version 0.17-18.el6 of package gettext-devel
172.21.16.56 Recipe: collectd-ng::default
172.21.16.56 * yum_package[perl-ExtUtils-Embed] action install
172.21.16.56 - install version 1.28-141.el6_7.1 of package perl-ExtUtils-Embed
172.21.16.56 * yum_package[perl-ExtUtils-MakeMaker] action install (up to date)
172.21.16.56 Recipe: yum-epel::default
172.21.16.56 * yum_repository[epel] action create
172.21.16.56 * template[/etc/yum.repos.d/epel.repo] action create
172.21.16.56 - update content in file /etc/yum.repos.d/epel.repo from cd4915 to d02c1f
172.21.16.56 --- /etc/yum.repos.d/epel.repo 2012-11-04 22:52:17.000000000 -0500
172.21.16.56 +++ /etc/yum.repos.d/.chef-epel.repo20160322-2407-43ltnu 2016-03-22 16:26:59.242141669 -0400
172.21.16.56 @@ -1,27 +1,11 @@
172.21.16.56 +# This file was generated by Chef
172.21.16.56 +# Do NOT modify this file by hand.
172.21.16.56 +
172.21.16.56 [epel]
172.21.16.56 name=Extra Packages for Enterprise Linux 6 - $basearch
172.21.16.56 -#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
172.21.16.56 -mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
172.21.16.56 -failovermethod=priority
172.21.16.56 enabled=1
172.21.16.56 -gpgcheck=1
172.21.16.56 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
172.21.16.56 -
172.21.16.56 -[epel-debuginfo]
172.21.16.56 -name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
172.21.16.56 -#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
172.21.16.56 -mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch
172.21.16.56 failovermethod=priority
172.21.16.56 -enabled=0
172.21.16.56 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
172.21.16.56 gpgcheck=1
172.21.16.56 -
172.21.16.56 -[epel-source]
172.21.16.56 -name=Extra Packages for Enterprise Linux 6 - $basearch - Source
172.21.16.56 -#baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
172.21.16.56 -mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch
172.21.16.56 -failovermethod=priority
172.21.16.56 -enabled=0
172.21.16.56 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
172.21.16.56 -gpgcheck=1
172.21.16.56 +gpgkey=https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6
172.21.16.56 +mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
172.21.16.56 - restore selinux security context
172.21.16.56 * execute[yum clean metadata epel] action run
172.21.16.56 - execute yum clean metadata --disablerepo=* --enablerepo=epel
172.21.16.56 * execute[yum-makecache-epel] action run
172.21.16.56 - execute yum -q -y makecache --disablerepo=* --enablerepo=epel
172.21.16.56 * ruby_block[yum-cache-reload-epel] action create
172.21.16.56 - execute the ruby block yum-cache-reload-epel
172.21.16.56 * execute[yum clean metadata epel] action nothing (skipped due to action :nothing)
172.21.16.56 * execute[yum-makecache-epel] action nothing (skipped due to action :nothing)
172.21.16.56 * ruby_block[yum-cache-reload-epel] action nothing (skipped due to action :nothing)
172.21.16.56
172.21.16.56 Recipe: collectd-ng::default
172.21.16.56 * remote_file[/var/chef/cache/collectd-5.4.1.tar.gz] action create_if_missing
172.21.16.56
172.21.16.56 ================================================================================
172.21.16.56 Error executing action `create_if_missing` on resource 'remote_file[/var/chef/cache/collectd-5.4.1.tar.gz]'
172.21.16.56 ================================================================================
172.21.16.56
172.21.16.56 Chef::Exceptions::ChecksumMismatch
172.21.16.56 ----------------------------------
172.21.16.56 Checksum on resource (853680) does not match checksum on content (07d03e)
172.21.16.56
172.21.16.56 Resource Declaration:
172.21.16.56 ---------------------
172.21.16.56 # In /var/chef/cache/cookbooks/collectd-ng/recipes/default.rb
172.21.16.56
172.21.16.56 69: remote_file "#{Chef::Config[:file_cache_path]}/collectd-#{node["collectd"]["version"]}.tar.gz" do
172.21.16.56 70: source node["collectd"]["url"]
172.21.16.56 71: checksum node["collectd"]["checksum"]
172.21.16.56 72: action :create_if_missing
172.21.16.56 73: end
172.21.16.56 74:
172.21.16.56
172.21.16.56 Compiled Resource:
172.21.16.56 ------------------
172.21.16.56 # Declared in /var/chef/cache/cookbooks/collectd-ng/recipes/default.rb:69:in `from_file'
172.21.16.56
172.21.16.56 remote_file("/var/chef/cache/collectd-5.4.1.tar.gz") do
172.21.16.56 provider Chef::Provider::RemoteFile
172.21.16.56 action [:create_if_missing]
172.21.16.56 retries 0
172.21.16.56 retry_delay 2
172.21.16.56 default_guard_interpreter :default
172.21.16.56 source ["http://collectd.org/files/collectd-5.4.1.tar.gz"]
172.21.16.56 use_etag true
172.21.16.56 use_last_modified true
172.21.16.56 declared_type :remote_file
172.21.16.56 cookbook_name "collectd-ng"
172.21.16.56 recipe_name "default"
172.21.16.56 checksum "853680936893df00bfc2be58f61ab9181fecb1cf45fc5cddcb7d25da98855f65"
172.21.16.56 atomic_update true
172.21.16.56 path "/var/chef/cache/collectd-5.4.1.tar.gz"
172.21.16.56 end
172.21.16.56
172.21.16.56
172.21.16.56 Running handlers:
172.21.16.56 [2016-03-22T16:27:07-04:00] ERROR: Running exception handlers
172.21.16.56 Running handlers complete
172.21.16.56 [2016-03-22T16:27:07-04:00] ERROR: Exception handlers complete
172.21.16.56 Chef Client failed. 10 resources updated in 03 minutes 11 seconds
172.21.16.56 [2016-03-22T16:27:07-04:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
172.21.16.56 [2016-03-22T16:27:07-04:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
172.21.16.56 [2016-03-22T16:27:07-04:00] ERROR: remote_file[/var/chef/cache/collectd-5.4.1.tar.gz] (collectd-ng::default line 69) had an error: Chef::Exceptions::ChecksumMismatch: Checksum on resource (853680) does not match checksum on content (07d03e)
172.21.16.56 [2016-03-22T16:27:07-04:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment