I was doing some server maintenance today and migrating some containers/VMs and twice I ran into issues with migration due to the following error:
This happened with 2 different servers and 2 different containers. I went in and cleared out the pve-migrate-xxx.lock files and the migration completed without any issues.
Now I'm reviewing all of my proxmox servers and they all have quite a few lock files in place even though there are no active tasks. Some of the lock files may have even been in place for containers/VMs that did migrate successfully, but I'm not 100% sure of this.
Is it normal to see these lock files existing in the lxc/pve-manager/qemu-server folders even when there are no active migrations/config changes happening? If it's not normal, any idea why these files aren't being cleaned up? If it is normal, any idea why one might get stuck in a state that would prevent a migration?
Appreciate any insight! Thanks!
Code:
TASK ERROR: can't lock file '/var/lock/pve-manager/pve-migrate-xxx' - got timeout
This happened with 2 different servers and 2 different containers. I went in and cleared out the pve-migrate-xxx.lock files and the migration completed without any issues.
Now I'm reviewing all of my proxmox servers and they all have quite a few lock files in place even though there are no active tasks. Some of the lock files may have even been in place for containers/VMs that did migrate successfully, but I'm not 100% sure of this.
Is it normal to see these lock files existing in the lxc/pve-manager/qemu-server folders even when there are no active migrations/config changes happening? If it's not normal, any idea why these files aren't being cleaned up? If it is normal, any idea why one might get stuck in a state that would prevent a migration?
Appreciate any insight! Thanks!