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

dmctl 8.5.1 can not config export from 7.5.1 cluster #12067

Open
bolt-leandro opened this issue Feb 21, 2025 · 1 comment
Open

dmctl 8.5.1 can not config export from 7.5.1 cluster #12067

bolt-leandro opened this issue Feb 21, 2025 · 1 comment
Labels
area/dm Issues or PRs related to DM. type/bug The issue is confirmed as a bug.

Comments

@bolt-leandro
Copy link

What did you do?

We upgraded tiup dmctl from v.7.5.4 to v.8.5.1.

  • dmctl:v7.5.4 can config export from DM cluster running on 7.5.1 without problems
  • dmctl:v8.5.1 gives an error on config export from DM cluster running on 7.5.1
shell> tiup dm display dm-cluster
Starting component dm: /root/.tiup/components/dm/v1.16.1/tiup-dm display dm-cluster
Cluster type:       dm
Cluster name:       dm-cluster
Cluster version:    v7.5.1

shell> tiup dmctl:v7.5.4 --master-addr dm-cluster-dm_master-1.domain:8261 config export
Starting component dmctl: /root/.tiup/components/dmctl/v7.5.4/dmctl/dmctl --master-addr dm-cluster-dm_master-1.domain:8261 config export
export configs to directory `configs` succeed

shell> tiup dmctl:v8.5.1 --master-addr dm-cluster-dm_master-1.domain:8261 config export
Starting component dmctl: /root/.tiup/components/dmctl/v8.5.1/dmctl/dmctl --master-addr dm-cluster-dm_master-1.domain:8261 config export
Error: rpc error: code = Unimplemented desc = unknown method ListSourceConfigs for service pb.Master

What did you expect to see?

A successful backup of configs created:
export configs to directory `configs` succeed

  • dmctl 8.5.1 should be backwards compatible with previous 7.5.x major version

What did you see instead?

An error and no task and source backup files were created.
Error: rpc error: code = Unimplemented desc = unknown method ListSourceConfigs for service pb.Master

Versions of the cluster

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

Starting component dmctl: /root/.tiup/components/dmctl/v8.5.1/dmctl/dmctl -V
Release Version: v8.5.1
Git Commit Hash: 0a10d1fae9245c480e31df30f8b13ca4810c3b04
Git Branch: HEAD
UTC Build Time: 2025-01-10 06:50:25
Go Version: go1.23.4
Failpoint Build: false

How did you deploy DM: tiup or manually?

TiUP

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

(paste current status of DM cluster here)
@bolt-leandro bolt-leandro added area/dm Issues or PRs related to DM. type/bug The issue is confirmed as a bug. labels Feb 21, 2025
@dveeden
Copy link
Contributor

dveeden commented Feb 21, 2025

I think this should either work, or there should be a version check when connecting to DM master. And maybe a version matrix in the docs?

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. type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

2 participants