【 TiDB 使用环境】测试
【 TiDB 版本】V6.5.1
【复现路径】
同样的安装拓扑文件,部署v6.1.0集群正常,销毁集群重新部署v6.5.1报错;
[root@tidb30 ~]# tiup cluster check ./topology.yaml --user root -p
tiup is checking updates for component cluster ...
Starting component `cluster`: /root/.tiup/components/cluster/v1.11.3/tiup-cluster check ./topology.yaml --user root -p
Error: Failed to parse topology file ./topology.yaml (topology.parse_failed)
caused by: yaml: unmarshal errors:
line 17: field listen_host not found in type spec.GlobalOptions
Please check the syntax of your topology file ./topology.yaml and try again.
将 listen_host: 0.0.0.0 注释,即可正常部署v6.5.1集群;
listen_host: 0.0.0.0
【疑问】
- listen_host 作用;
- 为什么部署v6.5.1 需要注释;
【附件:截图/日志/监控】
topology.yaml (10.7 KB)