Symptoms
Azure CSP Execute operation 'arm_templates' with ID ...
task fails:
500 Internal Server Error
azure.log
error:
INFO [com.odin.azure.common.ClientLogs] (azure task-121) <ARM> Outgoing request: GET https://management.azure.com/subscriptions/c50a24b8-...-df46c5733aa9/resourcegroups/ANR/providers/Microsoft.Resources/deployments/ANR20171112115626?api-version=2016-09-01
INFO [com.odin.azure.common.ClientLogs] (azure task-121) <ARM> Outgoing request 'GET https://management.azure.com/subscriptions/c50a24b8-...-df46c5733aa9/resourcegroups/ANR/providers/Microsoft.Resources/deployments/ANR20171112115626?api-version=2016-09-01' has been finished: HTTP 200 OK
ERROR [com.odin.azure.server.ErrorsHandler] (azure task-121) <APS-APP> Error: java.lang.NullPointerException
i.e. NullPointerException
appears on attempt to request ANR20171112115626
resource deployment status for resource group named ANR
.
Request headers contain actual action is being performed:
headers:
APS-Info: Running deployment ANR20171112115626 to resource group ANR on Azure portal
Cause
The actual error came from the Microsoft Cloud states:
"Password validation failed. The password does not meet policy requirements because it is not complex enough."
Software-related issue #APSA-19436: "AzureCSP: "Execute operation 'arm_templates'" task fails: "ArmError. NullPointerException" has been addressed to Odin Development team in order to improve error reporting in such cases.
Resolution
Contact pta@odin.com or TAM to trace the status of the issue.
Workaround: cancel current task, ask end customer to deploy resource ANR20171112115626
in resource group ANR
with valid password specified.