Created
August 4, 2009 21:55
-
-
Save powdahound/161854 to your computer and use it in GitHub Desktop.
This file contains 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
# token is created first | |
mkdir -p /etc/chef/ | |
echo "tokentokentoken" > /etc/chef/validation_token | |
# output from chef-solo run... | |
[Tue, 04 Aug 2009 14:49:32 -0700] DEBUG: Processing execute[Register client node with Chef Server] | |
[Tue, 04 Aug 2009 14:49:32 -0700] DEBUG: execute[Register client node with Chef Server] using Chef::Provider::Execute | |
[Tue, 04 Aug 2009 14:49:32 -0700] DEBUG: Executing /usr/bin/env chef-client -t `cat /etc/chef/validation_token` | |
[Tue, 04 Aug 2009 14:49:36 -0700] DEBUG: ---- Begin output of /usr/bin/env chef-client -t `cat /etc/chef/validation_token` ---- | |
[Tue, 04 Aug 2009 14:49:36 -0700] DEBUG: STDOUT: INFO: Starting Chef Run | |
[Tue, 04 Aug 2009 14:49:36 -0700] DEBUG: STDERR: /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/file_cache.rb:112:in `load': Cannot find /srv/chef/cache/registration/test1_example_com for registration/test1_example_com! (Chef::Exceptions::FileNotFound) | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/client.rb:197:in `register' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/client.rb:73:in `run' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application/client.rb:164:in `run_application' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application/client.rb:162:in `loop' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application/client.rb:162:in `run_application' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application.rb:57:in `run' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/bin/chef-client:26 | |
from /usr/bin/chef-client:19:in `load' | |
from /usr/bin/chef-client:19 | |
[Tue, 04 Aug 2009 14:49:36 -0700] DEBUG: ---- End output of /usr/bin/env chef-client -t `cat /etc/chef/validation_token` ---- | |
[Tue, 04 Aug 2009 14:49:36 -0700] ERROR: execute[Register client node with Chef Server] (/tmp/chef-solo/cookbooks/chef/recipes/client.rb line 102) had an error: | |
/usr/bin/env chef-client -t `cat /etc/chef/validation_token` returned 1, expected 0 | |
/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/mixin/command.rb:157:in `run_command'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/mixin/command.rb:133:in `chdir'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/mixin/command.rb:133:in `run_command'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/provider/execute.rb:49:in `action_run'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:87:in `send'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:87:in `converge'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:85:in `each'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:85:in `converge'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/resource_collection.rb:58:in `each'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/resource_collection.rb:57:in `each'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:63:in `converge'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/client.rb:373:in `converge'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/client.rb:101:in `run_solo'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application/solo.rb:122:in `run_application'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application.rb:57:in `run'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/bin/chef-solo:26/usr/bin/chef-solo:19:in `load'/usr/bin/chef-solo:19 | |
/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/mixin/command.rb:157:in `run_command': /usr/bin/env chef-client -t `cat /etc/chef/validation_token` returned 1, expected 0 (Chef::Exceptions::Exec) | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/mixin/command.rb:133:in `chdir' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/mixin/command.rb:133:in `run_command' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/provider/execute.rb:49:in `action_run' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:87:in `send' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:87:in `converge' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:85:in `each' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:85:in `converge' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/resource_collection.rb:58:in `each' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/resource_collection.rb:57:in `each' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:63:in `converge' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/client.rb:373:in `converge' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/client.rb:101:in `run_solo' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application/solo.rb:122:in `run_application' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application.rb:57:in `run' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/bin/chef-solo:26 | |
from /usr/bin/chef-solo:19:in `load' | |
from /usr/bin/chef-solo:19 | |
# but its there... | |
garret@test1:~$ cat /etc/chef/validation_token | |
tokentokentoken |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment