安装报错 expected IP in URL for binding

安装pd报错

[2020/03/25 15:58:02.058 +08:00] [FATAL] [main.go:117] ["run server failed"] [error="expected IP in URL for binding (http://xxxxxxxx:2380)"] [stack="github.com/pingcap/log.Fatal\
\t/home/jenkins/agent/workspace/build_pd_multi_branch_v3.0.12/go/pkg/mod/github.com/pingcap/log@v0.0.0-20190715063458-479153f07ebd/global.go:59\
main.main\
\t/home/jenkins/agent/workspace/build_pd_multi_branch_v3.0.12/go/src/github.com/pingcap/pd/cmd/pd-server/main.go:117\
runtime.main\
\t/usr/local/go/src/runtime/proc.go:203"]

麻烦提供一下版本号,以及安装配置的详细步骤,是否使用 ansible 。如果是使用 ansible 的话,麻烦提供 ansible 具体的报错,如果是使用 binary 方式麻烦提供 binary 安装启动步骤以及命令。

版本:tidb_version = v3.0.12 部署方式:ansible(抱歉,报错内容清理了)

问题已解决,但仍有疑问

修改了配置文件,将域名换成ip地址

# 问题前配置
cat inventory.ini
[tidb_servers]
tidb1xxxx

[tikv_servers]
tidb1xxxx
tidb2xxxx
tidb3xxxx

[pd_servers]
tidb1xxxx
tidb2xxxx
tidb3xxxx

# 问题后配置
## TiDB Cluster Part
[tidb_servers]
tidb1xxxx ansible_host=x.x.x.x

[tikv_servers]
tidb1xxxx ansible_host=x.x.x.x
tidb2xxxx ansible_host=x.x.x.x
tidb3xxxx ansible_host=x.x.x.x

[pd_servers]
tidb1xxxx ansible_host=x.x.x.x
tidb2xxxx ansible_host=x.x.x.x
tidb3xxxx ansible_host=x.x.x.x

在各种检测节点为何不报错,只会在启动时报错。

感谢反馈。暂时 ansible 在 deploy.yml 的逻辑里面是没有做是否域名或者 IP 的判断的。