Description of problem: Installer reacts to user pressing Ctrl-C differently depending on where the user is at during the user input phase. Steps to Reproduce: 1. Start the installer 2. In each user input stage, try pressing Ctrl-C. Actual results: For most input (like ssh key, Platform), the installer immediately exit while displaying an error (correct) However, when user is at Project ID - installer advances to region Region - installer advances to Base Domain Is there a reason for it? Expected results: Installer reacts consistently to Ctrl-C at all stages during user input.
Will try to fix this bug, this one is a cosmetic change so a little low in priority, will try to fix is as soon as we can hopefully next sprint.
Confirm with openshift-install-linux-4.7.0-0.nightly-2020-11-04-114206 at every stage of the installer getting user input, a single Ctrl-C quits the program with messages like FATAL failed to fetch Install Config: failed to fetch dependency of "Install Config": failed to generate asset "SSH Key": failed UserInput for SSH public key: interrupt FATAL failed to fetch Install Config: failed to fetch dependency of "Install Config": failed to fetch dependency of "Base Domain": failed to generate asset "Platform": interrupt FATAL failed to fetch Install Config: failed to fetch dependency of "Install Config": failed to generate asset "Base Domain": failed UserInput for base domain: interrupt FATAL failed to fetch Install Config: failed to fetch dependency of "Install Config": failed to generate asset "Cluster Name": interrupt FATAL failed to fetch Install Config: failed to fetch dependency of "Install Config": failed to generate asset "Pull Secret": interrupt @padillon Is there a reason "failed UserInput" isn't quoted as reason in all stages as well as "generate asset" vs "generate asset" (for consistency)? Thanks.
(In reply to To Hung Sze from comment #7) > Is there a reason "failed UserInput" isn't quoted as reason in all stages as > well as "generate asset" vs "generate asset" (for consistency)? No, there is not a reason. It is just inconsistent. I will create another pr to standardize. I don't understand the issue about "generate asset". Is there a discrepency?
Thanks for the feedback. I made a typo and confused you. I was referring to: 'failed to fetch dependency of "Base Domain"' for platform which is different from all other error msgs with 'failed to generate asset "Base Domain"'
How do you reproduce the error message: " FATAL failed to fetch Install Config: failed to fetch dependency of "Install Config": failed to fetch dependency of "Base Domain": failed to generate asset "Platform": interrupt If it is not related to the CTRL C interrupt it is ok.
(In reply to Patrick Dillon from comment #10) > How do you reproduce the error message: " > FATAL failed to fetch Install Config: failed to fetch dependency of "Install > Config": failed to fetch dependency of "Base Domain": failed to generate > asset "Platform": interrupt > > If it is not related to the CTRL C interrupt it is ok. Nevermind, I see that there are separate base domains from different platforms.
Ctrl-C when the installer is prompting for Platform (aws / azure etc): DEBUG Generating Platform... ? Platform [Use arrows to move, enter to select, type to filter, ? for more help] > aws azure gcp openstack ovirt vsphere FATAL failed to fetch Install Config: failed to fetch dependency of "Install Config": failed to fetch dependency of "Base Domain": failed to generate asset "Platform": interrupt
Created: https://github.com/openshift/installer/pull/4360
Tried with 11-23-074526: ssh-key: FATAL failed to fetch Install Config: failed to fetch dependency of "Install Config": failed to generate asset "SSH Key": failed UserInput: interrupt platform (AWS vsAzure etc) FATAL failed to fetch Install Config: failed to fetch dependency of "Install Config": failed to fetch dependency of "Base Domain": failed to generate asset "Platform": interrupt Project: FATAL failed to fetch Install Config: failed to fetch dependency of "Install Config": failed to fetch dependency of "Base Domain": failed to generate asset "Platform": interrupt Regions FATAL failed to fetch Install Config: failed to fetch dependency of "Install Config": failed to fetch dependency of "Base Domain": failed to generate asset "Platform": interrupt Domain: FATAL failed to fetch Install Config: failed to fetch dependency of "Install Config": failed to generate asset "Base Domain": failed UserInput: interrupt Cluster Name: FATAL failed to fetch Install Config: failed to fetch dependency of "Install Config": failed to generate asset "Cluster Name": failed UserInput: interrupt Pull Secret: FATAL failed to fetch Install Config: failed to fetch dependency of "Install Config": failed to generate asset "Pull Secret": failed UserInput: interrupt
The three: failed to fetch dependency of "Base Domain": failed to generate asset "Platform": interrupt are deemed part of "platform" and not worth the effort to further differentiate. closing.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:5633