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

Some components are deployed using tiup without version number completion #2484

Open
alex-quan-001 opened this issue Dec 23, 2024 · 0 comments
Labels
type/bug Categorizes issue as related to a bug.

Comments

@alex-quan-001
Copy link

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. 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

  1. 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.

  1. 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

  1. 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: cbcc2ce

@alex-quan-001 alex-quan-001 added the type/bug Categorizes issue as related to a bug. label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Categorizes issue as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant