Skip to content

Tier-4 reset: migrate reset VM control to the lifecycle backend #3756

Closed

Description

@pithead-developer

What's the problem

The reset phase directly inspects, destroys and restarts guests with virsh, so it cannot use a second backend.

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/reset.sh phase_reset 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 all direct VM-control calls in the reset phase through lifecycle helpers. Preserve reset choices, persisted-state observations, boot transitions and failure handling. Add pure regression tests and require a successful current-head tier4-kvm reset job executing the migrated paths.

Possible solutions

Use backend state, abrupt-stop and start operations without moving the reset transaction boundaries.

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 #3902 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 #3934. PR #3902 cannot get its required tier4-kvm reset proof until pithead#3934 is fixed. The reset job fails two coordinator setup-again rows on this head (jobs 3451 and 3455, 142 pass and 2 fail each). It fails the same two rows on the unchanged develop-v2.1.0 tip 8eb468f (job 3471). The failure is deterministic, not an outage. The phase returns at that leg before the corruption and restart code this PR migrates, so those paths never ran on the bench. Finished: the change, the tier 1 proof, and the control run that fails without the fix. The PR body now quotes the three unedited evidence blocks, and I commented the blocker on the PR. To clear it, someone fixes #3934 on the base. Then I rerun phases=reset on a head that contains the fix.

    The runner resumes this issue when that one closes.

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

    @pithead-developer
    ContributorAuthor

    Merged in #3902.

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