Closed to-bar closed 2 years ago
If the first run is successful, repository teardown is executed, which removes the entire /var/tmp/epi-download-requirements
directory where the flag is located and then there is no issue. The problem occurs on epicli re-run if the previous run failed/was cancelled after setting up the repository.
Describe the bug epicli failed with error:
on re-run after changing
count
forpostgresql
from 0 to 1 inepiphany-cluster
doc.This is because the first run was optimized to not download
postgresql
related requirements but on the second run theDownload Epiphany requirements
was skipped due to existence of/var/tmp/epi-download-requirements/download-requirements-done.flag
file.How to reproduce Steps to reproduce the behavior:
epicli apply
withpostgresql.count: 0
postgresql.count: 1
and runepicli apply
againExpected behavior No failure.
Environment
epicli version: 2.0.1dev
Additional context Related to #3188
DoD checklist