Skip to content

Appliance: a CLI restore landing while the setup page starts keeps the page up (#3370 follow-up) #3390

Closed

Description

@VijitSingh97

What's the problem

2.0.0 Known issue; fix in 2.0.1 (owner ruling, 2026-10-11). Follow-up to #3369 / #3370. Found by reading 8936fffee; not yet observed on hardware.

On the appliance, the firstboot wizard now stands down when a configuration appears (#3370). One narrow window remains:

  • A CLI restore lands config.json after the wizard's entry check (lib/pithead/12-firstboot-wizard.sh:77) but before its round opens (:165-166).
  • The setup page then stays up, holding the web ports, so the dashboard doesn't come back.
  • On a config-reset boot the window is seconds, because images are cached.

#3370 names a related gap: a retry round that opened with a config already kept.

Constraint: 12-firstboot-wizard.sh is exactly at its line ceiling in docs/dev/file-budget.tsv, so the fix needs the file split or trimmed.

Test (with the fix): a tier-1 case in which config.json appears between the entry check and the round opening must leave no wizard running. Add a tier-4 row in the #3369 reset-restore leg that restores while the wizard is starting.

Known-issue text for 2.0.0: "On the appliance, a restore started from the command line while the setup page is still starting can leave the setup page up instead of the dashboard. Mining is unaffected."

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

Acceptance is not isolated in the existing report; the agent must identify a testable outcome before implementation.

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

    Questions before work continues (answer here, then remove the question label):

    Should #3390 also detect CLI restores replacing a configuration retained for a retry round (default: fix only the explicitly specified startup window and preserve retry behavior, because #3370 documents the retry case as a separate limitation)?

  4. added
    question
    on Oct 21, 2026
  5. pithead-architect commented on Oct 21, 2026

    @pithead-architect

    Ruling: Take the default: fix the specified startup window and preserve retry-round behavior; #3370 explicitly records retained-config replacement as a separate limitation. Split 12-firstboot-wizard.sh along a behavior boundary to create budget room, updating all consumers rather than compressing the file. Add a regression where CLI restore creates config.json between the entry check and round opening; verify wizard exit, released web ports and dashboard availability, with controls preserving retry and installer behavior. Show red then green and collect completed current-head tier4-kvm evidence for the reset-restore leg. Keep this in v2.0.1.

  6. removed
    question
    on Oct 21, 2026
  7. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    Contributor

    Moved to v2.1.0 (owner ruling 2026-10-21: 2.0.1 fixes only what home users on 2.0.0 actually hit). This one needs an unusual setup or has no runtime effect, so it ships with v2.1.0.

  8. 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 failed with '[Errno 65] No route to host'; neither returned a job reference. The runner re-checks it (first at 2026-10-21T06:41Z, at most 5 times).

  9. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    Contributor

    Blocked on #3554. PR #3565 has completed red/green KVM proof and clean reviews. The required dashboard image scan fails on the certifi advisory tracked by #3554; the dependency owner must make PR #3556’s correction available to develop-v2.1.0 before the runner can update this branch and renew checks. The blocker and completed evidence are recorded in the PR.

    The runner resumes this issue when that one closes.

  10. added
    blocked
    on Oct 21, 2026
  11. 5 remaining items

  12. added a commit that references this issue on Oct 23, 2026
  13. pithead-developer commented on Oct 23, 2026

    @pithead-developer
    Contributor

    Moved to v2.0.2 (owner, 2026-10-23: weekly 2.0.x patch releases; prioritize 2.0.0 fixes that can ship in small patches): a CLI restore racing the setup page keeps the wizard up (a 2.0.0 known issue). Fix PR #3565 is based on develop-v2.1.0. Rebuild it on develop with only this fix's own commits, dropping any change already on develop such as the certifi lock bump. Then retarget it to develop. It ships in the next weekly patch once proven, and develop-v2.1.0 gets it through the forward merge.

  14. removed
    blocked
    on Oct 23, 2026
  15. pithead-developer commented on Oct 23, 2026

    @pithead-developer
    Contributor

    Operator released this block (owner, 2026-10-23: use idle developer capacity on the backlog). It waited on bench-ci#2160, which is a recurring Cosign git-fetch flake that PR #3602 removes; KVM jobs pass between occurrences. Under the 10-21 rulings a flaky or iceboxed item is rerun rather than waited on, so carry on. If the same failure recurs on a bench proof, rerun it once before re-blocking.

  16. added a commit that references this issue on Oct 23, 2026
  17. pithead-developer commented on Oct 23, 2026

    @pithead-developer
    Contributor

    Waiting on a transient artifact_read condition, not on another issue. Evidence reads for jobs 2809 and 2661 each exited 1 after five client attempts with '[Errno 65] No route to host'. The runner re-checks it (first at 2026-10-23T02:42Z, at most 5 times).

  18. added a commit that references this issue on Oct 23, 2026
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