Open chcosta opened 1 month ago
the Region: westus2
property in the ubuntu.2004.armarch definition YAML should control the deployment region regardless of the environment (PR, staging, prod). where is that being overridden for deployments from PR builds❓ that is, how does this image get created in westus
at all❓
separately I agree including the region in the hash might be useful. I'm not sure that would actually move the image between regions as you expect however. is this 🤞
is this definitely an Ops issue @chcosta and @ilyas1974:question: just wondering if it needs triage
I think we have two issues here. The first is to correct the issue where we have images in different regions (ops), the second is the prevention\mitigation of how this happened and how to prevent it from happening again. I think that separate issue is something that can be discussed in triage.
broke this into #4324 and #4325. marked second as Needs triage
Images appear to be created in the correct region and consistent. Image definitions are in different regions.
Here are the queues where image definitions are in different regions...
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">
BuildPool | HelixPRImages definition location | HelixImages definition location | helix-machines source code value (under definitions folder) -- | -- | -- | -- Build.Windows.10.Amd64.ES.VS2017.Open | westus | westus2 | not present Build.Windows.Amd64.VS2019.Pre.ES.Open | westus | westus2 | not present ubuntu.1804.armarch | westus | westus2 | westus2 ubuntu.2004.armarch | westus | westus2 | westus2 windows.11.arm64 | westus | westus2 | westus2 Windows.Server.Amd64.VS2017 | westus | westus2 | westus windows.vs2017.amd64.es.open | westus | westus2 | not present windows.vs2022.amd64 | westus | westus2 | westus windows.vs2022preview.amd64.open | westus | westus2 | westus
ubuntu.2004.armarch image is in westus2 in the 'HelixImages' Azure Compute Gallery, but in westus in 'HelixPRImages'. We likely got into this state because the compute hash, as it currently exists, skips a lot of deployment during staging because it only computes such a narrow set of definition values. ubuntu.2004.armarch needs to be in westus2 for both galleries. Currently, if you accidentally deploy ubuntu.2004.armarch during a staging ci job (by changing one of the deployment values defined in definitions/shared/linux.yaml which it uses for the hash), you'll encounter an error like this:
Release Note Category
Release Note Description