Error code 255

noob123435

New Member
Aug 2, 2023
1
0
1
Cannot Start VM - Exit Code 255
Error: command "ha-manager set vm:100 --state started" failed: exit code 255

I was able to use google to find the answer, but I don't think it applies Proxmox 8.0.3
Here's what it says to do but i can not find Resources

"In case it helps someone in the future, I managed to get around this issue by clicking on Datastore, HA. On the right hand panel under Resources, my VM was listed. I clicked it and then Remove. After that I was able to start the VM."

Do we have an updated version of this solution?
 

Attachments

  • error pmox.PNG
    error pmox.PNG
    8.7 KB · Views: 16
Hi,
please share the output of pveversion -v and ha-manager status --verbose. Is there anything more in the task log (when you double click on the task) or in the system logs?
 
Hi,
please share the output of pveversion -v and ha-manager status --verbose. Is there anything more in the task log (when you double click on the task) or in the system logs?

OP ran off it seems. I am having the exact same issue on only one VM. My post on the topic is here.

pveversion -v
Code:
root@cobra-s-pm04:~# pveversion -v
proxmox-ve: 8.1.0 (running kernel: 6.5.11-7-pve)
pve-manager: 8.1.3 (running version: 8.1.3/b46aac3b42da5d15)
proxmox-kernel-helper: 8.1.0
pve-kernel-6.2: 8.0.5
proxmox-kernel-6.5: 6.5.11-7
proxmox-kernel-6.5.11-7-pve-signed: 6.5.11-7
proxmox-kernel-6.2.16-20-pve: 6.2.16-20
proxmox-kernel-6.2: 6.2.16-20
pve-kernel-6.2.16-3-pve: 6.2.16-3
ceph-fuse: 17.2.6-pve1+3
corosync: 3.1.7-pve3
criu: 3.17.1-2
glusterfs-client: 10.3-5
ifupdown2: 3.2.0-1+pmx7
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-4
libknet1: 1.28-pve1
libproxmox-acme-perl: 1.5.0
libproxmox-backup-qemu0: 1.4.1
libproxmox-rs-perl: 0.3.1
libpve-access-control: 8.0.7
libpve-apiclient-perl: 3.3.1
libpve-common-perl: 8.1.0
libpve-guest-common-perl: 5.0.6
libpve-http-server-perl: 5.0.5
libpve-network-perl: 0.9.5
libpve-rs-perl: 0.8.7
libpve-storage-perl: 8.0.5
libspice-server1: 0.15.1-1
lvm2: 2.03.16-2
lxc-pve: 5.0.2-4
lxcfs: 5.0.3-pve4
novnc-pve: 1.4.0-3
proxmox-backup-client: 3.1.2-1
proxmox-backup-file-restore: 3.1.2-1
proxmox-kernel-helper: 8.1.0
proxmox-mail-forward: 0.2.2
proxmox-mini-journalreader: 1.4.0
proxmox-widget-toolkit: 4.1.3
pve-cluster: 8.0.5
pve-container: 5.0.8
pve-docs: 8.1.3
pve-edk2-firmware: 4.2023.08-2
pve-firewall: 5.0.3
pve-firmware: 3.9-1
pve-ha-manager: 4.0.3
pve-i18n: 3.1.4
pve-qemu-kvm: 8.1.2-4
pve-xtermjs: 5.3.0-2
qemu-server: 8.0.10
smartmontools: 7.3-pve1
spiceterm: 3.3.0
swtpm: 0.8.0+pve1
vncterm: 1.8.0
zfsutils-linux: 2.2.2-pve1

ha-manager status --verbose
Code:
root@cobra-s-pm04:~# ha-manager status --verbose
quorum OK
master cobra-s-pm04 (active, Mon Dec 18 05:55:17 2023)
lrm cobra-s-pm01 (active, Mon Dec 18 05:55:16 2023)
lrm cobra-s-pm02 (active, Mon Dec 18 05:55:18 2023)
lrm cobra-s-pm03 (active, Mon Dec 18 05:55:22 2023)
lrm cobra-s-pm04 (active, Mon Dec 18 05:55:12 2023)
service vm:100 (cobra-s-pm01, started)
service vm:101 (cobra-s-pm02, started)
service vm:105 (cobra-s-pm03, started)
service vm:106 (cobra-s-pm04, error)
service vm:107 (cobra-s-pm04, started)
service vm:108 (cobra-s-pm01, started)
service vm:109 (cobra-s-pm03, started)
service vm:110 (cobra-s-pm01, started)
full cluster state:
{
   "lrm_status" : {
      "cobra-s-pm01" : {
         "mode" : "active",
         "results" : {
            "4mEbmrEF756VD+IHg9LfBw" : {
               "exit_code" : 0,
               "sid" : "vm:110",
               "state" : "started"
            },
            "OPP+pASt99nLDpf1312KZA" : {
               "exit_code" : 0,
               "sid" : "vm:100",
               "state" : "started"
            },
            "UxKhbZqiXUnChfZ3ieMb4g" : {
               "exit_code" : 0,
               "sid" : "vm:108",
               "state" : "started"
            }
         },
         "state" : "active",
         "timestamp" : 1702904116
      },
      "cobra-s-pm02" : {
         "mode" : "active",
         "results" : {
            "tQok9I0pUONxDm/EI39klg" : {
               "exit_code" : 0,
               "sid" : "vm:101",
               "state" : "started"
            }
         },
         "state" : "active",
         "timestamp" : 1702904118
      },
      "cobra-s-pm03" : {
         "mode" : "active",
         "results" : {
            "dsWJXRQrFTBl7r8xPGkvcA" : {
               "exit_code" : 0,
               "sid" : "vm:109",
               "state" : "started"
            },
            "pzX6FTsoT/9UfCs5nVjjNQ" : {
               "exit_code" : 0,
               "sid" : "vm:105",
               "state" : "started"
            }
         },
         "state" : "active",
         "timestamp" : 1702904122
      },
      "cobra-s-pm04" : {
         "mode" : "active",
         "results" : {
            "HspRZaqze5ylrVmFStyYdg" : {
               "exit_code" : 0,
               "sid" : "vm:107",
               "state" : "started"
            },
            "puppZHMUB70YIEB/oM6BwA" : {
               "exit_code" : 0,
               "sid" : "vm:106",
               "state" : "error"
            }
         },
         "state" : "active",
         "timestamp" : 1702904112
      }
   },
   "manager_status" : {
      "master_node" : "cobra-s-pm04",
      "node_status" : {
         "cobra-s-pm01" : "online",
         "cobra-s-pm02" : "online",
         "cobra-s-pm03" : "online",
         "cobra-s-pm04" : "online"
      },
      "service_status" : {
         "vm:100" : {
            "node" : "cobra-s-pm01",
            "running" : 1,
            "state" : "started",
            "uid" : "dVUK04SeEwUHXVotpWnuYA"
         },
         "vm:101" : {
            "node" : "cobra-s-pm02",
            "running" : 1,
            "state" : "started",
            "uid" : "tQok9I0pUONxDm/EI39klg"
         },
         "vm:105" : {
            "node" : "cobra-s-pm03",
            "running" : 1,
            "state" : "started",
            "uid" : "pzX6FTsoT/9UfCs5nVjjNQ"
         },
         "vm:106" : {
            "failed_nodes" : [
               "cobra-s-pm04",
               "cobra-s-pm04"
            ],
            "node" : "cobra-s-pm04",
            "state" : "error",
            "uid" : "puppZHMUB70YIEB/oM6BwA"
         },
         "vm:107" : {
            "node" : "cobra-s-pm04",
            "running" : 1,
            "state" : "started",
            "uid" : "+eFRi/E+dP6nRW5UE90UaQ"
         },
         "vm:108" : {
            "node" : "cobra-s-pm01",
            "running" : 1,
            "state" : "started",
            "uid" : "MNOYCgrbIjclF43LC5e25g"
         },
         "vm:109" : {
            "node" : "cobra-s-pm03",
            "running" : 1,
            "state" : "started",
            "uid" : "dsWJXRQrFTBl7r8xPGkvcA"
         },
         "vm:110" : {
            "node" : "cobra-s-pm01",
            "running" : 1,
            "state" : "started",
            "uid" : "UuvSRK88afLyfJw+otjNuQ"
         }
      },
      "timestamp" : 1702904117
   },
   "quorum" : {
      "node" : "cobra-s-pm04",
      "quorate" : "1"
   }
}
 

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!