pingcap / pingcap/tiup

--ssh none failed to execute on hosts with dns not ip

Open
#1,286 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type/bug
Dominant language
Go
Stars
466
Forks
338
Avg merge
3d 7h
Merged PRs (30d)
8

Description

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?

tiup cluster deploy c1 v4.0.4 topology.yml --ssh none, topology looks like below:

global:
  user: tidb
  group: pingcap
  # enable_tls: true

tidb_servers:
  - host: n4

pd_servers:
  - host: n1
  - host: n2
  - host: n3
  - host: n6
  - host: n7
  - host: n8
  - host: n9
  - host: n10
  - host: n11
  - host: n12
  - host: n13
  - host: n14
  - host: n15
  - host: n16
  - host: n17
  - host: n18
  - host: n19
  - host: n20

tikv_servers:
  - host: n1
  - host: n2
  - host: n3

monitoring_servers:
  - host: n3
grafana_servers:
  - host: n3
alertmanager_servers:
  - host: n3
  1. What did you expect to see?

Successful deployment

  1. What did you see instead?

image

  1. What version of TiUP are you using (tiup --version)?
master

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the tiup cluster deploy command and reproduce the failure using the supplied topology with hostname aliases such as n1 and --ssh none. Inspect the deployment path that handles hostnames when SSH is disabled; done means the topology deploys successfully with DNS names rather than IP addresses.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.