Can't remove VM

cdsJerry

Renowned Member
Sep 12, 2011
222
9
83
I have a VM that I started to set up but later decided not to use. I've tried to remove it many times but I can't. It simply won't go away. What's the secret?

I'm running Proxmox 1.9 on an 8X Intel Xeio 2.53 Ghz machine with 8GB RAM. There are only two VMs, a Windows machine and a CentOS machine I can't remove. I've tried selecting "Remove" from the drop down menu in the Virtual Machines tab then confirming I want to remove it, but it just won't go away. It has a VMID of 102, is stopped, has a 30GB Disk space allocated. How do I kill it?
 
the log says
pvedaemon 23494 destroying VM 102 on node 0 (localhost)
pvedaemon 23494 VM 102 destroy failed -

It doesn't say why. That seems to be the last entry about the topic.
 
kvm:~# vzctl destroy 102
Unable to open /dev/vzctl: No such file or directory
Please check that vzdev kernel module is loaded and you have sufficient permissions to access the file.
kvm:~#
 
post your 'pveversion -v'
 
kvm:~# pveversion -v
pve-manager: 1.9-24 (pve-manager/1.9/6542)
running kernel: 2.6.35-2-pve
proxmox-ve-2.6.35: 1.8-13
pve-kernel-2.6.32-4-pve: 2.6.32-33
pve-kernel-2.6.35-2-pve: 2.6.35-13
qemu-server: 1.1-32
pve-firmware: 1.0-14
libpve-storage-perl: 1.0-19
vncterm: 0.9-2
vzctl: 3.0.29-2pve1
vzdump: 1.2-16
vzprocps: 2.0.11-2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.15.0-1
ksm-control-daemon: 1.0-6
kvm:~#
 
Tom,

My ignorance is showing. I'm new to this. I'd installed Proxmox from an ISO install and it reports that it's running Proxmox Virtual Environment 1.9 on the top of the Proxmox GUI. You're saying the version I installed a few weeks ago is out of date and that's why I can't delete a VM? If I can't run an OpenVZ kernel (not sure what that is really) then why is it included in the ISO?

Since I am so new to this, what's the likely hood that it's going to mess it up if I run the commands listed on the Wiki page you sent? Running the commands won't delete the VMs that are on that machine will it?

Critical operations and my lack of experience with Proxmox can be a dangerous combination. I'm learning, but just getting started.
 
you did not install from the 1.9 iso, otherwise you should have a 2.6.32-6 kernel. just follow the link on the wiki to upgrade.
 
I did install it from the 1.9 ISO. Another guy who uses Proxmox all the time was here and he may have made changes to it once it was installed. I'm not sure what he did. I see he's listed here on the forum as a Senior Member but I won't list his name.

I'll do the suggested changes in the Wiki after hours. Hopefully it will go well.
 
I did install it from the 1.9 ISO. Another guy who uses Proxmox all the time was here and he may have made changes to it once it was installed. I'm not sure what he did. I see he's listed here on the forum as a Senior Member but I won't list his name.

I'll do the suggested changes in the Wiki after hours. Hopefully it will go well.

if you installed from the iso, then you moved to the old kernels manually - otherwise you should have 2.6.32-6.
 
OK. Did the updates without any issues. Held my breath the entire time. I think I'm still holding it. <g> I was then able to delete the VM using the drop down menu and selecting remove. Things seem to be "normal" again.

Thank you for your patience Tom. I appreciate it, and I really appreciate the help. You rock!