OCPBUGS-78126: baremetal: fix gather bootstrap failing with provisioningNetwork Disabled#10395
OCPBUGS-78126: baremetal: fix gather bootstrap failing with provisioningNetwork Disabled#10395honza wants to merge 1 commit intoopenshift:mainfrom
Conversation
…bled When provisioningNetwork is Disabled, BootstrapProvisioningIP is not set by SetPlatformDefaults because there is no provisioning network. This causes the automated gather bootstrap to fail with "must provide bootstrap host address" even though the bootstrap VM is reachable. Add fallback logic in ExtractHostAddresses to use BootstrapExternalStaticIP or the API VIP (which is hosted on the bootstrap node during early installation) when BootstrapProvisioningIP is empty. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
@honza: This pull request references Jira Issue OCPBUGS-78126, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
WalkthroughModified the Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 golangci-lint (2.11.3)Error: can't load config: unsupported version of the configuration: "" See https://golangci-lint.run/docs/product/migration-guide for migration instructions Comment |
|
/jira refresh |
|
@honza: This pull request references Jira Issue OCPBUGS-78126, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@honza: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
When provisioningNetwork is Disabled, BootstrapProvisioningIP is not set by SetPlatformDefaults because there is no provisioning network. This causes the automated gather bootstrap to fail with "must provide bootstrap host address" even though the bootstrap VM is reachable.
Add fallback logic in ExtractHostAddresses to use
BootstrapExternalStaticIP or the API VIP (which is hosted on the bootstrap node during early installation) when BootstrapProvisioningIP is empty.