You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VM HA does not work when server is stopped gracefully #4211
hi @weizhouapache,
My environment is similar to yours, apart from the storage pool that I use cluster-wide, on this environment I could see HA working on cloudstack version 4.13.1.1 with an NFS cluster-wide storage pool.
On 4.13.1.1 version I could see my VMs migrate to a suitable HOST after I force shut down the HOST where those VMs were, but with gracefully shut down I couldn't see the HA working, those VMs never migrate to another suitable HOST, only when this HOST came back the cloudstack detected this VMs as stopped. But at 4.14 and 4.15 version, I couldn't see HA working even when I force shut down, those VMs are never detected as stopped by cloudstack
Activity
weizhouapache commentedon Jul 15, 2020
@rhtyd @DaanHoogland @PaulAngus @svenvogel have you faced this issue ? is this an expected behavior ?
DaanHoogland commentedon Jul 29, 2020
This doesn't sound familiar @weizhouapache . To recap,
I would not expect this behaviour as a user but it might be a side effect of the host-ha, hence my questions.
GabrielBrascher commentedon Aug 6, 2020
@weizhouapache adding to @DaanHoogland's questions:
weizhouapache commentedon Aug 12, 2020
@GabrielBrascher we use nfs as zone-wide storage pool.
weizhouapache commentedon Aug 12, 2020
@DaanHoogland
if kvm cloudstack-agent is stopped, there is no thread in cloudstack to determine its actual host state.
RodrigoDLopez commentedon Aug 24, 2020
hi @weizhouapache,
My environment is similar to yours, apart from the storage pool that I use cluster-wide, on this environment I could see HA working on cloudstack version
4.13.1.1with an NFS cluster-wide storage pool.On 4.13.1.1 version I could see my VMs migrate to a suitable HOST after I force shut down the HOST where those VMs were, but with gracefully shut down I couldn't see the HA working, those VMs never migrate to another suitable HOST, only when this HOST came back the cloudstack detected this VMs as stopped. But at
4.14and4.15version, I couldn't see HA working even when I force shut down, those VMs are never detected as stopped by cloudstackshwstppr commentedon Feb 3, 2021
@weizhouapache are planning/working on a fix for this?
weizhouapache commentedon Feb 3, 2021
@shwstppr yeah. I will create a pr in coming days.
weizhouapache commentedon Apr 22, 2022
this issue should have been fixed by #5164
for users who do not use NFS, there are two PRs open for review and testing:
KVM High Availability regardless of storage #4978
KVM HA Enhancements for Ceph RBD Primary Storage #5862