Skip to content

<fix>[ha]: ZSTAC-84992 direct-pick HA pre-fence core to 5.4.10 (@@3)#4512

Open
MatheMatrix wants to merge 3 commits into
5.4.10from
sync/yingzhe.hu/cp/5.4.10/ZSTAC-84992-direct-pick-20260709@@3
Open

<fix>[ha]: ZSTAC-84992 direct-pick HA pre-fence core to 5.4.10 (@@3)#4512
MatheMatrix wants to merge 3 commits into
5.4.10from
sync/yingzhe.hu/cp/5.4.10/ZSTAC-84992-direct-pick-20260709@@3

Conversation

@MatheMatrix

Copy link
Copy Markdown
Owner

Summary

Direct cherry-pick the ZSTAC-83890 zstack commits to 5.4.10 for ZSTAC-84992 without squashing or rewriting commit messages.

This MR uses the unified @@3 branch name required across zstack, premium, and zstack-utility:
cp/5.4.10/ZSTAC-84992-direct-pick-20260709@@3

Supersedes previous direct-pick MR without @@3 branch suffix: http://dev.zstack.io:9080/zstackio/zstack/-/merge_requests/10472
Supersedes previous squash/backport MR: http://dev.zstack.io:9080/zstackio/zstack/-/merge_requests/10457

Cherry-picked commits

  1. <fix>[ha]: stabilize suspect host pre-fence flow
  2. <fix>[ha]: create pre-fence tag in core
  3. <fix>[ha]: require peer for pre-fence tag

Validation

  • git diff --check
  • Final code compared with previous 5.4.10 backport branch: no diff

Resolves: ZSTAC-84992

sync from gitlab !10473

huhu0316 added 3 commits July 9, 2026 13:42
Move premium-only HA pre-fence details out of community while keeping the generic async before-start extension point support.

Jira: ZSTAC-83890

Test: mvn -pl header,compute,plugin/kvm,simulator/simulatorImpl,testlib -DskipTests compile

Change-Id: I168adf82338f9df9e76287619b7f76a8e5be695f
Move HA pre-fence pending tag creation into HaStartVmInstanceMsg handling after the VM state update, so later pre-fence execution observes the same database state.

Resolves: ZSTAC-83890

Change-Id: I7f046732e0245319ed4cf188d1342b65dad11767
Create HA pre-fence pending tag only when the checker provides an accessible peer host.

The peer should be covered by the HA dead-host and storage-inactive paths, so do not persist a fallback marker when it is absent.

Resolves: ZSTAC-83890

Change-Id: I36426b3386f1080ddeae8396ea9c4f7a81e25711
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants