rancher / dashboard

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

Unable to Edit Config of imported Azure AKS cluster #12525

Open thehejik opened 1 week ago

thehejik commented 1 week ago

Setup

Describe the bug When attempting to edit/upgrade an imported Azure AKS cluster via Edit Config, the dialog is blank. This dialog is sometimes shown but in this case it offers an empty list of Kubernetes versions to upgrade to with only entry No options instead of any k8s version.

I was able to reproduce this twice in a row on a fresh clusters and with AKS clusters in different locations / k8s versions installed.

It works fine for rancher provisioned AKS clusters.

I believe this is related to the UI, but I may be wrong, in this case please move to CAPI & HP project .

To Reproduce

Result

Expected Result The Edit dialog should be shown and it should offer a list of valid k8s versions for upgrade

Screenshots aks-imported-upgrade

image

rak-phillip commented 1 week ago

@thehejik I'm seeing the following error logged to the console

TypeError: Invalid Version: 1.29
    u semver.js:38
    i compare.js:3
    i gt.js:2
    t CruAks.vue:542
    aksVersionOptions CruAks.vue:538
    run reactivity.esm-bundler.js:190
    get value reactivity.esm-bundler.js:1171
    get runtime-core.esm-bundler.js:3488
    get runtime-core.esm-bundler.js:3132
    default CruAks.vue:1062

Can you confirm that you see the same?

rak-phillip commented 1 week ago

Updating milestone to 2.11 and creating a backport pr for 2.10

rak-phillip commented 1 week ago

/backport v2.10.0

thehejik commented 1 week ago

Thanks, it's working as expected now on Dashboard release-2.10 f9cdb12. image

Can be closed from QA point of view.

rak-phillip commented 1 week ago

/backport v2.9.4