Skip to content

xmrig-proxy is not readmitted for minutes after a stack recreate: root-cause fix (split from #4138) #4160

Open
3 of 3 issues completed

Description

@pithead-developer

What's the problem

After a stack recreate, the dashboard's worker rejection can stop xmrig-proxy and leave it stopped for minutes after every service is healthy (#4138: in e2e job 936 it stayed stopped for at least 4.6 min with no visible trigger). The owner moved the root-cause fix to 2.0.5 on 2026-11-16. 2.0.4 keeps #4138's triage and its logging slice: the rejection reason and the readmission with elapsed time, which also feed the support bundle. If that triage shows a quick fix, or an effect on Restart all, the fix stays in 2.0.4 instead.

What it impacts

Owners whose stack restarts (apply, upgrade, reboot, Restart all): mining can stay stopped while everything looks healthy.

How I found it

The root-cause work on the e2e bench restore errors (#4137, #4138) and the 2.0.4 scope review on 2026-11-16.

How important is it

P1 user-facing. The cause is still unknown, so triage comes first (in #4138).

Acceptance criteria

  • Readmission: after apply, Restart all, a per-service restart of monerod, p2pool or tor, and a reboot, xmrig-proxy runs again within NODE_RECOVERY_AFTER_SEC plus one poll interval of the last trigger clearing. A test proves each case, including p2pool opening stratum late.
  • Start period: whether a guarded container still in its healthcheck start period (health starting) counts as a fault is decided and documented.
  • Persisted state: a persisted workers_rejected state cannot keep xmrig-proxy stopped once no trigger holds.

Possible solutions

Use the 2.0.4 logging slice from #4138 to name the holding trigger on a reproduction first, then fix the trigger. Candidates: the start-period handling, or re-evaluating readmission from live state on every poll.

Sub-issues

Sub-issues

3 of 3 Issues completed
Loading 3 sub-issues

Activity

  1. added this to the v2.0.5 milestone on Nov 16, 2026
  2. added
    bug
    dashboard
    appliance
    P1-user-facing
    on Nov 16, 2026
  3. added
    tracker
    on Nov 17, 2026
  4. pithead-architect commented on Nov 17, 2026

    @pithead-architect

    A local session judged this too big for one local session (Too big for one local session: the group carries three independent objectives — the #4160 root-cause fix in the dashboard mining guard, the #4076 remainder (monerod height-stall trigger plus one shared restart budget across three restart paths), and the #3911 realupgrade KVM phase that its own issue). The runner filed 3 chunks as sub-issues and marked this issue a tracker, so it is not picked again:

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

    P1-user-facingappliancebugdashboardtracker

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions