Created
August 31, 2017 08:16
-
-
Save runningman84/197a4ceeb6934c510c868f7e82809a8e to your computer and use it in GitHub Desktop.
sensu opensuse
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Recipe: sensu::default | |
* ruby_block[sensu_service_trigger] action nothing[2017-08-31T08:15:30+00:00] INFO: Processing ruby_block[sensu_service_trigger] action nothing (sensu::default line 20) | |
(skipped due to action :nothing) | |
Recipe: sensu::_linux | |
* yum_repository[sensu] action add[2017-08-31T08:15:30+00:00] INFO: Processing yum_repository[sensu] action add (sensu::_linux line 48) | |
(up to date) | |
* yum_package[sensu] action install[2017-08-31T08:15:30+00:00] INFO: Processing yum_package[sensu] action install (sensu::_linux line 61) | |
[2017-08-31T08:15:30+00:00] WARN: Yum executable not found or doesn't start with #!. Using default python. | |
================================================================================ | |
Error executing action `install` on resource 'yum_package[sensu]' | |
================================================================================ | |
Mixlib::ShellOut::ShellCommandFailed | |
------------------------------------ | |
Expected process to exit with [0], but received '1' | |
---- Begin output of /usr/bin/python /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.4/lib/chef/provider/package/yum/yum-dump.py --options --installed-provides --yum-lock-timeout 30 ---- | |
STDOUT: | |
STDERR: Traceback (most recent call last): | |
File "/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.4/lib/chef/provider/package/yum/yum-dump.py", line 36, in <module> | |
import yum | |
ImportError: No module named yum | |
---- End output of /usr/bin/python /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.4/lib/chef/provider/package/yum/yum-dump.py --options --installed-provides --yum-lock-timeout 30 ---- | |
Ran /usr/bin/python /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.4/lib/chef/provider/package/yum/yum-dump.py --options --installed-provides --yum-lock-timeout 30 returned 1 | |
Resource Declaration: | |
--------------------- | |
# In /tmp/kitchen/cache/cookbooks/sensu/recipes/_linux.rb | |
61: yum_package "sensu" do | |
62: version lazy { Sensu::Helpers.redhat_version_string( | |
63: node["sensu"]["version"], | |
64: node["platform_version"], | |
65: node["sensu"]["version_suffix"] | |
66: )} | |
67: allow_downgrade true | |
68: notifies :create, "ruby_block[sensu_service_trigger]" | |
69: end | |
70: else | |
Compiled Resource: | |
------------------ | |
# Declared in /tmp/kitchen/cache/cookbooks/sensu/recipes/_linux.rb:61:in `from_file' | |
yum_package("sensu") do | |
package_name "sensu" | |
action [:install] | |
retries 0 | |
retry_delay 2 | |
default_guard_interpreter :default | |
declared_type :yum_package | |
cookbook_name "sensu" | |
recipe_name "_linux" | |
version "0.28.5-2.el42" | |
allow_downgrade true | |
flush_cache {:before=>false, :after=>false} | |
end | |
System Info: | |
------------ | |
chef_version=12.21.4 | |
platform=opensuseleap | |
platform_version=42.2 | |
ruby=ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux] | |
program_name=chef-client worker: ppid=10986;start=08:14:40; | |
executable=/opt/chef/bin/chef-client | |
[2017-08-31T08:15:30+00:00] INFO: Running queued delayed notifications before re-raising exception | |
Running handlers: | |
[2017-08-31T08:15:30+00:00] ERROR: Running exception handlers | |
Running handlers complete | |
[2017-08-31T08:15:30+00:00] ERROR: Exception handlers complete | |
Chef Client failed. 2 resources updated in 50 seconds | |
[2017-08-31T08:15:30+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out | |
[2017-08-31T08:15:30+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report | |
[2017-08-31T08:15:30+00:00] ERROR: yum_package[sensu] (sensu::_linux line 61) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' | |
---- Begin output of /usr/bin/python /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.4/lib/chef/provider/package/yum/yum-dump.py --options --installed-provides --yum-lock-timeout 30 ---- | |
STDOUT: | |
STDERR: Traceback (most recent call last): | |
File "/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.4/lib/chef/provider/package/yum/yum-dump.py", line 36, in <module> | |
import yum | |
ImportError: No module named yum | |
---- End output of /usr/bin/python /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.4/lib/chef/provider/package/yum/yum-dump.py --options --installed-provides --yum-lock-timeout 30 ---- | |
Ran /usr/bin/python /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.4/lib/chef/provider/package/yum/yum-dump.py --options --installed-provides --yum-lock-timeout 30 returned 1 | |
[2017-08-31T08:15:30+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