Uploaded image for project: 'OCMUI - OpenShift Cluster Manager UI'
  1. OCMUI - OpenShift Cluster Manager UI
  2. OCMUI-2768

[Data sovereignty] Type error reported when user tried to upgrade OSD trial cluster via "Upgrade cluster from Trial" from cluster list.

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • A-Team
    • ACM Console Sprint 263

      Description of the Problem
      In multiregion enabled env, User has chosen a ready OSD trail cluster then tried to upgrade via kebab option "Upgrade cluster from Trial" from cluster list. This resulted type errors as below

      TypeError: Cannot convert undefined or null to object
          at Function.keys (<anonymous>)
          at UpgradeTrialClusterDialog.jsx:115:12
          at P (UpgradeTrialClusterDialog.jsx:205:26)
          at bi (chrome-root.d6ec82adcca2f232.js:2:197413)
          at Sl (chrome-root.d6ec82adcca2f232.js:2:256728)
          at vs (chrome-root.d6ec82adcca2f232.js:2:245880)
          at ys (chrome-root.d6ec82adcca2f232.js:2:245808)
          at bs (chrome-root.d6ec82adcca2f232.js:2:245671)
          at os (chrome-root.d6ec82adcca2f232.js:2:242478)
          at ls (chrome-root.d6ec82adcca2f232.js:2:242867)
          at za (chrome-root.d6ec82adcca2f232.js:2:183766)
          at chrome-root.d6ec82adcca2f232.js:2:240415(anonymous)@console.js:36 

      Please see the attached screen capture Screen Recording 2024-12-10 at 12.39.58 PM.mov

       

      How reproducible:

      Always

      Steps to Reproduce:

      1. Open OCM UI staging using https://console.dev.redhat.com/openshift/?multiregion=true 
      2. Go to cluster list and choose  a ready OSD trail cluster.
      3. Click on kebab icon of the cluster.
      4. Click on "Upgrade cluster from Trial" menu.
      5. See the behavior.

      Actual results:

      At step 5, cluster list broken with type error as mentioned above.

      Expected results:

      At step 5, The "Upgrade cluster from trial" model should open without any issue.

        1. image-2024-12-17-17-00-14-865.png
          205 kB
          Denis Ragan
        2. Screen Recording 2024-12-10 at 12.39.58 PM.mov
          36.70 MB
          Jayakrishnan Mekkattillam

              kdoberst Kim Doberstein
              jmekkatt@redhat.com Jayakrishnan Mekkattillam
              Denis Ragan Denis Ragan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: