Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

latest mixlib/install causes failure on amazon linux #228

Closed
checkmypi opened this issue Jul 12, 2018 · 1 comment
Closed

latest mixlib/install causes failure on amazon linux #228

checkmypi opened this issue Jul 12, 2018 · 1 comment
Assignees

Comments

@checkmypi
Copy link

Cookbook version

2.3.1

Chef-client version

14.2.0

Platform Details

AWS

cat /etc/os-release
NAME="Amazon Linux AMI"
VERSION="2017.09"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2017.09"
PRETTY_NAME="Amazon Linux AMI 2017.09"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2017.09:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"

Scenario:

Install chef-server from a recipe

Steps to Reproduce:

Create cookbook with a recipe

chef_ingredient 'chef-server' do
  version node['chef-server']['version'] unless node['chef-server']['version'].nil?
  action :install
end

Expected Result:

Installation of correct rpm chef-server-core package

Actual Result:

chef_ingredient[chef-server] (custom-chef-server-cookbook::default line 13) had an error: Mixlib::Install::Backend::ArtifactsNotFound: No artifacts found matching criteria.
Platform info
  product name: chef-server
  channel: stable
  version: latest
  platform: amazon
  platform version: 2017.09
  architecture: x86_64
  compatibility mode: false

Workaround

default['chef-ingredient']['mixlib-install']['git_ref'] = 'refs/tags/v3.10.0'

@deevidh
Copy link

deevidh commented Jul 12, 2018

I'm sure it's fairly evident, but this gem is used by the chef_client_updater cookbook which means that chef runs are currently failing on all Amazon Linux instances which use the cookbook.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants