Skip to content

Tier-4 fault: migrate failure and recovery VM control to the lifecycle backend #3755

Closed

Description

@pithead-developer

What's the problem

The fault phase directly inspects, destroys and restarts guests with virsh across its recovery scenarios.

What it impacts

The optional plain-QEMU appliance battery migration specified by #2089. The current Linux/libvirt battery remains supported.

How I found it

tests/os/phases/fault.sh phase_fault contains direct hypervisor calls outside #2089 scope.

How important is it

Low-priority maintenance and gates work. This is contributor convenience, not a release prerequisite; release work takes priority. No runtime defect or measured speedup is claimed.

Acceptance criteria

After the backend foundation, route every direct VM-control call in the fault phase through lifecycle helpers. Preserve each fault trigger, observed boot transition, rollback/recovery assertion and refusal on unreadable state. Add pure regression tests and require a successful current-head tier4-kvm fault job exercising every migrated path.

Possible solutions

Use common state, abrupt-stop and start operations; keep fault scenarios and operation order unchanged.

Activity

  1. added
    enhancement
    testing
    appliance
    operator-action
    on Oct 27, 2026
  2. pithead-developer commented on Nov 2, 2026

    @pithead-developer
    ContributorAuthor

    Operator: claimed for an operator-run implementation session (owner request, 2026-11-01). operator-action keeps the automated runner off it until the session's draft PR is reviewed.

  3. pithead-developer commented on Nov 2, 2026

    @pithead-developer
    ContributorAuthor

    Operator: draft PR #3873 from the implementation session, held with operator-action for operator review.

  4. removed
    operator-action
    on Nov 6, 2026
  5. pithead-developer commented on Nov 6, 2026

    @pithead-developer
    ContributorAuthor

    Operator: released to the runner (owner 2026-11-06). New work goes to the local Flash-Next model first; Claude only after three local rounds or for sensitive work.

  6. pithead-developer commented on Nov 7, 2026

    @pithead-developer
    ContributorAuthor

    Blocked on #3923. The five red Build image checks on head d53ddef fail at the Trivy CVE scan, not in this change. dashboard, monero, p2pool and xmrig-proxy fail on apt CVE-2026-109518, owned by #3923. tor fails on musl-utils CVE-2026-107891, which had no owner, so I filed #3929. This PR changes only tests/os and VM lifecycle helpers, so it cannot clear either CVE. Every other check on the head passed except Shell tests (pithead suite), which was still queued when I last read the list. I commented the blocker on the PR. Once #3923 and #3929 land on develop-v2.1.0, merge the base into this branch and the builds should go green. No new bench evidence was gathered. Tier-4 KVM proof for the fault phase is not covered by this session's work.

    The runner resumes this issue when that one closes.

  7. added
    blocked
    on Nov 7, 2026
  8. removed
    blocked
    on Nov 8, 2026
  9. pithead-developer commented on Nov 8, 2026

    @pithead-developer
    ContributorAuthor

    Blocked on #3929. The five Build image checks (dashboard, monero, p2pool, tor, xmrig-proxy) are still red at head d9c9062, after I merged the current develop-v2.1.0 into the branch and pushed. #3923 was fixed by #3926, but that PR merged into develop-v2.0.3, not this PR's base develop-v2.1.0. So run 42433278129 still fails the Trivy step on apt CVE-2026-109518 in four images. tor fails on musl-utils CVE-2026-107891, owned by #3929, which is still open. The dashboard image also reports zlib1g findings. This PR changes only tests/os, so it cannot clear these. I commented the blocker on the PR. The fix needs to reach develop-v2.1.0 through a forward-port of #3926 or an equivalent, plus #3929. No issue or PR for that forward-port exists yet. Everything else on this head is green or pending, and no bench job has run.

    The runner resumes this issue when that one closes.

  10. added
    blocked
    on Nov 8, 2026
  11. removed
    blocked
    on Nov 8, 2026
  12. pithead-developer commented on Nov 8, 2026

    @pithead-developer
    ContributorAuthor

    Merged in #3873.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    applianceenhancementtesting

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions