Created
March 24, 2015 21:47
-
-
Save troyready/1f4711497fe443096296 to your computer and use it in GitHub Desktop.
chef-client 12.1 rbenv gem chef client error
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
* rbenv_script[rbenv install 2.1.4 (roz)] action run | |
- execute "bash" "/tmp/chef-script20150324-1467-mnijjj" | |
* apt_package[build-essential] action nothing (skipped due to action :nothing) | |
* apt_package[bison] action nothing (skipped due to action :nothing) | |
* apt_package[openssl] action nothing (skipped due to action :nothing) | |
* apt_package[libreadline6] action nothing (skipped due to action :nothing) | |
* apt_package[libreadline6-dev] action nothing (skipped due to action :nothing) | |
* apt_package[zlib1g] action nothing (skipped due to action :nothing) | |
* apt_package[zlib1g-dev] action nothing (skipped due to action :nothing) | |
* apt_package[libssl-dev] action nothing (skipped due to action :nothing) | |
* apt_package[libyaml-dev] action nothing (skipped due to action :nothing) | |
* apt_package[libsqlite3-0] action nothing (skipped due to action :nothing) | |
* apt_package[libsqlite3-dev] action nothing (skipped due to action :nothing) | |
* apt_package[sqlite3] action nothing (skipped due to action :nothing) | |
* apt_package[libxml2-dev] action nothing (skipped due to action :nothing) | |
* apt_package[libxslt1-dev] action nothing (skipped due to action :nothing) | |
* apt_package[autoconf] action nothing (skipped due to action :nothing) | |
* apt_package[libc6-dev] action nothing (skipped due to action :nothing) | |
* apt_package[ssl-cert] action nothing (skipped due to action :nothing) | |
* apt_package[subversion] action nothing (skipped due to action :nothing) | |
* rbenv_script[rbenv install 2.1.4 (roz)] action nothing (skipped due to action :nothing) | |
* rbenv_global[2.1.4 (roz)] (roz) action create | |
- execute "bash" "/tmp/chef-script20150324-1467-1t12z9d" | |
* rbenv_gem[2.1.4::bundler (roz)] (roz) action install | |
================================================================================ | |
Error executing action `install` on resource 'rbenv_gem[2.1.4::bundler (roz)] (roz)' | |
================================================================================ | |
Chef::Exceptions::ValidationFailed | |
---------------------------------- | |
Option name must be a kind of String! You passed <rbenv_gem[2.1.4::bundler (roz)] (roz) @name: "bundler (roz)" @noop: nil @before: nil @params: {:app_source=>"https://github.com/biola/roz.git", :app_rev=>"37d3038a9c7bb715df2809bb85493cbdc51156c0", :app_name=>"roz", :app_dir=>"/srv/rack/roz", :owner=>"roz", :ruby_ver=>"2.1.4", :name=>"https://github.com/biola/roz.git"} @provider: Chef::Provider::Package::RbenvRubygems @allowed_actions: [:nothing, :install, :upgrade, :remove, :purge] @action: :install @updated: false @updated_by_last_action: false @supports: {} @ignore_failure: false @retries: 0 @retry_delay: 2 @source_line: "/tmp/kitchen/cache/cookbooks/blitzkrieg/definitions/app.rb:75:in `block (2 levels) in from_file'" @guard_interpreter: nil @default_guard_interpreter: :default @elapsed_time: 0 @sensitive: false @resource_name: :rbenv_gem @declared_type: :rbenv_gem @cookbook_name: "apps-deployment" @recipe_name: "roz" @package_name: "bundler" @user: "roz" @rbenv_version: "2.1.4" @source: nil @gem_binary: "export RBENV_ROOT=\"/home/roz/.rbenv\" && export PATH=\"$RBENV_ROOT/bin:$RBENV_ROOT/shims:$PATH\" && export RBENV_VERSION=\"2.1.4\" && $RBENV_ROOT/shims/gem" @options: nil @root_path: nil @version: "1.9.1" @response_file: nil>. | |
Cookbook Trace: | |
--------------- | |
/tmp/kitchen/cache/cookbooks/rbenv/resources/rehash.rb:29:in `initialize' | |
/tmp/kitchen/cache/cookbooks/rbenv/libraries/chef_provider_package_rbenvrubygems.rb:86:in `new' | |
/tmp/kitchen/cache/cookbooks/rbenv/libraries/chef_provider_package_rbenvrubygems.rb:86:in `rehash' | |
/tmp/kitchen/cache/cookbooks/rbenv/libraries/chef_provider_package_rbenvrubygems.rb:67:in `install_package' | |
Resource Declaration: | |
--------------------- | |
# In /tmp/kitchen/cache/cookbooks/blitzkrieg/definitions/app.rb | |
75: rbenv_gem "#{gem} (#{params[:owner]})" do | |
76: package_name gem | |
77: user params[:owner] | |
78: rbenv_version params[:ruby_ver] | |
79: end | |
80: end | |
Compiled Resource: | |
------------------ | |
# Declared in /tmp/kitchen/cache/cookbooks/blitzkrieg/definitions/app.rb:75:in `block (2 levels) in from_file' | |
rbenv_gem("bundler (roz)") do | |
params {:app_source=>"https://github.com/biola/roz.git", :app_rev=>"37d3038a9c7bb715df2809bb85493cbdc51156c0", :app_name=>"roz", :app_dir=>"/srv/rack/roz", :owner=>"roz", :ruby_ver=>"2.1.4", :name=>"https://github.com/biola/roz.git"} | |
provider Chef::Provider::Package::RbenvRubygems | |
action :install | |
retries 0 | |
retry_delay 2 | |
default_guard_interpreter :default | |
declared_type :rbenv_gem | |
cookbook_name "apps-deployment" | |
recipe_name "roz" | |
package_name "bundler" | |
user "roz" | |
rbenv_version "2.1.4" | |
gem_binary "export RBENV_ROOT=\"/home/roz/.rbenv\" && export PATH=\"$RBENV_ROOT/bin:$RBENV_ROOT/shims:$PATH\" && export RBENV_VERSION=\"2.1.4\" && $RBENV_ROOT/shims/gem" | |
version "1.9.1" | |
end | |
Recipe: mongodb::default | |
* service[mongodb] action restart | |
- restart service service[mongodb] | |
Running handlers: | |
[2015-03-24T21:43:45+00:00] ERROR: Running exception handlers | |
Running handlers complete | |
[2015-03-24T21:43:45+00:00] ERROR: Exception handlers complete | |
[2015-03-24T21:43:45+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out | |
Chef Client failed. 43 resources updated in 808.403722958 seconds | |
[2015-03-24T21:43:46+00:00] ERROR: rbenv_gem[2.1.4::bundler (roz)] (roz) (apps-deployment::roz line 75) had an error: Chef::Exceptions::ValidationFailed: Option name must be a kind of String! You passed <rbenv_gem[2.1.4::bundler (roz)] (roz) @name: "bundler (roz)" @noop: nil @before: nil @params: {:app_source=>"https://github.com/biola/roz.git", :app_rev=>"37d3038a9c7bb715df2809bb85493cbdc51156c0", :app_name=>"roz", :app_dir=>"/srv/rack/roz", :owner=>"roz", :ruby_ver=>"2.1.4", :name=>"https://github.com/biola/roz.git"} @provider: Chef::Provider::Package::RbenvRubygems @allowed_actions: [:nothing, :install, :upgrade, :remove, :purge] @action: :install @updated: false @updated_by_last_action: false @supports: {} @ignore_failure: false @retries: 0 @retry_delay: 2 @source_line: "/tmp/kitchen/cache/cookbooks/blitzkrieg/definitions/app.rb:75:in `block (2 levels) in from_file'" @guard_interpreter: nil @default_guard_interpreter: :default @elapsed_time: 0 @sensitive: false @resource_name: :rbenv_gem @declared_type: :rbenv_gem @cookbook_name: "apps-deployment" @recipe_name: "roz" @package_name: "bundler" @user: "roz" @rbenv_version: "2.1.4" @source: nil @gem_binary: "export RBENV_ROOT=\"/home/roz/.rbenv\" && export PATH=\"$RBENV_ROOT/bin:$RBENV_ROOT/shims:$PATH\" && export RBENV_VERSION=\"2.1.4\" && $RBENV_ROOT/shims/gem" @options: nil @root_path: nil @version: "1.9.1" @response_file: nil>. | |
[2015-03-24T21:43:46+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