Help us understand the problem. What is going on with this article?

chef 11.4.4 でパッケージインストール中に SIGKILLを食らった場合の対処方法

More than 5 years have passed since last update.

環境
OS:CentOS 6.3(x86_64)
Chef:chef 11.4.4

ParseエラーでSIGKILL食らった場合はchef-clientのバージョンアップを行うと解決します。

$ knife solo cook -F ssh-config <target Node>
Checking Chef version...
Starting Chef Client, version 11.4.4
Compiling Cookbooks...
Converging 24 resources
Recipe: bind-util::default
  * package[bind-utils] action install (up to date)
  * package[dstat] action install (up to date)
Recipe: git::default
  * package[git] action install (up to date)
Recipe: subversion::default
  * package[svn] action install[2013-07-29T21:51:04+09:00] WARN: Problem parsing line 'libxml2 0 2.7.6 12.el6_4.1 x86_64 ['libxml2.so.2(LIBXML2_2.7.4)(64bit)', 'libxml2.so.2(LIBXML2_2.7.3)(64bit)', 'libxml2.so.2(LIBXML2_2.7.0)(64bit)', 'libxml2.so.2(LIBXML2_2.6.8)(64bit)', 'libxml2.so.2(LIBXML2_2.6.7)(64bit)', 'libxml2.so.2(LIBXML2_2.6.6)(64bit)', 'libxml2.so.2(LIBXML2_2.6.5)(64bit)', 'libxml2.so.2(LIBXML2_2.6.32)(64bit)', 'libxml2.so.2(LIBXML2_2.6.3)(64bit)', 'libxml2.so.2(LIBXML2_2.6.29)(64bit)', 'libxml2.so.2(LIBXML2_2.6.28)(64bit)', 'libxml2.so.2(LIBXML2_2.6.27)(64bit)', 'libxml2.so.2(LIBXML2_2.6.25)(64bit)', 'libxml2.so.2(LIBXML2_2.6.24)(64bit)', 'libxml2.so.2(LIBXML2_2.6.23)(64bit)', 'libxml2.so.2(LIBXML2_2.6.21)(64bit)', 'libxml2.so.2(LIBXML2_2.6.20)(64bit)', 'libxml2.so.2(LIBXML2_2.6.2)(64bit)', 'libxml2.so.2(LIBXML2_2.6.19)(64bit)', 'libxml2.so.2(LIBXML2_2.6.18)(64bit)', 'libxml2.so.2(LIBXML2_2.6.17)(64bit)', 'libxml2.so.2(LIBXML2_2.6.16)(64bit)', 'libxml2.so.2(LIBXML2_2.6.15)(64bit)', 'libxml2.so.2(LIBXML2_2.6.14)(64bit)', 'libxml2.so.2(LIBXML2_2.6.12)(64bit)', 'libxml2.so.2(LIBXML2_2.6.11)(64bit)', 'libxml2.so.2(LIBXML2_2.6.10)(64bit)', 'libxml2.so.2(LIBXML2_2.6.1)(64bit)', 'libxml2.so.2(LIBXML2_2.6.0)(64bit)', 'libxml2.so.2(LIBXML2_2.5.9)(64bit)', 'libxml2.so.2(LIBXML2_2.5.8)(64bit)', 'libxml2.so.2(LIBXML2_2.5.7)(64bit)', 'libxml2.so.2(LIBXML2_2.5.6)(64bit)', 'libxml2.so.2(LIBXML2_2.5.5)(64bit)', 'li' from yum-dump.py! Please check your yum configuration.

================================================================================
Error executing action `install` on resource 'package[svn]'
================================================================================


Chef::Exceptions::Package
-------------------------
Yum failed - #<Process::Status: pid 13129 SIGKILL (signal 9)> - returns: []


Resource Declaration:
---------------------
# In /tmp/chef-solo/cookbooks/subversion/recipes/default.rb

 10: package "svn" do
 11:   action :install
 12: end



Compiled Resource:
------------------
# Declared in /tmp/chef-solo/cookbooks/subversion/recipes/default.rb:10:in `from_file'

package("svn") do
  action [:install]
  retries 0
  retry_delay 2
  package_name "svn"
  cookbook_name :subversion
  recipe_name "default"
end



[2013-07-29T21:51:05+09:00] ERROR: Running exception handlers
[2013-07-29T21:51:05+09:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated
[2013-07-29T21:51:05+09:00] FATAL: Stacktrace dumped to /tmp/chef-solo/chef-stacktrace.out
[2013-07-29T21:51:05+09:00] FATAL: Chef::Exceptions::Package: package[svn] (subversion::default line 10) had an error: Chef::Exceptions::Package: Yum failed - #<Process::Status: pid 13129 SIGKILL (signal 9)> - returns: []
ERROR: RuntimeError: chef-solo failed. See output above.
butayan0
都市伝説の発掘と解決業やってます。
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away