Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cluster list web elements disappear, can't delete clusters from UI with ui-sql-cache on #12266

Closed
izaac opened this issue Oct 15, 2024 · 5 comments
Assignees
Milestone

Comments

@izaac
Copy link
Contributor

izaac commented Oct 15, 2024

Setup

  • Rancher version: HA v2.10-2e82262225844f52c3ef6d8a8f51b870e220ec91-head
  • Rancher UI Extensions: master 0e5fc09
  • Browser type & version: Chrome

Describe the bug

The cluster table/list disappears if I select a cluster, or the browser doesn't show the actions buttons.

To Reproduce

  1. Install Rancher
  2. Go to Create clusters
  3. Create a node driver RKE2 AWS
  4. Enable ui-sql-cache, wait for Rancher tor restart
  5. Refresh the Browser
  6. Navigate to Cluster Management - Clusters

Result
The action buttons aren't displayed
If I refresh the buttons appear
If I select a cluster from the table everything disapears

Expected Result
All action elements are displayed and the user is able to remove a cluster

Screenshots

Screenshot from 2024-10-15 11-48-13
Screenshot from 2024-10-15 11-48-33
Screenshot from 2024-10-15 11-48-48

** More info **

Multiple messages like this one in the console:

TypeError: Cannot read properties of undefined (reading 'name')
    at get canDelete (provisioning.cattle.io.cluster.js:236:45)
    at Reflect.get (<anonymous>)
    at Object.get (reactivity.esm-bundler.js:492:29)
    at get _availableActions (resource-class.js:928:26)
    at get _availableActions (provisioning.cattle.io.cluster.js:91:23)
    at Reflect.get (<anonymous>)
    at Object.get (reactivity.esm-bundler.js:492:29)
    at get availableActions (resource-class.js:842:22)
    at Reflect.get (<anonymous>)
    at Object.get (reactivity.esm-bundler.js:492:29)
@izaac izaac added kind/bug QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this labels Oct 15, 2024
@izaac izaac added this to the v2.10.0 milestone Oct 15, 2024
@izaac izaac self-assigned this Oct 15, 2024
@richard-cox richard-cox modified the milestones: v2.10.0, v2.11.0 Oct 16, 2024
@richard-cox
Copy link
Member

richard-cox commented Oct 17, 2024

@richard-cox
Copy link
Member

requires stateObj, which is metadata.state

@richard-cox
Copy link
Member

Will be fixed when rancher/steve#300 merges (and steve in rancher/rancher is bumped). Will monitor and move to test when so

@richard-cox richard-cox modified the milestones: v2.11.0, v2.10.0 Oct 18, 2024
@richard-cox richard-cox self-assigned this Oct 18, 2024
@richard-cox richard-cox added QA/manual-test Indicates issue requires manually testing and removed QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this labels Oct 22, 2024
@richard-cox
Copy link
Member

Given rancher/rancher#47616, moving to test

@izaac
Copy link
Contributor Author

izaac commented Oct 23, 2024

Validated on Rancher version: v2.10-24040b6dc9ae2fa6a3a49cbe126132c13c2587ba-head
Dashboard: master fa2e6dd

The resources status is now properly displayed and dynamically changed depending on their status. Tested with a pod and a cluster.

@izaac izaac closed this as completed Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants