Skip to content

Unable to re-run system-reinstall-bootc after failure #1246

Closed

Description

@ckyrouac

If system-reinstall-bootc progresses to the point where it creates the default stateroot, then the following run results in:

ERROR Installing to filesystem: Creating ostree deployment: Cannot redeploy over extant stateroot default

An example is if the install fails due to the disk space check, the user frees up enough space for the install, then this error will be hit.

The workaround is to rm -rf /ostree after the failure, however I think the state should be cleaned up on failure.

Activity

  1. added
    area/install-to-existing-root
    area/system-reinstall-bootc
    on Apr 1, 2025
  2. cgwalters commented on Apr 1, 2025

    @cgwalters
    Member

    Yes this is a pain. I think what we're missing here is that we should just check that we're not redeploying over the booted stateroot; we can completely safely operate on a non-booted stateroot.

  3. added
    triaged
    on Apr 8, 2025
  4. added a commit that references this issue on Apr 11, 2025
    dbae495
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

    area/install-to-existing-rootarea/system-reinstall-bootctriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions