VM application definition in Germany West Central for Linux with VM.Extension Microsoft.CPlat.Core.VMApplicationManagerLinux version is 1.0.4 not 1.0.9 as per West Europe

Federica Scarcella 1 Reputation point
2022-10-12T10:00:21.25+00:00

I tried to install an VM application definition in a VM Linux (RedHat 8.5) on Germany West Central with no success for the uninstallation script.
I tested the same VM application definition in West Europe VM Linux (RedHat 8.5) and everything worked fine.
During the troubleshooting, I found out that the VM.Extension Microsoft.CPlat.Core.VMApplicationManagerLinux version is 1.0.4 and not 1.0.9 as per West Europe.
Are there a possibility to force the version during the installation? Or, there is in place the possibility to move the version from 1.0.4 to 1.0.9?

Thank you,
F

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,065 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 18,347 Reputation points Microsoft Employee
    2022-10-13T01:14:00.473+00:00

    @Federica Scarcella Thanks for posting your query on Microsoft Q&A.
    Can you please provide more information on how you are trying to install VM application definiation (via Azure Portal, Powershell, CLI etc.?)
    Is this the document you were following for creating VM Applications on Linux : https://learn.microsoft.com/en-us/azure/virtual-machines/vm-applications#tips-for-creating-vm-applications-on-linux

    The process of creating a VM application definition and version using Azure Portal as well as Azure CLI/PowerShell is described here: https://learn.microsoft.com/en-us/azure/virtual-machines/vm-applications-how-to?tabs=portal#create-the-vm-application

    For example, in doing so via the Azure portal, you can enter the version number in the screen which look like below:

    249845-image.png

    If you would like to upgrade the version -
    When you update an application version on a VM or VMSS, the update command you provided during deployment will be used. If the updated version doesn’t have an update command, then the current version will be removed and the new version will be installed.
    Update commands should be written with the expectation that it could be updating from any older version of the VM application.

    You will have to update the application profile of the VMs with the new version. In the future, we'll support this as well through policy and auto-update but for now this needs to be done through a new goal state. So essentially, you'll need to setup/install the new app version or run the deployment of the new app version on any VM or VMSS instance and it should update if that exists on the current iteration, or it will remove the old version and install the new one.

    Let me know in the comments if you have further questions or if I missed understanding your question correctly. I would be happy to investigate further. Thanks.

    0 comments No comments

  2. Federica Scarcella 1 Reputation point
    2022-10-13T10:54:03.937+00:00

    Hi, I successfully created the vm application and its related version.

    The issue occurs when I try to install an application on a Linux VM deployed in Germany West Central.

    250008-image.png

    As shown in the screen above, the application installation is status FAILED.

    To test, I replicated the same application (same installation script and uninstallation script) in West Europe and try to install the same application on a Linux VM deployed in West Europe.
    As you can see in the screen below, the installation has been successfully completed.
    250039-image.png

    During the throubleshooting, I noticed that the Version of the VM.Extension named Microsoft.CPlat.Core.VMApplicationManagerLinux is 1.0.9 for the VM LINUX on West Europe; while the Version of the VM.Extension named Microsoft.CPlat.Core.VMApplicationManagerLinux is 1.0.4 for the VM LINUX on Germany West Central.

    Could you please help me to find out a solution?

    Regards,
    F

    0 comments No comments