Delete LXC/VM but still exist

Aug 3, 2019
9
0
21
31
Hello:

I'm using debian11 and manual installed pve with 7 nodes.


Code:
Cluster information
-------------------
Name:             [ERASED]
Config Version:   7
Transport:        knet
Secure auth:      on

Quorum information
------------------
Date:             Mon Mar 27 10:20:17 2023
Quorum provider:  corosync_votequorum
Nodes:            7
Node ID:          0x00000001
Ring ID:          1.42b9
Quorate:          Yes

Votequorum information
----------------------
Expected votes:   7
Highest expected: 7
Total votes:      7
Quorum:           4  
Flags:            Quorate 

Membership information
----------------------
    Nodeid      Votes Name
0x00000001          1 10.100.4.210 (local)
0x00000002          1 10.100.4.211
0x00000003          1 10.100.4.212
0x00000004          1 10.100.4.213
0x00000005          1 10.100.4.214
0x00000006          1 10.100.4.215
0x00000007          1 10.100.4.216

Things getting wired when I delete VM:

If I purge a VM from WebUI, The VM will still exist in WebUI and qm command, Only if I ran
Code:
qm destroy xxxxx
in the node which it allocated. Then it will delete from the WebUI.

I not sure what make this happen, Then I try to delete LXC things just go wild:
Code:
lxc-destroy xxxxx
Then the lxc not exist anymore but it still shown in the webUI. And I'm pretty sure its not caused by browser cache or whatever.


Question: Any hint ? Seem like coresync/pve-schema unsync with low-level qm/lxc ?
 

Attachments

  • lxc.jpg
    lxc.jpg
    17.7 KB · Views: 6
Hi,

Does the VM/CT config also still exist in the /etc/pve/? If a VM, the path should be `/etc/pve/qemu-server` if it's a LXC `/etc/pve/lxc`
 

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!