Skip to content

Instantly share code, notes, and snippets.

@seizadi
Created February 14, 2015 03:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seizadi/79e7900c8181b27ed660 to your computer and use it in GitHub Desktop.
Save seizadi/79e7900c8181b27ed660 to your computer and use it in GitHub Desktop.
- execute the ruby block Download Sledgehammer 6bce86d4f5c50f8be7493f2d9ec23075845ea4b9
* directory[/tftpboot/discovery] action create[2015-02-13T11:48:06-08:00] INFO: Processing directory[/tftpboot/discovery] action create (crowbar-bootstrap::sledgehammer line 54)
(up to date)
* link[/tftpboot/discovery/initrd0.img] action create[2015-02-13T11:48:06-08:00] INFO: Processing link[/tftpboot/discovery/initrd0.img] action create (crowbar-bootstrap::sledgehammer line 60)
(up to date)
* link[/tftpboot/discovery/vmlinuz0] action create[2015-02-13T11:48:06-08:00] INFO: Processing link[/tftpboot/discovery/vmlinuz0] action create (crowbar-bootstrap::sledgehammer line 60)
(up to date)
Recipe: crowbar-bootstrap::gemstuff
* directory[/var/cache/crowbar-bootstrap] action create[2015-02-13T11:48:06-08:00] INFO: Processing directory[/var/cache/crowbar-bootstrap] action create (crowbar-bootstrap::gemstuff line 24)
(up to date)
* bash[install gem libxml-ruby] action run[2015-02-13T11:48:06-08:00] INFO: Processing bash[install gem libxml-ruby] action run (crowbar-bootstrap::gemstuff line 29)
(skipped due to not_if)
* bash[install gem xml-simple] action run[2015-02-13T11:48:07-08:00] INFO: Processing bash[install gem xml-simple] action run (crowbar-bootstrap::gemstuff line 29)
(skipped due to not_if)
* bash[install gem bundler] action run[2015-02-13T11:48:07-08:00] INFO: Processing bash[install gem bundler] action run (crowbar-bootstrap::gemstuff line 29)
(skipped due to not_if)
* bash[install gem net-http-digest_auth] action run[2015-02-13T11:48:07-08:00] INFO: Processing bash[install gem net-http-digest_auth] action run (crowbar-bootstrap::gemstuff line 29)
(skipped due to not_if)
* bash[install gem json] action run[2015-02-13T11:48:07-08:00] INFO: Processing bash[install gem json] action run (crowbar-bootstrap::gemstuff line 29)
(skipped due to not_if)
* bash[install gem cstruct] action run[2015-02-13T11:48:08-08:00] INFO: Processing bash[install gem cstruct] action run (crowbar-bootstrap::gemstuff line 29)
(skipped due to not_if)
* bash[install gem builder] action run[2015-02-13T11:48:08-08:00] INFO: Processing bash[install gem builder] action run (crowbar-bootstrap::gemstuff line 29)
(skipped due to not_if)
* bash[install gem berkshelf] action run[2015-02-13T11:48:08-08:00] INFO: Processing bash[install gem berkshelf] action run (crowbar-bootstrap::gemstuff line 29)
(skipped due to not_if)
* bash[install gem yard] action run[2015-02-13T11:48:08-08:00] INFO: Processing bash[install gem yard] action run (crowbar-bootstrap::gemstuff line 29)
(skipped due to not_if)
* directory[/tftpboot/gemsite/gems] action create[2015-02-13T11:48:09-08:00] INFO: Processing directory[/tftpboot/gemsite/gems] action create (crowbar-bootstrap::gemstuff line 35)
(up to date)
* bash[Create skeleton local gemsite] action run[2015-02-13T11:48:09-08:00] INFO: Processing bash[Create skeleton local gemsite] action run (crowbar-bootstrap::gemstuff line 40)
(skipped due to not_if)
* directory[/var/run/crowbar] action create[2015-02-13T11:48:09-08:00] INFO: Processing directory[/var/run/crowbar] action create (crowbar-bootstrap::gemstuff line 53)
(up to date)
* directory[/var/cache/crowbar] action create[2015-02-13T11:48:09-08:00] INFO: Processing directory[/var/cache/crowbar] action create (crowbar-bootstrap::gemstuff line 53)
(up to date)
* directory[/var/cache/crowbar/cookbooks] action create[2015-02-13T11:48:09-08:00] INFO: Processing directory[/var/cache/crowbar/cookbooks] action create (crowbar-bootstrap::gemstuff line 53)
(up to date)
* directory[/var/cache/crowbar/gems] action create[2015-02-13T11:48:09-08:00] INFO: Processing directory[/var/cache/crowbar/gems] action create (crowbar-bootstrap::gemstuff line 53)
(up to date)
* directory[/var/cache/crowbar/bin] action create[2015-02-13T11:48:09-08:00] INFO: Processing directory[/var/cache/crowbar/bin] action create (crowbar-bootstrap::gemstuff line 53)
(up to date)
* directory[/var/log/crowbar] action create[2015-02-13T11:48:09-08:00] INFO: Processing directory[/var/log/crowbar] action create (crowbar-bootstrap::gemstuff line 53)
(up to date)
* bash[install required gems for Crowbar using Bundler] action run[2015-02-13T11:48:09-08:00] INFO: Processing bash[install required gems for Crowbar using Bundler] action run (crowbar-bootstrap::gemstuff line 65)
================================================================================
Error executing action `run` on resource 'bash[install required gems for Crowbar using Bundler]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '5'
---- Begin output of "bash" "/tmp/chef-script20150213-18134-1q6nrvf" ----
STDOUT: Fetching gem metadata from http://rubygems.org/.......
Fetching version metadata from http://rubygems.org/...
Fetching dependency metadata from http://rubygems.org/..
Resolving dependencies...
Using rake 10.4.2
Using i18n 0.7.0
Using minitest 4.7.5
Using multi_json 1.10.1
Using thread_safe 0.3.4
Using tzinfo 0.3.43
Using activesupport 4.0.13
Using builder 3.1.4
Using erubis 2.7.0
Using rack 1.5.2
Using rack-test 0.6.3
Using actionpack 4.0.13
Using mime-types 1.25.1
Using mail 2.6.3
Using actionmailer 4.0.13
Using activemodel 4.0.13
Using activerecord-deprecated_finders 1.0.3
Using arel 4.0.2
Using activerecord 4.0.13
Using bundler 1.8.1
Using thor 0.19.1
Using railties 4.0.13
Using hike 1.2.3
Using tilt 1.4.1
Using sprockets 2.12.3
Using sprockets-rails 2.2.4
Using rails 4.0.13
Using active_scaffold 3.4.17
Using addressable 2.3.7
Using barclamp_bios 0.0.1 from source at /opt/opencrowbar/hardware/bios/crowbar_engine/barclamp_bios
Using openwsman 2.4.12.1
Using barclamp_ipmi 0.0.1 from source at /opt/opencrowbar/hardware/ipmi/crowbar_engine/barclamp_ipmi
Using barclamp_raid 0.0.1 from source at /opt/opencrowbar/hardware/raid/crowbar_engine/barclamp_raid
Using bcrypt 3.1.10
Using bcrypt-ruby 3.1.5
Using ffi 1.9.6
Using libyajl2 1.2.0
Using ffi-yajl 1.3.1
Using hashie 2.1.2
Using mixlib-log 1.6.0
Using chef-zero 2.2.1
Using diff-lcs 1.2.5
Using highline 1.6.21
Using mixlib-authentication 1.3.0
Using mixlib-cli 1.5.0
Using mixlib-config 2.1.0
Using mixlib-shellout 1.6.1
Using net-ssh 2.9.2
Using net-ssh-gateway 1.2.0
Using net-ssh-multi 1.2.0
Using ipaddress 0.8.0
Using systemu 2.6.4
Using wmi-lite 1.0.0
Using ohai 7.4.1
Using plist 3.1.0
Using coderay 1.1.0
Using method_source 0.8.2
Using slop 3.6.0
Using pry 0.10.1
Using rest-client 1.6.7
Using chef 11.18.6
Using docile 1.1.5
Using simplecov-html 0.8.0
Using simplecov 0.9.1
Using tins 1.3.4
Using term-ansicolor 1.3.0
Using coveralls 0.7.1
Using daemons 1.1.9
Using database_cleaner 1.4.0
Using delayed_job 4.0.6
Using delayed_job_active_record 4.0.3
Using orm_adapter 0.5.0
Using warden 1.2.3
Using devise 3.0.4
Using multipart-post 2.0.0
Using faraday 0.9.1
Using json 1.8.2
Using diplomat 0.2.2
Using launchy 2.4.3
Using email_spec 1.6.0
Using factory_girl 2.6.4
Using factory_girl_rails 1.7.0
Using haml 4.0.6
Using jquery-rails 3.1.2
Using kwalify 0.7.2
Using ledermann-rails-settings 2.3.0
Using maruku 0.7.2
ArgumentError: Gem sources must be absolute. You provided 'build.net-http-digest_auth/'.
An error occurred while installing net-http-digest_auth (1.4), and Bundler
cannot continue.
Make sure that `gem install net-http-digest_auth -v '1.4'` succeeds before
bundling.
STDERR:
---- End output of "bash" "/tmp/chef-script20150213-18134-1q6nrvf" ----
Ran "bash" "/tmp/chef-script20150213-18134-1q6nrvf" returned 5
Resource Declaration:
---------------------
# In /opt/opencrowbar/core/chef/cookbooks/crowbar-bootstrap/recipes/gemstuff.rb
65: bash "install required gems for Crowbar using Bundler" do
66: code "su -l -c 'cd /opt/opencrowbar/core/rails; bundle install --path /var/cache/crowbar/gems --standalone --binstubs /var/cache/crowbar/bin' crowbar"
67: end
Compiled Resource:
------------------
# Declared in /opt/opencrowbar/core/chef/cookbooks/crowbar-bootstrap/recipes/gemstuff.rb:65:in `from_file'
bash("install required gems for Crowbar using Bundler") do
action "run"
retries 0
retry_delay 2
guard_interpreter :default
command "\"bash\" \"/tmp/chef-script20150213-18134-1q6nrvf\""
backup 5
returns 0
code "su -l -c 'cd /opt/opencrowbar/core/rails; bundle install --path /var/cache/crowbar/gems --standalone --binstubs /var/cache/crowbar/bin' crowbar"
interpreter "bash"
cookbook_name :"crowbar-bootstrap"
recipe_name "gemstuff"
end
[2015-02-13T11:48:17-08:00] INFO: Running queued delayed notifications before re-raising exception
Running handlers:
[2015-02-13T11:48:17-08:00] ERROR: Running exception handlers
Running handlers complete
[2015-02-13T11:48:17-08:00] ERROR: Exception handlers complete
[2015-02-13T11:48:17-08:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
Chef Client failed. 8 resources updated in 15.898937451 seconds
[2015-02-13T11:48:17-08:00] ERROR: bash[install required gems for Crowbar using Bundler] (crowbar-bootstrap::gemstuff line 65) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '5'
---- Begin output of "bash" "/tmp/chef-script20150213-18134-1q6nrvf" ----
STDOUT: Fetching gem metadata from http://rubygems.org/.......
Fetching version metadata from http://rubygems.org/...
Fetching dependency metadata from http://rubygems.org/..
Resolving dependencies...
Using rake 10.4.2
Using i18n 0.7.0
Using minitest 4.7.5
Using multi_json 1.10.1
Using thread_safe 0.3.4
Using tzinfo 0.3.43
Using activesupport 4.0.13
Using builder 3.1.4
Using erubis 2.7.0
Using rack 1.5.2
Using rack-test 0.6.3
Using actionpack 4.0.13
Using mime-types 1.25.1
Using mail 2.6.3
Using actionmailer 4.0.13
Using activemodel 4.0.13
Using activerecord-deprecated_finders 1.0.3
Using arel 4.0.2
Using activerecord 4.0.13
Using bundler 1.8.1
Using thor 0.19.1
Using railties 4.0.13
Using hike 1.2.3
Using tilt 1.4.1
Using sprockets 2.12.3
Using sprockets-rails 2.2.4
Using rails 4.0.13
Using active_scaffold 3.4.17
Using addressable 2.3.7
Using barclamp_bios 0.0.1 from source at /opt/opencrowbar/hardware/bios/crowbar_engine/barclamp_bios
Using openwsman 2.4.12.1
Using barclamp_ipmi 0.0.1 from source at /opt/opencrowbar/hardware/ipmi/crowbar_engine/barclamp_ipmi
Using barclamp_raid 0.0.1 from source at /opt/opencrowbar/hardware/raid/crowbar_engine/barclamp_raid
Using bcrypt 3.1.10
Using bcrypt-ruby 3.1.5
Using ffi 1.9.6
Using libyajl2 1.2.0
Using ffi-yajl 1.3.1
Using hashie 2.1.2
Using mixlib-log 1.6.0
Using chef-zero 2.2.1
Using diff-lcs 1.2.5
Using highline 1.6.21
Using mixlib-authentication 1.3.0
Using mixlib-cli 1.5.0
Using mixlib-config 2.1.0
Using mixlib-shellout 1.6.1
Using net-ssh 2.9.2
Using net-ssh-gateway 1.2.0
Using net-ssh-multi 1.2.0
Using ipaddress 0.8.0
Using systemu 2.6.4
Using wmi-lite 1.0.0
Using ohai 7.4.1
Using plist 3.1.0
Using coderay 1.1.0
Using method_source 0.8.2
Using slop 3.6.0
Using pry 0.10.1
Using rest-client 1.6.7
Using chef 11.18.6
Using docile 1.1.5
Using simplecov-html 0.8.0
Using simplecov 0.9.1
Using tins 1.3.4
Using term-ansicolor 1.3.0
Using coveralls 0.7.1
Using daemons 1.1.9
Using database_cleaner 1.4.0
Using delayed_job 4.0.6
Using delayed_job_active_record 4.0.3
Using orm_adapter 0.5.0
Using warden 1.2.3
Using devise 3.0.4
Using multipart-post 2.0.0
Using faraday 0.9.1
Using json 1.8.2
Using diplomat 0.2.2
Using launchy 2.4.3
Using email_spec 1.6.0
Using factory_girl 2.6.4
Using factory_girl_rails 1.7.0
Using haml 4.0.6
Using jquery-rails 3.1.2
Using kwalify 0.7.2
Using ledermann-rails-settings 2.3.0
Using maruku 0.7.2
ArgumentError: Gem sources must be absolute. You provided 'build.net-http-digest_auth/'.
An error occurred while installing net-http-digest_auth (1.4), and Bundler
cannot continue.
Make sure that `gem install net-http-digest_auth -v '1.4'` succeeds before
bundling.
STDERR:
---- End output of "bash" "/tmp/chef-script20150213-18134-1q6nrvf" ----
Ran "bash" "/tmp/chef-script20150213-18134-1q6nrvf" returned 5
[2015-02-13T11:48:17-08: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