Deleting VM confuses GUI

Alexander Nilsson

New Member
May 26, 2019
27
0
1
Hi, I'm currently experiencing a problem where the live stats for one of my VMs is not showning. What happned was that I had an old VM which I deleted. A short while later (during the same day) I created a new VM and reused the old VMID. I don't know if it is relevant but I also reused the MAC address (I have a scheme based on the VMID).

What does not work (see attached image, below): The status pane shows info about the old VM which was deleted (same VMID). Qemu-guest-agent is running on the VM (I think) but it does not show.

What works: The statistics (hourly/day/month/year) is correct. Also the VM name and status in the list is correct.

What I have tried:
  • I have tried to restart services and even to restart the node itself, neither helped.
  • I have grepped for the old VM name (rgrep 'backup-gw' /etc/), thinking that there was some old config file still pointing to the old VM, but I got no hits.
  • The config file 105.conf looks fine, pretty standard stuff (I can post it if you want).
  • If I migrate to another node, then everything works, but that is not a long term solution for me.
Please help

Screenshot.png
 
What does not work (see attached image, below): The status pane shows info about the old VM which was deleted (same VMID). Qemu-guest-agent is running on the VM (I think) but it does not show.

Got using the QEMU agent enabled for the new VM (Options)?
 
yes, please
Code:
agent: 1
balloon: 1024
bootdisk: scsi0
cores: 2
ide2: none,media=cdrom
memory: 4096
name: mail
net0: virtio=02:00:00:00:00:69,bridge=vmbr1,firewall=1
numa: 0
onboot: 1
ostype: l26
parent: pre_rsync
scsi0: ceph-ha:vm-105-disk-0,size=32G
scsihw: virtio-scsi-pci
smbios1: uuid=1ff0352f-0cd0-40e9-a5da-38929ea4c8ee
sockets: 1
vga: qxl
vmgenid: d0436570-19fb-464a-af5f-5fd4c8cee7aa

[pre_rsync]
agent: 1
balloon: 1024
bootdisk: scsi0
cores: 2
ide2: none,media=cdrom
memory: 4096
name: mail2
net0: virtio=02:00:00:00:00:69,bridge=vmbr1,firewall=1
numa: 0
onboot: 1
ostype: l26
runningmachine: pc-i440fx-4.1+pve0
scsi0: ceph-ha:vm-105-disk-0,size=32G
scsihw: virtio-scsi-pci
smbios1: uuid=1ff0352f-0cd0-40e9-a5da-38929ea4c8ee
snaptime: 1584471814
sockets: 1
vga: qxl
vmgenid: 66e13b06-76ee-419f-8bf7-5f75689ba71d
vmstate: ceph-ha:vm-105-state-pre_rsync
 

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!