HA Issue

adamb

Famous Member
Mar 1, 2012
1,329
77
113
Let me start off by saying HA for the most part is working great.

I seem to have stumbled on another issue though. I created a VM with an ID of 101. It was working in HA perfectly. Removed the VM and re-created another VM with an ID of 101. Managed by HA is stated as "Yes" but no matter what I do rgmanager will not monitor the VM with that ID. I have removed and added the VM back into the HA cluster.conf file but no success. I also hit the issue with ID 100 but some how managed to get it working. I would imagine this will happen with all ID's that have been in use before. Is this a known issue? Appreciate the input!!
 
Just did some more testing, this seems to be only happening with ID 101. I can't get HA to manager ID 101 even though it says its managed. Is there possibly a lock file holding this up?
 
root@proxmox1:~# clustat
Cluster Status for ccs-test @ Thu Mar 15 16:37:06 2012
Member Status: Quorate

Member Name ID Status
------ ---- ---- ------
proxmox1 1 Online, Local, rgmanager
proxmox2 2 Online, rgmanager

Service Name Owner (Last) State
------- ---- ----- ------ -----
pvevm:100 proxmox2 started
pvevm:101 (proxmox2) failed
pvevm:102 proxmox2 started
pvevm:105 proxmox1 started


I also noticed this after adding it to HA.

Mar 15 16:36:49 proxmox1 rgmanager[6738]: pvevm:101 was added to the config, but I am not initializing it.

I can start the VM without any issues. For some reason rgmanager is not managing the VM
 
It likely went into failed mode when you deleted it.

You have to use clusvcadm to fix this.
I forget exactly how I got out of this same problem.

I think you need to first turn off the vm.
Then using clusvcadm enable pvevm:101.

Once it gets in failed mode it will not do anything till you get it out of failed mode.
I think enable is right but might have been unfreeze or unlock.
 
I am having this same issue again and can't seem to get around it.

root@proxmox1:~# clustat
Cluster Status for ccs @ Fri Jun 15 11:10:46 2012
Member Status: Quorate

Member Name ID Status
------ ---- ---- ------
proxmox1 1 Online, Local, rgmanager
proxmox2 2 Online, rgmanager

Service Name Owner (Last) State
------- ---- ----- ------ -----
pvevm:100 proxmox1 started
pvevm:101 proxmox1 started
pvevm:102 (proxmox1) failed

root@proxmox1:~# clusvcadm -e pvevm:102
Local machine trying to enable pvevm:102...Aborted; service failed
 

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!