【 TiDB 使用环境`】生产 Ubuntu 22.04 LTS
【 TiDB 版本】v6.1.0
【遇到的问题】
tiup cluster deploy 的時後 常常 不同步奏卡住. 有時後 copy , mkdir
以經試過 tiup --ssh system
也卻定 control machine ssh 都可以互連 , keyless ssh 也有
LOG ::
signal: killed”, “errorVerbose”: “executor.ssh.execute_failed: Failed to execute command over SSH for ‘tidb@172.21.32.155:22’ {ssh_stderr: , ssh_stdout: , ssh_command: export LANG=C; PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin /usr/bin/sudo -H bash -c “test -d /data/tidb/tidb-deploy || (mkdir -p /data/tidb/tidb-deploy && chown tidb:$(id -g -n tidb) /data/tidb/tidb-deploy)”}, cause: signal: killed
2022-07-14T14:22:03.590-0400 DEBUG TaskFinish {“task”: “Mkdir: host=172.21.32.155, directories=‘/data/tidb/tidb-deploy/monitor-19100’,‘/data/tidb/tidb-data/monitor-19100’,‘/data/tidb/tidb-deploy/monitor-19100/log’,‘/data/tidb/tidb-deploy/monitor-19100/bin’,‘/data/tidb/tidb-deploy/monitor-19100/conf’,‘/data/tidb/tidb-deploy/monitor-19100/scripts’”, “error”: “executor.ssh.execute_failed: Failed to execute command over SSH for ‘tidb@172.21.32.155:22’ {ssh_stderr: , ssh_stdout: , ssh_command: export LANG=C; PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin /usr/bin/sudo -H bash -c "test -d /data/tidb/tidb-deploy || (mkdir -p /data/tidb/tidb-deploy && chown tidb:$(id -g -n tidb) /data/tidb/tidb-deploy)"}, cause: signal: killed”, “errorVerbose”: “executor.ssh.execute_failed: Failed to execute command over SSH for ‘tidb@172.21.32.155:22’ {ssh_stderr: , ssh_stdout: , ssh_command: export LANG=C; PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin /usr/bin/sudo -H bash -c "test -d /data/tidb/tidb-deploy || (mkdir -p /data/tidb/tidb-deploy && chown tidb:$(id -g -n tidb) /data/tidb/tidb-deploy)"}, cause: signal: killed
at github.com/pingcap/tiup/pkg/cluster/executor.(*NativeSSHExecutor).Execute()
\tgithub.com/pingcap/tiup/pkg/cluster/executor/ssh.go:338
at github.com/pingcap/tiup/pkg/cluster/executor.(*CheckPointExecutor).Execute()
\tgithub.com/pingcap/tiup/pkg/cluster/executor/checkpoint.go:85
at github.com/pingcap/tiup/pkg/cluster/task.(*Mkdir).Execute()
\tgithub.com/pingcap/tiup/pkg/cluster/task/mkdir.go:61
at github.com/pingcap/tiup/pkg/cluster/task.(*Serial).Execute()
\tgithub.com/pingcap/tiup/pkg/cluster/task/task.go:86
at github.com/pingcap/tiup/pkg/cluster/task.(*StepDisplay).Execute()
\tgithub.com/pingcap/tiup/pkg/cluster/task/step.go:111
at github.com/pingcap/tiup/pkg/cluster/task.(*Parallel).Execute.func1()
\tgithub.com/pingcap/tiup/pkg/cluster/task/task.go:144
at runtime.goexit()
\truntime/asm_amd64.s:1571
github.com/pingcap/errors.AddStack
\tgithub.com/pingcap/errors@v0.11.5-0.20201126102027-b0a155152ca3/errors.go:174
github.com/pingcap/errors.Trace
\tgithub.com/pingcap/errors@v0.11.5-0.20201126102027-b0a155152ca3/juju_adaptor.go:15
github.com/pingcap/tiup/pkg/cluster/task.(*Mkdir).Execute
\tgithub.com/pingcap/tiup/pkg/cluster/task/mkdir.go:63
github.com/pingcap/tiup/pkg/cluster/task.(*Serial).Execute
\tgithub.com/pingcap/tiup/pkg/cluster/task/task.go:86
github.com/pingcap/tiup/pkg/cluster/task.(*StepDisplay).Execute
\tgithub.com/pingcap/tiup/pkg/cluster/task/step.go:111
github.com/pingcap/tiup/pkg/cluster/task.(*Parallel).Execute.func1
\tgithub.com/pingcap/tiup/pkg/cluster/task/task.go:144
runtime.goexit
\truntime/asm_amd64.s:1571”}