Bug 1855351
Summary: | Inconsistent Installer reactions to Ctrl-C during user input process | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | To Hung Sze <tsze> |
Component: | Installer | Assignee: | Patrick Dillon <padillon> |
Installer sub component: | openshift-installer | QA Contact: | To Hung Sze <tsze> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | low | ||
Priority: | low | CC: | adahiya, bleanhar, padillon |
Version: | 4.6 | ||
Target Milestone: | --- | ||
Target Release: | 4.7.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: how we handled errors from survey library was inconsistent.
Consequence: users would see different errors, if they performed an interrupt while using the installer survey.
Fix: handle all errors from survey uniformly.
Result: error messages are consistent when users perform interrupts.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-02-24 15:13:57 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
To Hung Sze
2020-07-09 15:31:37 UTC
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
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 |