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

Not able to create CORS rules from UI

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Committed
    • ?
    • ppc64le
    • ?
    • 4.19.0-60.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:

      Not able to create CORS rules from UI. Getting below error while creating CORS rule.
      Found unsupported HTTP method in CORS config. Unsupported method is OPTIONS.

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

      IBM Power UPI

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

      Internal-Attached (LSO)

       

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

      OCP: 4.19.0-ec-4
      ODF: 4.19.0-75

       

      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?

      We can delete default CORS rules using cli and create Cors rules using ui.

      command to delete CORS rules from cli 

      AWS_ACCESS_KEY_ID=xxxxxxxxxx AWS_SECRET_ACCESS_KEY=xxxxxxxxx aws s3api delete-bucket-cors --bucket <bucket-name> --no-verify-ssl --endpoint-url https://localhost:12443

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

      Yes 
      100%

       

      Can this issue be reproduced from the UI?

      Yes

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

       

      Steps to Reproduce:

      step #1: Deploy ODF cluster and create bucket in it
      step #2: Navigate to Object storage -> Buckets
      step #3: Select bucket create in step #1 and navigate to Permissions -> CORS section
      step #4: Click on Create CORS rule and try to create.

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

      17-04-2025:9:30 AM IST

      Actual results:

      While creating rule getting error.
      Found unsupported HTTP method in CORS config. Unsupported method is OPTIONS.

       

      Expected results:

      CORS rule should create successfully 

      Logs collected and log location:

       

      Additional info:

       
       

        1. image (1).png
          50 kB
          Veerareddy Tippireddy

              jalbo@redhat.com Jacky Albo
              rh-ee-vtippire Veerareddy Tippireddy
              Jacky Albo
              Uday Kurundwade Uday Kurundwade
              Votes:
              0 Vote for this issue
              Watchers:
              23 Start watching this issue

                Created:
                Updated:
                Resolved: