Closed izghitu closed 7 years ago
Same issue encountered on a CentOS 7 server running at the same data center in a different location but with the same kernel. This indicates that somehow the custom kernel is the culprit here.
Any help please?
This looks like either an issue with mixlib-install gem or the chef-ingredient cookbook. We will have to do more digging to check this out. If you change "latest" to "2.2.0" and give us the results there that would be helpful in us identifying where the problem is. Thanks!
@iennae you can close this, I am no longer able to reproduce it and it was a long time ago. Thanks for the response though.
Thanks for the update!
Cookbook version
3.2.0
Chef-client version
Chef: 12.12.15
Platform Details
CentOS 7.2.1511
Scenario:
Trying to install push-jobs client using cookbook
Steps to Reproduce:
chef-client -l debug -o recipe[push-jobs]
Expected Result:
It should install the push-jobs client latest version
Actual Result:
Starting Chef Client, version 12.12.15 [2016-08-06T02:59:18-07:00] WARN: Run List override has been provided. [2016-08-06T02:59:18-07:00] WARN: Original Run List: [recipe[XXX]] [2016-08-06T02:59:18-07:00] WARN: Overridden Run List: [recipe[push-jobs]] resolving cookbooks for run list: ["push-jobs"] Synchronizing Cookbooks:
Running handlers: [2016-08-06T02:59:19-07:00] ERROR: Running exception handlers Running handlers complete [2016-08-06T02:59:19-07:00] ERROR: Exception handlers complete Chef Client failed. 0 resources updated in 03 seconds [2016-08-06T02:59:19-07:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out [2016-08-06T02:59:19-07:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report [2016-08-06T02:59:19-07:00] ERROR: chef_ingredient[push-jobs-client](push-jobs::package line 44) had an error: RuntimeError: No package found for 'push-jobs-client' with version 'latest' for current platform in 'stable' channel. Check that the package exists.
[2016-08-06T02:59:19-07:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
The strange thing is that I have another server running virtually the same OS and settings and the install goes fine on that one. The only difference between the 2 servers is the kernel they are running. The ones that is working runs the standard CentOS kernel. This one that does not work runs this kernel: Linux HOSTNAME 3.14.32-xxxx-grs-ipv6-64 #7 SMP Wed Jan 27 18:05:09 CET 2016 x86_64 x86_64 x86_64 GNU/Linux
Please let me know how do I fix this issue. Thanks in advance