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

Bucket Notiifcation: Even though the object is failed to create the create notification is getting generated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Undefined Undefined
    • None
    • odf-4.18.2
    • noobaa-nc
    • None
    • False
    • Hide

      None

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

       

      *Description of problem -

      1. user2 cp anaconda-ks.cfg s3://bucket3/anaconda-ks.cfg
        upload failed: ./anaconda-ks.cfg to s3://bucket3/anaconda-ks.cfg An error occurred (AccessDenied) when calling the PutObject operation: Access Denied
      1. user2 ls  s3://bucket3
      1. cat c83f2-dan8_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:24:13.787Z",
                "s3": {
                  "s3SchemaVersion": "1.0",
                  "object":

        {             "sequencer": "195f75146db",             "key": "anaconda-ks.cfg"           }

        ,
                  "bucket":

        Unknown macro: {            "name"}

                },
                "eventName": "ObjectCreated:Put",
                "userIdentity":

        {           "principalId": "user2"         }

        ,
                "requestParameters":

        {           "sourceIPAddress": "::ffff:172.20.100.148"         }

        ,
                "responseElements":

        {           "x-amz-request-id": "m90503e1-dshrsy-l6",           "x-amz-id-2": "m90503e1-dshrsy-l6"         }

              }
            ]
          }
        }

      When the object is correctly uploaded the notification is also sent.

      1. user2 cp anaconda-ks.cfg s3://bucket3/anaconda-ks.cfg
        upload: ./anaconda-ks.cfg to s3://bucket3/anaconda-ks.cfg
      1. user2 ls  s3://bucket3
        2025-04-02 12:12:29       1423 anaconda-ks.cfg
      1. 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:12:29.625Z",
                "s3": {
                  "s3SchemaVersion": "1.0",
                  "object":

        {             "sequencer": "195f7468839",             "key": "anaconda-ks.cfg",             "size": 1423,             "eTag": "f99718157f207581ff544c322486f49e"           }

        ,
                  "bucket":

        Unknown macro: {            "name"}

                },
                "eventName": "ObjectCreated:Put",
                "userIdentity":

        {           "principalId": "user2"         }

        ,
                "requestParameters":

        {           "sourceIPAddress": "::ffff:172.20.100.148"         }

        ,
                "responseElements":

        {           "x-amz-request-id": "m904l035-74eeii-al7",           "x-amz-id-2": "m904l035-74eeii-al7"         }

              }
            ]
          }
        }

       

      *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?

       

       

      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.

      2.

      3.

       

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

       

      Actual results:

       

       

      Expected results:

       

      Logs collected and log location:

       

      Additional info:

       
       

              rh-ee-aprinzse Amit Prinz Setter
              ramya.c3 Ramya MC (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: