A virtual machine was created on a node in the PVE cluster, but it always shuts down automatically. After deleting the virtual machine, it will still automatically shut down when recreated. The virtual machine deployment method is to use QM create, and the image used is Ubuntu 22.04 LTS. img 。May I ask how to identify the cause of the problem?
Here are the commands to create a virtual machine。
qm create 104 --cores 16 --memory 20480 --net0 virtio,bridge=vmbr0
qm importdisk 104 ubuntu-22.04-LTS.img vm_ssd
qm set 104 --ostype l26 --autostart 1 --ciuser root --cipassword ilove4dbim --scsihw virtio-scsi-pci --scsi0 vm_ssd:vm-104-disk-0 --ide1 vm_ssd:cloudinit --boot c --bootdisk scsi0 --serial0 socket --vga serial0 --ipconfig0 ip=172.30.0.104/24,gw=172.30.0.1 --name ubuntu.3090.pve
Here are the commands to create a virtual machine。
qm create 104 --cores 16 --memory 20480 --net0 virtio,bridge=vmbr0
qm importdisk 104 ubuntu-22.04-LTS.img vm_ssd
qm set 104 --ostype l26 --autostart 1 --ciuser root --cipassword ilove4dbim --scsihw virtio-scsi-pci --scsi0 vm_ssd:vm-104-disk-0 --ide1 vm_ssd:cloudinit --boot c --bootdisk scsi0 --serial0 socket --vga serial0 --ipconfig0 ip=172.30.0.104/24,gw=172.30.0.1 --name ubuntu.3090.pve