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

Lifecycle ilm policy file name created with special characters escaped

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

      Build Information: 

      1. rpm -qa | grep noobaa

      noobaa-core-5.19.0-20250511.el9.x86_64

       

      Applied the lifecycle policy and when ilm got generated it had escaped characters %2F instead "/"

      #s3ac2 s3api put-bucket-lifecycle-configuration   --bucket bc2  --lifecycle-configuration file://expirtationRules1.json

       

      1. s3ac2 s3api put-bucket-lifecycle-configuration   --bucket bc2  --lifecycle-configuration file://expirtationRules1.json

      urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings

      1. s3ac2 s3api get-bucket-lifecycle-configuration   --bucket bc2

      urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host ''. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings

      {

          "Rules": [

              {

                  "Expiration":

      {                 "Days": 4             }

      ,

                  "ID": "expire-data",

                  "Filter":

      {                 "Prefix": "data/"             }

      ,

                  "Status": "Enabled"

              },

              {

                  "Expiration":

      {                 "Days": 2             }

      ,

                  "ID": "expire-logs",

                  "Filter":

      {                 "Prefix": "logs/"             }

      ,

                  "Status": "Enabled"

              }

          ]

      }

       

      Execute **

       

      #noobaa-cli lifecycle --disable_runtime_validation

      1. pwd

      /var/log/noobaa/lifecycle/lifecycle_ilm_policies

      1. ls -lrt

      total 4

      rw-r----. 1 root root 990 May 12 16:53 noobaa_ilm_policy_%2Fmnt%2Fgpfs0_1747061587898

              rayalon@redhat.com Rom Ayalon (Inactive)
              ramya.c3 Ramya MC (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: