-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
Description of problem:
The iso boot may get stuck in CI on errors in kickstart post install section. The problem is that the ci_phase_iso_boot.sh uses "parallel" to execute scenarios and "parallel" expects all the child processes to exit to consider the job finished. Since we're using `--erroronfail` option in kickstart %post section, the installation is halted by anaconda displaying the %post logs on the console (probably using `more` command or its like). One needs to manually scroll until the end of %post output so that the installation continues to the eventual shut down of the system. Note: removing `--erroronfail` %post option is not possible because errors are then ignored and the process finishes successful even in case of %post script failures.
Version-Release number of selected component (if applicable):
4.16 and below
How reproducible:
100%
Steps to Reproduce:
1. Add "exit 1" in the %post kickstart section 2. Run ci_phase_iso_boot.sh
Actual results:
The ci_phase_iso_boot.sh script gets stuck when errors are encountered in a VM %post section.
Expected results:
The ci_phase_iso_boot.sh script should finish with errors after the `--wait` timeout of virt-install call in scenario.sh is exceeeded.
- is cloned by
-
USHIFT-2259 [release-4.15] The iso boot may get stuck in CI on errors in kickstart post install section
- Closed
- links to