Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 修改拓扑文件 reload时 报错。
TiDB Version: 6.1
Cluster: 3 TiDB nodes, 3 PD nodes, 4 TiKV nodes, 1 control machine. The control machine is 16.203 and has Grafana, Prometheus, and Alertmanager deployed.
The issue is that after adding the configuration new_collations_enabled_on_first_bootstrap: true
using tidb cluster edit-config xxx
, an error occurs during reload.
The log is as follows:
2022-08-09T19:33:49.284+0800 ERROR SSHCommand {"host": "192.168.16.203", "port": "22", "cmd": "export LANG=C; PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin chmod +x /data/tidb-deploy/monitor-9100/scripts/run_node_exporter.sh", "error": "Process exited with status 1", "stdout": "", "stderr": "chmod: changing permissions of '/data/tidb-deploy/monitor-9100/scripts/run_node_exporter.sh': Operation not permitted\
"}
2022-08-09T19:33:49.284+0800 ERROR CheckPoint {"host": "192.168.16.203", "port": 22, "user": "tidb", "sudo": false, "cmd": "chmod +x /data/tidb-deploy/monitor-9100/scripts/run_node_exporter.sh", "stdout": "", "stderr": "chmod: changing permissions of '/data/tidb-deploy/monitor-9100/scripts/run_node_exporter.sh': Operation not permitted\
", "error": "executor.ssh.execute_failed: Failed to execute command over SSH for 'tidb@192.168.16.203:22' {ssh_stderr: chmod: changing permissions of '/data/tidb-deploy/monitor-9100/scripts/run_node_exporter.sh': Operation not permitted\
, ssh_stdout: , ssh_command: export LANG=C; PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin chmod +x /data/tidb-deploy/monitor-9100/scripts/run_node_exporter.sh}, cause: Process exited with status 1", "errorVerbose": "executor.ssh.execute_failed: Failed to execute command over SSH for 'tidb@192.168.16.203:22' {ssh_stderr: chmod: changing permissions of '/data/tidb-deploy/monitor-9100/scripts/run_node_exporter.sh': Operation not permitted\
, ssh_stdout: , ssh_command: export LANG=C; PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin chmod +x /data/tidb-deploy/monitor-9100/scripts/run_node_exporter.sh}, cause: Process exited with status 1\
at github.com/pingcap/tiup/pkg/cluster/executor.(*EasySSHExecutor).Execute()\
\tgithub.com/pingcap/tiup/pkg/cluster/executor/ssh.go:174\
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.(*MonitoredConfig).syncMonitoredScript()\
\tgithub.com/pingcap/tiup/pkg/cluster/task/monitored_config.go:141\
at github.com/pingcap/tiup/pkg/cluster/task.(*MonitoredConfig).Execute()\
\tgithub.com/pingcap/tiup/pkg/cluster/task/monitored_config.go:85\
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", "__hash__": "2de5b500c9fae6d418fa200ca150b8d5264d6b19", "__func__": "github.com/pingcap/tiup/pkg/cluster/executor.(*CheckPointExecutor).Execute", "hit": false}