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

tiup cluster scale-out "Error: Deploy directory overlaps to another instance (spec.deploy.dir_overlap) " #1385

Closed
jacktd9 opened this issue May 25, 2021 · 0 comments · Fixed by #1386
Labels
type/bug Categorizes issue as related to a bug.

Comments

@jacktd9
Copy link

jacktd9 commented May 25, 2021

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?

tiup cluster import test-cluster
...
tiup cluster scale-out test-cluster pump.yaml

  1. What did you expect to see?
    successfully

  2. What did you see instead?
    [tidb@ip-10-32-3-41 ~]$ tiup cluster scale-out test-cluster pump.yaml
    Starting component cluster: /home/tidb/.tiup/components/cluster/v1.4.3/tiup-cluster scale-out test-cluster pump.yaml

Error: Deploy directory overlaps to another instance (spec.deploy.dir_overlap)

The directory you specified in the topology file is:
Directory: log directory /data/log
Component: tidb 10.32.3.45

It overlaps to another instance:
Other Directory: monitor log directory /data/log
Other Component: pump 10.32.3.45

Please modify the topology file and try again.
Error: run /home/tidb/.tiup/components/cluster/v1.4.3/tiup-cluster (wd:/home/tidb/.tiup/data/SYPuYjL) failed: exit status 1

topo:
image

scale-out.yaml
pump_servers:

  • host: 10.32.3.44
    ssh_port: 22
    port: 8250
    deploy_dir: "/data/pump"
    data_dir: "/data/data.pump"
    log_dir: "/data/pumplog/log"
    config:
    gc: 3
  • host: 10.32.3.45
    ssh_port: 22
    port: 8250
    deploy_dir: "/data/pump"
    data_dir: "/data/data.pump"
    log_dir: "/data/pumplog/log"
    config:
    gc: 3
  • host: 10.32.3.46
    ssh_port: 22
    port: 8250
    deploy_dir: "/data/pump"
    data_dir: "/data/data.pump"
    log_dir: "/data/pumplog/log"
    config:
    gc: 3
  1. What version of TiUP are you using (tiup --version)?
    [tidb@ip-10-32-3-41 ~]$ tiup cluster --version
    Starting component cluster: /home/tidb/.tiup/components/cluster/v1.4.3/tiup-cluster --version
    tiup version 1.4.3 tiup
    Go Version: go1.16.4
    Git Ref: v1.4.3
    GitHash: 0faec47
    [tidb@ip-10-32-3-41 ~]$
    [tidb@ip-10-32-3-41 ~]$ tiup --version
    1.4.3 tiup
    Go Version: go1.16.4
    Git Ref: v1.4.3
    GitHash: 0faec47
@jacktd9 jacktd9 added the type/bug Categorizes issue as related to a bug. label May 25, 2021
lucklove added a commit to lucklove/tiup that referenced this issue May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Categorizes issue as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant