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

Bucket notification-Event Source name is not getting updated when executed from different node

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • odf-4.19
    • odf-4.18.2
    • noobaa-nc
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Committed
    • ?
    • ?
    • 4.19.0-51.konflux
    • Committed
    • Release Note Not Required
    • None

       

      *Description of problem - Provide a detailed description of the issue encountered, including logs/command-output snippets and screenshots if the issue is observed in the UI:Bucket notification-Event Source name is not getting updated when executed from different node.

      in notification.log
       

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

       

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

       

       

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

       

       

      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.Performed the copy from ramyamc-33 and ramyamc-32 the event source name is showing as ramyamc-33

      2. # ls -lrt /mnt/gpfs0/log_dir1t/ramyamc-33_notification_logging.failure.1744096144387.log
      rw-rr-. 1 root root 1985 Apr 8 09:09 /mnt/gpfs0/log_dir1t/ramyamc-33_notification_logging.failure.1744096144387.log

      1. cat /mnt/gpfs0/log_dir1t/ramyamc-33_notification_logging.failure.1744096144387.log
        {"meta": {"connect":"http_notif","name":"notify_event","bucket":"bucket1"}

        ,"notif":{"Records":[{"eventVersion":"2.3","eventSource":"ramyamc-33:s3","eventTime":"2025-04-08T07:06:17.615Z","s3":{"s3SchemaVersion":"1.0","object":

        {"sequencer":"1961438a08f","key":"anaconda-ks.cfg","size":5447,"eTag":"mtime-d912fb1p9la8-ino-ept"}

        ,"bucket":{"name":"bucket1","ownerIdentity":

        {"principalId":"account7"}

        ,"arn":"arn:aws:s3:::bucket1"}},"eventName":"ObjectCreated:Put","userIdentity":

        {"principalId":"account7"}

        ,"requestParameters":

        {"sourceIPAddress":"::ffff:192.168.3.3"}

        ,"responseElements":{"x-amz-request-id":"m985poz8-6xk2qv-v1m","x-amz-id-2":"m985poz8-6xk2qv-v1m"}}]}}
        {"meta":

        {"connect":"http_notif","name":"notify_event","bucket":"bucket1"}

        ,"notif":{"Records":[{"eventVersion":"2.3","eventSource":"ramyamc-33:s3","eventTime":"2025-04-08T07:07:01.764Z","s3":{"s3SchemaVersion":"1.0","object":

        {"sequencer":"19614394d04","key":"anaconda-ks.cfg","size":5447,"eTag":"mtime-d912fvbvwv0g-ino-epu"}

        ,"bucket":{"name":"bucket1","ownerIdentity":

        {"principalId":"account7"}

        ,"arn":"arn:aws:s3:::bucket1"}},"eventName":"ObjectCreated:Put","userIdentity":

        {"principalId":"account7"}

        ,"requestParameters":

        {"sourceIPAddress":"::ffff:192.168.3.3"}

        ,"responseElements":{"x-amz-request-id":"m985qn71-cmi0b4-17je","x-amz-id-2":"m985qn71-cmi0b4-17je"}}]}}
        {"meta":

        {"connect":"http_notif","name":"notify_event","bucket":"bucket1"}

        ,"notif":{"Records":[{"eventVersion":"2.3","eventSource":"ramyamc-33:s3","eventTime":"2025-04-08T07:05:17.877Z","s3":{"s3SchemaVersion":"1.0","object":

        {"sequencer":"1961437b735","key":"anaconda-ks.cfg","size":5447,"eTag":"mtime-d912ejjhmvpc-ino-eps"}

        ,"bucket":{"name":"bucket1","ownerIdentity":

        {"principalId":"account7"}

        ,"arn":"arn:aws:s3:::bucket1"}},"eventName":"ObjectCreated:Put","userIdentity":

        {"principalId":"account7"}

        ,"requestParameters":

        {"sourceIPAddress":"::ffff:192.168.3.3"}

        ,"responseElements":{"x-amz-request-id":"m985oep4-7957za-rgu","x-amz-id-2":"m985oep4-7957za-rgu"}}]}}

      1. cd /mnt/gpfs0/log_dir1t/
      2. ls -lrt
        total 1
        rw-rr-. 1 root root 1985 Apr 8 09:10 ramyamc-33_notification_logging.failure.1744096204750.log
        rw-rw-rw. 1 root root 661 Apr 8 09:10 ramyamc-32_notification_logging.log
      1. cat ramyamc-32_notification_logging.log
        {"meta": {"connect":"http_notif","name":"notify_event","bucket":"bucket1"}

        ,"notif":{"Records":[{"eventVersion":"2.3","eventSource":"ramyamc-33:s3","eventTime":"2025-04-08T07:12:23.154Z","s3":{"s3SchemaVersion":"1.0","object":

        {"sequencer":"196143e3472","key":"anaconda-ks.cfg","size":5447,"eTag":"mtime-d912jyysnmrk-ino-3lu"}

        ,"bucket":{"name":"bucket1","ownerIdentity":

        {"principalId":"account7"}

        ,"arn":"arn:aws:s3:::bucket1"}},"eventName":"ObjectCreated:Put","userIdentity":

        {"principalId":"account7"}

        ,"requestParameters":

        {"sourceIPAddress":"::ffff:192.168.3.2"}

        ,"responseElements":{"x-amz-request-id":"m985xj5q-ckm2va-ita","x-amz-id-2":"m985xj5q-ckm2va-ita"}}]}}

      2.The file names are created w.r.t the nodename

      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)
              Amit Prinz Setter
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

                Created:
                Updated:
                Resolved: