Skip to content

Instantly share code, notes, and snippets.

@brett-petrusek
Created August 22, 2014 17:59
Show Gist options
  • Save brett-petrusek/cbdb54eaed6297f33bd3 to your computer and use it in GitHub Desktop.
Save brett-petrusek/cbdb54eaed6297f33bd3 to your computer and use it in GitHub Desktop.
api-npe1-casszk1-dfw3 converge error
Recipe: bf_introscope_agent::agent_install
* bash[download_agent] action run (skipped due to not_if)
* file[/var/chef/cache/bf_introscope_agent_v1.tar] action create (up to date)
* directory[/mnt/introscope] action create (up to date)
* directory[/usr/local/opt] action create (up to date)
* link[/usr/local/opt/introscope] action create (up to date)
* execute[tar xf /var/chef/cache/bf_introscope_agent_v1.tar -C /mnt] action run
================================================================================
Error executing action `run` on resource 'execute[tar xf /var/chef/cache/bf_introscope_agent_v1.tar -C /mnt]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '2'
---- Begin output of tar xf /var/chef/cache/bf_introscope_agent_v1.tar -C /mnt ----
STDOUT:
STDERR: tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
---- End output of tar xf /var/chef/cache/bf_introscope_agent_v1.tar -C /mnt ----
Ran tar xf /var/chef/cache/bf_introscope_agent_v1.tar -C /mnt returned 2
Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/bf_introscope_agent/recipes/agent_install.rb
62: execute "tar xf #{Chef::Config[:file_cache_path]}/#{agent_file} -C /mnt" do
63: creates "#{install_dir}/R8240/cron_file"
64: end
65:
Compiled Resource:
------------------
# Declared in /var/chef/cache/cookbooks/bf_introscope_agent/recipes/agent_install.rb:62:in `from_file'
execute("tar xf /var/chef/cache/bf_introscope_agent_v1.tar -C /mnt") do
action "run"
retries 0
retry_delay 2
command "tar xf /var/chef/cache/bf_introscope_agent_v1.tar -C /mnt"
backup 5
creates "/mnt/introscope/R8240/cron_file"
returns 0
cookbook_name "bf_introscope_agent"
recipe_name "agent_install"
end
[2014-08-22T17:58:32+00:00] ERROR: Running exception handlers
[2014-08-22T17:58:32+00:00] ERROR: Exception handlers complete
[2014-08-22T17:58:32+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
Chef Client failed. 13 resources updated
[2014-08-22T17:58:32+00:00] ERROR: execute[tar xf /var/chef/cache/bf_introscope_agent_v1.tar -C /mnt] (bf_introscope_agent::agent_install line 62) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '2'
---- Begin output of tar xf /var/chef/cache/bf_introscope_agent_v1.tar -C /mnt ----
STDOUT:
STDERR: tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
---- End output of tar xf /var/chef/cache/bf_introscope_agent_v1.tar -C /mnt ----
Ran tar xf /var/chef/cache/bf_introscope_agent_v1.tar -C /mnt returned 2
[2014-08-22T17:58:32+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