Azure / Azure/azure-rest-api-specs

OperationPreempted Operation execution has been preempted by a more recent operation.

Open
#22,434 5 comments 3 reactions 0 assignees View on GitHub
bug customer-reported needs-team-attention question Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
6k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

I am deploying infrastructure with Azure Devops and Terraform.

Sometimes when I do «terraform apply» I have issues with the azure extensions.

This issue is related with this: https://github.com/hashicorp/terraform-provider-azurerm/issues/6025

I am using azure virtual machine extensions, and this issue appears with various of these.

I am deploying an Azure Virtual Desktop solution. Some virtual machines in an availability set. The problem can appear sometimes in the extensions.

MY EXTENSIONS
```
resource "azurerm_virtual_machine_extension" "AVDModule" {
count = local.vdi_vm_number_of_instances
name = "Microsoft.PowerShell.DSC"
virtual_machine_id = azurerm_windows_virtual_machine.vm[count.index].id
publisher = "Microsoft.Powershell"
type = "DSC"
type_handler_version = "2.73"
settings = <<-SETTINGS
{
"modulesUrl": "https://wvdportalstorageblob.blob.core.windows.net/galleryartifacts/Configuration_09-08-2022.zip",
"ConfigurationFunction": "Configuration.ps1\\AddSessionHost",
"Properties" : {
"hostPoolName" : "${azurerm_virtual_desktop_host_pool.hostpool.name}",
"aadJoin": true
}
}
SETTINGS

protected_settings = <

Contributor guide

Open the contributing guide

Research direction

The report points to vdi.tf line 303 and a Terraform apply involving Azure virtual machine extensions, but names no repository file, test, or API operation to change. Start by determining which Azure REST specification and operation correspond to OperationPreempted; done requires a confirmed, actionable specification issue rather than only an intermittent deployment report.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell, terraform
Domain
backend-api-design, cloud, infrastructure
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.