fail to create vm with rbd error locked command timed out

colben

Member
Sep 26, 2021
10
1
8
28
# ENV
- pve nodes: 10.0.4.44 和 10.0.4.45
- external ceph mons: 10.0.4.40, 10.0.4.41 and 10.0.4.42
- external ceph version: 15.2.9

# ISSUE
- when i created vm, it failed everytime with error message below:
```
TASK ERROR: unable to create VM 100 - rbd error: 'storage-boya-ceph'-locked command timed out - aborting
```
 
Could you post the full task log?

What is the output of pvesm status?
 
I've solved it.
the reason is the difference version of ceph.
When install pve in debian manually, it will install ceph with version 14, which is different with the external ceph.

Now i reinstalled a pve from iso directly, the version of ceph in the iso is 15.2.14, and i reinstalled a new ceph cluster with the same version 15.2.14, then everything became normal.