Skip to content

Instantly share code, notes, and snippets.

@Houdini
Created Nov 30, 2012
Embed
What would you like to do?
10.0.1.94 deploy_revision("/mili/cryptopro_proxy") do
10.0.1.94 provider Chef::Provider::Deploy::Revision
10.0.1.94 action [:force_deploy]
10.0.1.94 updated true
10.0.1.94 supports {:restart=>true}
10.0.1.94 retries 0
10.0.1.94 retry_delay 2
10.0.1.94 deploy_to "/mili/cryptopro_proxy"
10.0.1.94 environment {"RAILS_ENV"=>"production", "LC_ALL"=>"C"}
10.0.1.94 repository_cache "cached-copy"
10.0.1.94 purge_before_symlink ["log", "tmp/pids", "public/system"]
10.0.1.94 create_dirs_before_symlink ["tmp", "public", "config"]
10.0.1.94 symlink_before_migrate {"config/database.yml"=>"config/database.yml"}
10.0.1.94 symlinks {"log"=>"log"}
10.0.1.94 revision "HEAD"
10.0.1.94 remote "origin"
10.0.1.94 scm_provider Chef::Provider::Git
10.0.1.94 keep_releases 5
10.0.1.94 cookbook_name "cryptopro_proxy"
10.0.1.94 recipe_name "default"
10.0.1.94 repo "git@github.com:miliru/cp_proxy.git"
10.0.1.94 user "ubuntu"
10.0.1.94 restart_command "sudo su - root -c \"service cryptopro_proxy restart\""
10.0.1.94 group "ubuntu"
10.0.1.94 before_restart #<Proc:0x000000033358a8@/var/chef/cache/cookbooks/cryptopro_proxy/recipes/default.rb:118>
10.0.1.94 shared_path "/mili/cryptopro_proxy/shared"
10.0.1.94 destination "/mili/cryptopro_proxy/shared/cached-copy"
10.0.1.94 current_path "/mili/cryptopro_proxy/current"
10.0.1.94 end
10.0.1.94
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: Running exception handlers
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: Report handler Chef::Handler::ErrorReport raised #<Encoding::UndefinedConversionError: "\xCF" from ASCII-8BIT to UTF-8>
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/resource.rb:496:in `encode'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/resource.rb:496:in `to_json'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/resource.rb:496:in `to_json'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /opt/chef/embedded/lib/ruby/1.9.1/json/common.rb:278:in `generate'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /opt/chef/embedded/lib/ruby/1.9.1/json/common.rb:278:in `pretty_generate'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/json_compat.rb:49:in `to_json_pretty'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/handler/error_report.rb:27:in `report'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/handler.rb:226:in `run_report_unsafe'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/handler.rb:214:in `run_report_safely'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/handler.rb:118:in `block in run_exception_handlers'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/handler.rb:117:in `each'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/handler.rb:117:in `run_exception_handlers'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/handler.rb:127:in `block in <class:Handler>'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/client.rb:118:in `call'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/client.rb:118:in `block in run_failed'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/client.rb:117:in `each'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/client.rb:117:in `run_failed'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/client.rb:436:in `rescue in do_run'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/client.rb:444:in `do_run'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/client.rb:176:in `run'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/application.rb:140:in `run_chef_client'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/application/client.rb:274:in `block in run_application'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/application/client.rb:267:in `loop'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/application/client.rb:267:in `run_application'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/application.rb:72:in `run'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/bin/chef-client:26:in `<top (required)>'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /usr/bin/chef-client:23:in `load'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: /usr/bin/chef-client:23:in `<main>'
10.0.1.94 [2012-11-30T08:03:28+00:00] ERROR: Exception handlers complete
10.0.1.94 [2012-11-30T08:03:28+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
10.0.1.94 [2012-11-30T08:03:28+00:00] FATAL: NameError: deploy_revision[/mili/cryptopro_proxy] (cryptopro_proxy::default line 109) had an error: NameError: Cannot find a resource for action_restart on ubuntu version 12.04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment