You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "LuciFer80-lab (via GitHub)" <gi...@apache.org> on 2025/12/08 08:55:10 UTC
[D] Host HA is not working and vm's are not able to migrate when hosts gets down. [cloudstack]
GitHub user LuciFer80-lab created a discussion: Host HA is not working and vm's are not able to migrate when hosts gets down.
i want to create kvm host ha in cloudstack,
in my scenario i am using almalinux 8.10 with cloudstack 4.22 and my kvm's are using san cluster for storage..
when i configure oobm using ipmi my hosts gets in suspect state for ha but when i add nfs it instantly change to available state, and i observed kvmha folder is only created in nfs but i dont want nfs for it as i am using san cluster or san storage.
what is the possible cause of this and how do i mitigate this?
GitHub link: https://github.com/apache/cloudstack/discussions/12206
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Host HA is not working and vm's are not able to migrate when hosts gets down. [cloudstack]
Posted by "rajujith (via GitHub)" <gi...@apache.org>.
GitHub user rajujith added a comment to the discussion: Host HA is not working and vm's are not able to migrate when hosts gets down.
Administrative power off of host won't trigger VM HA. If you are testing the VM HA try IPMI based poweroff or 'echo c > /proc/sysrq-trigger'
GitHub link: https://github.com/apache/cloudstack/discussions/12206#discussioncomment-17130091
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Host HA is not working and vm's are not able to migrate when hosts gets down. [cloudstack]
Posted by "jeanvetorello (via GitHub)" <gi...@apache.org>.
GitHub user jeanvetorello edited a comment on the discussion: Host HA is not working and vm's are not able to migrate when hosts gets down.
Same problem here, After upgrading to 4.22.1, VM HA stopped working in my KVM environment.
When a KVM host goes offline, the host status remains Alert (or disconnected path), and VM HA restart/migration is not triggered automatically.
If I manually set the host to Down, VM HA works as expected.
Upgraded from: 4.21.0 (working)
Upgraded to: 4.22.1 (problem starts)
GitHub link: https://github.com/apache/cloudstack/discussions/12206#discussioncomment-17152001
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Host HA is not working and vm's are not able to migrate when hosts gets down. [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
GitHub user DaanHoogland added a comment to the discussion: Host HA is not working and vm's are not able to migrate when hosts gets down.
any updates @LuciFer80-lab ?
GitHub link: https://github.com/apache/cloudstack/discussions/12206#discussioncomment-16814244
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Host HA is not working and vm's are not able to migrate when hosts gets down. [cloudstack]
Posted by "demirozmustafa (via GitHub)" <gi...@apache.org>.
GitHub user demirozmustafa added a comment to the discussion: Host HA is not working and vm's are not able to migrate when hosts gets down.
hosts : HPE Gen8 ILO4
IPMI : Ipmi connect.
GitHub link: https://github.com/apache/cloudstack/discussions/12206#discussioncomment-17118929
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Host HA is not working and vm's are not able to migrate when hosts gets down. [cloudstack]
Posted by "LuciFer80-lab (via GitHub)" <gi...@apache.org>.
GitHub user LuciFer80-lab added a comment to the discussion: Host HA is not working and vm's are not able to migrate when hosts gets down.
yes it got resolved by using NFS storage and removing the tag on hosts
GitHub link: https://github.com/apache/cloudstack/discussions/12206#discussioncomment-17130150
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Host HA is not working and vm's are not able to migrate when hosts gets down. [cloudstack]
Posted by "kiranchavala (via GitHub)" <gi...@apache.org>.
GitHub user kiranchavala added a comment to the discussion: Host HA is not working and vm's are not able to migrate when hosts gets down.
@demirozmustafa
Could you please try with 4.22.1 release there has improvements with host-ha vm -ha behaviour
github.com/apache/cloudstack/pull/13088
GitHub link: https://github.com/apache/cloudstack/discussions/12206#discussioncomment-17146475
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Host HA is not working and vm's are not able to migrate when hosts gets down. [cloudstack]
Posted by "LuciFer80-lab (via GitHub)" <gi...@apache.org>.
GitHub user LuciFer80-lab added a comment to the discussion: Host HA is not working and vm's are not able to migrate when hosts gets down.
ok , when i use nfs as primary storage the hosts gets ha available state but when i power off the host then it goes suspect degraded and again suspect it is not going down and i have default settings in global configuration.
GitHub link: https://github.com/apache/cloudstack/discussions/12206#discussioncomment-15193547
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Host HA is not working and vm's are not able to migrate when hosts gets down. [cloudstack]
Posted by "jeanvetorello (via GitHub)" <gi...@apache.org>.
GitHub user jeanvetorello added a comment to the discussion: Host HA is not working and vm's are not able to migrate when hosts gets down.
> > Same problem here, After upgrading to 4.22.1, VM HA stopped working in my KVM environment. When a KVM host goes offline, the host status remains Alert (or disconnected path), and VM HA restart/migration is not triggered automatically. If I manually set the host to Down, VM HA works as expected. Upgraded from: 4.21.0 (working) Upgraded to: 4.22.1 (problem starts)
>
> what was the host state before setting it to Down ?
Even after stopping the PMI service and shutting down the host, it stayed in the Alert state. As far as I know, when a host is in Alert status, VMHA doesn't kick in and the VMs are not transferred to another host.
GitHub link: https://github.com/apache/cloudstack/discussions/12206#discussioncomment-17181526
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Host HA is not working and vm's are not able to migrate when hosts gets down. [cloudstack]
Posted by "demirozmustafa (via GitHub)" <gi...@apache.org>.
GitHub user demirozmustafa added a comment to the discussion: Host HA is not working and vm's are not able to migrate when hosts gets down.
4.22 version same problem.
Host HA Disable, VM-HA enable but host to power off (rocky 8 "shutdown now" command) host state disconnect, vm state running.
not migrate or restart.
GitHub link: https://github.com/apache/cloudstack/discussions/12206#discussioncomment-17118924
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Host HA is not working and vm's are not able to migrate when hosts gets down. [cloudstack]
Posted by "demirozmustafa (via GitHub)" <gi...@apache.org>.
GitHub user demirozmustafa edited a comment on the discussion: Host HA is not working and vm's are not able to migrate when hosts gets down.
hosts : HPE Gen8 ILO4
IPMI : Ipmi connect.
Primary Storage : NFS Cluster and NFS Zone
GitHub link: https://github.com/apache/cloudstack/discussions/12206#discussioncomment-17118929
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Host HA is not working and vm's are not able to migrate when hosts gets down. [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
GitHub user weizhouapache added a comment to the discussion: Host HA is not working and vm's are not able to migrate when hosts gets down.
> Same problem here, After upgrading to 4.22.1, VM HA stopped working in my KVM environment. When a KVM host goes offline, the host status remains Alert (or disconnected path), and VM HA restart/migration is not triggered automatically. If I manually set the host to Down, VM HA works as expected. Upgraded from: 4.21.0 (working) Upgraded to: 4.22.1 (problem starts)
what was the host state before setting it to Down ?
GitHub link: https://github.com/apache/cloudstack/discussions/12206#discussioncomment-17153183
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Host HA is not working and vm's are not able to migrate when hosts gets down. [cloudstack]
Posted by "jeanvetorello (via GitHub)" <gi...@apache.org>.
GitHub user jeanvetorello added a comment to the discussion: Host HA is not working and vm's are not able to migrate when hosts gets down.
Same problem here, After upgrading to 4.22.1, VM HA stopped working in my KVM environment.
When a KVM host goes offline, the host status remains Alert (or disconnected path), and VM HA restart/migration is not triggered automatically.
If I manually set the host to Down, VM HA works as expected.
Upgraded from: 4.22.0 (working)
Upgraded to: 4.22.1 (problem starts)
GitHub link: https://github.com/apache/cloudstack/discussions/12206#discussioncomment-17152001
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Host HA is not working and vm's are not able to migrate when hosts gets down. [cloudstack]
Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
GitHub user shwstppr added a comment to the discussion: Host HA is not working and vm's are not able to migrate when hosts gets down.
@LuciFer80-lab you may check this blog about the feature and its design spec,
https://www.shapeblue.com/host-ha-for-kvm-hosts-in-cloudstack/
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Host+HA
Afaik, it requires a NFS storage to work. You can use different storage for deployment but for feature to work it requires one NFS store
GitHub link: https://github.com/apache/cloudstack/discussions/12206#discussioncomment-15193546
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Host HA is not working and vm's are not able to migrate when hosts gets down. [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
GitHub user weizhouapache added a comment to the discussion: Host HA is not working and vm's are not able to migrate when hosts gets down.
> 4.22 version same problem.
> Host HA Disable, VM-HA enable but host to power off (rocky 8 "shutdown now" command) host state disconnect, vm state running.
> not migrate or restart.
Can you try with 4.22.1.0 ?
GitHub link: https://github.com/apache/cloudstack/discussions/12206#discussioncomment-17120506
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Host HA is not working and vm's are not able to migrate when hosts gets down. [cloudstack]
Posted by "TheKunalSen (via GitHub)" <gi...@apache.org>.
GitHub user TheKunalSen added a comment to the discussion: Host HA is not working and vm's are not able to migrate when hosts gets down.
From my experience what I have seen is, if your hosts gets down unexpectedly then it needs to enter maintenance mode automatically in few minutes then only the vm migrates to another host, if the host does not go under maintenance mode than vm ha does not work
And I am using cloudstack 4.22
Sometimes if the host suffers sudden power down then the vm ha works cause it entered maintenance mode within time but sometimes it doesn't
GitHub link: https://github.com/apache/cloudstack/discussions/12206#discussioncomment-17218992
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Host HA is not working and vm's are not able to migrate when hosts gets down. [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
GitHub user weizhouapache added a comment to the discussion: Host HA is not working and vm's are not able to migrate when hosts gets down.
> Same problem here, After upgrading to 4.22.1, VM HA stopped working in my KVM environment. When a KVM host goes offline, the host status remains Alert (or disconnected path), and VM HA restart/migration is not triggered automatically. If I manually set the host to Down, VM HA works as expected. Upgraded from: 4.21.0 (working) Upgraded to: 4.22.1 (problem starts)
reproduced the issue: #13371
GitHub link: https://github.com/apache/cloudstack/discussions/12206#discussioncomment-17218071
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org