You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
installer configure doesn't check for partial installation of components #36
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.
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.
Activity
burgulvedant commentedon Oct 31, 2026
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.