dm failed to run when only ssl-ca
is configured
#7941
Labels
affects-5.4
This bug affects the 5.4.x(LTS) versions.
affects-6.1
This bug affects the 6.1.x(LTS) versions.
area/dm
Issues or PRs related to DM.
severity/major
type/bug
The issue is confirmed as a bug.
What did you do?
ca
part"Message": "[Lightning:DB:ErrDBConnect]failed to connect database: could not load client key pair: tls: failed to find any PEM data in certificate input",
bug was introduced in #3260, if user didn't specify some
ssl-xxx
(like in here, there's onlyssl-ca
config, nossl-cert
andssl-key
), we should not dump it.tiflow/dm/config/security/security.go
Lines 105 to 109 in 45ee743
task cfg
What did you expect to see?
success
What did you see instead?
fail
Versions of the cluster
tested using 6.1.3,
but is should fail on current master too, master branch change lightning tls config tosslCABytes
, so no such problemcurrent status of DM cluster (execute
query-status <task-name>
in dmctl)(paste current status of DM cluster here)
The text was updated successfully, but these errors were encountered: