pingcap / tiup

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

tiup deployment fails on rocky 9.2 #2292

Open jebter opened 9 months ago

jebter commented 9 months ago

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?

    tiup cluster deploy tidb-750 v7.5.0 ~/topology.yaml --user root -p tiup is checking updates for component cluster ... Starting component cluster: /home/tidb/.tiup/components/cluster/v1.12.1/tiup-cluster deploy tidb-750 v7.5.0 /home/tidb/topology.yaml --user root -p Input SSH password:

Error: failed to enable/disable pd: failed to enable: 172.16.6.50 pd-2379.service, please check the instance's log(/data1/tidb-deploy/pd-2379/log) for more detail.: executor.ssh.execute_failed: Failed to execute command over SSH for 'tidb@172.16.6.50:22' {ssh_stderr: Failed to enable unit: Unit file pd-2379.service does not exist. , ssh_stdout: , ssh_command: export LANG=C; PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin /usr/bin/sudo -H bash -c "systemctl daemon-reload && systemctl enable pd-2379.service"}, cause: Process exited with status 1

Verbose debug logs has been written to /home/tidb/.tiup/logs/tiup-cluster-debug-2023-10-20-16-27-24.log.

  1. What did you expect to see?

  2. What did you see instead?

  3. What version of TiUP are you using (tiup --version)? 1.13.1 tiup Go Version: go1.21.1 Git Ref: v1.13.1 GitHash: 3653dc521afbd0da505cdbe4bcbc92c39fe66b74

jebter commented 9 months ago

playground is ok

jebter commented 9 months ago

tiup playground v7.5.0 tiup is checking updates for component playground ... Starting component playground: /home/tidb/.tiup/components/playground/v1.12.1/tiup-playground v7.5.0 Start pd instance:v7.5.0 Start tikv instance:v7.5.0 Start tidb instance:v7.5.0 Waiting for tidb instances ready 127.0.0.1:4000 ... Done Start tiflash instance:v7.5.0 Waiting for tiflash instances ready 127.0.0.1:3930 ... Done

🎉 TiDB Cluster is started, enjoy!

Connect TiDB: mysql --host 127.0.0.1 --port 4000 -u root TiDB Dashboard: http://127.0.0.1:2379/dashboard Grafana: http://127.0.0.1:3000