You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a community member, I would like to be able to install Chef on the new versions of Amazon Linux provided by AWS like Amazon Linux 2022 over the Omnitruck script. https://github.com/amazonlinux/amazon-linux-2022
Describe the problem
I am getting errors to install Chef over Omnitruck script at Amazon Linux 2022 OS releases
Software Version
Chef 17
Chef 16
Platform Version
5.15.57-30.131.amzn2022.x86_64
Amazon Linux release 2022 (Amazon Linux)
NAME="Amazon Linux"
VERSION="2022"
ID="amzn"
ID_LIKE="fedora"
VERSION_ID="2022"
PLATFORM_ID="platform:al2022"
PRETTY_NAME="Amazon Linux 2022"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2022"
HOME_URL="https://amazonlinux.com/"
Amazon Linux release 2022 (Amazon Linux)
Replication Case
Simply run the command below on amzn2022.x86_64 OS (Amazon Linux release 2022 ) OS instances:
Omnitruck artifact does not exist for version 17 on platform amazon
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 23526 100 23526 0 0 146k 0 --:--:-- --:--:-- --:--:-- 147k
amazon 2022 x86_64
Getting information for chef stable 17 for amazon...
downloading https://omnitruck.chef.io/stable/chef/metadata?v=17&p=amazon&pv=2022&m=x86_64
to file /tmp/install.sh.27642/metadata.txt
trying wget...
ERROR 404
Omnitruck artifact does not exist for version 17 on platform amazon
Either this means:
We do not support amazon
We do not have an artifact for 17
This is often the latter case due to running a prerelease or RC version of Chef
or a gem version which was only pushed to rubygems and not omnitruck.
You may be able to set your knife[:bootstrap_version] to the most recent stable
release of Chef to fix this problem (or the most recent stable major version number).
In order to test the version parameter, adventurous users may take the Metadata URL
below and modify the '&v=' parameter until you successfully get a URL that
does not 404 (e.g. via curl or wget). You should be able to use '&v=11' or '&v=12'
successfully.
If you cannot fix this problem by setting the bootstrap_version, it probably means
that amazon is not supported.
As a community member, I would like to be able to install Chef on the new versions of Amazon Linux provided by AWS like Amazon Linux 2022 over the Omnitruck script.
https://github.com/amazonlinux/amazon-linux-2022
Describe the problem
I am getting errors to install Chef over Omnitruck script at Amazon Linux 2022 OS releases
Software Version
Chef 17
Chef 16
Platform Version
5.15.57-30.131.amzn2022.x86_64
Amazon Linux release 2022 (Amazon Linux)
NAME="Amazon Linux"
VERSION="2022"
ID="amzn"
ID_LIKE="fedora"
VERSION_ID="2022"
PLATFORM_ID="platform:al2022"
PRETTY_NAME="Amazon Linux 2022"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2022"
HOME_URL="https://amazonlinux.com/"
Amazon Linux release 2022 (Amazon Linux)
Replication Case
Simply run the command below on amzn2022.x86_64 OS (Amazon Linux release 2022 ) OS instances:
curl -L https://omnitruck.chef.io/install.sh | sudo bash -s -- -v 17
Stacktrace
Omnitruck artifact does not exist for version 17 on platform amazon
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 23526 100 23526 0 0 146k 0 --:--:-- --:--:-- --:--:-- 147k amazon 2022 x86_64 Getting information for chef stable 17 for amazon... downloading https://omnitruck.chef.io/stable/chef/metadata?v=17&p=amazon&pv=2022&m=x86_64 to file /tmp/install.sh.27642/metadata.txt trying wget... ERROR 404 Omnitruck artifact does not exist for version 17 on platform amazonEither this means:
This is often the latter case due to running a prerelease or RC version of Chef
or a gem version which was only pushed to rubygems and not omnitruck.
You may be able to set your knife[:bootstrap_version] to the most recent stable
release of Chef to fix this problem (or the most recent stable major version number).
In order to test the version parameter, adventurous users may take the Metadata URL
below and modify the '&v=' parameter until you successfully get a URL that
does not 404 (e.g. via curl or wget). You should be able to use '&v=11' or '&v=12'
successfully.
If you cannot fix this problem by setting the bootstrap_version, it probably means
that amazon is not supported.
Metadata URL: https://omnitruck.chef.io/stable/chef/metadata?v=17&p=amazon&pv=2022&m=x86_64
Possible Solution
Make omnitruck script compatible with described OS release above.
The text was updated successfully, but these errors were encountered: