-
Bug
-
Resolution: Unresolved
-
Normal
-
4.19
-
Quality / Stability / Reliability
-
False
-
-
None
-
Moderate
-
No
-
None
-
Rejected
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
As part of testing EPIC https://issues.redhat.com/browse/ACM-15286, I tested entering a malformed SSH key to install-config.yaml file. As a result cluster installation hangs for 1 hour and finally fails without clear error message:
time="2025-05-17T12:03:46-04:00" level=info msg=" baremetalhost: openshift-master-0-0: uninitialized" time="2025-05-17T12:03:47-04:00" level=info msg=" baremetalhost: openshift-master-0-1: uninitialized" time="2025-05-17T12:03:47-04:00" level=info msg=" baremetalhost: openshift-master-0-2: uninitialized" time="2025-05-17T13:02:15-04:00" level=error msg="Bootstrap failed to complete: failed to provision control-plane machines: timed out waiting for the condition" time="2025-05-17T13:02:15-04:00" level=error msg="Failed to wait for bootstrapping to complete. This error usually happens when there is a problem with control plane hosts that prevents the control plane operators from creating the control plane." time="2025-05-17T13:02:15-04:00" level=debug msg="Fetching Bootstrap SSH Key Pair..." time="2025-05-17T13:02:15-04:00" level=debug msg="Loading Bootstrap SSH Key Pair..." time="2025-05-17T13:02:15-04:00" level=debug msg="Using Bootstrap SSH Key Pair loaded from state file" time="2025-05-17T13:02:15-04:00" level=debug msg="Reusing previously-fetched Bootstrap SSH Key Pair" time="2025-05-17T13:02:15-04:00" level=debug msg="Fetching Install Config..." time="2025-05-17T13:02:15-04:00" level=debug msg="Loading Install Config..." time="2025-05-17T13:02:15-04:00" level=debug msg=" Loading SSH Key..." time="2025-05-17T13:02:15-04:00" level=debug msg=" Loading Base Domain..." time="2025-05-17T13:02:15-04:00" level=debug msg=" Loading Platform..." time="2025-05-17T13:02:15-04:00" level=debug msg=" Loading Cluster Name..." time="2025-05-17T13:02:15-04:00" level=debug msg=" Loading Base Domain..." time="2025-05-17T13:02:15-04:00" level=debug msg=" Loading Platform..." time="2025-05-17T13:02:15-04:00" level=debug msg=" Loading Pull Secret..." time="2025-05-17T13:02:15-04:00" level=debug msg=" Loading Platform..." time="2025-05-17T13:02:15-04:00" level=debug msg="Using Install Config loaded from state file" time="2025-05-17T13:02:15-04:00" level=debug msg="Reusing previously-fetched Install Config" time="2025-05-17T13:02:15-04:00" level=debug msg="baremetal: getting master addresses" time="2025-05-17T13:02:15-04:00" level=debug msg=" bmh:openshift-master-0-0" time="2025-05-17T13:02:15-04:00" level=debug msg=" HardwareDetails nil, skipping" time="2025-05-17T13:02:15-04:00" level=debug msg=" bmh:openshift-master-0-1" time="2025-05-17T13:02:15-04:00" level=debug msg=" HardwareDetails nil, skipping" time="2025-05-17T13:02:15-04:00" level=debug msg=" bmh:openshift-master-0-2" time="2025-05-17T13:02:15-04:00" level=debug msg=" HardwareDetails nil, skipping" time="2025-05-17T13:02:15-04:00" level=error msg="Attempted to gather debug logs after installation failure: must provide bootstrap host address"
Version-Release number of selected component (if applicable):
OpenShift Installer 4.19.0-0.nightly-2025-05-15-095920
How reproducible:
1/1
Steps to Reproduce:
1. Enter malformed SSH key to install-config.yaml file as the second SSH key 2. Run: ./openshift-install --dir clusterconfigs --log-level debug create cluster
Actual results:
As described in description
Expected results:
Installer validates the install-config.yaml file and returns an error message to the user which points to a malformed SSH key before beginning the actual installation.
Additional info:
Logs: https://drive.google.com/drive/folders/1NhdgOyE7dHLJisR5M81OCAk-ISpWVJPa?usp=sharing
- blocks
-
ACM-15286 Allow installed cluster nodes to have multiple SSH keys
-
- In Progress
-
- is duplicated by
-
OCPBUGS-56615 Entering malformed SSH key to install-config.yaml causes installation to hang for one hour and finally fails with no clear error message
-
- Closed
-
- links to