Skip to content

Stack battery: fresh CLI defaults complete real setup exits 1 and stops lifecycle #3870

Closed

Description

@pithead-developer

What's the problem

In the KVM stack battery, the lifecycle row fresh CLI defaults complete real setup (tests/integration/lib/run-wizard-defaults.sh) fails with expected rc 0, got 1: pithead setup --skip-deps --skip-optimize exits non-zero after the wizard config is pushed. run_cli_wizard_defaults returns 1, so lifecycle stops before the pool-change and backup/restore rows and the aggregate DIY gate vs. appliance channel row goes red.

What it impacts

The appliance stack gate on the develop-v2.1.0 line. Every lifecycle row after the CLI-defaults proof is unreached while it fails, including restore reverts the pool to the backed-up value (#3857). Whether a real fresh CLI setup fails is not established.

How I found it

tier4-kvm stack job 3375@256da4c4a5adea30365c6fc14f6c09ab2339c71f, head 256da4c (develop-v2.1.0 plus #3857's test-only change, which runs after this row). The log shows the row's expected rc 0, got 1, then CLI defaults proof restores its entry config for lifecycle passing. The setup command's output is not retained in the artifacts, so the cause is unknown. The previous job on the older head stopped earlier at the payout EOF row (#3794), so this is the first observation. I searched open issues for the row text and found no owner.

How important is it

Medium: it turns a required gate red and hides every later lifecycle row; product impact unknown, one observation.

Acceptance criteria

  • A current-head KVM stack job passes fresh CLI defaults complete real setup, or its log shows the setup command's output and exit cause.
  • If a product defect is confirmed, a test reproduces it at the lowest tier.

Possible solutions

Retain the setup command's output as a redacted artifact so the exit cause is visible, then decide between a setup defect and a fixture problem (the pushed config, the DEPLOYMENT_COMPLETED=false edit, or the piped answers).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions