Skip to content

Instantly share code, notes, and snippets.

@jkarnesPerfectCube
Created August 31, 2018 17:35
Show Gist options
  • Save jkarnesPerfectCube/fd1d94569689e43e2a3046bb9de9097c to your computer and use it in GitHub Desktop.
Save jkarnesPerfectCube/fd1d94569689e43e2a3046bb9de9097c to your computer and use it in GitHub Desktop.
Chef-client-fail-log
Generated at 2018-08-31 17:25:42 +0000
Mixlib::ShellOut::ShellCommandFailed: ruby_rbenv_system_install[system] (perfectcube::app_server line 76) had an error: Mixlib::ShellOut::ShellCommandFailed: git[/usr/local/rbenv] (/var/chef/cache/cookbooks/ruby_rbenv/resources/system_install.rb line 49) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '129'
---- Begin output of git fetch --prune-tags origin --tags ----
STDOUT:
STDERR: error: unknown option `prune-tags'
usage: git fetch [<options>] [<repository> [<refspec>...]]
or: git fetch [<options>] <group>
or: git fetch --multiple [<options>] [(<repository> | <group>)...]
or: git fetch --all [<options>]
-v, --verbose be more verbose
-q, --quiet be more quiet
--all fetch from all remotes
-a, --append append to .git/FETCH_HEAD instead of overwriting
--upload-pack <path> path to upload pack on remote end
-f, --force force overwrite of local branch
-m, --multiple fetch from multiple remotes
-t, --tags fetch all tags and associated objects
-n do not fetch all tags (--no-tags)
-p, --prune prune remote-tracking branches no longer on remote
--recurse-submodules[=<on-demand>]
control recursive fetching of submodules
--dry-run dry run
-k, --keep keep downloaded pack
-u, --update-head-ok allow updating of HEAD ref
--progress force progress reporting
--depth <depth> deepen history of shallow clone
--unshallow convert to a complete repository
--update-shallow accept refs that update .git/shallow
--refmap <refmap> specify fetch refmap
---- End output of git fetch --prune-tags origin --tags ----
Ran git fetch --prune-tags origin --tags returned 129
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/mixlib-shellout-2.3.2/lib/mixlib/shellout.rb:293:in `invalid!'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/mixlib-shellout-2.3.2/lib/mixlib/shellout.rb:280:in `error!'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/mixin/shell_out.rb:120:in `shell_out!'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/provider/git.rb:338:in `git'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/provider/git.rb:198:in `block in fetch_updates'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/mixin/why_run.rb:51:in `add_action'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/provider.rb:227:in `converge_by'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/provider/git.rb:194:in `fetch_updates'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/provider/git.rb:98:in `action_sync'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/provider.rb:182:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource.rb:577:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/runner.rb:70:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/runner.rb:98:in `block (2 levels) in converge'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/runner.rb:98:in `each'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/runner.rb:98:in `block in converge'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/runner.rb:97:in `converge'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/provider.rb:237:in `compile_and_converge_action'
(eval):2:in `action_install'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/provider.rb:182:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource.rb:577:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/runner.rb:70:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/runner.rb:98:in `block (2 levels) in converge'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/runner.rb:98:in `each'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/runner.rb:98:in `block in converge'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/runner.rb:97:in `converge'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/client.rb:717:in `block in converge'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/client.rb:712:in `catch'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/client.rb:712:in `converge'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/client.rb:751:in `converge_and_save'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/client.rb:283:in `run'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/application.rb:303:in `run_with_graceful_exit_option'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/application.rb:279:in `block in run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/local_mode.rb:44:in `with_server_connectivity'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/application.rb:261:in `run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/application/client.rb:441:in `run_application'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/application.rb:66:in `run'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/bin/chef-client:26:in `<top (required)>'
/usr/bin/chef-client:71:in `load'
/usr/bin/chef-client:71:in `<main>'
>>>> Caused by Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '129'
---- Begin output of git fetch --prune-tags origin --tags ----
STDOUT:
STDERR: error: unknown option `prune-tags'
usage: git fetch [<options>] [<repository> [<refspec>...]]
or: git fetch [<options>] <group>
or: git fetch --multiple [<options>] [(<repository> | <group>)...]
or: git fetch --all [<options>]
-v, --verbose be more verbose
-q, --quiet be more quiet
--all fetch from all remotes
-a, --append append to .git/FETCH_HEAD instead of overwriting
--upload-pack <path> path to upload pack on remote end
-f, --force force overwrite of local branch
-m, --multiple fetch from multiple remotes
-t, --tags fetch all tags and associated objects
-n do not fetch all tags (--no-tags)
-p, --prune prune remote-tracking branches no longer on remote
--recurse-submodules[=<on-demand>]
control recursive fetching of submodules
--dry-run dry run
-k, --keep keep downloaded pack
-u, --update-head-ok allow updating of HEAD ref
--progress force progress reporting
--depth <depth> deepen history of shallow clone
--unshallow convert to a complete repository
--update-shallow accept refs that update .git/shallow
--refmap <refmap> specify fetch refmap
---- End output of git fetch --prune-tags origin --tags ----
Ran git fetch --prune-tags origin --tags returned 129
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/mixlib-shellout-2.3.2/lib/mixlib/shellout.rb:293:in `invalid!'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/mixlib-shellout-2.3.2/lib/mixlib/shellout.rb:280:in `error!'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/mixin/shell_out.rb:120:in `shell_out!'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/provider/git.rb:338:in `git'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/provider/git.rb:198:in `block in fetch_updates'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/mixin/why_run.rb:51:in `add_action'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/provider.rb:227:in `converge_by'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/provider/git.rb:194:in `fetch_updates'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/provider/git.rb:98:in `action_sync'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/provider.rb:182:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource.rb:577:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/runner.rb:70:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/runner.rb:98:in `block (2 levels) in converge'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/runner.rb:98:in `each'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/runner.rb:98:in `block in converge'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/runner.rb:97:in `converge'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/provider.rb:237:in `compile_and_converge_action'
(eval):2:in `action_install'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/provider.rb:182:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource.rb:577:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/runner.rb:70:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/runner.rb:98:in `block (2 levels) in converge'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/runner.rb:98:in `each'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/runner.rb:98:in `block in converge'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/runner.rb:97:in `converge'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/client.rb:717:in `block in converge'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/client.rb:712:in `catch'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/client.rb:712:in `converge'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/client.rb:751:in `converge_and_save'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/client.rb:283:in `run'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/application.rb:303:in `run_with_graceful_exit_option'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/application.rb:279:in `block in run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/local_mode.rb:44:in `with_server_connectivity'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/application.rb:261:in `run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/application/client.rb:441:in `run_application'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/lib/chef/application.rb:66:in `run'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.1.1/bin/chef-client:26:in `<top (required)>'
/usr/bin/chef-client:71:in `load'
/usr/bin/chef-client:71:in `<main>'
Starting Chef Client, version 14.1.1
resolving cookbooks for run list: ["apt", "perfectcube::users_groups", "sudo", "perfectcube::app_server", "perfectcube::on_reboot", "perfectcube::tz_fix", "perfectcube::sendmail_sendgrid", "perfectcube::configure_logrotate", "postgresql::client", "azure_fqdn_fix"]
Synchronizing Cookbooks:
- apt (7.0.0)
- perfectcube (1.7.1)
- users (5.3.1)
- ruby_build (1.1.0)
- yum-epel (3.1.0)
- git (9.0.1)
- build-essential (8.2.0)
- seven_zip (3.0.0)
- ruby_rbenv (2.1.0)
- windows (5.1.0)
- mingw (2.1.0)
- database (6.1.1)
- postgresql (6.1.1)
- compat_resource (12.16.3)
- openssl (8.1.2)
- magic_shell (1.0.0)
- L7-redis (1.0.8)
- cron (5.1.0)
- sudo (3.3.1)
- azure_fqdn_fix (1.0.3)
- ohai (5.2.2)
Installing Cookbook Gems:
Compiling Cookbooks...
Converging 43 resources
Recipe: apt::default
* file[/var/lib/apt/periodic/update-success-stamp] action nothing (skipped due to action :nothing)
* apt_update[periodic] action periodic (up to date)
* execute[apt-get update] action nothing (skipped due to action :nothing)
* execute[apt-get autoremove] action nothing (skipped due to action :nothing)
* execute[apt-get autoclean] action nothing (skipped due to action :nothing)
* directory[/var/cache/local] action create (up to date)
* directory[/var/cache/local/preseeding] action create (up to date)
* template[/etc/apt/apt.conf.d/10dpkg-options] action create (up to date)
* template[/etc/apt/apt.conf.d/10recommends] action create (up to date)
* apt_package[apt-transport-https] action install (up to date)
Recipe: perfectcube::users_groups
* users_manage[deploy] action create
* group[martin] action create (skipped due to only_if)
* linux_user[martin] action create (up to date)
* directory[/home/martin/.ssh] action create (up to date)
* template[/home/martin/.ssh/authorized_keys] action create (up to date)
* group[justin] action create (skipped due to only_if)
* linux_user[justin] action create (up to date)
* directory[/home/justin/.ssh] action create (up to date)
* template[/home/justin/.ssh/authorized_keys] action create (up to date)
* group[nate] action create (skipped due to only_if)
* linux_user[nate] action create (up to date)
* directory[/home/nate/.ssh] action create (up to date)
* template[/home/nate/.ssh/authorized_keys] action create (up to date)
* group[max] action create (skipped due to only_if)
* linux_user[max] action create (up to date)
* directory[/home/max/.ssh] action create (up to date)
* template[/home/max/.ssh/authorized_keys] action create (up to date)
* group[dev] action create (skipped due to only_if)
* linux_user[dev] action create (up to date)
* directory[/home/dev/.ssh] action create (up to date)
* template[/home/dev/.ssh/authorized_keys] action create (up to date)
* group[greg] action create (skipped due to only_if)
* linux_user[greg] action create (up to date)
* directory[/home/greg/.ssh] action create (up to date)
* template[/home/greg/.ssh/authorized_keys] action create (up to date)
* group[deploy] action create (up to date)
(up to date)
Recipe: sudo::default
* apt_package[sudo] action install (skipped due to not_if)
* template[/etc/sudoers] action create (up to date)
Recipe: perfectcube::app_server
* apt_package[libssl-dev, zlib1g-dev, libreadline-dev, default-jre, phantomjs, nodejs, libpq-dev, postgresql-client-common] action install (up to date)
* template[/etc/environment] action create (up to date)
* directory[/var] action create (up to date)
* directory[/var/www] action create (up to date)
* directory[/var/www/PerfectCubeData] action create (up to date)
* directory[/var/www/PerfectCubeData/shared] action create (up to date)
* directory[/var/www/PerfectCubeData/shared/config] action create (up to date)
* directory[/var/www/PerfectCubeData/shared/log] action create (up to date)
* directory[/var/www/PerfectCubeData/shared/tmp] action create (up to date)
* directory[/var/www/PerfectCubeData/shared/tmp/pids] action create (up to date)
* template[/var/www/PerfectCubeData/startup.sh] action create (up to date)
* file[/var/www/PerfectCubeData/shared/config/database.yml] action create (up to date)
* template[/var/www/PerfectCubeData/shared/config/sidekiq.yml] action create (up to date)
* execute[find /var/www/PerfectCubeData/ -type d -exec chgrp deploy {} +] action run
- execute find /var/www/PerfectCubeData/ -type d -exec chgrp deploy {} +
* execute[find /var/www/PerfectCubeData/ -type d -exec chmod g+s {} +] action run
- execute find /var/www/PerfectCubeData/ -type d -exec chmod g+s {} +
* ruby_rbenv_system_install[system] action install
* apt_package[git, grep] action install (up to date)
* directory[/etc/profile.d] action create (up to date)
* template[/etc/profile.d/rbenv.sh] action create (up to date)
* git[/usr/local/rbenv] action sync
- set up remote tracking branches for https://github.com/rbenv/rbenv.git at origin
================================================================================
Error executing action `sync` on resource 'git[/usr/local/rbenv]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '129'
---- Begin output of git fetch --prune-tags origin --tags ----
STDOUT:
STDERR: error: unknown option `prune-tags'
usage: git fetch [<options>] [<repository> [<refspec>...]]
or: git fetch [<options>] <group>
or: git fetch --multiple [<options>] [(<repository> | <group>)...]
or: git fetch --all [<options>]
-v, --verbose be more verbose
-q, --quiet be more quiet
--all fetch from all remotes
-a, --append append to .git/FETCH_HEAD instead of overwriting
--upload-pack <path> path to upload pack on remote end
-f, --force force overwrite of local branch
-m, --multiple fetch from multiple remotes
-t, --tags fetch all tags and associated objects
-n do not fetch all tags (--no-tags)
-p, --prune prune remote-tracking branches no longer on remote
--recurse-submodules[=<on-demand>]
control recursive fetching of submodules
--dry-run dry run
-k, --keep keep downloaded pack
-u, --update-head-ok allow updating of HEAD ref
--progress force progress reporting
--depth <depth> deepen history of shallow clone
--unshallow convert to a complete repository
--update-shallow accept refs that update .git/shallow
--refmap <refmap> specify fetch refmap
---- End output of git fetch --prune-tags origin --tags ----
Ran git fetch --prune-tags origin --tags returned 129
Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/ruby_rbenv/resources/system_install.rb
49: git new_resource.global_prefix do
50: repository new_resource.git_url
51: reference new_resource.git_ref
52: action :checkout if new_resource.update_rbenv == false
53: notifies :run, 'ruby_block[Add rbenv to PATH]', :immediately
54: notifies :run, 'bash[Initialize system rbenv]', :immediately
55: end
56:
Compiled Resource:
------------------
# Declared in /var/chef/cache/cookbooks/ruby_rbenv/resources/system_install.rb:49:in `block in class_from_file'
git("/usr/local/rbenv") do
action [:sync]
default_guard_interpreter :default
declared_type :git
cookbook_name "perfectcube"
repository "https://github.com/rbenv/rbenv.git"
revision "master"
additional_remotes {}
end
System Info:
------------
chef_version=14.1.1
platform=ubuntu
platform_version=16.04
ruby=ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
program_name=/usr/bin/chef-client
executable=/opt/chef/bin/chef-client
================================================================================
Error executing action `install` on resource 'ruby_rbenv_system_install[system]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
git[/usr/local/rbenv] (/var/chef/cache/cookbooks/ruby_rbenv/resources/system_install.rb line 49) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '129'
---- Begin output of git fetch --prune-tags origin --tags ----
STDOUT:
STDERR: error: unknown option `prune-tags'
usage: git fetch [<options>] [<repository> [<refspec>...]]
or: git fetch [<options>] <group>
or: git fetch --multiple [<options>] [(<repository> | <group>)...]
or: git fetch --all [<options>]
-v, --verbose be more verbose
-q, --quiet be more quiet
--all fetch from all remotes
-a, --append append to .git/FETCH_HEAD instead of overwriting
--upload-pack <path> path to upload pack on remote end
-f, --force force overwrite of local branch
-m, --multiple fetch from multiple remotes
-t, --tags fetch all tags and associated objects
-n do not fetch all tags (--no-tags)
-p, --prune prune remote-tracking branches no longer on remote
--recurse-submodules[=<on-demand>]
control recursive fetching of submodules
--dry-run dry run
-k, --keep keep downloaded pack
-u, --update-head-ok allow updating of HEAD ref
--progress force progress reporting
--depth <depth> deepen history of shallow clone
--unshallow convert to a complete repository
--update-shallow accept refs that update .git/shallow
--refmap <refmap> specify fetch refmap
---- End output of git fetch --prune-tags origin --tags ----
Ran git fetch --prune-tags origin --tags returned 129
Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/perfectcube/recipes/app_server.rb
76: rbenv_system_install 'system'
77:
Compiled Resource:
------------------
# Declared in /var/chef/cache/cookbooks/perfectcube/recipes/app_server.rb:76:in `from_file'
ruby_rbenv_system_install("system") do
action [:install]
default_guard_interpreter :default
declared_type :rbenv_system_install
cookbook_name "perfectcube"
recipe_name "app_server"
end
System Info:
------------
chef_version=14.1.1
platform=ubuntu
platform_version=16.04
ruby=ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
program_name=/usr/bin/chef-client
executable=/opt/chef/bin/chef-client
Running handlers:
[2018-08-31T17:25:42+00:00] ERROR: Running exception handlers
Running handlers complete
[2018-08-31T17:25:42+00:00] ERROR: Exception handlers complete
Chef Client failed. 2 resources updated in 04 seconds
[2018-08-31T17:25:42+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2018-08-31T17:25:42+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2018-08-31T17:25:42+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: ruby_rbenv_system_install[system] (perfectcube::app_server line 76) had an error: Mixlib::ShellOut::ShellCommandFailed: git[/usr/local/rbenv] (/var/chef/cache/cookbooks/ruby_rbenv/resources/system_install.rb line 49) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '129'
---- Begin output of git fetch --prune-tags origin --tags ----
STDOUT:
STDERR: error: unknown option `prune-tags'
usage: git fetch [<options>] [<repository> [<refspec>...]]
or: git fetch [<options>] <group>
or: git fetch --multiple [<options>] [(<repository> | <group>)...]
or: git fetch --all [<options>]
-v, --verbose be more verbose
-q, --quiet be more quiet
--all fetch from all remotes
-a, --append append to .git/FETCH_HEAD instead of overwriting
--upload-pack <path> path to upload pack on remote end
-f, --force force overwrite of local branch
-m, --multiple fetch from multiple remotes
-t, --tags fetch all tags and associated objects
-n do not fetch all tags (--no-tags)
-p, --prune prune remote-tracking branches no longer on remote
--recurse-submodules[=<on-demand>]
control recursive fetching of submodules
--dry-run dry run
-k, --keep keep downloaded pack
-u, --update-head-ok allow updating of HEAD ref
--progress force progress reporting
--depth <depth> deepen history of shallow clone
--unshallow convert to a complete repository
--update-shallow accept refs that update .git/shallow
--refmap <refmap> specify fetch refmap
---- End output of git fetch --prune-tags origin --tags ----
Ran git fetch --prune-tags origin --tags returned 129
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment