Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

After configuring multi cn, tidb shows down #55372

Closed
lhy1024 opened this issue Aug 12, 2024 · 3 comments
Closed

After configuring multi cn, tidb shows down #55372

lhy1024 opened this issue Aug 12, 2024 · 3 comments

Comments

@lhy1024
Copy link

lhy1024 commented Aug 12, 2024

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

tiup cluster tls test enable
image
edit config and add cluster-verify-cn

tidb_servers:
- host: 192.168.8.88
  ssh_port: 22
  port: 4000
  status_port: 10080
  deploy_dir: /tidb-deploy/tidb-4000
  log_dir: /tidb-deploy/tidb-4000/log
  config:
    security.cluster-ssl-ca: /tidb-deploy/tidb-4000/tls/ca.crt
    security.cluster-ssl-cert: /tidb-deploy/tidb-4000/tls/tidb.crt
    security.cluster-ssl-key: /tidb-deploy/tidb-4000/tls/tidb.pem
    security.cluster-verify-cn:
      - tidb
      - tikv
      - pd
  arch: amd64
  os: linux
tikv_servers:
- host: 192.168.8.88
  ssh_port: 22
  port: 20160
  status_port: 20180
  deploy_dir: /data1/tidb-deploy/tikv-20160
  data_dir: /data1/tidb-data/tikv-20160
  log_dir: /data1/tidb-deploy/tikv-20160/log
  config:
    security.ca-path: /data1/tidb-deploy/tikv-20160/tls/ca.crt
    security.cert-allowed-cn:
      - tidb
      - tikv
      - pd
    security.cert-path: /data1/tidb-deploy/tikv-20160/tls/tikv.crt
    security.key-path: /data1/tidb-deploy/tikv-20160/tls/tikv.pem
  arch: amd64
  os: linux
tiflash_servers: []
pd_servers:
- host: 192.168.8.88
  ssh_port: 22
  patched: true
  name: pd-192.168.8.88-2379
  client_port: 2379
  peer_port: 2380
  deploy_dir: /tidb-deploy/pd-2379
  data_dir: /tidb-data/pd-2379
  log_dir: /tidb-deploy/pd-2379/log
  config:
    security.cacert-path: /tidb-deploy/pd-2379/tls/ca.crt
    security.cert-path: /tidb-deploy/pd-2379/tls/pd.crt
    security.cluster-verify-cn:
      - tidb
      - tikv
      - pd
    security.key-path: /tidb-deploy/pd-2379/tls/pd.pem
  arch: amd64
  os: linux

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

work normal

3. What did you see instead (Required)

image
image

4. What is your TiDB version? (Required)

@lhy1024
Copy link
Author

lhy1024 commented Aug 16, 2024

pd use tikv/pd#8518

@lhy1024
Copy link
Author

lhy1024 commented Aug 29, 2024

tikv/pd#8518 (comment)

The result of sysbench is normal, tidb status display exceptions are another issue

@lhy1024
Copy link
Author

lhy1024 commented Sep 3, 2024

@lhy1024 lhy1024 closed this as completed Sep 3, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

4 participants