An Azure service that is used to provision Windows and Linux virtual machines.
VMSS extensiosn error
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.
- 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
]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
]3