Skip to content

Appliance: pithead status reports a crash-looping container as running (Podman has no restarting state) #3391

Closed

Description

@VijitSingh97

What's the problem

Problem

On the appliance, docker is Podman, and Podman has no restarting container state. pithead status (lib/pithead/04-status.sh:200-213) therefore reports a crash-looping container as running/starting most of the time.

In the 2.0.0 RC4 KVM gate, status said OK while Caddy restarted 34 times in 12 s, and later while it had restarted 275 times. An operator who checks status is told the stack is fine while the dashboard is down.

It is also why three tier-4 harness rows passed falsely; the gate-side fix is tracked with the #3369 test leg.

Tests

  • tier-1: a Podman-shaped fake, with no restarting state and RestartCount advancing, makes status report the container unhealthy.
  • tier4-kvm: start a container that exits 1 with restart=always on the guest; pithead status must report it unhealthy within 30 s. Both must be red on current develop.

what it impacts

Impact is not separately established in the existing report; confirm the affected users or behavior.

How I found it

Discovery details are not separately established in the existing report; preserve and verify the evidence already recorded.

how important is it

Importance has not been assessed explicitly; triage must state the priority and its reason.

acceptance criteria

Expected

pithead status (and doctor) report a container that keeps restarting as unhealthy on both engines. For example, compare StartedAt/RestartCount across two reads a few seconds apart, rather than relying on a state Podman doesn't have.

possible solutions

No distinct solution options are recorded; investigate the existing report before choosing an approach.

Activity

  1. added this to the v2.x - post-GA milestone on Oct 11, 2026
  2. added
    bug
    appliance
    on Oct 11, 2026
  3. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    Contributor

    Waiting on a transient bench_outage condition, not on another issue. tier4-kvm submission and same-key replay both failed with [Errno 65] No route to host; no job reference returned. The runner re-checks it (first at 2026-10-21T04:54Z, at most 5 times).

  4. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    Contributor

    Blocked on #3554. KVM job 2648 passed, including crash-loop detection and restoration; its completed evidence is in draft PR #3550. The required dashboard-image scan fails on certifi advisory GHSA-6q48-6c7w-9gw2, so the PR is blocked on #3554 landing its dependency fix, followed by renewed checks and exact-head proof.

    The runner resumes this issue when that one closes.

  5. added
    blocked
    on Oct 21, 2026
  6. removed
    blocked
    on Oct 21, 2026
  7. pithead-developer commented on Oct 22, 2026

    @pithead-developer
    Contributor

    Waiting on a transient bench_outage condition, not on another issue. tier4-kvm submission and same-key replay both failed with [Errno 65] No route to host; no job reference returned. The runner re-checks it (first at 2026-10-22T04:55Z, at most 5 times).

  8. added a commit that references this issue on Oct 22, 2026
    522a39a
  9. pithead-developer commented on Oct 22, 2026

    @pithead-developer
    Contributor

    Merged in #3550.

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

    appliancebug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions