Skip to content

Instantly share code, notes, and snippets.

@rberger
Created May 16, 2015 20:06
Show Gist options
  • Save rberger/53587485c35df26ad45d to your computer and use it in GitHub Desktop.
Save rberger/53587485c35df26ad45d to your computer and use it in GitHub Desktop.
Snippet of initial Chef client run that fails on ntp::apparmor restart
[2015-05-16T19:56:01+00:00] INFO: service[ntp] restarted
- restart service service[ntp]
[2015-05-16T19:56:01+00:00] INFO: cookbook_file[/etc/apparmor.d/usr.sbin.ntpd] sending restart action to service[apparmor] (delayed)
Recipe: ntp::apparmor
* service[apparmor] action restart[2015-05-16T19:56:01+00:00] INFO: Processing service[apparmor] action restart (ntp::apparmor line 20)
[2015-05-16T19:56:01+00:00] DEBUG: providers for generic service resource enabled on node include: [Chef::Provider::Service::Debian, Chef::Provider::Service::Init, Chef::Provider::Service::Invokercd, Chef::Provider::Service::Upstart]
[2015-05-16T19:56:01+00:00] DEBUG: providers that refused resource service[apparmor] were: [Chef::Provider::Service::Upstart]
[2015-05-16T19:56:01+00:00] DEBUG: providers that support resource service[apparmor] include: [Chef::Provider::Service::Debian, Chef::Provider::Service::Init, Chef::Provider::Service::Invokercd]
[2015-05-16T19:56:01+00:00] DEBUG: providers that survived replacement include: [Chef::Provider::Service::Debian]
[2015-05-16T19:56:01+00:00] DEBUG: service[apparmor] falling back to process table inspection
[2015-05-16T19:56:01+00:00] DEBUG: service[apparmor] attempting to match 'apparmor' (/apparmor/) against process list
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 19:51 ? 00:00:01 /sbin/init
root 2 0 0 19:51 ? 00:00:00 [kthreadd]
root 3 2 0 19:51 ? 00:00:00 [ksoftirqd/0]
root 4 2 0 19:51 ? 00:00:00 [kworker/0:0]
root 5 2 0 19:51 ? 00:00:00 [kworker/0:0H]
root 6 2 0 19:51 ? 00:00:00 [kworker/u30:0]
root 7 2 0 19:51 ? 00:00:00 [rcu_sched]
root 8 2 0 19:51 ? 00:00:00 [rcuos/0]
root 9 2 0 19:51 ? 00:00:00 [rcuos/1]
root 10 2 0 19:51 ? 00:00:00 [rcuos/2]
root 11 2 0 19:51 ? 00:00:00 [rcuos/3]
root 12 2 0 19:51 ? 00:00:00 [rcuos/4]
root 13 2 0 19:51 ? 00:00:00 [rcuos/5]
root 14 2 0 19:51 ? 00:00:00 [rcuos/6]
root 15 2 0 19:51 ? 00:00:00 [rcuos/7]
root 16 2 0 19:51 ? 00:00:00 [rcuos/8]
root 17 2 0 19:51 ? 00:00:00 [rcuos/9]
root 18 2 0 19:51 ? 00:00:00 [rcuos/10]
root 19 2 0 19:51 ? 00:00:00 [rcuos/11]
root 20 2 0 19:51 ? 00:00:00 [rcuos/12]
root 21 2 0 19:51 ? 00:00:00 [rcuos/13]
root 22 2 0 19:51 ? 00:00:00 [rcuos/14]
root 23 2 0 19:51 ? 00:00:00 [rcu_bh]
root 24 2 0 19:51 ? 00:00:00 [rcuob/0]
root 25 2 0 19:51 ? 00:00:00 [rcuob/1]
root 26 2 0 19:51 ? 00:00:00 [rcuob/2]
root 27 2 0 19:51 ? 00:00:00 [rcuob/3]
root 28 2 0 19:51 ? 00:00:00 [rcuob/4]
root 29 2 0 19:51 ? 00:00:00 [rcuob/5]
root 30 2 0 19:51 ? 00:00:00 [rcuob/6]
root 31 2 0 19:51 ? 00:00:00 [rcuob/7]
root 32 2 0 19:51 ? 00:00:00 [rcuob/8]
root 33 2 0 19:51 ? 00:00:00 [rcuob/9]
root 34 2 0 19:51 ? 00:00:00 [rcuob/10]
root 35 2 0 19:51 ? 00:00:00 [rcuob/11]
root 36 2 0 19:51 ? 00:00:00 [rcuob/12]
root 37 2 0 19:51 ? 00:00:00 [rcuob/13]
root 38 2 0 19:51 ? 00:00:00 [rcuob/14]
root 39 2 0 19:51 ? 00:00:00 [migration/0]
root 40 2 0 19:51 ? 00:00:00 [watchdog/0]
root 41 2 0 19:51 ? 00:00:00 [watchdog/1]
root 42 2 0 19:51 ? 00:00:00 [migration/1]
root 43 2 0 19:51 ? 00:00:00 [ksoftirqd/1]
root 44 2 0 19:51 ? 00:00:00 [kworker/1:0]
root 45 2 0 19:51 ? 00:00:00 [kworker/1:0H]
root 46 2 0 19:51 ? 00:00:00 [khelper]
root 47 2 0 19:51 ? 00:00:00 [kdevtmpfs]
root 48 2 0 19:51 ? 00:00:00 [netns]
root 49 2 0 19:51 ? 00:00:00 [xenwatch]
root 50 2 0 19:51 ? 00:00:00 [xenbus]
root 51 2 0 19:51 ? 00:00:00 [kworker/0:1]
root 52 2 0 19:51 ? 00:00:00 [writeback]
root 53 2 0 19:51 ? 00:00:00 [kintegrityd]
root 54 2 0 19:51 ? 00:00:00 [bioset]
root 55 2 0 19:51 ? 00:00:00 [kworker/u31:0]
root 56 2 0 19:51 ? 00:00:00 [kblockd]
root 57 2 0 19:51 ? 00:00:00 [kworker/1:1]
root 58 2 0 19:51 ? 00:00:00 [ata_sff]
root 59 2 0 19:51 ? 00:00:00 [khubd]
root 60 2 0 19:51 ? 00:00:00 [md]
root 61 2 0 19:51 ? 00:00:00 [devfreq_wq]
root 63 2 0 19:51 ? 00:00:00 [khungtaskd]
root 64 2 0 19:51 ? 00:00:00 [kswapd0]
root 65 2 0 19:51 ? 00:00:00 [ksmd]
root 66 2 0 19:51 ? 00:00:00 [khugepaged]
root 67 2 0 19:51 ? 00:00:00 [fsnotify_mark]
root 68 2 0 19:51 ? 00:00:00 [ecryptfs-kthrea]
root 69 2 0 19:51 ? 00:00:00 [crypto]
root 81 2 0 19:51 ? 00:00:00 [kthrotld]
root 82 2 0 19:51 ? 00:00:00 [kworker/u30:1]
root 83 2 0 19:51 ? 00:00:00 [khvcd]
root 84 2 0 19:51 ? 00:00:00 [scsi_eh_0]
root 85 2 0 19:51 ? 00:00:00 [scsi_eh_1]
root 86 2 0 19:51 ? 00:00:00 [kworker/u30:2]
root 87 2 0 19:51 ? 00:00:00 [kworker/u30:3]
root 106 2 0 19:51 ? 00:00:00 [deferwq]
root 107 2 0 19:51 ? 00:00:00 [charger_manager]
root 149 2 0 19:51 ? 00:00:00 [kpsmoused]
root 151 2 0 19:51 ? 00:00:00 [kworker/1:2]
root 211 2 0 19:51 ? 00:00:00 [jbd2/xvda1-8]
root 212 2 0 19:51 ? 00:00:00 [ext4-rsv-conver]
root 415 1 0 19:51 ? 00:00:00 upstart-udev-bridge --daemon
root 421 1 0 19:51 ? 00:00:00 /lib/systemd/systemd-udevd --daemon
root 526 1 0 19:51 ? 00:00:00 upstart-socket-bridge --daemon
root 589 1 0 19:51 ? 00:00:00 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0
root 887 1 0 19:51 ? 00:00:00 upstart-file-bridge --daemon
message+ 896 1 0 19:51 ? 00:00:00 dbus-daemon --system --fork
root 930 1 0 19:51 ? 00:00:00 /lib/systemd/systemd-logind
root 1019 1 0 19:51 tty4 00:00:00 /sbin/getty -8 38400 tty4
root 1022 1 0 19:51 tty5 00:00:00 /sbin/getty -8 38400 tty5
syslog 1024 1 0 19:51 ? 00:00:00 rsyslogd
root 1027 1 0 19:51 tty2 00:00:00 /sbin/getty -8 38400 tty2
root 1028 1 0 19:51 tty3 00:00:00 /sbin/getty -8 38400 tty3
root 1030 1 0 19:51 tty6 00:00:00 /sbin/getty -8 38400 tty6
root 1058 1 0 19:51 ? 00:00:00 /usr/sbin/sshd -D
root 1082 1 0 19:51 ? 00:00:00 acpid -c /etc/acpi/events -s /var/run/acpid.socket
daemon 1091 1 0 19:51 ? 00:00:00 atd
root 1117 1 0 19:51 ? 00:00:00 /usr/sbin/irqbalance
root 1178 1 0 19:51 tty1 00:00:00 /sbin/getty -8 38400 tty1
root 1179 1 0 19:51 ttyS0 00:00:00 /sbin/getty -8 38400 ttyS0
root 1191 2 0 19:51 ? 00:00:00 [kauditd]
root 1302 1058 0 19:51 ? 00:00:00 sshd: ubuntu [priv]
ubuntu 1355 1302 0 19:51 ? 00:00:00 sshd: ubuntu@pts/0
root 1503 1355 0 19:52 pts/0 00:00:00 sudo chef-client -l debug
root 1504 1503 0 19:52 pts/0 00:00:00 /opt/chef/embedded/bin/ruby /usr/bin/chef-client -l debug
root 1509 1504 5 19:52 pts/0 00:00:13 chef-client worker: ppid=1504;start=19:52:12;
root 19692 1 0 19:55 ? 00:00:00 cron
root 19708 1 0 19:55 ? 00:00:00 /lib/systemd/systemd-hostnamed
root 22009 421 0 19:55 ? 00:00:00 /lib/systemd/systemd-udevd --daemon
root 22019 2 0 19:55 ? 00:00:00 [xfsalloc]
root 22020 2 0 19:55 ? 00:00:00 [xfs_mru_cache]
root 22021 2 0 19:55 ? 00:00:00 [xfslogd]
root 22022 421 0 19:55 ? 00:00:00 /lib/systemd/systemd-udevd --daemon
root 22023 421 0 19:55 ? 00:00:00 /lib/systemd/systemd-udevd --daemon
root 22024 421 0 19:55 ? 00:00:00 /lib/systemd/systemd-udevd --daemon
root 22025 2 0 19:55 ? 00:00:00 [xfs-data/xvdf]
root 22026 2 0 19:55 ? 00:00:00 [xfs-conv/xvdf]
root 22027 2 0 19:55 ? 00:00:00 [xfs-cil/xvdf]
root 22028 2 0 19:55 ? 00:00:00 [kworker/1:1H]
root 22029 2 0 19:55 ? 00:00:00 [xfsaild/xvdf]
ntp 22120 1 0 19:56 ? 00:00:00 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 106:111
root 22122 1509 0 19:56 pts/0 00:00:00 ps -ef
[2015-05-16T19:56:01+00:00] DEBUG: service[apparmor] running: false
[2015-05-16T19:56:01+00:00] DEBUG: service[apparmor] runlevel S, action start, priority 37
* Clearing AppArmor profiles cache
...done.
All profile caches have been cleared, but no profiles have been unloaded.
Unloading profiles will leave already running processes permanently
unconfined, which can lead to unexpected situations.
To set a process to complain mode, use the command line tool
'aa-complain'. To really tear down all profiles, run the init script
with the 'teardown' option."
* Starting AppArmor profiles
Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
...done.
[2015-05-16T19:56:02+00:00] INFO: service[apparmor] restarted
- restart service service[apparmor]
[2015-05-16T19:56:02+00:00] DEBUG: Saving the current state of node terminator-000-production
[2015-05-16T19:56:02+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2015-05-16T19:56:02+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2015-05-16T19:56:02+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2015-05-16T19:56:02+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2015-05-16T19:56:02+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2015-05-16T19:56:02+00:00] DEBUG: Signing the request as terminator-000-production
[2015-05-16T19:56:02+00:00] DEBUG: String to sign: 'Method:PUT
Hashed Path:WrlGtunnDwmY9IBw9nZMF/q2y08=
X-Ops-Content-Hash:7EKFw3LmupJWrWM1R1x9rpRTkm4=
X-Ops-Timestamp:2015-05-16T19:56:02Z
X-Ops-UserId:terminator-000-production'
Header hash: {"X-Ops-Sign"=>"algorithm=sha1;version=1.0;", "X-Ops-Userid"=>"terminator-000-production", "X-Ops-Timestamp"=>"2015-05-16T19:56:02Z", "X-Ops-Content-Hash"=>"7EKFw3LmupJWrWM1R1x9rpRTkm4=", "X-Ops-Authorization-1"=>"QSrRbC1tB9+TDiePI8kFstKuBPMICEU6TsKiCqgNu5zWReEQnXyZLy5xWnLp", "X-Ops-Authorization-2"=>"33lWICneJpHx0rRnSor1yPGBvt6wnMkC/Odih5Pm2RqjyUhhieEoVUP+2PSP", "X-Ops-Authorization-3"=>"JTUpS3yiTjU3WV6nFqYkajVBPaaVus29z5Hb0eBH9e13hqs56Q1EQmTpXvyi", "X-Ops-Authorization-4"=>"Fb+99SxqwYENFzAgPTrBy7EUwaPC8Rf7j8zpJ3XgHeW3j6GjCP9DYNQwuW9w", "X-Ops-Authorization-5"=>"Ev7wZwYvYtNdD1vMxv+HvEQiz1B1OEdsNdNYcFKHVFnsbgsPDeC5QePdN/Qs", "X-Ops-Authorization-6"=>"YXureyet1WDHPzqsiGgDp/UKuaJs2wsAY5px5/6iEA=="}
[2015-05-16T19:56:02+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2015-05-16T19:56:02+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2015-05-16T19:56:02+00:00] DEBUG: Initiating PUT to https://api.opscode.com/organizations/mistsys/nodes/terminator-000-production
[2015-05-16T19:56:02+00:00] DEBUG: ---- HTTP Request Header Data: ----
[2015-05-16T19:56:02+00:00] DEBUG: Content-Type: application/json
[2015-05-16T19:56:02+00:00] DEBUG: Accept: application/json
[2015-05-16T19:56:02+00:00] DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3
[2015-05-16T19:56:02+00:00] DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.0;
[2015-05-16T19:56:02+00:00] DEBUG: X-OPS-USERID: terminator-000-production
[2015-05-16T19:56:02+00:00] DEBUG: X-OPS-TIMESTAMP: 2015-05-16T19:56:02Z
[2015-05-16T19:56:02+00:00] DEBUG: X-OPS-CONTENT-HASH: 7EKFw3LmupJWrWM1R1x9rpRTkm4=
[2015-05-16T19:56:02+00:00] DEBUG: X-OPS-AUTHORIZATION-1: QSrRbC1tB9+TDiePI8kFstKuBPMICEU6TsKiCqgNu5zWReEQnXyZLy5xWnLp
[2015-05-16T19:56:02+00:00] DEBUG: X-OPS-AUTHORIZATION-2: 33lWICneJpHx0rRnSor1yPGBvt6wnMkC/Odih5Pm2RqjyUhhieEoVUP+2PSP
[2015-05-16T19:56:02+00:00] DEBUG: X-OPS-AUTHORIZATION-3: JTUpS3yiTjU3WV6nFqYkajVBPaaVus29z5Hb0eBH9e13hqs56Q1EQmTpXvyi
[2015-05-16T19:56:02+00:00] DEBUG: X-OPS-AUTHORIZATION-4: Fb+99SxqwYENFzAgPTrBy7EUwaPC8Rf7j8zpJ3XgHeW3j6GjCP9DYNQwuW9w
[2015-05-16T19:56:02+00:00] DEBUG: X-OPS-AUTHORIZATION-5: Ev7wZwYvYtNdD1vMxv+HvEQiz1B1OEdsNdNYcFKHVFnsbgsPDeC5QePdN/Qs
[2015-05-16T19:56:02+00:00] DEBUG: X-OPS-AUTHORIZATION-6: YXureyet1WDHPzqsiGgDp/UKuaJs2wsAY5px5/6iEA==
[2015-05-16T19:56:02+00:00] DEBUG: HOST: api.opscode.com:443
[2015-05-16T19:56:02+00:00] DEBUG: X-REMOTE-REQUEST-ID: bea6ea9a-03e8-4185-8e8b-5e9ddf9f07d2
[2015-05-16T19:56:02+00:00] DEBUG: Content-Length: 30957
[2015-05-16T19:56:02+00:00] DEBUG: ---- End HTTP Request Header Data ----
[2015-05-16T19:56:02+00:00] ERROR: SSL Validation failure connecting to host: api.opscode.com - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
[2015-05-16T19:56:02+00:00] DEBUG: Re-raising exception: OpenSSL::SSL::SSLError - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
/opt/chef/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect'
/opt/chef/embedded/lib/ruby/2.1.0/net/http.rb:920:in `block in connect'
/opt/chef/embedded/lib/ruby/2.1.0/timeout.rb:91:in `block in timeout'
/opt/chef/embedded/lib/ruby/2.1.0/timeout.rb:101:in `call'
/opt/chef/embedded/lib/ruby/2.1.0/timeout.rb:101:in `timeout'
/opt/chef/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect'
/opt/chef/embedded/lib/ruby/2.1.0/net/http.rb:863:in `do_start'
/opt/chef/embedded/lib/ruby/2.1.0/net/http.rb:852:in `start'
/opt/chef/embedded/lib/ruby/2.1.0/net/http.rb:1369:in `request'
/opt/chef/embedded/apps/chef/lib/chef/http/basic_client.rb:65:in `request'
/opt/chef/embedded/apps/chef/lib/chef/http.rb:266:in `block in send_http_request'
/opt/chef/embedded/apps/chef/lib/chef/http.rb:298:in `block in retrying_http_errors'
/opt/chef/embedded/apps/chef/lib/chef/http.rb:296:in `loop'
/opt/chef/embedded/apps/chef/lib/chef/http.rb:296:in `retrying_http_errors'
/opt/chef/embedded/apps/chef/lib/chef/http.rb:260:in `send_http_request'
/opt/chef/embedded/apps/chef/lib/chef/http.rb:143:in `request'
/opt/chef/embedded/apps/chef/lib/chef/http.rb:118:in `put'
/opt/chef/embedded/apps/chef/lib/chef/node.rb:515:in `save'
/var/chef/cache/cookbooks/citadel/libraries/safe_node.rb:31:in `call'
/var/chef/cache/cookbooks/citadel/libraries/safe_node.rb:31:in `block in <class:Node>'
/opt/chef/embedded/apps/chef/lib/chef/client.rb:277:in `save_updated_node'
/opt/chef/embedded/apps/chef/lib/chef/client.rb:356:in `converge_and_save'
/opt/chef/embedded/apps/chef/lib/chef/client.rb:457:in `run'
/opt/chef/embedded/apps/chef/lib/chef/application.rb:271:in `block in fork_chef_client'
/opt/chef/embedded/apps/chef/lib/chef/application.rb:259:in `fork'
/opt/chef/embedded/apps/chef/lib/chef/application.rb:259:in `fork_chef_client'
/opt/chef/embedded/apps/chef/lib/chef/application.rb:225:in `block in run_chef_client'
/opt/chef/embedded/apps/chef/lib/chef/local_mode.rb:39:in `with_server_connectivity'
/opt/chef/embedded/apps/chef/lib/chef/application.rb:213:in `run_chef_client'
/opt/chef/embedded/apps/chef/lib/chef/application/client.rb:402:in `block in interval_run_chef_client'
/opt/chef/embedded/apps/chef/lib/chef/application/client.rb:392:in `loop'
/opt/chef/embedded/apps/chef/lib/chef/application/client.rb:392:in `interval_run_chef_client'
/opt/chef/embedded/apps/chef/lib/chef/application/client.rb:382:in `run_application'
/opt/chef/embedded/apps/chef/lib/chef/application.rb:60:in `run'
/opt/chef/embedded/apps/chef/bin/chef-client:26:in `<top (required)>'
/usr/bin/chef-client:51:in `load'
/usr/bin/chef-client:51:in `<main>'
Running handlers:
[2015-05-16T19:56:02+00:00] ERROR: Running exception handlers
Running handlers complete
[2015-05-16T19:56:02+00:00] ERROR: Exception handlers complete
[2015-05-16T19:56:02+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2015-05-16T19:56:02+00:00] DEBUG: OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
/opt/chef/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect'
/opt/chef/embedded/lib/ruby/2.1.0/net/http.rb:920:in `block in connect'
/opt/chef/embedded/lib/ruby/2.1.0/timeout.rb:91:in `block in timeout'
/opt/chef/embedded/lib/ruby/2.1.0/timeout.rb:101:in `call'
/opt/chef/embedded/lib/ruby/2.1.0/timeout.rb:101:in `timeout'
/opt/chef/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect'
/opt/chef/embedded/lib/ruby/2.1.0/net/http.rb:863:in `do_start'
/opt/chef/embedded/lib/ruby/2.1.0/net/http.rb:852:in `start'
/opt/chef/embedded/lib/ruby/2.1.0/net/http.rb:1369:in `request'
/opt/chef/embedded/apps/chef/lib/chef/http/basic_client.rb:65:in `request'
/opt/chef/embedded/apps/chef/lib/chef/http.rb:266:in `block in send_http_request'
/opt/chef/embedded/apps/chef/lib/chef/http.rb:298:in `block in retrying_http_errors'
/opt/chef/embedded/apps/chef/lib/chef/http.rb:296:in `loop'
/opt/chef/embedded/apps/chef/lib/chef/http.rb:296:in `retrying_http_errors'
/opt/chef/embedded/apps/chef/lib/chef/http.rb:260:in `send_http_request'
/opt/chef/embedded/apps/chef/lib/chef/http.rb:143:in `request'
/opt/chef/embedded/apps/chef/lib/chef/http.rb:118:in `put'
/opt/chef/embedded/apps/chef/lib/chef/node.rb:515:in `save'
/var/chef/cache/cookbooks/citadel/libraries/safe_node.rb:31:in `call'
/var/chef/cache/cookbooks/citadel/libraries/safe_node.rb:31:in `block in <class:Node>'
/opt/chef/embedded/apps/chef/lib/chef/client.rb:277:in `save_updated_node'
/opt/chef/embedded/apps/chef/lib/chef/client.rb:356:in `converge_and_save'
/opt/chef/embedded/apps/chef/lib/chef/client.rb:457:in `run'
/opt/chef/embedded/apps/chef/lib/chef/application.rb:271:in `block in fork_chef_client'
/opt/chef/embedded/apps/chef/lib/chef/application.rb:259:in `fork'
/opt/chef/embedded/apps/chef/lib/chef/application.rb:259:in `fork_chef_client'
/opt/chef/embedded/apps/chef/lib/chef/application.rb:225:in `block in run_chef_client'
/opt/chef/embedded/apps/chef/lib/chef/local_mode.rb:39:in `with_server_connectivity'
/opt/chef/embedded/apps/chef/lib/chef/application.rb:213:in `run_chef_client'
/opt/chef/embedded/apps/chef/lib/chef/application/client.rb:402:in `block in interval_run_chef_client'
/opt/chef/embedded/apps/chef/lib/chef/application/client.rb:392:in `loop'
/opt/chef/embedded/apps/chef/lib/chef/application/client.rb:392:in `interval_run_chef_client'
/opt/chef/embedded/apps/chef/lib/chef/application/client.rb:382:in `run_application'
/opt/chef/embedded/apps/chef/lib/chef/application.rb:60:in `run'
/opt/chef/embedded/apps/chef/bin/chef-client:26:in `<top (required)>'
/usr/bin/chef-client:51:in `load'
/usr/bin/chef-client:51:in `<main>'
Chef Client failed. 106 resources updated in 230.023842773 seconds
[2015-05-16T19:56:02+00:00] INFO: Sending resource update report (run-id: bea6ea9a-03e8-4185-8e8b-5e9ddf9f07d2)
[2015-05-16T19:56:02+00:00] DEBUG: {"action"=>"end", "resources"=>[{"type"=>"bash", "name"=>"apt-get-update at compile time", "id"=>"apt-get-update at compile time", "after"=>{}, "before"=>{}, "duration"=>"13260", "delta"=>"", "result"=>"run", "cookbook_name"=>"apt", "cookbook_version"=>"2.6.1"}, {"type"=>"apt_package", "name"=>"autoconf", "id"=>"autoconf", "after"=>{:version=>"2.69-6", :options=>nil}, "before"=>{:version=>nil, :options=>nil}, "duration"=>"4457", "delta"=>"", "result"=>"install", "cookbook_name"=>"build-essential", "cookbook_version"=>"2.2.3"}, {"type"=>"apt_package", "name"=>"binutils-doc", "id"=>"binutils-doc", "after"=>{:version=>"2.24-5ubuntu3.1", :options=>nil}, "before"=>{:version=>nil, :options=>nil}, "duration"=>"1254", "delta"=>"", "result"=>"install", "cookbook_name"=>"build-essential", "cookbook_version"=>"2.2.3"}, {"type"=>"apt_package", "name"=>"bison", "id"=>"bison", "after"=>{:version=>"2:3.0.2.dfsg-2", :options=>nil}, "before"=>{:version=>nil, :options=>nil}, "duration"=>"1564", "delta"=>"", "result"=>"install", "cookbook_name"=>"build-essential", "cookbook_version"=>"2.2.3"}, {"type"=>"apt_package", "name"=>"build-essential", "id"=>"build-essential", "after"=>{:version=>"11.6ubuntu6", :options=>nil}, "before"=>{:version=>nil, :options=>nil}, "duration"=>"17142", "delta"=>"", "result"=>"install", "cookbook_name"=>"build-essential", "cookbook_version"=>"2.2.3"}, {"type"=>"apt_package", "name"=>"flex", "id"=>"flex", "after"=>{:version=>"2.5.35-10.1ubuntu2", :options=>nil}, "before"=>{:version=>nil, :options=>nil}, "duration"=>"1826", "delta"=>"", "result"=>"install", "cookbook_name"=>"build-essential", "cookbook_version"=>"2.2.3"}, {"type"=>"apt_package", "name"=>"gettext", "id"=>"gettext", "after"=>{:version=>"0.18.3.1-1ubuntu3", :options=>nil}, "before"=>{:version=>nil, :options=>nil}, "duration"=>"2768", "delta"=>"", "result"=>"install", "cookbook_name"=>"build-essential", "cookbook_version"=>"2.2.3"}, {"type"=>"apt_package", "name"=>"ncurses-dev", "id"=>"ncurses-dev", "after"=>{:version=>"(none)", :options=>nil}, "before"=>{:version=>nil, :options=>nil}, "duration"=>"1510", "delta"=>"", "result"=>"install", "cookbook_name"=>"build-essential", "cookbook_version"=>"2.2.3"}, {"type"=>"chef_gem", "name"=>"nokogiri", "id"=>"nokogiri", "after"=>{:version=>"1.6.3.1", :options=>nil}, "before"=>{:version=>nil, :options=>nil}, "duration"=>"53352", "delta"=>"", "result"=>"install", "cookbook_name"=>"mist_base", "cookbook_version"=>"0.1.18"}, {"type"=>"file", "name"=>"/etc/chef/ohai/hints/iam.json", "id"=>"/etc/chef/ohai/hints/iam.json", "after"=>{:checksum=>"44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", :owner=>"root", :group=>"root", :mode=>"0644"}, "before"=>{:checksum=>nil, :owner=>nil, :group=>nil, :mode=>nil}, "duration"=>"3", "delta"=>"", "result"=>"create", "cookbook_name"=>"mist_base", "cookbook_version"=>"0.1.18"}, {"type"=>"ohai", "name"=>"reload", "id"=>"reload", "after"=>{:plugin=>nil}, "before"=>{}, "duration"=>"871", "delta"=>"", "result"=>"reload", "cookbook_name"=>"mist_base", "cookbook_version"=>"0.1.18"}, {"type"=>"chef_gem", "name"=>"chef-sugar", "id"=>"chef-sugar", "after"=>{:version=>"2.5.0", :options=>nil}, "before"=>{:version=>nil, :options=>nil}, "duration"=>"1039", "delta"=>"", "result"=>"install", "cookbook_name"=>"chef-sugar", "cookbook_version"=>"2.5.0"}, {"type"=>"execute", "name"=>"apt-get update", "id"=>"apt-get update", "after"=>{}, "before"=>{}, "duration"=>"3937", "delta"=>"", "result"=>"run", "cookbook_name"=>"xml", "cookbook_version"=>"1.2.9"}, {"type"=>"apt_package", "name"=>"libxml2-dev", "id"=>"libxml2-dev", "after"=>{:version=>"2.9.1+dfsg1-3ubuntu4.4", :options=>nil}, "before"=>{:version=>nil, :options=>nil}, "duration"=>"1795", "delta"=>"", "result"=>"install", "cookbook_name"=>"xml", "cookbook_version"=>"1.2.9"}, {"type"=>"apt_package", "name"=>"libxslt-dev", "id"=>"libxslt-dev", "after"=>{:version=>"(none)", :options=>nil}, "before"=>{:version=>nil, :options=>nil}, "duration"=>"2138", "delta"=>"", "result"=>"install", "cookbook_name"=>"xml", "cookbook_version"=>"1.2.9"}, {"type"=>"chef_gem", "name"=>"nokogiri", "id"=>"nokogiri", "after"=>{:version=>"1.6.2.1", :options=>nil}, "before"=>{:version=>"1.6.3.1", :options=>nil}, "duration"=>"50936", "delta"=>"", "result"=>"install", "cookbook_name"=>"xml", "cookbook_version"=>"1.2.9"}, {"type"=>"chef_gem", "name"=>"fog", "id"=>"fog", "after"=>{:version=>"1.27", :options=>nil}, "before"=>{:version=>nil, :options=>nil}, "duration"=>"6048", "delta"=>"", "result"=>"install", "cookbook_name"=>"route53", "cookbook_version"=>"0.4.0"}, {"type"=>"chef_gem", "name"=>"aws-sdk", "id"=>"aws-sdk", "after"=>{:version=>"~> 2.0.22", :options=>nil}, "before"=>{:version=>nil, :options=>nil}, "duration"=>"2851", "delta"=>"", "result"=>"install", "cookbook_name"=>"aws", "cookbook_version"=>"2.6.0"}, {"type"=>"aws_ebs_volume", "name"=>"/dev/sdf", "id"=>"/dev/sdf", "after"=>{:availability_zone=>"us-west-1b", :aws_access_key=>nil, :description=>nil, :device=>"/dev/sdf", :most_recent_snapshot=>false, :piops=>0, :size=>200, :snapshot_id=>nil, :snapshots_to_keep=>2, :timeout=>180, :volume_id=>nil, :volume_type=>"standard"}, "before"=>{}, "duration"=>"7553", "delta"=>"", "result"=>"create", "cookbook_name"=>"ebs", "cookbook_version"=>"0.3.6"}, {"type"=>"aws_ebs_volume", "name"=>"/dev/sdf", "id"=>"/dev/sdf", "after"=>{:availability_zone=>"us-west-1b", :aws_access_key=>nil, :description=>nil, :device=>"/dev/sdf", :most_recent_snapshot=>false, :piops=>0, :size=>200, :snapshot_id=>nil, :snapshots_to_keep=>2, :timeout=>180, :volume_id=>nil, :volume_type=>"standard"}, "before"=>{}, "duration"=>"7780", "delta"=>"", "result"=>"attach", "cookbook_name"=>"ebs", "cookbook_version"=>"0.3.6"}, {"type"=>"directory", "name"=>"/var/cache/local", "id"=>"/var/cache/local", "after"=>{:group=>"root", :mode=>"0755", :owner=>"root"}, "before"=>{:group=>nil, :mode=>nil, :owner=>nil}, "duration"=>"3", "delta"=>"", "result"=>"create", "cookbook_name"=>"apt", "cookbook_version"=>"2.6.1"}, {"type"=>"directory", "name"=>"/var/cache/local/preseeding", "id"=>"/var/cache/local/preseeding", "after"=>{:group=>"root", :mode=>"0755", :owner=>"root"}, "before"=>{:group=>nil, :mode=>nil, :owner=>nil}, "duration"=>"2", "delta"=>"", "result"=>"create", "cookbook_name"=>"apt", "cookbook_version"=>"2.6.1"}, {"type"=>"apt_package", "name"=>"emacs24-nox", "id"=>"emacs24-nox", "after"=>{:version=>"24.3+1-2ubuntu1", :options=>nil}, "before"=>{:version=>nil, :options=>nil}, "duration"=>"6350", "delta"=>"", "result"=>"install", "cookbook_name"=>"mist_base", "cookbook_version"=>"0.1.18"}, {"type"=>"apt_package", "name"=>"libz-dev", "id"=>"libz-dev", "after"=>{:version=>"(none)", :options=>nil}, "before"=>{:version=>nil, :options=>nil}, "duration"=>"1627", "delta"=>"", "result"=>"install", "cookbook_name"=>"mist_base", "cookbook_version"=>"0.1.18"}, {"type"=>"apt_package", "name"=>"unzip", "id"=>"unzip", "after"=>{:version=>"6.0-9ubuntu1.3", :options=>nil}, "before"=>{:version=>nil, :options=>nil}, "duration"=>"1231", "delta"=>"", "result"=>"install", "cookbook_name"=>"mist_base", "cookbook_version"=>"0.1.18"}, {"type"=>"directory", "name"=>"/var/chef/cache/omnibus_updater", "id"=>"/var/chef/cache/omnibus_updater", "after"=>{:group=>"root", :mode=>"0755", :owner=>"root"}, "before"=>{:group=>nil, :mode=>nil, :owner=>nil}, "duration"=>"1", "delta"=>"", "result"=>"create", "cookbook_name"=>"omnibus_updater", "cookbook_version"=>"1.0.4"}, {"type"=>"system_timezone", "name"=>"Etc/UTC", "id"=>"Etc/UTC", "after"=>{}, "before"=>{}, "duration"=>"13", "delta"=>"", "result"=>"set", "cookbook_name"=>"system", "cookbook_version"=>"0.6.2"}, {"type"=>"log", "name"=>"tz-info (before set): +0000 UTC", "id"=>"tz-info (before set): +0000 UTC", "after"=>{}, "before"=>{}, "duration"=>"0", "delta"=>"", "result"=>"write", "cookbook_name"=>"system", "cookbook_version"=>"0.6.2"}, {"type"=>"link", "name"=>"/etc/localtime", "id"=>"/etc/localtime", "after"=>{:to=>"/usr/share/zoneinfo/Etc/UTC", :owner=>nil, :group=>nil}, "before"=>{:to=>"", :owner=>"root", :group=>"root"}, "duration"=>"95", "delta"=>"", "result"=>"create", "cookbook_name"=>"system", "cookbook_version"=>"0.6.2"}, {"type"=>"service", "name"=>"cron", "id"=>"cron", "after"=>{:enabled=>true, :running=>true}, "before"=>{:enabled=>true, :running=>true}, "duration"=>"35", "delta"=>"", "result"=>"restart", "cookbook_name"=>"system", "cookbook_version"=>"0.6.2"}, {"type"=>"system_hostname", "name"=>"terminator-000-production", "id"=>"terminator-000-production", "after"=>{}, "before"=>{}, "duration"=>"46", "delta"=>"", "result"=>"set", "cookbook_name"=>"system", "cookbook_version"=>"0.6.2"}, {"type"=>"hostsfile_entry", "name"=>"127.0.0.1", "id"=>"127.0.0.1", "after"=>{}, "before"=>{}, "duration"=>"104", "delta"=>"", "result"=>"create", "cookbook_name"=>"system", "cookbook_version"=>"0.6.2"}, {"type"=>"hostsfile_entry", "name"=>"172.31.22.26", "id"=>"172.31.22.26", "after"=>{}, "before"=>{}, "duration"=>"88", "delta"=>"", "result"=>"create", "cookbook_name"=>"system", "cookbook_version"=>"0.6.2"}, {"type"=>"hostsfile_entry", "name"=>"::1", "id"=>"::1", "after"=>{}, "before"=>{}, "duration"=>"24", "delta"=>"", "result"=>"create", "cookbook_name"=>"system", "cookbook_version"=>"0.6.2"}, {"type"=>"execute", "name"=>"run hostnamectl", "id"=>"hostnamectl set-hostname terminator-000-production.mistsys.net", "after"=>{}, "before"=>{}, "duration"=>"330", "delta"=>"", "result"=>"run", "cookbook_name"=>"system", "cookbook_version"=>"0.6.2"}, {"type"=>"file", "name"=>"/etc/hostname", "id"=>"/etc/hostname", "after"=>{:checksum=>nil, :owner=>"root", :group=>"root", :mode=>"0755"}, "before"=>{:checksum=>"b360e03f3bfb34a0e71ba018b036f466b8319293fa3ff89f1a130b25dd47e007", :owner=>"root", :group=>"root", :mode=>"0644"}, "duration"=>"3", "delta"=>"", "result"=>"create", "cookbook_name"=>"system", "cookbook_version"=>"0.6.2"}, {"type"=>"service", "name"=>"hostname", "id"=>"hostname", "after"=>{:enabled=>true, :running=>true}, "before"=>{:enabled=>true, :running=>false}, "duration"=>"34", "delta"=>"", "result"=>"restart", "cookbook_name"=>"system", "cookbook_version"=>"0.6.2"}, {"type"=>"execute", "name"=>"run domainname", "id"=>"domainname mistsys.net", "after"=>{}, "before"=>{}, "duration"=>"29", "delta"=>"", "result"=>"run", "cookbook_name"=>"system", "cookbook_version"=>"0.6.2"}, {"type"=>"users_manage", "name"=>"sysadmin", "id"=>"sysadmin", "after"=>{:cookbook=>"users", :data_bag=>"users", :group_id=>2300, :group_name=>"sysadmin", :search_group=>"sysadmin"}, "before"=>{}, "duration"=>"1865", "delta"=>"", "result"=>"create", "cookbook_name"=>"users", "cookbook_version"=>"1.8.2"}, {"type"=>"directory", "name"=>"/etc/sudoers.d", "id"=>"/etc/sudoers.d", "after"=>{:group=>"root", :mode=>"0755", :owner=>"root"}, "before"=>{:group=>"root", :mode=>"0750", :owner=>"root"}, "duration"=>"2", "delta"=>"", "result"=>"create", "cookbook_name"=>"sudo", "cookbook_version"=>"2.7.1"}, {"type"=>"cookbook_file", "name"=>"/etc/sudoers.d/README", "id"=>"/etc/sudoers.d/README", "after"=>{:checksum=>"9ded172910845bd115fbe469d87cab80a215e756a973e5d09c0e58a19a1bfe81", :owner=>"root", :group=>"root", :mode=>"0440"}, "before"=>{:checksum=>"9d32ba75416d59e547e6e877c231a42389f2895d85aaa226dedb6998b67e2e8b", :owner=>"root", :group=>"root", :mode=>"0440"}, "duration"=>"5", "delta"=>"--- /etc/sudoers.d/README\t2014-02-10 19:16:26.000000000 +0000\\n+++ /etc/sudoers.d/.README20150516-1509-1i0vgcc\t2015-05-16 19:55:47.052744787 +0000\\n@@ -1,22 +1,18 @@\\n #\\n # As of Debian version 1.7.2p1-1, the default /etc/sudoers file created on\\n # installation of the package now includes the directive:\\n-# \\n-# \t#includedir /etc/sudoers.d\\n-# \\n-# This will cause sudo to read and parse any files in the /etc/sudoers.d \\n+#\\n+# #includedir /etc/sudoers.d\\n+#\\n+# This will cause sudo to read and parse any files in the /etc/sudoers.d\\n # directory that do not end in '~' or contain a '.' character.\\n-# \\n+#\\n # Note that there must be at least one file in the sudoers.d directory (this\\n # one will do), and all files in this directory should be mode 0440.\\n-# \\n-# Note also, that because sudoers contents can vary widely, no attempt is \\n+#\\n+# Note also, that because sudoers contents can vary widely, no attempt is\\n # made to add this directive to existing sudoers files on upgrade. Feel free\\n-# to add the above directive to the end of your /etc/sudoers file to enable \\n+# to add the above directive to the end of your /etc/sudoers file to enable\\n # this functionality for existing installations if you wish!\\n-#\\n-# Finally, please note that using the visudo command is the recommended way\\n-# to update sudoers content, since it protects against many failure modes.\\n-# See the man page for visudo for more information.\\n #", "result"=>"create", "cookbook_name"=>"sudo", "cookbook_version"=>"2.7.1"}, {"type"=>"template", "name"=>"/etc/sudoers", "id"=>"/etc/sudoers", "after"=>{:checksum=>"c8f0575926dd7e48a0c98ec78c7fece8191d841c53d9369925628acbfc4d542b", :owner=>"root", :group=>"root", :mode=>"0440"}, "before"=>{:checksum=>"abf9866e801f2e619a34a5e71becb65b9a3b5eae7e7aafe5065b48aa6d4323ab", :owner=>"root", :group=>"root", :mode=>"0440"}, "duration"=>"6", "delta"=>"--- /etc/sudoers\t2014-02-10 19:16:26.000000000 +0000\\n+++ /tmp/chef-rendered-template20150516-1509-1i517nt\t2015-05-16 19:55:47.060744787 +0000\\n@@ -1,31 +1,19 @@\\n-#\\n-# This file MUST be edited with the 'visudo' command as root.\\n-#\\n-# Please consider adding local content in /etc/sudoers.d/ instead of\\n-# directly modifying this file.\\n-#\\n-# See the man page for details on how to write a sudoers file.\\n-#\\n-Defaults\tenv_reset\\n-Defaults\tmail_badpass\\n-Defaults\tsecure_path=\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\\n+# This file is managed by Chef.\\n+# Do NOT modify this file directly.\\n \\n-# Host alias specification\\n+Defaults env_reset\\n+Defaults secure_path=\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\\n \\n-# User alias specification\\n-\\n-# Cmnd alias specification\\n-\\n # User privilege specification\\n-root\tALL=(ALL:ALL) ALL\\n+root ALL=(ALL) ALL\\n \\n-# Members of the admin group may gain root privileges\\n-%admin ALL=(ALL) ALL\\n \\n-# Allow members of group sudo to execute any command\\n-%sudo\tALL=(ALL:ALL) ALL\\n+ubuntu ALL=(ALL) NOPASSWD:ALL\\n+vagrant ALL=(ALL) NOPASSWD:ALL\\n+rberger ALL=(ALL) NOPASSWD:ALL\\n \\n-# See sudoers(5) for more information on \"#include\" directives:\\n+# Members of the group 'sysadmin' may gain root privileges\\n+%sysadmin ALL=(ALL) NOPASSWD:ALL\\n \\n #includedir /etc/sudoers.d", "result"=>"create", "cookbook_name"=>"sudo", "cookbook_version"=>"2.7.1"}, {"type"=>"apt_package", "name"=>"ntp", "id"=>"ntp", "after"=>{:version=>"1:4.2.6.p5+dfsg-3ubuntu2.14.04.3", :options=>nil}, "before"=>{:version=>nil, :options=>nil}, "duration"=>"1930", "delta"=>"", "result"=>"install", "cookbook_name"=>"ntp", "cookbook_version"=>"1.8.6"}, {"type"=>"cookbook_file", "name"=>"/etc/ntp.leapseconds", "id"=>"/etc/ntp.leapseconds", "after"=>{:checksum=>"b16bbf8ebf48d00fea921e3eeb17188305caa4b7e7c1219a91f6ceae65d53f71", :owner=>"root", :group=>"root", :mode=>"0644"}, "before"=>{:checksum=>nil, :owner=>nil, :group=>nil, :mode=>nil}, "duration"=>"17", "delta"=>"", "result"=>"create", "cookbook_name"=>"ntp", "cookbook_version"=>"1.8.6"}, {"type"=>"cookbook_file", "name"=>"/etc/apparmor.d/usr.sbin.ntpd", "id"=>"/etc/apparmor.d/usr.sbin.ntpd", "after"=>{:checksum=>"2bd6d7e391155142597e3e47ef1cfedf99e36da7b695e042cbfaac4b18ad03a6", :owner=>"root", :group=>"root", :mode=>"0644"}, "before"=>{:checksum=>"d987d780aeb9b86eaa724a443f4e0fb6effb0d96b345185e434606ab39787482", :owner=>"root", :group=>"root", :mode=>"0644"}, "duration"=>"5", "delta"=>"--- /etc/apparmor.d/usr.sbin.ntpd\t2015-04-13 13:40:00.000000000 +0000\\n+++ /etc/apparmor.d/.usr.sbin.ntpd20150516-1509-b7onrj\t2015-05-16 19:55:49.044744787 +0000\\n@@ -1,4 +1,7 @@\\n # vim:syntax=apparmor\\n+#\\n+# Maintained by Chef\\n+#\\n # Updated for Ubuntu by: Jamie Strandboge <jamie@canonical.com>\\n # ------------------------------------------------------------------\\n #\\n@@ -46,6 +49,8 @@\\n /etc/ntpd.conf.tmp r,\\n /var/lib/ntp/ntp.conf.dhcp r,\\n \\n+ /etc/ntp.leapseconds r,\\n+\\n /etc/ntp.keys r,\\n /etc/ntp/** r,\\n \\n@@ -61,7 +66,6 @@\\n /var/log/ntpstats/clockstats* rwl,\\n /var/log/ntpstats/loopstats* rwl,\\n /var/log/ntpstats/peerstats* rwl,\\n- /var/log/ntpstats/protostats* rwl,\\n /var/log/ntpstats/rawstats* rwl,\\n /var/log/ntpstats/sysstats* rwl,\\n ", "result"=>"create", "cookbook_name"=>"ntp", "cookbook_version"=>"1.8.6"}, {"type"=>"template", "name"=>"/etc/ntp.conf", "id"=>"/etc/ntp.conf", "after"=>{:checksum=>"78c759a6167b04f7f6bf3df6062fa2258dc3734bc385f23b30f35fdea16d6063", :owner=>"root", :group=>"root", :mode=>"0644"}, "before"=>{:checksum=>"4eb9a0924ea86700964699ccd0ef41269ffc92012914f4b810775aab78eff4bc", :owner=>"root", :group=>"root", :mode=>"0644"}, "duration"=>"30", "delta"=>"--- /etc/ntp.conf\t2015-04-13 13:40:00.000000000 +0000\\n+++ /tmp/chef-rendered-template20150516-1509-1g4wcrc\t2015-05-16 19:55:49.072744787 +0000\\n@@ -1,56 +1,29 @@\\n-# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help\\n-\\n+# Generated by Chef for terminator-000-production.mistsys.net\\n+# Local modifications will be overwritten.\\n+tinker panic 0 allan 1500 dispersion 15 step 0.128 stepout 900\\n+statsdir /var/log/ntpstats/\\n+leapfile /etc/ntp.leapseconds\\n driftfile /var/lib/ntp/ntp.drift\\n \\n-\\n-# Enable this if you want statistics to be logged.\\n-#statsdir /var/log/ntpstats/\\n-\\n statistics loopstats peerstats clockstats\\n filegen loopstats file loopstats type day enable\\n filegen peerstats file peerstats type day enable\\n filegen clockstats file clockstats type day enable\\n \\n-# Specify one or more NTP servers.\\n \\n-# Use servers from the NTP Pool Project. Approved by Ubuntu Technical Board\\n-# on 2011-02-08 (LP: #104525). See http://www.pool.ntp.org/join.html for\\n-# more information.\\n-server 0.ubuntu.pool.ntp.org\\n-server 1.ubuntu.pool.ntp.org\\n-server 2.ubuntu.pool.ntp.org\\n-server 3.ubuntu.pool.ntp.org\\n \\n-# Use Ubuntu's ntp server as a fallback.\\n-server ntp.ubuntu.com\\n+disable monitor\\n \\n-# Access control configuration; see /usr/share/doc/ntp-doc/html/accopt.html for\\n-# details. The web page <http://support.ntp.org/bin/view/Support/AccessRestrictions>\\n-# might also be helpful.\\n-#\\n-# Note that \"restrict\" applies to both servers and clients, so a configuration\\n-# that might be intended to block requests from certain clients could also end\\n-# up blocking replies from your own upstream servers.\\n \\n-# By default, exchange time with everybody, but don't allow configuration.\\n-restrict -4 default kod notrap nomodify nopeer noquery\\n+server 0.pool.ntp.org iburst minpoll 6 maxpoll 10\\n+restrict 0.pool.ntp.org nomodify notrap noquery\\n+server 1.pool.ntp.org iburst minpoll 6 maxpoll 10\\n+restrict 1.pool.ntp.org nomodify notrap noquery\\n+\\n+restrict default kod notrap nomodify nopeer noquery\\n+restrict 127.0.0.1 nomodify\\n restrict -6 default kod notrap nomodify nopeer noquery\\n+restrict -6 ::1 nomodify\\n \\n-# Local users may interrogate the ntp server more closely.\\n-restrict 127.0.0.1\\n-restrict ::1\\n \\n-# Clients from this (example!) subnet have unlimited access, but only if\\n-# cryptographically authenticated.\\n-#restrict 192.168.123.0 mask 255.255.255.0 notrust\\n-\\n-\\n-# If you want to provide time to your local subnet, change the next line.\\n-# (Again, the address is an example only.)\\n-#broadcast 192.168.123.255\\n-\\n-# If you want to listen to time broadcasts on your local subnet, de-comment the\\n-# next lines. Please do this only if you trust everybody on the network!\\n-#disable auth\\n-#broadcastclient", "result"=>"create", "cookbook_name"=>"ntp", "cookbook_version"=>"1.8.6"}, {"type"=>"apt_package", "name"=>"xfsdump", "id"=>"xfsdump", "after"=>{:version=>"3.1.1ubuntu2", :options=>nil}, "before"=>{:version=>nil, :options=>nil}, "duration"=>"1470", "delta"=>"", "result"=>"install", "cookbook_name"=>"ebs", "cookbook_version"=>"0.3.6"}, {"type"=>"apt_package", "name"=>"xfslibs-dev", "id"=>"xfslibs-dev", "after"=>{:version=>"3.1.9ubuntu2", :options=>nil}, "before"=>{:version=>nil, :options=>nil}, "duration"=>"1501", "delta"=>"", "result"=>"install", "cookbook_name"=>"ebs", "cookbook_version"=>"0.3.6"}, {"type"=>"execute", "name"=>"mkfs", "id"=>"mkfs -t xfs /dev/xvdf", "after"=>{}, "before"=>{}, "duration"=>"3105", "delta"=>"", "result"=>"run", "cookbook_name"=>"ebs", "cookbook_version"=>"0.3.6"}, {"type"=>"mount", "name"=>"/opt", "id"=>"/dev/xvdf", "after"=>{:mount_point=>"/opt", :device_type=>:device, :fstype=>"xfs", :username=>nil, :password=>nil, :domain=>nil}, "before"=>{:mount_point=>"/opt", :device_type=>:device, :fstype=>"auto", :username=>nil, :password=>nil, :domain=>nil}, "duration"=>"177", "delta"=>"", "result"=>"mount", "cookbook_name"=>"ebs", "cookbook_version"=>"0.3.6"}, {"type"=>"mount", "name"=>"/opt", "id"=>"/dev/xvdf", "after"=>{:mount_point=>"/opt", :device_type=>:device, :fstype=>"xfs", :username=>nil, :password=>nil, :domain=>nil}, "before"=>{:mount_point=>"/opt", :device_type=>:device, :fstype=>"auto", :username=>nil, :password=>nil, :domain=>nil}, "duration"=>"12", "delta"=>"", "result"=>"enable", "cookbook_name"=>"ebs", "cookbook_version"=>"0.3.6"}, {"type"=>"ruby_block", "name"=>"verify linked timezone", "id"=>"verify linked timezone", "after"=>{}, "before"=>{}, "duration"=>"0", "delta"=>"", "result"=>"create", "cookbook_name"=>"system", "cookbook_version"=>"0.6.2"}, {"type"=>"ruby_block", "name"=>"show hostnamectl", "id"=>"show hostnamectl", "after"=>{}, "before"=>{}, "duration"=>"38", "delta"=>"", "result"=>"create", "cookbook_name"=>"system", "cookbook_version"=>"0.6.2"}, {"type"=>"ruby_block", "name"=>"show host info", "id"=>"show host info", "after"=>{}, "before"=>{}, "duration"=>"105", "delta"=>"", "result"=>"create", "cookbook_name"=>"system", "cookbook_version"=>"0.6.2"}, {"type"=>"service", "name"=>"ntp", "id"=>"ntp", "after"=>{:enabled=>true, :running=>true}, "before"=>{:enabled=>true, :running=>true}, "duration"=>"2051", "delta"=>"", "result"=>"restart", "cookbook_name"=>"ntp", "cookbook_version"=>"1.8.6"}, {"type"=>"service", "name"=>"apparmor", "id"=>"apparmor", "after"=>{:enabled=>true, :running=>true}, "before"=>{:enabled=>true, :running=>false}, "duration"=>"1296", "delta"=>"", "result"=>"restart", "cookbook_name"=>"ntp", "cookbook_version"=>"1.8.6"}], "status"=>"failure", "run_list"=>"[\"recipe[mist_base]\",\"recipe[ebs]\"]", "total_res_count"=>"173", "data"=>{"exception"=>{"class"=>"#<OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed>", "message"=>"SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed", "backtrace"=>"[\"/opt/chef/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect'\",\"/opt/chef/embedded/lib/ruby/2.1.0/net/http.rb:920:in `block in connect'\",\"/opt/chef/embedded/lib/ruby/2.1.0/timeout.rb:91:in `block in timeout'\",\"/opt/chef/embedded/lib/ruby/2.1.0/timeout.rb:101:in `call'\",\"/opt/chef/embedded/lib/ruby/2.1.0/timeout.rb:101:in `timeout'\",\"/opt/chef/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect'\",\"/opt/chef/embedded/lib/ruby/2.1.0/net/http.rb:863:in `do_start'\",\"/opt/chef/embedded/lib/ruby/2.1.0/net/http.rb:852:in `start'\",\"/opt/chef/embedded/lib/ruby/2.1.0/net/http.rb:1369:in `request'\",\"/opt/chef/embedded/apps/chef/lib/chef/http/basic_client.rb:65:in `request'\",\"/opt/chef/embedded/apps/chef/lib/chef/http.rb:266:in `block in send_http_request'\",\"/opt/chef/embedded/apps/chef/lib/chef/http.rb:298:in `block in retrying_http_errors'\",\"/opt/chef/embedded/apps/chef/lib/chef/http.rb:296:in `loop'\",\"/opt/chef/embedded/apps/chef/lib/chef/http.rb:296:in `retrying_http_errors'\",\"/opt/chef/embedded/apps/chef/lib/chef/http.rb:260:in `send_http_request'\",\"/opt/chef/embedded/apps/chef/lib/chef/http.rb:143:in `request'\",\"/opt/chef/embedded/apps/chef/lib/chef/http.rb:118:in `put'\",\"/opt/chef/embedded/apps/chef/lib/chef/node.rb:515:in `save'\",\"/var/chef/cache/cookbooks/citadel/libraries/safe_node.rb:31:in `call'\",\"/var/chef/cache/cookbooks/citadel/libraries/safe_node.rb:31:in `block in <class:Node>'\",\"/opt/chef/embedded/apps/chef/lib/chef/client.rb:277:in `save_updated_node'\",\"/opt/chef/embedded/apps/chef/lib/chef/client.rb:356:in `converge_and_save'\",\"/opt/chef/embedded/apps/chef/lib/chef/client.rb:457:in `run'\",\"/opt/chef/embedded/apps/chef/lib/chef/application.rb:271:in `block in fork_chef_client'\",\"/opt/chef/embedded/apps/chef/lib/chef/application.rb:259:in `fork'\",\"/opt/chef/embedded/apps/chef/lib/chef/application.rb:259:in `fork_chef_client'\",\"/opt/chef/embedded/apps/chef/lib/chef/application.rb:225:in `block in run_chef_client'\",\"/opt/chef/embedded/apps/chef/lib/chef/local_mode.rb:39:in `with_server_connectivity'\",\"/opt/chef/embedded/apps/chef/lib/chef/application.rb:213:in `run_chef_client'\",\"/opt/chef/embedded/apps/chef/lib/chef/application/client.rb:402:in `block in interval_run_chef_client'\",\"/opt/chef/embedded/apps/chef/lib/chef/application/client.rb:392:in `loop'\",\"/opt/chef/embedded/apps/chef/lib/chef/application/client.rb:392:in `interval_run_chef_client'\",\"/opt/chef/embedded/apps/chef/lib/chef/application/client.rb:382:in `run_application'\",\"/opt/chef/embedded/apps/chef/lib/chef/application.rb:60:in `run'\",\"/opt/chef/embedded/apps/chef/bin/chef-client:26:in `<top (required)>'\",\"/usr/bin/chef-client:51:in `load'\",\"/usr/bin/chef-client:51:in `<main>'\"]", "description"=>{}}}, "start_time"=>"2015-05-16 19:52:13 +0000", "end_time"=>"2015-05-16 19:56:02 +0000"}
[2015-05-16T19:56:02+00:00] ERROR: cannot load such file -- enc/trans/single_byte
[2015-05-16T19:56:02+00: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