DM Portal (Verify upstream instance xxx failed! context deadline exceeded)

为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。

  • 【TiDB 版本】:v4.0.5
  • 【DM 版本】:v1.0.6
  • 【问题描述】:
    透過DM Portal Generate Task yaml檔案時,會出現Verify upstream instance dev-db1 failed! context deadline exceeded.

透過mysql client確認過連線到dev-db1可正常連線無誤,如下:

[root@localhost dm-v1.0.6-linux-amd64]# mysql -u test_dm_repl -p -h 10.200.252.216
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MySQL connection id is 11159520
Server version: 5.7.25-log MySQL Community Server (GPL)

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.

MySQL [(none)]>

錯誤訊息圖檔:

你好,目前我们已经不再推荐使用 dm-portal 工具,并且在 DM 2.0 也已经移除。建议你这边手动配置 task 任务。
基本配置可参考:https://github.com/pingcap/dm/blob/master/dm/dm-ansible/conf/task_basic.yaml.example
复杂配置可参考:https://github.com/pingcap/dm/blob/master/dm/dm-ansible/conf/task_advanced.yaml.example

ok. got it. Thanks for the reply.

:handshake::handshake: