redhat-developer / redhat-developer/mapt

[Enhancement] Enhance region selection for Azure instance creation

Open
#451 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug priority/MEDIUM provider/AZURE
Dominant language
Go
Stars
24
Forks
36
Avg merge
6d 13h
Merged PRs (30d)
8

Description

Descrition

Currently, creating an Azure instance using mapt 0.8.0 may fail if the selected region does not support the required resource type.

Suggested Enhancement:

If the requested region does not support the resource type, mapt should automatically select an alternative from the list of available regions rather than failing

Logs:

error: Status=400 Code="LocationNotAvailableForResourceType" Message="The provided location 'southafricawest' is not available for resource type 'Microsoft.Storage/storageAccounts'. List of available regions for the resource type is 'eastus,eastus2,westus,westeurope,eastasia,southeastasia,japaneast,japanwest,northcentralus,southcentralus,centralus,northeurope,brazilsouth,australiaeast,australiasoutheast,southindia,centralindia,westindia,canadaeast,canadacentral,westus2,westcentralus,uksouth,ukwest,koreacentral,koreasouth,francecentral,australiacentral,southafricanorth,uaenorth,switzerlandnorth,germanywestcentral,norwayeast,westus3,jioindiawest,swedencentral,qatarcentral,polandcentral,italynorth,israelcentral,mexicocentral,spaincentral,newzealandnorth,indonesiacentral'."

example workflow run: https://github.com/podman-desktop/extension-minikube/actions/runs/14046928968/job/39329664152

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Azure instance creation failure from the linked workflow run and trace the region-selection path that handles the LocationNotAvailableForResourceType error. Done means an unsupported requested region results in selection of an available alternative instead of creation failing; the payload names no source files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, go
Domain
cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.