[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.
过程梳理一遍:
1、v.6.1.0生成拓扑文件,部署v6.1.0正常;
2.销毁v6.1.0集群,利用原拓扑文件部署v6.5.1,报 listen_host: 0.0.0.0参数错误“line 17: field listen_host not found in type spec.GlobalOptions”;
3.注释 listen_host: 0.0.0.0 后,正常部署v6.5.1集群;
4.查v6.5.1 生成的拓扑示例文件中没有该listen_host参数,show-config也无;但官方文档有相关介绍。