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

Platform detection fails for Amazon Linux 1 #393

Closed
siddhu208 opened this issue Feb 8, 2024 · 3 comments
Closed

Platform detection fails for Amazon Linux 1 #393

siddhu208 opened this issue Feb 8, 2024 · 3 comments
Labels
Status: Untriaged An issue that has yet to be triaged. Type: Bug Does not work as expected.

Comments

@siddhu208
Copy link
Contributor

Version:

[Version of the project installed]

Environment:

amazon linux 2018.03 x86_64

Scenario:

Installing on Amazon linux 1 gives the following error
amazon linux ami 2018.03 x86_64
Getting information for chef stable for amazon linux ami...
downloading https://omnitruck.chef.io/stable/chef/metadata?v=&p=amazon linux ami&pv=2018.03&m=x86_64
to file /tmp/install.sh.27900/metadata.txt
trying wget...
trying curl...
cat: /tmp/install.sh.27900/metadata.txt: No such file or directory

grep: /tmp/install.sh.27900/metadata.txt: No such file or directory
downloaded metadata file is corrupted or an uncaught error was encountered in downloading the file...
Version:

Please file a Bug Report at https://github.com/chef/omnitruck/issues/new
Alternatively, feel free to open a Support Ticket at https://www.chef.io/support/tickets
More Chef support resources can be found at https://www.chef.io/support

Please include as many details about the problem as possible i.e., how to reproduce
the problem (if possible), type of the Operating System and its version, etc.,
and any other relevant details that might help us with troubleshooting.

Steps to Reproduce:

sudo curl -L https://omnitruck.chef.io/install.sh | sudo bash -s -- -v 12.22.5

Expected Result:

Expected chef to install correctly

Actual Result:

Fails with above error

@siddhu208 siddhu208 added Status: Untriaged An issue that has yet to be triaged. Type: Bug Does not work as expected. labels Feb 8, 2024
@siddhu208
Copy link
Contributor Author

This is a very small bug, created a PR for it at #394
This is a very critical issue for us as many production systems use this and fail as of now. Please merge/fix as soon as possible. Thank you.

@milansanjeev
Copy link

Yes we are observing same issue since last weeks can someone please look and merge this PR.

@siddhu208
Copy link
Contributor Author

This is now working post merge. Iam closing this issue.

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. Type: Bug Does not work as expected.
Projects
None yet
Development

No branches or pull requests

2 participants