Skip to content

TiKV pods can't be created when execute EBS snapshot restore with Tiflash #4807

@WangLe1321

Description

@WangLe1321

Bug Report

What version of Kubernetes are you using?

What version of TiDB Operator are you using?

v1.4.0-beta.4

What storage classes exist in the Kubernetes cluster and what are used for PD/TiKV pods?

What's the status of the TiDB cluster pods?

tiflash and pd are running, other pods are not created.

What did you do?

  1. create a tc with 1 pd 1 tikv 1 tidb 1 tiflash.
  2. create an EBS snapshot restore.

What did you expect to see?

restore cluster successfully.

What did you see instead?

pods of tiflash and pd are created, but pods of tikv and tidb are not created. There is a error log in TiDB Operator: W1221 03:11:18.903080 1 tiflash_member_manager.go:699] Fail to GetStores for TidbCluster tidb-cluster/basic: Error response 500 URL http://basic-pd.tidb-cluster:2379/pd/api/v1/stores,body response: "[PD:cluster:ErrNotBootstrapped]TiKV cluster not bootstrapped, please start TiKV first"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions