pingcap / pingcap/tiup

import ansible cluster to tiup, user-defined port param in group_vars didn't be imported

Open
#1,034 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ansible 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?

    1. install tidb 3.0.8 cluster with ansible
    2. import this cluster to tiup
  2. What did you expect to see?

the params with imported cluster is same with it in ansible

  1. What did you see instead?

pump and drainer 's port changed to default value, don't use used defined in tidb-ansible/group_vars directory.

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

─$ tiup --version
v1.3.0 tiup
Go Version: go1.13
Git Branch: release-1.3
GitHash: edb12b8

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

Reproduce the import using the TiDB 3.0.8 Ansible cluster and the custom values in tidb-ansible/group_vars, then trace the TiUP import path for pump and drainer ports. Done means the imported cluster retains the user-defined ports instead of replacing them with defaults.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.