Bug 2176545 - nooba bucket left bound after obc deleted
Summary: nooba bucket left bound after obc deleted
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: Multi-Cloud Object Gateway
Version: 4.12
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ODF 4.14.0
Assignee: nadav
QA Contact: krishnaram Karthick
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-08 16:10 UTC by Daniel Osypenko
Modified: 2023-08-17 12:20 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Daniel Osypenko 2023-03-08 16:10:16 UTC
Description of problem (please be detailed as possible and provide log
snippests):

After Object Bucket Claims removal via web console one of the Buckets left on cluster in bound state. No events registered.

Version of all relevant components (if applicable):

OC version:
Client Version: 4.12.0-202208031327
Kustomize Version: v4.5.4
Server Version: 4.12.0-0.nightly-2023-03-03-043014
Kubernetes Version: v1.25.4+18eadca

OCS verison:
ocs-operator.v4.12.1              OpenShift Container Storage   4.12.1    ocs-operator.v4.12.0              Succeeded

Cluster version
NAME      VERSION                              AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.12.0-0.nightly-2023-03-03-043014   True        False         2d13h   Cluster version is 4.12.0-0.nightly-2023-03-03-043014

Rook version:
rook: v4.12.1-0.f4e99907f9b9f05a190303465f61d12d5d24cace
go: go1.18.9

Ceph version:
ceph version 16.2.10-138.el8cp (a63ae467c8e1f7503ea3855893f1e5ca189a71b9) pacific (stable)

  NooBaa Core Version:     5.12.0-d82be60
  NooBaa Operator Version: 5.12.0

must-gather logs and nooba description:
https://drive.google.com/drive/folders/1PmLgLT3KW0o8e6WgkIyX50HZoYUm_kjQ?usp=share_link

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
no

Is there any workaround available to the best of your knowledge?
remove OB

Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?


Can this issue reproducible?
cannot reproduce

Can this issue reproduce from the UI?
yes

If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1. Create Object Bucket Claim nooba-default-bucket-class
2. Verify Object Bucket created
3. Delete Object Bucket Claim
4. Open Object Buckets, verify Object Bucket removed


Actual results:
Object Bucket stay in cluster

Expected results:
Object Bucket removed

Additional info:
The issue is not UI visible only. Object bucket exists. Reclaim policy: Delete

OB yaml:

01) danielosypenko@dosypenk-mac ocs-ci % oc get ob obc-default-bucket-claim-dosypenk-3 -o yaml
apiVersion: objectbucket.io/v1alpha1
kind: ObjectBucket
metadata:
  creationTimestamp: "2023-03-07T07:06:41Z"
  finalizers:
  - objectbucket.io/finalizer
  generation: 1
  labels:
    app: noobaa
    bucket-provisioner: openshift-storage.noobaa.io-obc
    noobaa-domain: openshift-storage.noobaa.io
  name: obc-default-bucket-claim-dosypenk-3
  resourceVersion: "1428614"
  uid: d445643f-304d-41f5-b126-9842e579216b
spec:
  additionalState:
    account: obc-account.bucket-claim-dosypenk-3-908094d0-af79-4d92-adfb-eb0cf494ced9.6406e281
    bucketclass: noobaa-default-bucket-class
    bucketclassgeneration: "1"
  claimRef: {}
  endpoint:
    additionalConfig:
      bucketclass: noobaa-default-bucket-class
    bucketHost: s3.openshift-storage.svc
    bucketName: bucket-claim-dosypenk-3-908094d0-af79-4d92-adfb-eb0cf494ced9
    bucketPort: 443
    region: ""
    subRegion: ""
  reclaimPolicy: Delete
  storageClassName: openshift-storage.noobaa.io
status:
  phase: Bound


Note You need to log in before you can comment on or make changes to this bug.