Skip to content
This repository was archived by the owner on Dec 3, 2024. It is now read-only.
This repository was archived by the owner on Dec 3, 2024. It is now read-only.

Delete bucketClaim failed when bucket is abnormal #136

Open
@FanZhang526

Description

@FanZhang526

Bug Report

What happened:
When creating a bucketClaim, then bucket will be created by bucketClaim Controller. But bucket is abnormal(curl DriverCreateBucket failed due to some reasons). In this case, when you delete the bucketclaim, the bucketclaim cannot be deleted successfully because of the "BucketClaimFinalizer" on the bucketClaim object.

What you expected to happen:
Delete bucketClaim successfully when bucket is abnormal.

How to reproduce this bug (as minimally and precisely as possible):
1、create a bucketclaim by using bucketClass with wrong server endpoint.
2、bucket has been created, but is abnormal.
3、delete this bucketclaim (suspended and fails).

Anything else relevant for this bug report?:

Environment:

  • Kubernetes version (use kubectl version), please list client and server:
  • Controller version (provide the release tag or commit hash):
  • Provisoner name and version (provide the release tag or commit hash):
  • Cloud provider or hardware configuration:
  • OS (e.g: cat /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Network plugin and version (if this is a network-related bug):
  • Others:

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