Skip to content

tiup cluster deploy with TLS may unexpectedly scp zero-sized ca.crt cert file to target directories #2727

Description

@amet13x

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
  • Write a yaml file describing a TiDB cluster for deployment with enable_tls: true.
  • Deploy it using TiUP with default concurrent settings.
  1. What did you expect to see?
    The cluster is correctly deployed with all components having the same ca.key file.

  2. What did you see instead?
    Some distributed ca.key files are zero-sized. As a result, components with these abnormal cert files fail to run normally.

Image
  1. What version of TiUP are you using (tiup --version)?

1.16.5 tiup
Go Version: go1.25.0
Git Ref: v1.16.5
GitHash: 9bdae04

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions