> Documentation index for agents: /hcp/3.3/en/llms.txt

# VM stays in the Locked status for a long time

While an operation is running on a virtual machine (VM), Center locks the VM. Usually the operation is still in progress. If the node did not respond, Center automatically changes the status to a failure status and removes the lock about 6 hours after the operation started.

## What you see

The VM status has started with **Locked** for a long time, for example:

```text
Locked, Starting
```

Actions on the VM return the `VM is locked` notification; the refusal names the task in progress on the VM. If the Center web interface showed **Async request was cancelled**, see [Async request was cancelled. Much attempts limit has been reached](/hcp/3.3/en/troubleshooting/async-request-cancelled/index.md).

## What to do

1. **Compare how long the operation has been running with the time limit in the table.** The operation is the second word of the status. You can see when it started in the **Tasks** section and in the **Event history** section on the VM page — [Tasks](/hcp/3.3/en/observability/operations/index.md).

| Status | Time limit | Failure status |
| - | - | - |
| **Starting** | 15 minutes | **Start failed** |
| **Stopping** | 30 minutes | **Stop failed** |
| **Suspending** | 30 minutes | **Suspend failed** |
| **Resuming** | 30 minutes | **Resume failed** |
| **Creating** | 1 hour | **Create failed** |
| **Deleting** | 1 hour | **Delete failed** |
| **Migrating** | 6 hours | **Migration failed** |
| **Restoring** | 6 hours | **Restore failed** |

2. **The time limit has not passed** — wait for the operation to finish and do not repeat the action.
3. **The time limit has passed** — within 5 minutes, Center changes the status to the failure status. Then repeat the action. For **Create failed**, see [VM in the Create failed status](/hcp/3.3/en/troubleshooting/vm-status-create-failed/index.md).
4. **The task has hung** — you can terminate it in the **Tasks** section with the **Terminate** button. A user with the **Cluster master** role can terminate any task, a VDC user — only their own — [Tasks](/hcp/3.3/en/observability/operations/index.md).
5. **Locked remains together with the failure status** — wait until Center removes the lock. If you cannot wait, a user with the **Cluster master** role clicks **Unlock** next to the VM name on the VM page: this also closes the task that locked the VM. You cannot remove the lock during a migration. If there is no button, contact vStack support.

## Check the result

The VM status does not start with **Locked** and is not transitional.

## What not to do

- **Do not remove the lock while the operation may still be running:** a new operation will start on top of the unfinished one.

## If this did not help

Write down the VM name and ID, the status and the time the operation started. Collect the rest from the list in [Collect data for support](/hcp/3.3/en/troubleshooting/collect-for-support/index.md) and contact vStack technical support.
