0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

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

Posted at

環境
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.
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?