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

BLC: Empty json to put bucket lifeccyle throws non friendly error message

XMLWordPrintable

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

      None

      Show
      None
    • False
    • ?
    • ?
    • ?
    • ?
    • None

      Noobaa Build Number:  noobaa-core-5.19.0-20250505.el9.x86_64

       

      Steps to Reproduce:

      1.Create empty exp.json

      2.s3ac1 s3api put-bucket-lifecycle-configuration   --bucket bc1  --lifecycle-configuration file://exp.json

      3.s3ac1 s3api put-bucket-lifecycle-configuration   --bucket bc1  --lifecycle-configuration file://exp.json

       

      Error parsing parameter '--lifecycle-configuration': Expected: '=', received: 'EOF' for input:

       

       

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

       

      Actual results:

      s3ac1 s3api put-bucket-lifecycle-configuration   --bucket bc1  --lifecycle-configuration file://exp.json

       

      Error parsing parameter '--lifecycle-configuration': Expected: '=', received: 'EOF' for input:

       

      Expected results:

       

       

      It should say empty json not allowed

      Logs collected and log location:

       

      Additional info:

       
       

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

                Created:
                Updated:
                Resolved: