rancher / dashboard

The Rancher UI
https://rancher.com
Apache License 2.0
441 stars 241 forks source link

DigitalOcean machine pool blank for rke2/k3s clusters #8747

Open dnoland1 opened 1 year ago

dnoland1 commented 1 year ago

Setup

Describe the bug Machine pool is blank: image

To Reproduce Go to Cluster Manager Click Create button Toggle to rke2/k3s clusters Select DigitalOcean

Result The machine pool is blank (see screen shot above)

Expected Result Fields for configuring the machine pool

Screenshots See above

Additional context Saw this error in browser console which might be related:

TypeError: e is undefined
    configComponent MachinePool.vue:118
    VueJS 3
    ge MachinePool.vue:1
    VueJS 58
    fetch SelectCredential.vue:58
    n NuxtJS
    v runtime.js:63
    _invoke runtime.js:294
    I runtime.js:119
    Babel 4
    NuxtJS 3
    VueJS 19
console.js:31:30
richard-cox commented 1 year ago

This is as odd one, DO is often used throughout development. Do you have any extensions installed? Could you try again with new credentials using a verified API key?

dnoland1 commented 1 year ago

Are you not able to reproduce? Two people on my support team reported the issue to me and I'm able to reproduce it (we all have different keys). You can also give it a go at support.rancher.cloud. I see OS Management in the menu, so I think that means the Elemental extension is installed.

dnoland1 commented 1 year ago

And RKE1 works fine as well as the machine pool for AWS.

richard-cox commented 1 year ago

What version of the elemental ui extension is installed, and would you be able to temporarily disable it and try again?

dnoland1 commented 1 year ago

Sorry, I saw it in the menu, but when I click on it (I'm an admin), does not appear it's installed: image

richard-cox commented 1 year ago

Can you go to the Burger menu --> Extensions page and let me know which extensions are installed? They can be separate from the product underneath. For the elemental extension it will guide you through the install process for elemental actual (as well as show elemental features when elemental actual is installed)

dnoland1 commented 1 year ago

No Extensions on my Burger: image I'm a Restricted Administrator. For Administrator, clicking Burger no-ops and see this on console: image

richard-cox commented 1 year ago

You'll need an admin to check, I have a feeling the extension version is 1.0 and needs updating to 1.1

dnoland1 commented 1 year ago

I am an admin, Burger is broken and get the above console error when I click on the Burger. I'm logged in with username=admin with full Administrator rights. I can also check things in the backend if needed.

richard-cox commented 1 year ago

it looks like for a provisioning.cattle.io.clusters we can't find the associated management.cattle.io.cluster . are there any any failed network requests, or clusters stuck in an odd deleted state?

dnoland1 commented 1 year ago

Yes, found an old cluster that had been deleted that had a resource in cluster.provisioning.cattle.io, but not cluster.management.cattle.io. I've removed it, but still facing the same issues with the burger menu as well as DigitalOcean machine pool.

dnoland1 commented 1 year ago

Sorry, deleted it, but was stuck in "deleting" state. It's now gone and I can get to the Burger and see extensions:

image

I'll update Elemental to 1.1.0 and see if that helps.

dnoland1 commented 1 year ago

Looks like that fixed the issue:

image

Anything that can be done so that Extensions don't break core application functionality?

richard-cox commented 1 year ago

There's two issues here

1) provisioning.cattle.io.clusters without management.cattle.io.cluster counterparts can break the burger menu

Until the follow on work has been tracked somewhere lets keep this issue open