Some components are deployed using tiup without version number completion
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 466
- Forks
- 338
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 8
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
- What did you do?
tiup playground v8.5
A new version of playground is available: v1.16.0 -> v1.16.1
To update this component: tiup update playground
To update all components: tiup update --all
Start pd instance:v8.5.0
The component pd version v8.5.0 is not installed; downloading from repository.
download https://tiup-mirrors.pingcap.com/pd-v8.5.0-darwin-arm64.tar.gz 50.30 MiB / 50.30 MiB 100.00% 26.58 MiB/s
Start tikv instance:v8.5.0
The component tikv version v8.5.0 is not installed; downloading from repository.
download https://tiup-mirrors.pingcap.com/tikv-v8.5.0-darwin-arm64.tar.gz 40.01 MiB / 40.01 MiB 100.00% 27.24 MiB/s
Start tidb instance:v8.5.0
The component tidb version v8.5.0 is not installed; downloading from repository.
download https://tiup-mirrors.pingcap.com/tidb-v8.5.0-darwin-arm64.tar.gz 80.84 MiB / 80.84 MiB 100.00% 29.16 MiB/s
Waiting for tidb instances ready
127.0.0.1:4000 ... Done
The component prometheus version v8.5 is not installed; downloading from repository.
Force tidb(5252) to quit...
tidb quit
Force tikv(5242) to quit...
tikv quit
Force pd(5233) to quit...
pd quit
Error: Playground bootstrapping failed: version v8.5 on darwin/arm64 for component prometheus not found: unknown version
tiup playground 8.5
A new version of playground is available: v1.16.0 -> v1.16.1
To update this component: tiup update playground
To update all components: tiup update --all
Note: Version constraint 8.5 is resolved to v8.5.0. If you'd like to use other versions:
Use exact version: tiup playground v7.1.0
Use version range: tiup playground ^5
Use nightly: tiup playground nightly
Start pd instance:v8.5.0
Start tikv instance:v8.5.0
Start tidb instance:v8.5.0
Waiting for tidb instances ready
127.0.0.1:4000 ... Done
The component prometheus version v8.5.0 is not installed; downloading from repository.
download https://tiup-mirrors.pingcap.com/prometheus-v8.5.0-darwin-arm64.tar.gz 120.17 MiB / 120.17 MiB 100.00% 32.50 MiB/s
download https://tiup-mirrors.pingcap.com/grafana-v8.5.0-darwin-arm64.tar.gz 59.94 MiB / 59.94 MiB 100.00% 24.33 MiB/s
Start tiflash instance:v8.5.0
The component tiflash version v8.5.0 is not installed; downloading from repository.
download https://tiup-mirrors.pingcap.com/tiflash-v8.5.0-darwin-arm64.tar.gz 30.36 MiB / 88.73 MiB 34.21% 1.81 MiB/s
- What did you expect to see?
tiup playground v8.5
tiup playground 8.5
tiup playground v8.5.0
When the version is specified like v8.5, 8.5.0, 8.5, it is resolved to v8.5.0 so that the corresponding package can be found.
- What did you see instead?
Prometheus did not complete the version number, resulting in the package not being downloaded, but tidb/tikv/pd does.
Error: Playground bootstrapping failed: version v8.5 on darwin/arm64 for component prometheus not found: unknown version
- What version of TiUP are you using (
tiup --version)?
tiup --version
1.15.2 tiup
Go Version: go1.21.10
Git Ref: v1.15.2
GitHash: cbcc2ce967981221380a7307bf7843fec2ea5283
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 with the tiup playground entry point and reproduce the issue using v8.5 and v8.5.0 on the playground components. Trace why Prometheus retains v8.5 while pd, TiKV, and TiDB use v8.5.0; done means both abbreviated forms resolve consistently and the playground bootstraps successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100