pingcap / tidb

TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try AI-powered Chat2Query free at : https://www.pingcap.com/tidb-serverless/
https://pingcap.com
Apache License 2.0
36.86k stars 5.8k forks source link

Lighting failed parse pd host #47731

Closed lilinghai closed 10 months ago

lilinghai commented 10 months ago

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

/tidb-lightning "-pd-urls" "tc-pd.e2e
-htap-ddl-tps-3240612-1-481:2379" "-tidb-host" "tc-tidb.e2e-htap-ddl-tps-3240612-1-481" "-tidb-port" "4000" "-tidb
-user" "root" "-tidb-password" "" "-backend" "local" "-sorted-kv-dir" "/tmp/sorted-kv-dir" "-d" "s3://nfs/
tiflash/csv-tpcc-100?access-key=minioadmin&secret-access-key=minioadmin&endpoint=http%3a%2f%2fminio.pingcap.net%3a9000&force
-path-style=true" "-c" "/lightning.yaml"

lightning encountered error: [Lightning:KV:ErrCheckKVVersion]check tikv version error: Get "http://http//tc-pd-1.tc-pd- peer.e2e-htap-ddl-tps-3240612-1-481.svc:2379/pd/api/v1/stores": dial tcp: lookup http on 169.254.25.10:53: no such host

2. What did you expect to see? (Required)

3. What did you see instead (Required)

4. What is your TiDB version? (Required)

v7.1.2

jebter commented 10 months ago

duplicate https://github.com/pingcap/tidb/issues/45747