Skip to content

Instantly share code, notes, and snippets.

@vv111y
Created October 24, 2019 20:06
Show Gist options
  • Save vv111y/88cefea79b0a8dc1ff388e1f1c617051 to your computer and use it in GitHub Desktop.
Save vv111y/88cefea79b0a8dc1ff388e1f1c617051 to your computer and use it in GitHub Desktop.
Creating a new AKS service...
Creating....
FailedProvisioning operation finished, operation "Failed"
---------------------------------------------------------------------------
ComputeTargetException Traceback (most recent call last)
<ipython-input-28-4fd5439fcdb8> in <module>
4 name = aks_name,
5 provisioning_configuration = prov_config)
----> 6 aks_target.wait_for_completion(show_output = True)
7 print(aks_target.provisioning_state)
8 print(aks_target.provisioning_errors)
~/anaconda3/envs/azureml/lib/python3.7/site-packages/azureml/core/compute/compute.py in wait_for_completion(self, show_output)
426 'Current state is {}'.format(self.provisioning_state))
427 else:
--> 428 raise e
429
430 def _wait_for_completion(self, show_output):
~/anaconda3/envs/azureml/lib/python3.7/site-packages/azureml/core/compute/compute.py in wait_for_completion(self, show_output)
419 'state, current provisioning state: {}\n'
420 'Provisioning operation error:\n'
--> 421 '{}'.format(self.provisioning_state, error_response))
422 except ComputeTargetException as e:
423 if e.message == 'No operation endpoint':
ComputeTargetException: ComputeTargetException:
Message: Compute object provisioning polling reached non-successful terminal state, current provisioning state: Failed
Provisioning operation error:
{'code': 'BadRequest', 'message': 'The request is invalid', 'details': [{'code': 'BadRequestFormat', 'message': "InvalidTemplateDeployment: The template deployment '2a3b1ee3-6281-4cc2-92b4-c179026e353d' is not valid according to the validation procedure. The tracking id is '93fe7149-f2a6-47e6-a67d-56cae6281e23'. See inner errors for details."}]}
InnerException None
ErrorResponse
{
"error": {
"message": "Compute object provisioning polling reached non-successful terminal state, current provisioning state: Failed\nProvisioning operation error:\n{'code': 'BadRequest', 'message': 'The request is invalid', 'details': [{'code': 'BadRequestFormat', 'message': \"InvalidTemplateDeployment: The template deployment '2a3b1ee3-6281-4cc2-92b4-c179026e353d' is not valid according to the validation procedure. The tracking id is '93fe7149-f2a6-47e6-a67d-56cae6281e23'. See inner errors for details.\"}]}"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment