New Cloud Volumes ONTAP Working Environment deployment fails
Applies to
- Cloud Manager (CM)
- Cloud Volumes ONTAP (CVO)
- Microsoft Azure
Issue
- Cloud Manager is reporting an error when trying to create a new working environment:
Error:Operation Deploy VM Template wasn't completed
- Log snippets from Cloud Manager show the working environment creation failure followed by scope locks error:
2020-12-06 04:36:24,728 UTC ERROR [Create Vsa Working Environment] [t5KefuVI] [ ] [User User ] (oncloud-akka.actor.default-dispatcher-771) [AzureClient$:106] Operation Deploy VM Template wasn't completed
2020-12-06 04:36:24,729 UTC ERROR [Create Vsa Working Environment] [t5KefuVI] [ ] [User User ] (oncloud-akka.actor.default-dispatcher-784) [AzureVsaCreateFlowExecutor:139] Could not create VSA working environment with name ZUSE2PDAXCST203
com.netapp.oncloud.simplicator.client.azure.AzureMessages$OperationWasntFinishedException: Operation Deploy VM Template wasn't completed
at com.netapp.oncloud.azure.AzureClient$QueryForOperationCompletion$$anonfun$waitForOperationToComplete$5.apply(AzureClient.scala:107) ~[server-3.9.0.1605818824116.jar:3.9.0.1605818824116]
at com.netapp.oncloud.azure.AzureClient$QueryForOperationCompletion$$anonfun$waitForOperationToComplete$5.apply(AzureClient.scala:96) ~[server-3.9.0.1605818824116.jar:3.9.0.1605818824116]
at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:251) ~[scala-library.jar:?]
at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:249) ~[scala-library.jar:?]
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32) [scala-library.jar:?]
at com.netapp.oncloud.logging.MDCPropagatingDispatcher$$anon$1$$anon$2.run(MDCPropagatingDispatcher.scala:60) [server-3.9.0.1605818824116.jar:3.9.0.1605818824116]
at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:39) [akka-actor_2.11-2.4.20.jar:?]
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:415) [akka-actor_2.11-2.4.20.jar:?]
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) [scala-library.jar:?]
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) [scala-library.jar:?]
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) [scala-library.jar:?]
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) [scala-library.jar:?]
2020-12-06 04:36:30,932 UTC ERROR [Create Vsa Working Environment] [t5KefuVI] [ ] [User User ] (simplicator-akka.actor.default-dispatcher-66193) [SimplicatorServerActor:255] Simplicator request to http://localhost:8080/AzureProtocol/...eResourceGroup failed: The scope '/subscriptions/subscription number/resourceGroups/resource group id num; cannot perform delete operation because following scope(s) are locked: '/subscriptions/subscription number/resourceGroups/resource group id num;. Please remove the lock and try again. Code: ScopeLocked