-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Labels
Auto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamComputeaz vm/vmss/image/disk/snapshotaz vm/vmss/image/disk/snapshotOKR CandidateThis label is used to track how many GitHub issues we have resolved for OKR purpose.This label is used to track how many GitHub issues we have resolved for OKR purpose.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Description
Describe the bug
@Jing-song I'm getting a new error and I suspect this is due to #28627. The use case is that I create a temporary VM in a temporary resource group (rsc_tmp). I then create an image version in my permanent resource group (rsc_imgs).
Related command
az sig image-version create --resource-group rsc_imgs --gallery-name base_images --gallery-image-definition win11-23h2-pro-x64 --gallery-image-version 2024.04.05 --replication-mode Full --replica-count 1 --managed-image /subscriptions/<guid>/resourceGroups/rsc_tmp/providers/Microsoft.Compute/virtualMachines/vm-win11-x64 --storage-account-type premium_lrs
Errors
Code: InvalidParameter
Message: The gallery image version source id: '/subscriptions/<guid>/resourceGroups/rsc_tmp/providers/Microsoft.Compute/virtualMachines/vm-win11-x64' must be specified in 'galleryImageVersion.properties.storageProfile.source.virtualMachineId'.
Target: galleryImageVersion.properties.storageProfile.source
Issue script & Debug output
N/A
Expected behavior
Used to work in v2.58.0. I confirmed by downgrading from v2.59.0 to v2.58.0 and the command succeeded again.
Environment Summary
azure 2.59.0
macOS
Additional context
No response
beef9r and scottlarnach
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamComputeaz vm/vmss/image/disk/snapshotaz vm/vmss/image/disk/snapshotOKR CandidateThis label is used to track how many GitHub issues we have resolved for OKR purpose.This label is used to track how many GitHub issues we have resolved for OKR purpose.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that