Skip to content

A single machine on a disk about three quarters full cannot finish its installation #572

Backlog

Description

@samuelmbabhazi

What happens

The server installer gives builds a filesystem of their own (#548): a fifth of the filesystem that holds /var/lib, between 10 and 100 GiB, unless --build-disk gives another size. It refuses when /var/lib lacks that size and 5 GiB more.

On a single machine, the control plane installer runs the server installer itself, and has no way to pass --build-disk. On a disk more than about three quarters full, a new installation stops at the last step:

shipkeep-install: The builds need 91 GiB of their own and 5 GiB to spare on /var/lib; pass a smaller --build-disk (5 GiB at least).
shipkeep-install: the control plane is running, but the agent of this machine was not installed.
shipkeep-install: the installation did not finish. [...] finish with: sudo bash .../install.sh --dir /opt/shipkeep --resume yes

--resume yes cannot finish either:

  • it runs into the same refusal, since the size cannot change;
  • the refusal comes after the server installer wrote the agent's configuration, join token and unit, so a resume finds an unfinished server installation and asks for its removal by hand.

Found while verifying v0.1.0-alpha.8 in the lab: a new single-machine installation on a 460 GiB disk with 77 GiB free asked for 91 GiB.

A separate server is not stuck: the refusal names --build-disk, which its installer takes. --migrate yes --build-disk 20 brought an alpha.7 server to alpha.8 with its builder, and its application kept answering.

Expected

  • Both installers refuse before their first change, so that a refusal leaves the machine as it was. This applies to the server installer, for a new server and for --migrate yes, and to the control plane installer on a single machine.
  • The control plane installer takes --build-disk <GiB> on a single machine and passes it to the server installer.
  • --resume yes keeps the size of the interrupted run, and takes --build-disk to change it.
  • The refusal says that freeing space works too.

Activity

  1. added
    bug
    on Nov 29, 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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions