Azure VM scale set update issue from captured image

Anonymous
2023-08-09T08:58:25.94+00:00

Error: Gallery image reference for Virtual Machine Scale Sets can only be updated if the new image-version has the same number of data disks and luns as the old image-version, and same operating system type. If the Virtual Machine Scale Set required plan information to deploy, then only version part of gallery image reference can be updated.

Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
441 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Prrudram-MSFT 28,146 Reputation points
    2023-08-09T13:21:10.05+00:00

    Hi @Anonymous

    The error message indicates that there are specific conditions and requirements that need to be met when updating the image version in a Virtual Machine Scale Set (VMSS). Let me break down the error message for you:

    Image Version Compatibility: When updating the image version in a VMSS, the new image version must have the same number of data disks and Logical Unit Numbers (LUNs) as the old image version. This means that the disk configuration (including disk count and arrangement) must remain consistent between the old and new image versions.

    Operating System Compatibility: The new image version must have the same operating system type as the old image version. This is important to ensure that the software and configurations within the VMSS are compatible with the new image version.

    Plan Information: If the VMSS deployment relies on specific plan information (such as licensing or subscription details), only the version part of the gallery image reference can be updated. This means you can change the image version while keeping the other plan-related information intact.

    In summary, when updating the image version of a Gallery image reference in a Virtual Machine Scale Set, you need to ensure that the new image version:

    • It has the same number of data disks and LUNs as the old image version.
    • It has the same operating system type as the old image version.
    • If there is plan information required for deployment, only the version part of the gallery image reference can be updated.

    If you're facing difficulties with this update process, you might want to review your new image version's specifications and configurations to ensure they adhere to these requirements. If needed, consult Azure technical support for more detailed guidance on updating VMSS image references.

    If this does answer your question, please accept it as the answer as a token of appreciation.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.