[SOLVED] HA strange behavior

liska_

Member
Nov 19, 2013
115
3
18
Hi,
I have configured three node cluster with ipmi fencing. I did some tests and I experienced some problems and I did not found answers to my newbie questions here, on wiki or via google.
I put one running kvm to HA list and it got started again, in fact restarted. Is this a correct behavior?
Then I fenced the node via ipmi where the vm was running and it was successfully moved to another node but in GUI it is shown as stopped on the fenced node whereas it is working on another node. In GUI I can see started OK whereas in logs there is written it is running on another node. How to resolve this?
And last question is, if it is possible to migrate a vm when it is in HA? I can see HA migrate ok, but in fact no migration has happened.

Thanks a lot for answers

All the nodes has the same software
pveversion -v
proxmox-ve-2.6.32: not correctly installed (running kernel: 3.10.0-5-pve)
pve-manager: 3.3-5 (running version: 3.3-5/bfebec03)
pve-kernel-2.6.32-32-pve: 2.6.32-136
pve-kernel-3.10.0-5-pve: 3.10.0-19
pve-kernel-2.6.32-34-pve: 2.6.32-139
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.7-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.10-1
pve-cluster: 3.0-15
qemu-server: 3.3-3
pve-firmware: 1.1-3
libpve-common-perl: 3.0-19
libpve-access-control: 3.0-15
libpve-storage-perl: 3.0-25
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-8
vzctl: 4.0-1pve6
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 2.1-10
ksm-control-daemon: 1.1-1
glusterfs-client: 3.5.2-1
 
Last edited:
Ok, I restarted that node where the ha vm was actually running and the vm was not started again. In syslog I can see:
TASK ERROR: command 'clusvcadm -e pvevm:154 -m cl1' failed: exit code 254
It was solved by running
clusvcadm -d pvevm:154

And now it is possible to start that vm and migrate as well, interesting.
Also I add another vm to ha and no problem with restarting.
Well, I can not find any reason in logs why this has happened, but at least now it seems to be working.
 

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!