chef-ingredient
chef-ingredient copied to clipboard
fail to install chefdk 1.6.1 on suse 12
Cookbook version
2.2.1
Chef-client version
12
Platform Details
suse 12
Scenario:
fail to install chefdk 1.6.1 install 1.6.11 is ok install the latest one is ok
Steps to Reproduce:
include_recipe 'chefdk'
Expected Result:
install chefdk ver 1.6.1 on suse 12
Actual Result:
================================================================================
Error executing action install
on resource 'chef_ingredient[chefdk]'
================================================================================
Mixlib::Install::Backend::ArtifactsNotFound
-------------------------------------------
No artifacts found matching criteria.
product name: chefdk
channel: current
version: 1.6.1
platform: sles
platform version: 12
architecture: x86_64
compatibility mode: false
Cookbook Trace:
---------------
/var/chef/cache/cookbooks/chef-ingredient/libraries/default_handler.rb:100:in `configure_from_channel'
/var/chef/cache/cookbooks/chef-ingredient/libraries/default_handler.rb:49:in `configure_package'
/var/chef/cache/cookbooks/chef-ingredient/libraries/default_handler.rb:23:in `handle_install'
/var/chef/cache/cookbooks/chef-ingredient/resources/chef_ingredient.rb:57:in `block in class_from_file'
Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/chefdk/recipes/default.rb
7: chef_ingredient 'chefdk' do
8: action :install
9: version node['chefdk']['version']
10: channel node['chefdk']['channel']
11: end
Compiled Resource:
------------------
# Declared in /var/chef/cache/cookbooks/chefdk/recipes/default.rb:7:in `from_file'
chef_ingredient("chefdk") do
action [:install]
retries 0
retry_delay 2
default_guard_interpreter :default
declared_type :chef_ingredient
cookbook_name "chefdk"
recipe_name "default"
version "1.6.1"
channel :current
product_name "chefdk"
platform "sles"
platform_version "12"
architecture "x86_64"
end
System Info:
------------
chef_version=12.21.31
platform=suse
platform_version=12.2
ruby=ruby 2.3.5p376 (2017-09-14 revision 59905) [x86_64-linux]
program_name=chef-client worker: ppid=2458;start=14:18:13;
executable=/opt/chef/bin/chef-client
[2018-02-21T14:18:55+00:00] INFO: Running queued delayed notifications before re-raising exception
Running handlers: [2018-02-21T14:18:55+00:00] ERROR: Running exception handlers Running handlers complete [2018-02-21T14:18:55+00:00] ERROR: Exception handlers complete Chef Client failed. 11 resources updated in 42 seconds [2018-02-21T14:18:55+00:00] INFO: Sending resource update report (run-id: 222b012b-5fc2-4fc1-b743-a3e5fc226984) [2018-02-21T14:18:55+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out [2018-02-21T14:18:55+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report [2018-02-21T14:18:55+00:00] ERROR: chef_ingredient[chefdk] (chefdk::default line 7) had an error: Mixlib::Install::Backend::ArtifactsNotFound: No artifacts found matching criteria. product name: chefdk channel: current version: 1.6.1 platform: sles platform version: 12 architecture: x86_64 compatibility mode: false
[2018-02-21T14:18:55+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)