pingcap/tidb-operator

If there is a PV with the same name (released status) in the namespace, it will cause the restore to fail

zhongmin-amin opened this issue · 0 comments

Bug Report

What version of Kubernetes are you using?

What version of TiDB Operator are you using?

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?

What did you do?

  1. there is a PV with the same name with restore tc (released status) in the namespace
  2. do volume restore

What did you expect to see?

  1. restore success
    What did you see instead?
  2. restore failed

img_v3_026s_7e12385c-e9dd-463f-a4d6-2ffb5f31c03g
img_v3_026s_73e8f8aa-d8f0-4456-8fe4-dd8367c7992g
img_v3_026s_6a5e2f89-eb75-4726-9c95-6111f04d465g