Closed l-Leniac-l closed 6 years ago
Hello, Thanks you for asking this question! client.clusters.create is a long running operation and it returns before a cluster got created or failed to create. You need to change your code to client.clusters.create(config.azure_data_factory['resource_group'], CLUSTER_NAME, parameters).result() to be sure the cluster got created before you are getting its status and to be sure you got an error response from the server (if any). I will update our recipes to be sure nobody face the same confusion.
Thanks for helping @AlexanderYukhanov . I tried your suggestion and i didnt get any result after almost one hour running the script. I'll try to use Azure Batch instead. I need to run a pre-trained model, i think i will be able to do that on Azure Batch.
Do you mean cluster.create().result() has not finished?
Nope. After almost one hour i stopped the command. It was running "forever"
Thank you so much for reporting this issue. Your batch account provisioning has not completed successfully and that's why you observing this issue. We will investigate and resolve the problem.
We have resolved the issue. We can see that your cluster was created successfully and you have deleted the cluster as well on 1/19 1540 UTC.
Hi there. I'm trying to create a batch ai cluster using python, but it doesn't work. Part o my code:
When i try to print cluster status i get this result:
But when i executed the create function no errors appeared