-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
4.18.z
-
None
-
Low
-
Yes
-
False
-
Description of problem:
While creating agent based ISO image using "openshift-install" throwing an error, when we run "agent create image" for second time on same cluster.
Version-Release number of selected component (if applicable):
OCP Build Version: 4.18 RC build
How reproducible:
Always
Steps to Reproduce:
1. Run this command "./openshift-install agent create image --log-level=debug" on clean cluster and command successfully create image without any issues. 2. For some reason if I delete the created ISO and try to create ISO image for second time on same cluster using "./openshift-install agent create image --log-level=debug ", throws error saying "FATAL failed to write asset (Agent Installer ISO) to disk: cannot generate ISO image due to configuration errors " Note : This issue because "openshift-install agent create image" generate a a file ".openshift_install_state.json". If this file already present seeing above mentioned error, For some reason if I try to generate ISO on same env.
Actual results:
Throws error "FATAL failed to write asset (Agent Installer ISO) to disk: cannot generate ISO image due to configuration errors "
Expected results:
It should create ISO image.
Additional info:
Expecting : Above issue need to be handled by updating Knowledge Center to remove the previous run ".openshift_install_state.json" OR "openshift-install agent create image" should overwrite or delete and create fresh one.