You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.
I have issue that once I started to use ssl "tiup dm display" is not working. Do I miss something or is it a bug?
dmctl CLI has ssl options to connect to endpoint, while dm is missing any such options.
I generated separate key pairs for master, worker and client as it stated in documentation.
Other options like dm options like start, stop, deploy, destroy work fine.
Versions:
[root@dm-test-mst01 log]# tiup dmctl -V
Starting component `dmctl`: /root/.tiup/components/dmctl/v2.0.7/dmctl/dmctl -V
Release Version: v2.0.7
Git Commit Hash: cd46eee3f1d00d6c78888e4a38daf80f29c69266
Git Branch: heads/refs/tags/v2.0.7
UTC Build Time: 2021-09-29 07:40:02
Go Version: go version go1.16.4 linux/amd64
[root@dm-test-mst01 log]# tiup dm -v
Starting component `dm`: /root/.tiup/components/dm/v1.6.0/tiup-dm -v
tiup version 1.6.0 tiup
Go Version: go1.17.1
Git Ref: v1.6.0
GitHash: 0295c073463edc68696542f4ec9c9f5b4c07c5c1
[root@dm-test-mst01 log]#
[root@dm-test-mst01 ~]# tiup dm display test --ssh=system
Starting component `dm`: /root/.tiup/components/dm/v1.6.0/tiup-dm display test --ssh=system
Cluster type: dm
Cluster name: test
Cluster version: v2.0.7
Deploy user: root
SSH type: builtin
ID Role Host Ports OS/Arch Status Data Dir Deploy Dir
-- ---- ---- ----- ------- ------ -------- ----------
10.3.2.3:8261 dm-master 10.3.2.3 8261/8291 linux/x86_64 Down /opt/tidb/dm/data-test/dm-master-8261 /opt/tidb/dm/deploy-test/dm-master-8261
10.3.2.2:8262 dm-worker 10.3.2.2 8262 linux/x86_64 N/A /opt/tidb/dm/data-test/dm-worker-8262 /opt/tidb/dm/deploy-test/dm-worker-8262
Total nodes: 2
[root@dm-test-mst01 ~]#
dm-master.log show tha tdm does not like not https query:
[2021/10/18 06:36:10.728 +00:00] [WARN] [config_logging.go:279] ["rejected connection"] [component="embed etcd"] [remote-addr=10.3.2.3:53700] [server-name=] [error="tls: first record does not look like a TLS handshake"]
[2021/10/18 06:36:12.105 +00:00] [WARN] [config_logging.go:279] ["rejected connection"] [component="embed etcd"] [remote-addr=10.3.2.3:53704] [server-name=] [error="tls: first record does not look like a TLS handshake"]
[2021/10/18 06:36:12.428 +00:00] [WARN] [config_logging.go:279] ["rejected connection"] [component="embed etcd"] [remote-addr=10.3.2.3:53706] [server-name=] [error="tls: first record does not look like a TLS handshake"]
[2021/10/18 06:36:20.183 +00:00] [INFO] [server.go:2206] [payload="op:Skip task:\"test\" "] [request=HandleError]
[2021/10/18 06:36:20.183 +00:00] [INFO] [server.go:2088] ["sources: [source1]"]
[2021/10/18 06:36:25.609 +00:00] [INFO] [server.go:2206] [payload="name:\"test\" "] [request=QueryStatus]
[2021/10/18 06:36:59.785 +00:00] [WARN] [config_logging.go:279] ["rejected connection"] [component="embed etcd"] [remote-addr=10.3.2.3:53726] [server-name=] [error="tls: first record does not look like a TLS handshake"]
[root@dm-test-mst01 log]#
Before asking a question, make sure you have
What is your question?
I have issue that once I started to use ssl "tiup dm display" is not working. Do I miss something or is it a bug?
dmctl CLI has ssl options to connect to endpoint, while dm is missing any such options.
I generated separate key pairs for master, worker and client as it stated in documentation.
Other options like dm options like start, stop, deploy, destroy work fine.
Versions:
Cluster creation goes fine:
But once I query dm status it shows down:
dm-master.log show tha tdm does not like not https query:
Although dmctl with ssl goes fine:
The text was updated successfully, but these errors were encountered: