Unable to Delete VMs in 6.1-7

Reginald182

New Member
Apr 10, 2020
9
2
3
28
Hello,

I am a new Proxmox user and have created unneeded VMs during testing. However I am unable to now delete VMs and Templates. I have tried removing them through the GUI and from the CLI but either method gives me the same result of the process getting stuck spinning forever. I have checked other threads that will get error messages about being unable to find the storage or the VM is locked but none of mine are locked, its all local storage, and the annoying thing is I never get any kind of error message. I have also restarted the server but to no avail. I have attached the information I am able to see while the task is running. I'm sure I'm missing something super obvious but any and all help is much appreciated.
 

Attachments

  • Screen Shot 2020-04-14 at 11.42.01 AM.png
    Screen Shot 2020-04-14 at 11.42.01 AM.png
    37.5 KB · Views: 11
  • Screen Shot 2020-04-14 at 11.43.45 AM.png
    Screen Shot 2020-04-14 at 11.43.45 AM.png
    53.3 KB · Views: 12
  • Screen Shot 2020-04-14 at 11.43.51 AM.png
    Screen Shot 2020-04-14 at 11.43.51 AM.png
    87 KB · Views: 12
Hi,

if you run journalctl -f and in another terminal tried to remove vm with command qm destroy <VMID> Do you see anything wrong?
 
Thanks for your quick reply.

This is was I got from the journal

Code:
qm[53739]: <root@pam> starting task UPID:proxmox:0000D1EC:001215DC:5E962D1B:qmdestroy:9000:root@pam:
Apr 14 14:37:31 proxmox qm[53740]: destroy VM 9000: UPID:proxmox:0000D1EC:001215DC:5E962D1B:qmdestroy:9000:root@pam:
Apr 14 14:38:00 proxmox systemd[1]: Starting Proxmox VE replication runner...
Apr 14 14:38:01 proxmox systemd[1]: pvesr.service: Succeeded.
Apr 14 14:38:01 proxmox systemd[1]: Started Proxmox VE replication runner.
Apr 14 14:39:00 proxmox systemd[1]: Starting Proxmox VE replication runner...
Apr 14 14:39:01 proxmox systemd[1]: pvesr.service: Succeeded.
Apr 14 14:39:01 proxmox systemd[1]: Started Proxmox VE replication runner.
Apr 14 14:40:00 proxmox systemd[1]: Starting Proxmox VE replication runner...
Apr 14 14:40:01 proxmox systemd[1]: pvesr.service: Succeeded.
Apr 14 14:40:01 proxmox systemd[1]: Started Proxmox VE replication runner.
Apr 14 14:41:00 proxmox systemd[1]: Starting Proxmox VE replication runner...
Apr 14 14:41:01 proxmox systemd[1]: pvesr.service: Succeeded.
Apr 14 14:41:01 proxmox systemd[1]: Started Proxmox VE replication runner.

It's getting suck on that replication runner but I am not sure why, after a minute it tries again and then just goes through that loop. I've let this go for over 3 hours in the past and I am assuming its just doing that the entire time. Is there something wrong with that service or is something stuck that needs to be restarted?
 
Here is the result of the pveversion.

Code:
sudo pveversion -v
proxmox-ve: 6.1-2 (running kernel: 5.3.18-2-pve)
pve-manager: 6.1-7 (running version: 6.1-7/13e58d5e)
pve-kernel-helper: 6.1-6
pve-kernel-5.3: 6.1-5
pve-kernel-5.3.18-2-pve: 5.3.18-2
ceph: 14.2.8-pve1
ceph-fuse: 14.2.8-pve1
corosync: 3.0.3-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.15-pve1
libpve-access-control: 6.0-6
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.0-13
libpve-guest-common-perl: 3.0-3
libpve-http-server-perl: 3.0-4
libpve-storage-perl: 6.1-5
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 3.2.1-1
lxcfs: 3.0.3-pve60
novnc-pve: 1.1.0-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.1-3
pve-cluster: 6.1-4
pve-container: 3.0-21
pve-docs: 6.1-6
pve-edk2-firmware: 2.20200229-1
pve-firewall: 4.0-10
pve-firmware: 3.0-6
pve-ha-manager: 3.0-8
pve-i18n: 2.0-4
pve-qemu-kvm: 4.1.1-3
pve-xtermjs: 4.3.0-1
qemu-server: 6.1-6
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.3-pve1

Let me know if I can provide any other information. Thank you!
 
Try to delete the vm manually, first search to the config

find /etc/pve/ -name 104.conf

Then delete it and reload proxmox Web GUI

rm /etc/pve/nodes/{NodeName}/qemu-server/104.conf

I recommend you to update your version to 6.1-8

hope this helps :)
 
Awesome that worked for me! I will upgrade to 6.1-8 today and see if I have any better luck removing machines from the GUI on that version. Thank you very much for your time and assistance.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!