Created
September 3, 2014 16:18
-
-
Save zarry/6623626762d6a325fffc to your computer and use it in GitHub Desktop.
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
Installing Chef | |
installing with dpkg... | |
Selecting previously unselected package chef. | |
(Reading database ... 56035 files and directories currently installed.) | |
Unpacking chef (from .../chef_11.14.6-1_amd64.deb) ... | |
================================================================================ | |
Error executing action `run` on resource 'execute[yum-makecache-EPELErlangrepo]' | |
================================================================================ | |
Mixlib::ShellOut::ShellCommandFailed | |
------------------------------------ | |
Expected process to exit with [0], but received '1' | |
---- Begin output of yum -q makecache --disablerepo=* --enablerepo=EPELErlangrepo ---- | |
STDOUT: | |
STDERR: Traceback (most recent call last): | |
File "/usr/bin/yum", line 29, in ? | |
yummain.user_main(sys.argv[1:], exit_code=True) | |
File "/usr/share/yum-cli/yummain.py", line 309, in user_main | |
errcode = main(args) | |
File "/usr/share/yum-cli/yummain.py", line 178, in main | |
result, resultmsgs = base.doCommands() | |
File "/usr/share/yum-cli/cli.py", line 349, in doCommands | |
return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds) | |
File "/usr/share/yum-cli/yumcommands.py", line 502, in doCommand | |
repo.repoXML | |
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1399, in <lambda> | |
repoXML = property(fget=lambda self: self._getRepoXML(), | |
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1391, in _getRepoXML | |
self._loadRepoXML(text=self) | |
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1374, in _loadRepoXML | |
return self._groupLoadRepoXML(text) | |
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1365, in _groupLoadRepoXML | |
if self._commonLoadRepoXML(text): | |
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1201, in _commonLoadRepoXML | |
result = self._getFileRepoXML(local, text) | |
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 974, in _getFileRepoXML | |
cache=self.http_caching == 'all') | |
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 811, in _getFile | |
http_headers=headers, | |
File "/usr/lib/python2.4/site-packages/urlgrabber/mirror.py", line 412, in urlgrab | |
return self._mirror_try(func, url, kw) | |
File "/usr/lib/python2.4/site-packages/urlgrabber/mirror.py", line 398, in _mirror_try | |
return func_ref( *(fullurl,), **kwargs ) | |
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 936, in urlgrab | |
return self._retry(opts, retryfunc, url, filename) | |
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 854, in _retry | |
r = apply(func, (opts,) + args, {}) | |
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 922, in retryfunc | |
fo = URLGrabberFileObject(url, filename, opts) | |
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1010, in __init__ | |
self._do_open() | |
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1093, in _do_open | |
fo, hdr = self._make_request(req, opener) | |
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1202, in _make_request | |
fo = opener.open(req) | |
File "/usr/lib64/python2.4/urllib2.py", line 364, in open | |
response = meth(req, response) | |
File "/usr/lib64/python2.4/urllib2.py", line 471, in http_response | |
response = self.parent.error( | |
File "/usr/lib64/python2.4/urllib2.py", line 396, in error | |
result = self._call_chain(*args) | |
File "/usr/lib64/python2.4/urllib2.py", line 337, in _call_chain | |
result = func(*args) | |
File "/usr/lib64/python2.4/urllib2.py", line 565, in http_error_302 | |
return self.parent.open(new) | |
File "/usr/lib64/python2.4/urllib2.py", line 358, in open | |
response = self._open(req, data) | |
File "/usr/lib64/python2.4/urllib2.py", line 376, in _open | |
'_open', req) | |
File "/usr/lib64/python2.4/urllib2.py", line 337, in _call_chain | |
result = func(*args) | |
File "/usr/lib64/python2.4/site-packages/M2Crypto/m2urllib2.py", line 82, in https_open | |
h.request(req.get_method(), req.get_selector(), req.data, headers) | |
File "/usr/lib64/python2.4/httplib.py", line 810, in request | |
self._send_request(method, url, body, headers) | |
File "/usr/lib64/python2.4/httplib.py", line 833, in _send_request | |
self.endheaders() | |
File "/usr/lib64/python2.4/httplib.py", line 804, in endheaders | |
self._send_output() | |
File "/usr/lib64/python2.4/httplib.py", line 685, in _send_output | |
self.send(msg) | |
File "/usr/lib64/python2.4/httplib.py", line 652, in send | |
self.connect() | |
File "/usr/lib64/python2.4/site-packages/M2Crypto/httpslib.py", line 55, in connect | |
sock.connect((self.host, self.port)) | |
File "/usr/lib64/python2.4/site-packages/M2Crypto/SSL/Connection.py", line 174, in connect | |
ret = self.connect_ssl() | |
File "/usr/lib64/python2.4/site-packages/M2Crypto/SSL/Connection.py", line 167, in connect_ssl | |
return m2.ssl_connect(self.ssl, self._timeout) | |
M2Crypto.SSL.SSLError: certificate verify failed | |
---- End output of yum -q makecache --disablerepo=* --enablerepo=EPELErlangrepo ---- | |
Ran yum -q makecache --disablerepo=* --enablerepo=EPELErlangrepo returned 1 | |
Resource Declaration: | |
--------------------- | |
# In /tmp/kitchen/cookbooks/yum/providers/repository.rb | |
55: execute "yum-makecache-#{new_resource.repositoryid}" do | |
56: command "yum -q makecache --disablerepo=* --enablerepo=#{new_resource.repositoryid}" | |
57: action :nothing | |
58: end | |
59: | |
Compiled Resource: | |
------------------ | |
# Declared in /tmp/kitchen/cookbooks/yum/providers/repository.rb:55:in `block in class_from_file' | |
execute("yum-makecache-EPELErlangrepo") do | |
action [:nothing] | |
retries 0 | |
retry_delay 2 | |
guard_interpreter :default | |
command "yum -q makecache --disablerepo=* --enablerepo=EPELErlangrepo" | |
backup 5 | |
returns 0 | |
cookbook_name :erlang | |
end | |
[2014-09-03T16:07:34+00:00] INFO: Running queued delayed notifications before re-raising exception | |
================================================================================ | |
Error executing action `create` on resource 'yum_repository[EPELErlangrepo]' | |
================================================================================ | |
Mixlib::ShellOut::ShellCommandFailed | |
------------------------------------ | |
execute[yum-makecache-EPELErlangrepo] (/tmp/kitchen/cookbooks/yum/providers/repository.rb line 55) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' | |
---- Begin output of yum -q makecache --disablerepo=* --enablerepo=EPELErlangrepo ---- | |
STDOUT: | |
STDERR: Traceback (most recent call last): | |
File "/usr/bin/yum", line 29, in ? | |
yummain.user_main(sys.argv[1:], exit_code=True) | |
File "/usr/share/yum-cli/yummain.py", line 309, in user_main | |
errcode = main(args) | |
File "/usr/share/yum-cli/yummain.py", line 178, in main | |
result, resultmsgs = base.doCommands() | |
File "/usr/share/yum-cli/cli.py", line 349, in doCommands | |
return self.yum_cli_commands[self.basecmd].doCommand(se | |
lf, self.basecmd, self.extcmds) | |
File "/usr/share/yum-cli/yumcommands.py", line 502, in doCommand | |
repo.repoXML | |
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1399, in <lambda> | |
repoXML = property(fget=lambda self: self._getRepoXML(), | |
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1391, in _getRepoXML | |
self._loadRepoXML(text=self) | |
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1374, in _loadRepoXML | |
return self._groupLoadRepoXML(text) | |
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1365, in _groupLoadRepoXML | |
if self._commonLoadRepoXML(text): | |
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1201, in _commonLoadRepoXML | |
result = self._getFileRepoXML(local, text) | |
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 974, in _getFileRepoXML | |
cache=self.http_caching == 'all') | |
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 811, in _getFile | |
http_headers=headers, | |
File "/usr/lib/python2.4/site-packages/urlgrabber/mirror.py", line 412, in urlgrab | |
return self._mirror_try(func, url, kw) | |
File "/usr/lib/python2.4/site-packages/urlgrabber/mirror.py", line 398, in _mirror_try | |
return func_ref( *(fullurl,), **kwargs ) | |
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 936, in urlgrab | |
return self._retry(opts, retryfunc, url, filename) | |
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 854, in _retry | |
r = apply(func, (opts,) + args, {}) | |
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 922, in retryfunc | |
fo = URLGrabberFileObject(url, filename, opts) | |
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1010, in __init__ | |
self._do_open() | |
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1093, in _do_open | |
fo, hdr = self._make_request(req, opener) | |
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1202, in _make_request | |
fo = opener.open(req) | |
File "/usr/lib64/python2.4/urllib2.py", line 364, in open | |
response = meth(req, response) | |
File "/usr/lib64/python2.4/urllib2.py", line 471, in http_response | |
response = self.parent.error( | |
File "/usr/lib64/python2.4/urllib2.py", line 396, in error | |
result = self._call_chain(*args) | |
File "/usr/lib64/python2.4/urllib2.py", line 337, in _call_chain | |
result = func(*args) | |
File "/usr/lib64/python2.4/urllib2.py", line 565, in http_error_302 | |
return self.parent.open(new) | |
File "/usr/lib64/python2.4/urllib2.py", line 358, in open | |
response = self._open(req, data) | |
File "/usr/lib64/python2.4/urllib2.py", line 376, in _open | |
'_open', req) | |
File "/usr/lib64/python2.4/urllib2.py", line 337, in _call_chain | |
result = func(*args) | |
File "/usr/lib64/python2.4/site-packages/M2Crypto/m2urllib2.py", line 82, in https_open | |
h.request(req.get_method(), req.get_selector(), req.data, headers) | |
File "/usr/lib64/python2.4/httplib.py", line 810, in request | |
self._send_request(method, url, body, headers) | |
File "/usr/lib64/python2.4/httplib.py", line 833, in _send_request | |
self.endheaders() | |
File "/usr/lib64/python2.4/httplib.py", line 804, in endheaders | |
self._send_output() | |
File "/usr/lib64/python2.4/httplib.py", line 685, in _send_output | |
self.send(msg) | |
File "/usr/lib64/python2.4/httplib.py", line 652, in send | |
self.connect() | |
File "/usr/lib64/python2.4/site-packages/M2Crypto/httpslib.py", line 55, in connect | |
sock.connect((self.host, self.port)) | |
m File "/usr/lib64/python2.4/site-packages/M2Crypto/SSL/Connection.py", line 174, in connect | |
ret = self.connect_ssl() | |
File "/usr/lib64/python2.4/site-packages/M2Crypto/SSL/Connection.py", line 167, in connect_ssl | |
return m2.ssl_connect(self.ssl, self._timeout) | |
M2Crypto.SSL.SSLError: certificate verify failed | |
---- End output of yum -q makecache --disablerepo=* --enablerepo=EPELErlangrepo ---- | |
Ran yum -q makecache --disablerepo=* --enablerepo=EPELErlangrepo returned 1 | |
Resource Declaration: | |
--------------------- | |
# In /tmp/kitchen/cookbooks/erlang/recipes/package.rb | |
35: yum_repository 'EPELErlangrepo' do | |
36: description "Updated erlang yum repository for RedHat / Centos 5.x - #{node['kernel']['machine']}" | |
37: baseurl 'http://repos.fedorapeople.org/repos/peter/erlang/epel-5Server/$basearch' | |
38: gpgcheck false | |
39: action :create | |
40: end | |
41: | |
Compiled Resource: | |
------------------ | |
# Declared in /tmp/kitchen/cookbooks/erlang/recipes/package.rb:35:in `from_file' | |
yum_repository("EPELErlangrepo") do | |
action [:create] | |
updated true | |
updated_by_last_action true | |
retries 0 | |
retry_delay 2 | |
guard_interpreter :default | |
cookbook_name :erlang | |
recipe_name "package" | |
description "Updated erlang yum repository for RedHat / Centos 5.x - x86_64" | |
baseurl "http://repos.fedorapeople.org/repos/peter/erlang/epel-5Server/$basearch" | |
enabled true | |
repositoryid "EPELErlangrepo" | |
sslverify true | |
make_cache true | |
end | |
[2014-09-03T16:07:34+00:00] INFO: Running queued delayed notifications before re-raising exception | |
[2014-09-03T16:07:34+00:00] INFO: package[sensu] sending create action to ruby_block[sensu_service_trigger] (delayed) | |
Recipe: sensu::default | |
* ruby_block[sensu_service_trigger] action create[2014-09-03T16:07:34+00:00] INFO: Processing ruby_block[sensu_service_trigger] action create (sensu::default line 20) | |
[2014-09-03T16:07:34+00:00] INFO: ruby_block[sensu_service_trigger] called | |
- execute the ruby block sensu_service_trigger | |
Running handlers: | |
[2014-09-03T16:07:34+00:00] ERROR: Running exception handlers | |
Running handlers complete | |
[2014-09-03T16:07:34+00:00] ERROR: Exception handlers complete | |
[2014-09-03T16:07:34+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out | |
Chef Client failed. 25 resources updated in 69.3308 seconds | |
[2014-09-03T16:07:34+00:00] ERROR: yum_repository[EPELErlangrepo] (erlang::package line 35) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[yum-makecache-EPELErlangrepo] (/tmp/kitchen/cookbooks/yum/providers/repository.rb line 55) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' | |
---- Begin output of yum -q makecache --disablerepo=* --enablerepo=EPELErlangrepo ---- | |
STDOUT: | |
STDERR: Traceback (most recent call last): | |
File "/usr/bin/yum", line 29, in ? | |
yummain.user_main(sys.argv[1:], exit_code=True) | |
File "/usr/share/yum-cli/yummain.py", line 309, in user_main | |
errcode = main(args) | |
File "/usr/share/yum-cli/yummain.py", line 178, in main | |
result, resultmsgs = base.doCommands() | |
File "/usr/share/yum-cli/cli.py", line 349, in doCommands | |
return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds) | |
File "/usr/share/yum-cli/yumcommands.py", line 502, in doCommand | |
repo.repoXML | |
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1399, in <lambda> | |
repoXML = property(fget=lambda self: self._getRepoXML(), | |
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1391, in _getRepoXML | |
self._loadRepoXML(text=self) | |
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1374, in _loadRepoXML | |
return self._groupLoadRepoXML(text) | |
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1365, in _groupLoadRepoXML | |
if self._commonLoadRepoXML(text): | |
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1201, in _commonLoadRepoXML | |
result = self._getFileRepoXML(local, text) | |
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 974, in _getFileRepoXML | |
cache=self.http_caching == 'all') | |
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 811, in _getFile | |
http_headers=headers, | |
File "/usr/lib/python2.4/site-packages/urlgrabber/mirror.py", line 412, in urlgrab | |
return self._mirror_try(func, url, kw) | |
File "/usr/lib/python2.4/site-packages | |
/urlgrabber/mirror.py", line 398, in _mirror_try | |
return func_ref( *(fullurl,), **kwargs ) | |
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 936, in urlgrab | |
return self._retry(opts, retryfunc, url, filename) | |
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 854, in _retry | |
r = apply(func, (opts,) + args, {}) | |
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 922, in retryfunc | |
fo = URLGrabberFileObject(url, filename, opts) | |
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1010, in __init__ | |
self._do_open() | |
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1093, in _do_open | |
fo, hdr = self._make_request(req, opener) | |
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1202, in _make_request | |
fo = opener.open(req) | |
File "/usr/lib64/python2.4/urllib2.py", line 364, in open | |
response = meth(req, response) | |
File "/usr/lib64/python2.4/urllib2.py", line 471, in http_response | |
response = self.parent.error( | |
File "/usr/lib64/python2.4/urllib2.py", line 396, in error | |
result = self._call_chain(*args) | |
File "/usr/lib64/python2.4/urllib2.py", line 337, in _call_chain | |
result = func(*args) | |
File "/usr/lib64/python2.4/urllib2.py", line 565, in http_error_302 | |
return self.parent.open(new) | |
File "/usr/lib64/python2.4/urllib2.py", line 358, in open | |
response = self._open(req, data) | |
File "/usr/lib64/python2.4/urllib2.py", line 376, in _open | |
'_open', req) | |
File "/usr/lib64/python2.4/urllib2.py", line 337, in _call_chain | |
result = func(*args) | |
File "/usr/lib64/python2.4/site-packages/M2Crypto/m2urllib2.py", line 82, in https_open | |
h.request(req.get_method(), req.get_selector(), req.data, headers) | |
File "/usr/lib64/python2.4/httplib.py", line 810, in request | |
self._send_request(method, url, body, headers) | |
File "/usr/lib64/python2.4/httplib.py", line 833, in _send_request | |
self.endheaders() | |
File "/usr/lib64/python2.4/httplib.py", line 804, in endheaders | |
self._send_output() | |
File "/usr/lib64/python2.4/httplib.py", line 685, in _send_output | |
self.send(msg) | |
File "/usr/lib64/python2.4/httplib.py", line 652, in send | |
self.connect() | |
File "/usr/lib64/python2.4/site-packages/M2Crypto/httpslib.py", line 55, in connect | |
sock.connect((self.host, self.port)) | |
File "/usr/lib64/python2.4/site-packages/M2Crypto/SSL/Connection.py", line 174, in connect | |
ret = self.connect_ssl() | |
File "/usr/lib64/python2.4/site-packages/M2Crypto/SSL/Connection.py", line 167, in connect_ssl | |
return m2.ssl_connect(self.ssl, self._timeout) | |
M2Crypto.SSL.SSLError: certificate verify failed | |
---- End output of yum -q makecache --disablerepo=* --enablerepo=EPELErlangrepo ---- | |
Ran yum -q makecache --disablerepo=* --enablerepo=EPELErlangrepo returned 1 | |
[2014-09-03T16:07:34+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) | |
>>>>>> Converge failed on instance <default-centos-59>. | |
>>>>>> Please see .kitchen/logs/default-centos-59.log for more details | |
>>>>>> ------Exception------- | |
>>>>>> Class: Kitchen::ActionFailed | |
>>>>>> Message: SSH exited (1) for command: [sudo -E chef-solo --config /tmp/kitchen/solo.rb --json-attributes /tmp/kitchen/dna.json --log_level info] | |
>>>>>> ---------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment