Skip to content

installer configure doesn't check for partial installation of components #36

Open

Description

@kkurzacz-intel

Migrated from the internal tracker. Originally opened by aalbersk.

When running configure task on unstable network (or stopping configure mid-run), it might happen that pip will run and ansible won't. In that case .venv/ will be partially configured, currently reported as done and cluster installation will fail on later steps.

Having a or tmp_venv for checking if configuration was interrupted might be a good idea.

local tmp_venv="${VENV}.tmp"

Activity

  1. added
    bug
    on Oct 8, 2026
  2. burgulvedant commented on Oct 31, 2026

    @burgulvedant

    I have opened a PR for this: #80

    It writes a marker file once pip has finished installing requirements.txt, and treats the venv as ready only when the marker exists. An interrupted install is then rebuilt on the next run. I did not use a temporary folder and a rename, because a venv's scripts hold absolute paths and break when moved. Happy to adjust anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions