# general


02/13/2022, 10:58 PM
Hi, I am deploying virtual machine using automation api . While testing and deploying machine there was panic . Now when I try to either delete stack or create new machine I get following error
Copy code
error: could not create stack: the stack is currently locked by 1 lock(s). Either wait for the other process(es) to end or manually delete the lock file(s).
Just wondering how I can manage and check if the stack is lock and manage it using automation api , instead of the deleting the stack file manually .