AGENT-1458: Don't auto-calculate RendezvousIP in unconfigured-ignition#10405
AGENT-1458: Don't auto-calculate RendezvousIP in unconfigured-ignition#10405pawanpinjarkar wants to merge 1 commit intoopenshift:mainfrom
Conversation
This reverts commit 9dc636f.
|
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 (1)
WalkthroughModified a single function call in unconfigured_ignition.go by changing the third argument passed to RetrieveRendezvousIP from nmStateConfigs.Config to nil, altering the source of rendezvous IP configuration data. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 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 |
|
/cc @zaneb @andfasano |
|
Reasoning for reverting makes sense to me. I consulted my notes and they don't reveal why I thought this was a good idea in the first place 🙂 |
|
@pawanpinjarkar: This pull request references AGENT-1458 which is a valid jira issue. 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 APPROVED This pull-request has been approved by: zaneb The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/lgtm |
|
/verified later |
|
@pawanpinjarkar: 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. |
|
/verified later @pawanpinjarkar Also, e2e-agent-compact-ipv4-appliance-diskimage verified the appliance use case. |
|
@pawanpinjarkar: Only users can be targets for the 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. |
|
/verified later @pawanpinjarkar |
|
@pawanpinjarkar: This PR has been marked to be verified later by 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. |
|
/override ci/prow/okd-scos-images |
|
@pawanpinjarkar: Overrode contexts on behalf of pawanpinjarkar: ci/prow/okd-scos-images 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 kubernetes-sigs/prow repository. |
|
@pawanpinjarkar: 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. |
This reverts commit 9dc636f.
Background
Unconfigured-ignition is used in two scenarios:
1. OVE (OpenShift Virtualization) workflow
2. Appliance workflow (config-iso)
The Problem
The reverted commit tried to automatically pick rendezvousIP from NMState data if available. This doesn't work well for either use case:
The Fix
Don't automatically select rendezvousIP from NMState data. Let users explicitly provide it via agent-config.yaml or choose it in the SaaS UI/TUI.