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

tiup could not support "." in tidb cluster name? #1399

Closed
Fighter324 opened this issue Jun 3, 2021 · 1 comment · Fixed by #1412
Closed

tiup could not support "." in tidb cluster name? #1399

Fighter324 opened this issue Jun 3, 2021 · 1 comment · Fixed by #1412
Labels
component/cluster Issues about the tiup-cluster component type/feature-request Categorizes issue as related to a new feature.

Comments

@Fighter324
Copy link

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?

tiup cluster display cluster8.tidb.xxxx.com

  1. What did you expect to see?

Starting component cluster: /home/tidb/.tiup/components/cluster/v1.3.2/tiup-cluster display cluster8.tidb.xxxx.com
Cluster type: tidb
Cluster name: cluster8.tidb.xxxx.com
Cluster version: v4.0.5
SSH type: builtin
Dashboard URL: http://10.200.xxxx:2379/dashboard

  1. What did you see instead?
    Error: Cluster name 'cluster8.tidb.xxxx.com' is invalid (common.invalid_cluster_name)

The cluster name should only contains alphabets, numbers, hyphen (-) and underscore (_).
Error: run /home/tidb/.tiup/components/cluster/v1.4.4/tiup-cluster (wd:/home/tidb/.tiup/data/SZG5pIZ) failed: exit status 1

  1. What version of TiUP are you using (tiup --version)?
    1.4.4 tiup
    Go Version: go1.16.4
    Git Ref: v1.4.4
    GitHash: 0d05073
@Fighter324 Fighter324 added the type/bug Categorizes issue as related to a bug. label Jun 3, 2021
@9547
Copy link
Contributor

9547 commented Jun 7, 2021

The cluster name should only contain alphabets, numbers, hyphen (-), and underscore (_). . is not supported.

@AstroProfundis AstroProfundis added component/cluster Issues about the tiup-cluster component type/feature-request Categorizes issue as related to a new feature. and removed type/bug Categorizes issue as related to a bug. labels Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/cluster Issues about the tiup-cluster component type/feature-request Categorizes issue as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants