Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: DM创建任务时报配置错误
[tidb@slave006 bin]$ ./tiup dmctl --master-addr slave003:8261 start-task …/config/dm/task-jx03.yaml
tiup is checking updates for component dmctl …
Starting component dmctl
: /home/tidb/.tiup/components/dmctl/v6.2.0/dmctl/dmctl --master-addr slave003:8261 start-task …/config/dm/task-jx03.yaml
{
“result”: false,
“msg”: “[code=20038:class=dm-master:scope=internal:level=high], Message: The configurations as following [global] are set in global configuration but instances don’t use them, Workaround: Please check the configuration files.”,
“sources”: [
],
“checkResult”: “”
}
Below is my configuration screenshot:
The configuration of syncers in the picture is according to the official documentation:
Is there a formatting error with an extra space?
I checked it again carefully, but it still doesn’t work.
If the issue has been resolved, please mark it as “Useful to me”.
Still reporting the same error…
“msg”: “[code=20038:class=dm-master:scope=internal:level=high], Message: The configurations as following [global] are set in global configuration but instances don’t use them, Workaround: Please check the configuration files.”
I now think it might be a sequence issue.
The documentation mentions the configuration order divided into global configuration and instance configuration:
- Edit the global configuration
- Edit the instance configuration based on the global configuration
Change the order to make it a forward 123456 sequence and see if it works.
How about copying the configuration file as it is? It would be more convenient to reproduce locally (just change the names in the fields).
You configured the syncer’s config, but it is not used in the mysql-instances.
The syncer-config-name is not configured.
The format of YAML is indented by two spaces. You can check it on Baidu.
Leave two letters blank, and it seems like there is no such line in the configuration, right?
Adding this configuration worked, thank you very much!
Adding this configuration worked, thank you very much!!
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.