Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-13183

TypeError when Destroying Cluster from Cluster Page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • MCE 2.7.0
    • ACM 2.12.0, MCE 2.7.0
    • Console
    • 0.5
    • False
    • None
    • False
    • ACM Console Sprint 258
    • Important
    • Yes

      Description of problem:

      On the UI, when clicking into a cluster and attempting to destroy the cluster (Actions -> Destroy Cluster), TypeError is outputted.

      Version-Release number of selected component (if applicable):

      2.12.0-DOWNSTREAM-2024-08-05-20-33-14

      How reproducible:

      Always

      Steps to Reproduce:

      1. Create a cluster
      2. Go into the cluster page
      3. Click on Actions -> Destroy Cluster
      4. Type the Cluster Name in the text box and destroy

      Only happens when doing it from the overview page, not from the clusters list.

      Actual results:

      Expected results:

      Something on the lines of cluster is being destroyed.

      Additional info:

      Component Trace: 

      at t.ClusterDestroy (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/api/plugins/mce/exposed-clusters.ba0cd655.js:1:536229)
          at t.default (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/api/plugins/mce/exposed-clusters.ba0cd655.js:1:309202)
          at _ (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:31:4920)
          at ne (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:31:10364)
          at t.ACMNotReadyWarning (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/api/plugins/mce/547.b299665c.js:1:539)
          at t.LostChangesProvider (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/api/plugins/mce/154.321f08b5.js:1:17848)
          at t.LoadPluginData (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/api/plugins/mce/547.b299665c.js:1:43614)
          at t.AcmTablePaginationContextProvider (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/api/plugins/mce/154.321f08b5.js:57:145499)
          at t.AcmToastProvider (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/api/plugins/mce/154.321f08b5.js:57:7868)
          at div
          at div
          at t.PluginContextProvider (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/api/plugins/mce/547.b299665c.js:1:46984)
          at x (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/main-chunk-9e624de2e2313a11e87d.min.js:1:1299738)
          at _ (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:31:4920)
          at ne (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:31:10364)
          at Suspense
          at i (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/main-chunk-9e624de2e2313a11e87d.min.js:1:331233)
          at section
          at m (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendor-patternfly-5~main-chunk-b94a988b81d066d87645.min.js:6:123362)
          at div
          at div
          at t.a (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/main-chunk-9e624de2e2313a11e87d.min.js:1:1300627)
          at div
          at div
          at l (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendor-patternfly-5~main-chunk-b94a988b81d066d87645.min.js:60:99892)
          at c (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendor-patternfly-5~main-chunk-b94a988b81d066d87645.min.js:6:290411)
          at div
          at c (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendor-patternfly-5~main-chunk-b94a988b81d066d87645.min.js:6:23308)
          at c (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/main-chunk-9e624de2e2313a11e87d.min.js:1:1076661)
          at https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/main-chunk-9e624de2e2313a11e87d.min.js:1:298822
          at R (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:12:14964)
          at main
          at div
          at b (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendor-patternfly-5~main-chunk-b94a988b81d066d87645.min.js:60:260477)
          at div
          at div
          at l (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendor-patternfly-5~main-chunk-b94a988b81d066d87645.min.js:6:355612)
          at div
          at div
          at l (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendor-patternfly-5~main-chunk-b94a988b81d066d87645.min.js:60:99892)
          at c (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendor-patternfly-5~main-chunk-b94a988b81d066d87645.min.js:6:290411)
          at div
          at c (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendor-patternfly-5~main-chunk-b94a988b81d066d87645.min.js:6:23308)
          at An (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendor-patternfly-5~main-chunk-b94a988b81d066d87645.min.js:1:126891)
          at t.default (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/main-chunk-9e624de2e2313a11e87d.min.js:1:747003)
          at t.default (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/quick-start-chunk-eb486c115905d11a3419.min.js:1:3355)
          at l (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/main-chunk-9e624de2e2313a11e87d.min.js:1:147442)
          at t.a (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/main-chunk-9e624de2e2313a11e87d.min.js:1:1379062)
          at te (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/main-chunk-9e624de2e2313a11e87d.min.js:1:1400062)
          at ft (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendor-patternfly-5~main-chunk-b94a988b81d066d87645.min.js:1:87024)
          at te (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/main-chunk-9e624de2e2313a11e87d.min.js:1:1400062)
          at te (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/main-chunk-9e624de2e2313a11e87d.min.js:1:1400062)
          at t.LoadData (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/api/plugins/mce/exposed-contextProvider.8187dec2.js:1:339)
          at t.QueryClientProvider (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/api/plugins/mce/166.ca825781.js:205:2980114)
          at Gn (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/api/plugins/mce/166.ca825781.js:205:6572828)
          at RecoilRoot (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/api/plugins/mce/166.ca825781.js:205:6574801)
          at t.PluginDataContextProvider (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/api/plugins/mce/exposed-contextProvider.8187dec2.js:1:8370)
          at te (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/main-chunk-9e624de2e2313a11e87d.min.js:1:1400062)
          at o (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/main-chunk-9e624de2e2313a11e87d.min.js:1:700079)
          at t.a (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/main-chunk-9e624de2e2313a11e87d.min.js:1:1371336)
          at t.a (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/main-chunk-9e624de2e2313a11e87d.min.js:1:1368917)
          at ne (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/main-chunk-9e624de2e2313a11e87d.min.js:1:1400184)
          at ae (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/main-chunk-9e624de2e2313a11e87d.min.js:1:1402198)
          at _ (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:31:4920)
          at ne (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:31:10364)
          at _ (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:31:4920)
          at ne (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:31:10364)
          at te (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:31:9773)
          at G (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:12:11631)
          at t (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:12:24311)
          at re (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/main-chunk-9e624de2e2313a11e87d.min.js:1:1402460)
          at t.a (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/main-chunk-9e624de2e2313a11e87d.min.js:1:672828)
          at t.a (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/main-chunk-9e624de2e2313a11e87d.min.js:1:993637)
          at l (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/main-chunk-9e624de2e2313a11e87d.min.js:1:523019)
          at t.a (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:12:31092)
          at Suspense 

      Stack Trace

      TypeError: Cannot destructure property 'agentClusterInstall' of '(0 , v.useClusterDetailsContext)(...)' as it is null.
          at t.ClusterDestroy (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/api/plugins/mce/exposed-clusters.ba0cd655.js:1:536566)
          at ra (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendors~main-chunk-17726f69b2562fcb5408.min.js:117:58879)
          at Us (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendors~main-chunk-17726f69b2562fcb5408.min.js:117:111315)
          at Su (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendors~main-chunk-17726f69b2562fcb5408.min.js:117:98327)
          at wu (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendors~main-chunk-17726f69b2562fcb5408.min.js:117:98255)
          at _u (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendors~main-chunk-17726f69b2562fcb5408.min.js:117:98118)
          at hu (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendors~main-chunk-17726f69b2562fcb5408.min.js:117:95105)
          at https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendors~main-chunk-17726f69b2562fcb5408.min.js:117:44774
          at t.unstable_runWithPriority (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendors~main-chunk-17726f69b2562fcb5408.min.js:125:3768)
          at Ui (https://console-openshift-console.apps.almng-test-cluster.dev09.red-chesterfield.com/static/vendors~main-chunk-17726f69b2562fcb5408.min.js:117:44551) 

              rh-ee-kcormier Kevin Cormier
              rh-ee-almng Almen Ng
              Almen Ng Almen Ng
              ACM QE Team
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: