Error when purging VM

Deekay

New Member
Apr 30, 2021
5
0
1
22
Hello

when ticking the box purge (VM) i get the following error

Parameter verification failed. (400)

purge: property is not defined in schema and the schema does not allow additional properties

What could be the problem?
 
Sorry for the late answer here is the output + config



Code:
root@RMPHLPVE2:~# pveversion -v
proxmox-ve: 6.0-2 (running kernel: 5.0.15-1-pve)
pve-manager: 6.0-4 (running version: 6.0-4/2a719255)
pve-kernel-5.0: 6.0-5
pve-kernel-helper: 6.0-5
pve-kernel-5.0.15-1-pve: 5.0.15-1
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.0.2-pve2
criu: 3.11-3
glusterfs-client: 5.5-3
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.10-pve1
libpve-access-control: 6.0-2
libpve-apiclient-perl: 3.0-2
libpve-common-perl: 6.0-2
libpve-guest-common-perl: 3.0-1
libpve-http-server-perl: 3.0-2
libpve-storage-perl: 6.0-5
libqb0: 1.0.5-1
lvm2: 2.03.02-pve3
lxc-pve: 3.1.0-61
lxcfs: 3.0.3-pve60
novnc-pve: 1.0.0-60
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.0-5
pve-cluster: 6.0-4
pve-container: 3.0-3
pve-docs: 6.0-4
pve-edk2-firmware: 2.20190614-1
pve-firewall: 4.0-5
pve-firmware: 3.0-2
pve-ha-manager: 3.0-2
pve-i18n: 2.0-2
pve-qemu-kvm: 4.0.0-3
pve-xtermjs: 3.13.2-1
qemu-server: 6.0-5
smartmontools: 7.0-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.1-pve1

root@RMPHLPVE2:~# qm config 106
user config - ignore config line: token:root@pam!cv4pve:0:0:f%C3%BCr automatisierte snapshots:
agent: 1
bootdisk: scsi0
cores: 2
ide2: none,media=cdrom
memory: 2048
name: SLTEST001
net0: virtio=CA:00:73:1D:51:1D,bridge=vmbr2
numa: 0
ostype: l26
parent: TestVM
scsi0: local-lvm:vm-106-disk-0,discard=on,size=8G
scsihw: virtio-scsi-pci
smbios1: uuid=695962f0-52d2-4d39-9d7b-1cbdcdf5d60d
sockets: 1
vmgenid: 00810ee7-8c23-4774-aaa8-d41b4b62cf11
 
Last edited:
Yeah just tried it i get the following error

only works in shell with skiplock parameter but not in gui


Code:
user@RMPHLPVE2:/var/lib$ sudo qm destroy 106 --purge
Unknown option: purge
400 unable to parse option
qm destroy [OPTIONS]
user@RMPHLPVE2:/var/lib$ sudo qm destroy 106 --skiplock 1
file /etc/pve/storage.cfg line 4 (section 'local') - unable to parse value of 'prune-backups': unexpected property 'prune-backups'
Logical volume "snap_vm-106-disk-0_TestVM" successfully removed
Logical volume "vm-106-disk-0" successfully removed
Logical volume "vm-106-state-TestVM" successfully removed
user@RMPHLPVE2:/var/lib$
 
Last edited:
can you please try to upgrade your node to the latest version and re-try again?
Bash:
apt update && apt full-upgrade
 
did that and restarted the cluster, the following happens:.

+ this error message:

Code:
May 26 15:13:20 RMPHLPVE2 pveproxy[1428]: file /etc/pve/storage.cfg line 4 (section 'local') - unable to parse value of 'prune-backups': unexpected property 'prune-backups'
May 26 15:13:24 RMPHLPVE2 pveproxy[1426]: file /etc/pve/storage.cfg line 4 (section 'local') - unable to parse value of 'prune-backups': unexpected property 'prune-backups'


here pictures:119665731-f69d1a80-be34-11eb-8ba8-2a47ddae800f.png119665735-f7ce4780-be34-11eb-8d13-5a7ebfafa451.png
 
it seems your versions are still too old, can you please post the pveversion from both nodes again?
 
Hey thanks for all the help we fixed it, on one node the repo: deb http://download.proxmox.com/debian/pve buster pve-no-subscription was missing, and therefore the versions were different.

Code:
mg@RMPHLPVE1:~$ pveversion -v proxmox-ve: 6.4-1 (running kernel: 5.4.114-1-pve)

Vs

Code:
mg@RMPHLPVE2:~$ pveversion -v proxmox-ve: 6.0-2 (running kernel: 5.0.15-1-pve)


After putting in the missing repo and updating all the hosts we were able to use backup/purge feature without any complications
 
Last edited:

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!