Last active
October 12, 2015 21:57
-
-
Save chasebolt/d250fba6e26015281b6e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@metal ~]# chef-client -l info | |
[2015-10-12T14:57:55-07:00] INFO: Forking chef instance to converge... | |
Starting Chef Client, version 12.4.1 | |
[2015-10-12T14:57:55-07:00] INFO: *** Chef 12.4.1 *** | |
[2015-10-12T14:57:55-07:00] INFO: Chef-client pid: 31757 | |
[2015-10-12T14:57:58-07:00] INFO: Run List is [role[server]] | |
[2015-10-12T14:57:58-07:00] INFO: Run List expands to [server] | |
[2015-10-12T14:57:58-07:00] INFO: Starting Chef Run for metal | |
[2015-10-12T14:57:58-07:00] INFO: Running start handlers | |
[2015-10-12T14:57:58-07:00] INFO: Start handlers complete. | |
resolving cookbooks for run list: ["server"] | |
[2015-10-12T14:57:59-07:00] INFO: Loading cookbooks [[email protected], [email protected], [email protected], [email protected], [email protected]] | |
Synchronizing Cookbooks: | |
- server | |
- firewalld | |
- docker-apps | |
- compat_resource | |
- docker | |
Compiling Cookbooks... | |
Converging 9 resources | |
Recipe: firewalld::enable | |
* yum_package[firewalld] action install[2015-10-12T14:58:00-07:00] INFO: Processing yum_package[firewalld] action install (firewalld::enable line 6) | |
(up to date) | |
* service[firewalld] action enable[2015-10-12T14:58:02-07:00] INFO: Processing service[firewalld] action enable (firewalld::enable line 8) | |
(up to date) | |
* service[firewalld] action start[2015-10-12T14:58:02-07:00] INFO: Processing service[firewalld] action start (firewalld::enable line 8) | |
(up to date) | |
* service[iptables] action disable[2015-10-12T14:58:03-07:00] INFO: Processing service[iptables] action disable (firewalld::enable line 12) | |
(up to date) | |
* service[iptables] action stop[2015-10-12T14:58:03-07:00] INFO: Processing service[iptables] action stop (firewalld::enable line 12) | |
(up to date) | |
* service[ip6tables] action disable[2015-10-12T14:58:03-07:00] INFO: Processing service[ip6tables] action disable (firewalld::enable line 17) | |
(up to date) | |
* service[ip6tables] action stop[2015-10-12T14:58:04-07:00] INFO: Processing service[ip6tables] action stop (firewalld::enable line 17) | |
(up to date) | |
Recipe: server::storage | |
* directory[/data/ssd] action create[2015-10-12T14:58:04-07:00] INFO: Processing directory[/data/ssd] action create (server::storage line 1) | |
(up to date) | |
* directory[/data/storage] action create[2015-10-12T14:58:04-07:00] INFO: Processing directory[/data/storage] action create (server::storage line 3) | |
(up to date) | |
* mount[/data/storage] action mount[2015-10-12T14:58:04-07:00] INFO: Processing mount[/data/storage] action mount (server::storage line 4) | |
(up to date) | |
* mount[/data/storage] action enable[2015-10-12T14:58:04-07:00] INFO: Processing mount[/data/storage] action enable (server::storage line 4) | |
(up to date) | |
Recipe: docker-apps::default | |
* docker_service_systemd[default] action create[2015-10-12T14:58:04-07:00] INFO: Processing docker_service_systemd[default] action create (docker-apps::default line 6) | |
* remote_file[/usr/bin/docker] action create[2015-10-12T14:58:04-07:00] INFO: Processing remote_file[/usr/bin/docker] action create (/var/chef/cache/cookbooks/docker/libraries/docker_service.rb line 84) | |
(up to date) | |
(up to date) | |
* docker_service_systemd[default] action start[2015-10-12T14:58:04-07:00] INFO: Processing docker_service_systemd[default] action start (docker-apps::default line 6) | |
* template[/lib/systemd/system/docker.service] action create[2015-10-12T14:58:04-07:00] INFO: Processing template[/lib/systemd/system/docker.service] action create (/var/chef/cache/cookbooks/docker/libraries/docker_service_systemd.rb line 24) | |
(up to date) | |
* execute[systemctl daemon-reload] action nothing[2015-10-12T14:58:04-07:00] INFO: Processing execute[systemctl daemon-reload] action nothing (/var/chef/cache/cookbooks/docker/libraries/docker_service_systemd.rb line 42) | |
(skipped due to action :nothing) | |
* template[/usr/lib/tmpfiles.d/docker.conf] action create[2015-10-12T14:58:04-07:00] INFO: Processing template[/usr/lib/tmpfiles.d/docker.conf] action create (/var/chef/cache/cookbooks/docker/libraries/docker_service_systemd.rb line 49) | |
(up to date) | |
* service[docker] action enable[2015-10-12T14:58:04-07:00] INFO: Processing service[docker] action enable (/var/chef/cache/cookbooks/docker/libraries/docker_service_systemd.rb line 61) | |
(up to date) | |
* service[docker] action start[2015-10-12T14:58:05-07:00] INFO: Processing service[docker] action start (/var/chef/cache/cookbooks/docker/libraries/docker_service_systemd.rb line 61) | |
(up to date) | |
* bash[docker-wait-ready] action run[2015-10-12T14:58:05-07:00] INFO: Processing bash[docker-wait-ready] action run (/var/chef/cache/cookbooks/docker/libraries/docker_service_systemd.rb line 90) | |
(skipped due to not_if) | |
(up to date) | |
Recipe: docker-apps::test | |
* docker_image[alpine] action pull_if_missing[2015-10-12T14:58:05-07:00] INFO: Processing docker_image[alpine] action pull_if_missing (docker-apps::test line 38) | |
================================================================================ | |
Error executing action `pull_if_missing` on resource 'docker_image[alpine]' | |
================================================================================ | |
LocalJumpError | |
-------------- | |
unexpected return | |
Cookbook Trace: | |
--------------- | |
/var/chef/cache/cookbooks/docker/libraries/docker_image.rb:63:in `block in <class:DockerImage>' | |
Resource Declaration: | |
--------------------- | |
# In /var/chef/cache/cookbooks/docker-apps/recipes/test.rb | |
38: docker_image 'alpine' do | |
39: tag 'latest' | |
40: action :pull_if_missing | |
41: end | |
42: # | |
Compiled Resource: | |
------------------ | |
# Declared in /var/chef/cache/cookbooks/docker-apps/recipes/test.rb:38:in `from_file' | |
docker_image("alpine") do | |
action [:pull_if_missing] | |
retries 0 | |
retry_delay 2 | |
default_guard_interpreter :default | |
declared_type :docker_image | |
cookbook_name "docker-apps" | |
recipe_name "test" | |
tag "latest" | |
repo "alpine" | |
connection #<Docker::Connection:0x000000056cbc90 @url="unix:///", @options={:socket=>"/var/run/docker.sock"}> | |
end | |
[2015-10-12T14:58:05-07:00] INFO: Running queued delayed notifications before re-raising exception | |
Running handlers: | |
[2015-10-12T14:58:05-07:00] ERROR: Running exception handlers | |
Running handlers complete | |
[2015-10-12T14:58:05-07:00] ERROR: Exception handlers complete | |
Chef Client failed. 0 resources updated in 9.583469772 seconds | |
[2015-10-12T14:58:05-07:00] INFO: Sending resource update report (run-id: 702dde19-cb84-423b-9d65-2a658f042b70) | |
[2015-10-12T14:58:05-07:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out | |
[2015-10-12T14:58:05-07:00] ERROR: docker_image[alpine] (docker-apps::test line 38) had an error: LocalJumpError: unexpected return | |
[2015-10-12T14:58:06-07:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) | |
[root@metal ~]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment