Uploaded image for project: 'Data Foundation Bugs'
  1. Data Foundation Bugs
  2. DFBUGS-2064

Bucket Notiifcation: Even though the bucket is empty the delete notification is getting created

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • odf-4.18.2
    • noobaa-nc
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • ?
    • ?
    • Release Note Not Required
    • Important
    • None

       

      *Description of problem -

      1. user2 ls s3://bucket3/
        2025-04-02 12:12:29       1423 anaconda-ks.cfg
      1. user2 rm * s3://bucket3/
      1. user2 rm s3://bucket3/*
        delete: s3://bucket3/*
      1. echo $?
        0
      1. user2 ls s3://bucket3/
        2025-04-02 12:12:29       1423 anaconda-ks.cfg

      [root@c83f2-dan9:bucket_notification 2025-04-02 12:39:14]# cat c83f2-dan10_notification_logging.log | jq
      {
        "meta":

      {     "connect": "secure_notify_event",     "name": "secure_notify_event",     "bucket": "bucket3"   }

      ,
        "notif": {
          "Records": [
            {
              "eventVersion": "2.3",
              "eventSource": "c83f2-dan9:s3",
              "eventTime": "2025-04-02T16:39:29.690Z",
              "s3": {
                "s3SchemaVersion": "1.0",
                "object":

      {             "sequencer": "195f75f409a",             "key": "*"           }

      ,
                "bucket": {
                  "name": "bucket3",
                  "ownerIdentity":

      {               "principalId": "user2"             }

      ,
                  "arn": "arn:aws:s3:::bucket3"
                }
              },
              "eventName": "ObjectRemoved:Delete",
              "userIdentity":

      {           "principalId": "user2"         }

      ,
              "requestParameters":

      {           "sourceIPAddress": "::"         }

      ,
              "responseElements":

      {           "x-amz-request-id": "m905jq2y-703u7g-c2q",           "x-amz-id-2": "m905jq2y-703u7g-c2q"         }

            }
          ]
        }
      }

       

      *The OCP platform infrastructure and deployment type (AWS, Bare Metal, VMware, etc. Please clarify if it is platform agnostic deployment), (IPI/UPI):Bare Metal,

       

      *The ODF deployment type (Internal, External, Internal-Attached (LSO), Multicluster, DR, Provider, etc):Internal

       

       

      The version of all relevant components (OCP, ODF, RHCS, ACM whichever is applicable):

       ODF 4.18.2

       

      Does this issue impact your ability to continue to work with the product?

       
      yes
       

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

       

       

      Can this issue be reproduced? If so, please provide the hit rate

       

       

      Can this issue be reproduced from the UI?

       

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

       

      Steps to Reproduce:

      1.Provided above

      2.

      3.

       

      The exact date and time when the issue was observed, including timezone details:

       

      Actual results:

       
      If the bucket is empty a notification is generated
       

      Expected results:

       
      If the bucket is empty a notification should not be generated

      Logs collected and log location:

       

      Additional info:

       
       

              rh-ee-nbecker Nimrod Becker
              ramya.c3 Ramya MC (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

                Created:
                Updated:
                Resolved: