Shaffan
Shaffan

Reputation: 53

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?

Upvotes: 2

Views: 1656

Answers (2)

Shaffan
Shaffan

Reputation: 53

There is no bug in Azure. There is a mistake in my shell scripts which is causing this error.

Upvotes: 0

4c74356b41
4c74356b41

Reputation: 72191

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

Upvotes: 3

Related Questions