azureazure-resource-managerazure-rm-template

ARM template - CustomLinuxScript extension failure: Malformed status file (000003)Invalid status/status: failed


I have an ARM template having 12 virtual machine resources. Each VM has 1 CustomLinuxScript extension resource associated with it.

Some of the CustomLinuxScript extensions fails with error: Malformed status file (000003)Invalid status/status: failed.

While some of them execute successfully. I deployed the same ARM template yesterday and none of them executed successfully. A few days ago all of them executed successfully. Does it seem like a bug in Azure?


Solution

  • So the answer was to go to the VM extension logs and look at the errors to verify that the shell scripts were to blame

    The overview of the extension:
    https://github.com/Azure/azure-linux-extensions/tree/master/CustomScript

    near the of the document (readme.md) you can find where to locate the logs