install.sh does not detect Alibaba Linux correctly
Open
Nobody has claimed this yet.
Status: Untriaged
Type: Bug
- Dominant language
- Ruby
- Stars
- 13
- Forks
- 55
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 8
Description
Version:
latest script
Environment:
Alibaba Linux
Scenario:
./install.sh
Expected Result:
Install a CentOS 7 package
Actual Result:
el 2 x86_64
Getting information for chef stable for el...
downloading https://omnitruck.chef.io/stable/chef/metadata?v=&p=el&pv=2&m=x86_64
to file /tmp/install.sh.27014/metadata.txt
trying wget...
ERROR 404
Omnitruck artifact does not exist for version on platform el
Either this means:
- We do not support el
- We do not have an artifact for
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=<number>' 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 el is not supported.
Metadata URL: https://omnitruck.chef.io/stable/chef/metadata?v=&p=el&pv=2&m=x86_64
[root@iZrj996x25ht5omuhhzod7Z ~]#
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting install.sh's platform and distribution detection, then reproduce the command on Alibaba Linux. Verify that the detected platform maps to the CentOS 7 package and that the resulting installation succeeds; no test file is mentioned in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, shell
- Domain
- devops, operating-systems
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100