pingcap / pingcap/tiup

Add ip check

Open
#522 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

difficulty/medium status/TODO type/feature-request
Dominant language
Go
Stars
466
Forks
338
Avg merge
3d 7h
Merged PRs (30d)
8

Description

用户内网可能有做 ip 地址的映射,登陆 ip 和实体 ip 有可能不同
1.在deploy的时候,因为有地址映射能正常部署
2.启动的时候会因为映射地址不存在虚拟机上失败 “bind :cannot assgin requested address”
感觉 deploy 时候可以加入对 ip 的 check ..

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

Trace the deployment and startup paths described in the issue, focusing on how login IPs and entity IPs are handled. Reproduce the mapped-address case and inspect the reported “bind: cannot assign requested address” failure. Done means deployment detects the invalid startup IP situation and avoids the later bind failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
devops, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.