Created
June 15, 2011 22:42
-
-
Save chewbranca/1028304 to your computer and use it in GitHub Desktop.
Chef file_cache_path error
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
remote_file "#{Chef::Config[:file_cache_path]}/redis.tar.gz" do | |
source "http://redis.googlecode.com/files/redis-2.2.10.tar.gz" | |
action :create_if_missing | |
end | |
** [out :: 192.168.1.102] [Wed, 15 Jun 2011 15:39:17 -0700] INFO: Processing remote_file[/tmp/chef-solo/redis.tar.gz] action create_if_missing (redis::default line 48) | |
** [out :: 192.168.1.102] [Wed, 15 Jun 2011 15:39:17 -0700] ERROR: remote_file[/tmp/chef-solo/redis.tar.gz] (redis::default line 48) has had an error | |
** [out :: 192.168.1.102] [Wed, 15 Jun 2011 15:39:17 -0700] ERROR: Running exception handlers | |
** [out :: 192.168.1.102] [Wed, 15 Jun 2011 15:39:17 -0700] ERROR: Exception handlers complete | |
** [out :: 192.168.1.102] [Wed, 15 Jun 2011 15:39:17 -0700] DEBUG: Re-raising exception: Chef::Exceptions::EnclosingDirectoryDoesNotExist - remote_file[/tmp/chef-solo/redis.tar.gz] (redis::default line 48) had an error: Cannot create a | |
file at /tmp/chef-solo/redis.tar.gz because the enclosing directory (/tmp/chef-solo) does not exist | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/provider/file.rb:213:in `assert_enclosing_directory_exists!' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/provider/remote_file.rb:35:in `action_create' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/provider/remote_file.rb:62:in `action_create_if_missing' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/resource.rb:417:in `send' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/resource.rb:417:in `run_action' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/runner.rb:45:in `run_action' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/runner.rb:78:in `converge' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/runner.rb:78:in `each' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/runner.rb:78:in `converge' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/resource_collection.rb:94 | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/runner.rb:76:in `converge' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/client.rb:312:in `converge' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/client.rb:160:in `run' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/application/solo.rb:192:in `run_application' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/application/solo.rb:183:in `loop' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0. | |
** [out :: 192.168.1.102] 10.0/bin/../lib/chef/application/solo.rb:183:in `run_application' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/application.rb:66:in `run' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/chef-solo:25 | |
** [out :: 192.168.1.102] /usr/bin/chef-solo:19:in `load' | |
** [out :: 192.168.1.102] /usr/bin/chef-solo:19 | |
** [out :: 192.168.1.102] [Wed, 15 Jun 2011 15:39:17 -0700] DEBUG: Creating directory /tmp/chef-solo | |
** [out :: 192.168.1.102] [Wed, 15 Jun 2011 15:39:17 -0700] FATAL: Stacktrace dumped to /tmp/chef-solo/chef-stacktrace.out | |
** [out :: 192.168.1.102] [Wed, 15 Jun 2011 15:39:17 -0700] DEBUG: Chef::Exceptions::EnclosingDirectoryDoesNotExist: remote_file[/tmp/chef-solo/redis.tar.gz] (redis::default line 48) had an error: Cannot create a file at /tmp/chef-solo | |
/redis.tar.gz because the enclosing directory (/tmp/chef-solo) does not exist | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/provider/file.rb:213:in `assert_enclosing_directory_exists!' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/provider/remote_file.rb:35:in `action_create' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/provider/remote_file.rb:62:in `action_create_if_missing' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/resource.rb:417:in `send' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/resource.rb:417:in `run_action' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/runner.rb:45:in `run_action' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/runner.rb:78:in `converge' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/runner.rb:78:in `each' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/runner.rb:78:in `converge' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/resource_collection.rb:94 | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/runner.rb:76:in `converge' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/client.rb:312:in `converge' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/client.rb:160:in `run' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/application/solo.rb:192:in `run_application' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/application/solo.rb:183:in `loop' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0. | |
** [out :: 192.168.1.102] 10.0/bin/../lib/chef/application/solo.rb:183:in `run_application' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/application.rb:66:in `run' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/chef-solo:25 | |
** [out :: 192.168.1.102] /usr/bin/chef-solo:19:in `load' | |
** [out :: 192.168.1.102] /usr/bin/chef-solo:19 | |
** [out :: 192.168.1.102] [Wed, 15 Jun 2011 15:39:17 -0700] DEBUG: Creating directory /tmp/chef-solo | |
** [out :: 192.168.1.102] [Wed, 15 Jun 2011 15:39:17 -0700] FATAL: Stacktrace dumped to /tmp/chef-solo/chef-stacktrace.out | |
** [out :: 192.168.1.102] [Wed, 15 Jun 2011 15:39:17 -0700] DEBUG: Chef::Exceptions::EnclosingDirectoryDoesNotExist: remote_file[/tmp/chef-solo/redis.tar.gz] (redis::default line 48) had an error: Cannot create a file at /tmp/chef-solo/redis.tar.gz because the enclosing directory (/tmp/chef-solo) does not exist | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/provider/file.rb:213:in `assert_enclosing_directory_exists!' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/provider/remote_file.rb:35:in `action_create' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/provider/remote_file.rb:62:in `action_create_if_missing' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/resource.rb:417:in `send' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/resource.rb:417:in `run_action' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/runner.rb:45:in `run_action' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/runner.rb:78:in `converge' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/runner.rb:78:in `each' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/runner.rb:78:in `converge' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/resource_collection.rb:94 | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource' | |
** [out :: 192.168.1.102] | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/runner.rb:76:in `converge' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/client.rb:312:in `converge' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/client.rb:160:in `run' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/application/solo.rb:192:in `run_application' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/application/solo.rb:183:in `loop' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/application/solo.rb:183:in `run_application' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/../lib/chef/application.rb:66:in `run' | |
** [out :: 192.168.1.102] /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/chef-solo:25 | |
** [out :: 192.168.1.102] /usr/bin/chef-solo:19:in `load' | |
** [out :: 192.168.1.102] /usr/bin/chef-solo:19 | |
** [out :: 192.168.1.102] [Wed, 15 Jun 2011 15:39:17 -0700] FATAL: Chef::Exceptions::EnclosingDirectoryDoesNotExist: remote_file[/tmp/chef-solo/redis.tar.gz] (redis::default line 48) had an error: Cannot create a file at /tmp/chef-solo/redis.tar.gz because the enclosing directory (/tmp/chef-solo) does not exist | |
command finished | |
failed: "env PATH=/var/lib/gems/1.8/bin:$PATH sh -c 'sudo -p '\\''sudo password: '\\'' -i chef-solo -c /etc/chef/solo.rb -j /etc/chef/dna.json -l debug'" on 192.168.1.102 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment