pingcap / tiup

A component manager for TiDB
https://tiup.io
Apache License 2.0
411 stars 304 forks source link

tiup cluster scale-out operation is not idempotent #2315

Open hackersean opened 8 months ago

hackersean commented 8 months ago

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?

    tiup cluster scale-out  xxx.yaml

    Three tidb nodes failed to be added, but some TIDB nodes succeeded。 If you run the command again, an error message is displayed。

  2. What did you expect to see? tiup automatically ignores deployed nodes.

  3. What did you see instead?

    Error: port conflict for '4005' between 'tidb_servers:172.17.0.7.port' and 'tidb_servers:172.17.0.7.port'

    An error message indicating port conflict is generated

  4. What version of TiUP are you using (tiup --version)?

1.13.0 tiup Go Version: go1.21.0 Git Ref: v1.13.0 GitHash: 0ed23db6f45b03f752c9d675c2431454ac8f82a9