Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM cluster can't start while -hostname use FQDN #5648

Closed
XuJianxu opened this issue May 30, 2022 · 6 comments
Closed

DM cluster can't start while -hostname use FQDN #5648

XuJianxu opened this issue May 30, 2022 · 6 comments
Assignees
Labels
area/dm Issues or PRs related to DM. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. severity/minor This is a minor bug. type/bug This is a bug.

Comments

@XuJianxu
Copy link

What did you do?

  • use FQDN in -hostname area
  • deploy DM cluster
  • try to start dm cluster

What did you expect to see?

DM cluster can start as expect.

What did you see instead?

start dm cluster failed

Versions of the cluster

DM version (run dmctl -V or dm-worker -V or dm-master -V):

v6.1.0

Upstream MySQL/MariaDB server version:

(paste upstream MySQL/MariaDB server version here)

Downstream TiDB cluster version (execute SELECT tidb_version(); in a MySQL client):

(paste TiDB cluster version here)

How did you deploy DM: tiup or manually?

(leave TiUP or manually here)

Other interesting information (system version, hardware config, etc):

>
>

current status of DM cluster (execute query-status <task-name> in dmctl)

(paste current status of DM cluster here)
@XuJianxu XuJianxu added type/bug This is a bug. severity/minor This is a minor bug. area/dm Issues or PRs related to DM. labels May 30, 2022
@XuJianxu
Copy link
Author

yaml file:
global:
user: "tidb"
ssh_port: 22
deploy_dir: "/dm-deploy"
data_dir: "/dm_data"
master_servers:

  • host: tiup-peer
    port: 8261
    peer_port: 8291
    worker_servers:
  • host: tiup-peer
    port: 8262
    monitoring_servers:
  • host: tiup-peer
    grafana_servers:
  • host: tiup-peer

@github-actions github-actions bot added this to Need Triage in Question and Bug Reports May 30, 2022
@lichunzhu lichunzhu added the help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. label May 30, 2022
@lance6716
Copy link
Contributor

maybe this is a TiUP bug? what's the error

@D3Hunter
Copy link
Contributor

etct listen addr must be ip

see etcd-io/etcd#9575

@nexustar
Copy link

nexustar commented Jun 8, 2022

template in tiup-dm is --peer-urls="{{.Scheme}}://{{.IP}}:{{.PeerPort}}" I think the right one should be --peer-urls="{{.Scheme}}://0.0.0.0:{{.PeerPort}}"

@XuJianxu
Copy link
Author

XuJianxu commented Jun 9, 2022

Close this issue cause tiup team will fix this issue

@XuJianxu XuJianxu closed this as completed Jun 9, 2022
Question and Bug Reports automation moved this from Need Triage to Done Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dm Issues or PRs related to DM. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. severity/minor This is a minor bug. type/bug This is a bug.
Development

No branches or pull requests

6 participants