[go: up one dir, main page]

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

Omnitruck artifact does not exist for Amazon Linux 2023 #14522

Open
hsiddiqui84 opened this issue Jul 26, 2024 · 2 comments
Open

Omnitruck artifact does not exist for Amazon Linux 2023 #14522

hsiddiqui84 opened this issue Jul 26, 2024 · 2 comments
Assignees
Labels
Status: Untriaged An issue that has yet to be triaged.

Comments

@hsiddiqui84
Copy link

Description

https://omnitruck.chef.io/install.sh is sets the platform to "amazon" for amazon linux 2023. Previously it was setting platform to "el".

The download url created by install.sh is now (notice the p=amazon)
https://omnitruck.cinc.sh/stable/cinc/metadata?v=15&p=amazon&pv=2023&m=x86_64
This url returns a 404

install.sh was updated to account for the contents of amazon linux's /etc/system-release but https://omnitruck.chef.io/stable/chef/metadata wasn't updated for the new values returned from the updated install.sh

Chef Version

Chef Infra Client: ALL

Platform Version

AL2023

Replication Case

This amazon linux url return 404:
https://omnitruck.cinc.sh/stable/cinc/metadata?v=15&p=amazon&pv=2023&m=x86_64

This URL with generic "el" value return valid data:
https://omnitruck.cinc.sh/stable/cinc/metadata?v=15&p=el&pv=2023&m=x86_64

Client Output

https://omnitruck.cinc.sh/install.sh
Resolving omnitruck.cinc.sh (omnitruck.cinc.sh)... 140.211.9.53, 2605:bc80:3010:104::8cd3:935
Connecting to omnitruck.cinc.sh (omnitruck.cinc.sh)|140.211.9.53|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23755 (23K) [application/x-sh]
Saving to: ‘install.sh’

     0K .......... .......... ...                             100% 2.56M=0.009s

2024-07-26 11:39:46 (2.56 MB/s) - ‘install.sh’ saved [23755/23755]

amazon 2023 x86_64
Getting information for cinc stable 15 for amazon...
downloading https://omnitruck.cinc.sh/stable/cinc/metadata?v=15&p=amazon&pv=2023&m=x86_64
  to file /tmp/install.sh.2444/metadata.txt
trying wget...
ERROR 404
Omnitruck artifact does not exist for version 15 on platform amazon

Either this means:
   - We do not support amazon
   - We do not have an artifact for 15

Here are the contents of /etc/system-release from my AL2023 instance:

cat /etc/os-release
NAME="Amazon Linux"
VERSION="2023"
ID="amzn"
ID_LIKE="fedora"
VERSION_ID="2023"
PLATFORM_ID="platform:al2023"
PRETTY_NAME="Amazon Linux 2023.5.20240708"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2023"
HOME_URL="https://aws.amazon.com/linux/amazon-linux-2023/"
DOCUMENTATION_URL="https://docs.aws.amazon.com/linux/"
SUPPORT_URL="https://aws.amazon.com/premiumsupport/"
BUG_REPORT_URL="https://github.com/amazonlinux/amazon-linux-2023"
VENDOR_NAME="AWS"
VENDOR_URL="https://aws.amazon.com/"
SUPPORT_END="2028-03-15"

Possible Solution

Update https://omnitruck.chef.io/stable/chef/metadata to account for the new values returned from the updated install.sh.

@hsiddiqui84 hsiddiqui84 added the Status: Untriaged An issue that has yet to be triaged. label Jul 26, 2024
@tpowell-progress
Copy link
Contributor

@hsiddiqui84 Cinc-project releases are separate from Chef Client, but if I'm reading this right, you're trying to retrieve a v15 version of Cinc Client. The corresponding Chef Client just had Amazon Linux 2023 added in a recent v18 release, and v15 pretty far beyond getting any sort of updates, but perhaps @ramereth can clarify.

@tpowell-progress tpowell-progress self-assigned this Aug 8, 2024
@ramereth
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Untriaged An issue that has yet to be triaged.
Projects
None yet
Development

No branches or pull requests

3 participants