Share via

VMSS extensiosn error

Sukirti Sen 66 Reputation points
2021-05-08T17:53:59.197+00:00

Hi,

We had an issue with data not flowing in one of our Azure VMSS, MSFT resources gave the following steps to execute to solve the issue
a. From the ‘Extensions’ tab of the VMSS, remove Linux Diagnostic first and then Linux OMS Agent.
b. From ‘Instances’ tab, upgrade VMSS instances.
c. Once upgraded, from the ‘Insights’ tab it should allow you to enable, which you will manually enable which will prompt reinstall.
i. Note: If enable button doesn’t show up (sometimes it can take up to 24 hours, this is due to how it checks for data) you can run this Azure CLI command to apply the OMS extension.

  1. az vmss extension set --name OmsAgentForLinux --publisher Microsoft.EnterpriseCloud.Monitoring --resource-group RGHERE --vmss-name VMSSNAMEHERE --protected-settings '{\"workspaceKey\": \"WSKEYHERE\"}' --settings '{\"workspaceId\": \"WSIDHERE\"}'
    d. From ‘Instances’ tab, upgrade VMSS instances. This will apply the extensions to the instances

Now, when we tried to do this and in step#b we started getting the below error
![94982-image.png]2

My question is we perhaps need to delete the other 2 extensions (or the dependencyagentlinux extension at least) and then proceed with the rest of the steps
![94957-image.png]3

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.


Your answer

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