dashboard icon indicating copy to clipboard operation
dashboard copied to clipboard

Azure RKE2 hardcoded default region is not available in the Azure Gov enviornment

Open gaktive opened this issue 2 years ago • 4 comments

As this is RKE2 the relevant code is in rancher/dashboard. In rke2 the region options are not hardcoded, they're fetched from /v1/meta/aksLocations ...assuming the list we get from that request is accurate when using azure gov credentials, the ui fix would require us to update the hardcoded default region here and hardcoded default node pool configuration here to use a location returned from the api call here

Originally posted by @mantis-toboggan-md in https://github.com/rancher/rancher/issues/43024#issuecomment-1747274142

gaktive avatar Oct 04 '23 22:10 gaktive

Internal reference: SURE-5437 Blocks https://github.com/rancher/aks-operator/issues/98

gaktive avatar Nov 22 '23 23:11 gaktive

We should use azure gov credentials to verify but this looks to be fixed by https://github.com/rancher/dashboard/pull/10083, repro steps for that PR use azure china but the underlying issue is the same: the default hardcoded region isn't available with those credentials.

mantis-toboggan-md avatar Dec 11 '23 21:12 mantis-toboggan-md

I confirmed that this is covered by https://github.com/rancher/dashboard/pull/10083.

mantis-toboggan-md avatar Dec 14 '23 20:12 mantis-toboggan-md

/backport v2.8.next1

nwmac avatar Feb 15 '24 16:02 nwmac

Added possible automation-candidate IF we can mock the requests needed in order to load the machine-config for an Azure RKE2 cluster and check if default region is set. We might need to mock "cloud creds" reply, if possible. To be evaluated

aalves08 avatar Apr 17 '24 14:04 aalves08

Do I need access to the gov environment to validate this issue?

IsaSih avatar Jul 16 '24 07:07 IsaSih

@IsaSih I believe only US citizens would be able to do this? cc @yonasberhe23 @gaktive

izaac avatar Jul 17 '24 17:07 izaac

That's right @izaac - to work on this one I coordinated with the Rancher Government team

mantis-toboggan-md avatar Jul 18 '24 20:07 mantis-toboggan-md

Looking over the related backend ticket, part of this was already tested by someone with the appropriate access: https://github.com/rancher/rancher/issues/43024#issuecomment-1997789020 so UI QA could try talking with @atoy3731 for help but this likely could be marked as done.

gaktive avatar Jul 22 '24 21:07 gaktive

@atoy3731 confirmed offline that he tested this issue, so closing as complete

IsaSih avatar Jul 23 '24 04:07 IsaSih