Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo chef-client --local-mode -j ~/runlists/default.json
- [2017-08-31T12:16:06-07:00] WARN: No config file found or specified on command line, using command line options.
- [2017-08-31T12:16:06-07:00] FATAL: Cannot load configuration from /home/vvasuki/runlists/default.json
- [2017-08-31T12:16:06-07:00] FATAL: Cannot load configuration from /home/vvasuki/runlists/default.json
- [vedavaapi-chef] 12:16:06$ sudo chef-client --local-mode -j ~/vedavaapi-chef/runlists/default.json
- [2017-08-31T12:16:39-07:00] WARN: No config file found or specified on command line, using command line options.
- Starting Chef Client, version 13.2.20
- resolving cookbooks for run list: ["vedavaapi::couchdb"]
- Synchronizing Cookbooks:
- - vedavaapi (0.1.0)
- - couchdb (3.0.1)
- - build-essential (8.0.3)
- - erlang (5.1.0)
- - compat_resource (12.19.0)
- - yum-epel (2.1.2)
- - poise-python (1.6.0)
- - seven_zip (2.0.2)
- - maven (5.0.1)
- - yum-erlang_solutions (1.0.3)
- - mingw (2.0.1)
- - poise (2.8.1)
- - poise-languages (2.1.1)
- - apt (6.1.3)
- - java (1.50.0)
- - homebrew (4.2.0)
- - windows (3.1.2)
- - ohai (5.2.0)
- - poise-archive (1.5.0)
- - ark (3.1.0)
- Installing Cookbook Gems:
- Compiling Cookbooks...
- Converging 2 resources
- Recipe: vedavaapi::couchdb
- * directory[/var/lib/couchdb] action delete
- - delete existing directory /var/lib/couchdb
- * couchdb_node[couchdb] action create
- Recipe: couchdb::prereq
- * group[couchdb] action create (up to date)
- * linux_user[couchdb] action create (up to date)
- * linux_user[couchdb] action lock (up to date)
- * directory[/var/lib/couchdb] action create
- - create new directory /var/lib/couchdb
- - change mode from '' to '0775'
- - change owner from '' to 'couchdb'
- - change group from '' to 'couchdb'
- * directory[/var/log/couchdb] action create (up to date)
- * apt_package[adduser, curl, libicu-dev, libmozjs185-dev, procps, python, python-requests, python-progressbar] action install (up to date)
- * apt_package[init-system-helpers] action install (up to date)
- Recipe: build-essential::default
- * build_essential[install_packages] action install
- * apt_package[autoconf, binutils-doc, bison, build-essential, flex, gettext, ncurses-dev] action install (up to date)
- (up to date)
- Recipe: erlang::esl
- * apt_package[apt-transport-https] action install (up to date)
- * apt_repository[erlang_solutions_repo] action add
- * remote_file[/home/vvasuki/.chef/local-mode-cache/cache/https___packages_erlang-solutions_com_debian_erlang_solutions_asc] action create (up to date)
- * execute[apt-key add /home/vvasuki/.chef/local-mode-cache/cache/https___packages_erlang-solutions_com_debian_erlang_solutions_asc] action run (skipped due to not_if)
- * execute[apt-cache gencaches] action nothing (skipped due to action :nothing)
- * apt_update[erlang_solutions_repo] action nothing (skipped due to action :nothing)
- * file[/etc/apt/sources.list.d/erlang_solutions_repo.list] action create (up to date)
- (up to date)
- * apt_package[esl-erlang] action install (up to date)
- Recipe: couchdb::prereq
- * bash[remove_erlang_manpage_symlink] action run
- ================================================================================
- Error executing action `run` on resource 'bash[remove_erlang_manpage_symlink]'
- ================================================================================
- Mixlib::ShellOut::ShellCommandFailed
- ------------------------------------
- Expected process to exit with [0], but received '1'
- ---- Begin output of "bash" "/tmp/chef-script20170831-25348-4530s0" ----
- STDOUT:
- STDERR: rm: cannot remove '/usr/lib/erlang/man': No such file or directory
- ---- End output of "bash" "/tmp/chef-script20170831-25348-4530s0" ----
- Ran "bash" "/tmp/chef-script20170831-25348-4530s0" returned 1
- Resource Declaration:
- ---------------------
- # In /home/vvasuki/.chef/local-mode-cache/cache/cookbooks/couchdb/recipes/prereq.rb
- 75: bash 'remove_erlang_manpage_symlink' do
- 76: code <<-EOH
- 77: rm /usr/lib/erlang/man
- 78: EOH
- 79: only_if { node['platform'] == 'ubuntu' && node['platform_version'].to_f >= 16.00 }
- 80: end
- 81:
- Compiled Resource:
- ------------------
- # Declared in /home/vvasuki/.chef/local-mode-cache/cache/cookbooks/couchdb/recipes/prereq.rb:75:in `from_file'
- bash("remove_erlang_manpage_symlink") do
- action [:run]
- default_guard_interpreter :default
- command nil
- backup 5
- returns 0
- user nil
- interpreter "bash"
- declared_type :bash
- cookbook_name "couchdb"
- recipe_name "prereq"
- code " rm /usr/lib/erlang/man\n"
- domain nil
- only_if { #code block }
- end
- System Info:
- ------------
- chef_version=13.2.20
- platform=ubuntu
- platform_version=17.04
- ruby=ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]
- program_name=chef-client worker: ppid=25286;start=12:16:39;
- executable=/opt/chefdk/bin/chef-client
- ================================================================================
- Error executing action `create` on resource 'couchdb_node[couchdb]'
- ================================================================================
- Mixlib::ShellOut::ShellCommandFailed
- ------------------------------------
- bash[remove_erlang_manpage_symlink] (couchdb::prereq line 75) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
- ---- Begin output of "bash" "/tmp/chef-script20170831-25348-4530s0" ----
- STDOUT:
- STDERR: rm: cannot remove '/usr/lib/erlang/man': No such file or directory
- ---- End output of "bash" "/tmp/chef-script20170831-25348-4530s0" ----
- Ran "bash" "/tmp/chef-script20170831-25348-4530s0" returned 1
- Resource Declaration:
- ---------------------
- # In /home/vvasuki/.chef/local-mode-cache/cache/cookbooks/vedavaapi/recipes/couchdb.rb
- 7: couchdb_node 'couchdb' do
- 8: admin_username 'vvasuki'
- 9: admin_password '-pbkdf2-6a46ef557bef4d04516f5e7115a4bdaa3e059caa,c3a387281af00a9f68260b1993483709,10'
- 10: fulltext true
- 11: type 'standalone'
- 12: end
- Compiled Resource:
- ------------------
- # Declared in /home/vvasuki/.chef/local-mode-cache/cache/cookbooks/vedavaapi/recipes/couchdb.rb:7:in `from_file'
- couchdb_node("couchdb") do
- action [:create]
- updated true
- updated_by_last_action true
- default_guard_interpreter :default
- declared_type :couchdb_node
- cookbook_name "vedavaapi"
- recipe_name "couchdb"
- admin_username "vvasuki"
- admin_password "-pbkdf2-6a46ef557bef4d04516f5e7115a4bdaa3e059caa,c3a387281af00a9f68260b1993483709,10"
- fulltext true
- type "standalone"
- uuid "6c51cd835a3343b9a7af78b7f2875fb7"
- end
- System Info:
- ------------
- chef_version=13.2.20
- platform=ubuntu
- platform_version=17.04
- ruby=ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]
- program_name=chef-client worker: ppid=25286;start=12:16:39;
- executable=/opt/chefdk/bin/chef-client
- Running handlers:
- [2017-08-31T12:17:09-07:00] ERROR: Running exception handlers
- [2017-08-31T12:17:09-07:00] ERROR: Running exception handlers
- Running handlers complete
- [2017-08-31T12:17:09-07:00] ERROR: Exception handlers complete
- [2017-08-31T12:17:09-07:00] ERROR: Exception handlers complete
- Chef Client failed. 2 resources updated in 30 seconds
- [2017-08-31T12:17:09-07:00] FATAL: Stacktrace dumped to /home/vvasuki/.chef/local-mode-cache/cache/chef-stacktrace.out
- [2017-08-31T12:17:09-07:00] FATAL: Stacktrace dumped to /home/vvasuki/.chef/local-mode-cache/cache/chef-stacktrace.out
- [2017-08-31T12:17:09-07:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
- [2017-08-31T12:17:09-07:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
- [2017-08-31T12:17:09-07:00] ERROR: couchdb_node[couchdb] (vedavaapi::couchdb line 7) had an error: Mixlib::ShellOut::ShellCommandFailed: bash[remove_erlang_manpage_symlink] (couchdb::prereq line 75) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
- ---- Begin output of "bash" "/tmp/chef-script20170831-25348-4530s0" ----
- STDOUT:
- STDERR: rm: cannot remove '/usr/lib/erlang/man': No such file or directory
- ---- End output of "bash" "/tmp/chef-script20170831-25348-4530s0" ----
- Ran "bash" "/tmp/chef-script20170831-25348-4530s0" returned 1
- [2017-08-31T12:17:09-07:00] ERROR: couchdb_node[couchdb] (vedavaapi::couchdb line 7) had an error: Mixlib::ShellOut::ShellCommandFailed: bash[remove_erlang_manpage_symlink] (couchdb::prereq line 75) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
- ---- Begin output of "bash" "/tmp/chef-script20170831-25348-4530s0" ----
- STDOUT:
- STDERR: rm: cannot remove '/usr/lib/erlang/man': No such file or directory
- ---- End output of "bash" "/tmp/chef-script20170831-25348-4530s0" ----
- Ran "bash" "/tmp/chef-script20170831-25348-4530s0" returned 1
- [2017-08-31T12:17:09-07:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
- [2017-08-31T12:17:09-07:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement