[pve-devel] vm deletion succeeds even if storage deletion fails

Stefan Priebe - Profihost AG s.priebe at profihost.ag
Mon Jan 14 11:04:29 CET 2019


Hello,

today i was wondering about some disk images while the vm was deleted.

Inspecting the task history i found this log:

trying to acquire cfs lock 'storage-cephstoroffice' ...
trying to acquire cfs lock 'storage-cephstoroffice' ...
trying to acquire cfs lock 'storage-cephstoroffice' ...
trying to acquire cfs lock 'storage-cephstoroffice' ...
trying to acquire cfs lock 'storage-cephstoroffice' ...
trying to acquire cfs lock 'storage-cephstoroffice' ...
trying to acquire cfs lock 'storage-cephstoroffice' ...
trying to acquire cfs lock 'storage-cephstoroffice' ...
trying to acquire cfs lock 'storage-cephstoroffice' ...
Could not remove disk 'cephstoroffice:vm-202-disk-1', check manually:
error with cfs lock 'storage-cephstoroffice': got lock request timeout
trying to acquire cfs lock 'storage-cephstoroffice' ...
trying to acquire cfs lock 'storage-cephstoroffice' ...
trying to acquire cfs lock 'storage-cephstoroffice' ...
trying to acquire cfs lock 'storage-cephstoroffice' ...
trying to acquire cfs lock 'storage-cephstoroffice' ...
trying to acquire cfs lock 'storage-cephstoroffice' ...
trying to acquire cfs lock 'storage-cephstoroffice' ...
trying to acquire cfs lock 'storage-cephstoroffice' ...
trying to acquire cfs lock 'storage-cephstoroffice' ...
error with cfs lock 'storage-cephstoroffice': got lock request timeout
TASK OK

so the vm was deleted but the storage was left unclean. Is this a known
bug? If not can someone point me to the code so i can provide a patch.

Greets,
Stefan



More information about the pve-devel mailing list