OCPBUGS-120711: Fix vsphere network absolute paths - #6497
Conversation
Despite the API docs says that the networks should be in an absolute format, our code and CI was using the relative name of the network and performing some string joinning to make the path absolute before delegating the call to the vmware lib. Given that the underlaying vmware library properly handles all the formats this change removes the path manling and passes the name directly to the library like other operators do. Signed-off-by: Pablo Rodriguez Nava <git@amail.pablintino.eu>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@pablintino: This pull request references Jira Issue OCPBUGS-120711, 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: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. WalkthroughNetwork discovery now passes the failure-domain network identifier directly to ChangesvSphere network discovery
Estimated code review effort: 1 (Trivial) | ~5 minutes Merge Risk: ⚪ Minimal · up to Network discovery now passes the configured vSphere network identifier directly to the VMware finder, enabling supported network-name formats while retaining lookup error handling. No merge-blocking risk is identified. Suggested reviewers: 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Comment |
|
/test e2e-vsphere-mco-bootimages |
|
/jira refresh |
|
@pablintino: This pull request references Jira Issue OCPBUGS-120711, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
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. |
|
@pablintino: This pull request references Jira Issue OCPBUGS-120711, which is valid. 3 validation(s) were run on this bug
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. |
|
/lgtm Thank you for the fix! |
|
Scheduling tests matching the |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: djoshy, pablintino 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 |
|
While reproducing this issue in our clusters we configured a full path network in the infra failure domains We were able to reproduce the issue in MCO But we saw other issues. When we configured the full path a new machine was created by the CPMS, and this machine was using the full path network, and failed. If we configure machinesets to use the full path network too, they will fail too reporting the same error. This is the AI analysis (it may be wrong) for the failure in the machine-api-operator repo |
|
@pablintino: 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. |
Closes: #OCPBUGS-120711
- What I did
Despite the API docs says that the networks should be in an absolute format, our code and CI was using the relative name of the network and performing some string joinning to make the path absolute before delegating the call to the vmware lib.
Given that the underlaying vmware library properly handles all the formats this change removes the path manling and passes the name directly to the library like other operators do.
- How to verify it
TBD
- Description for the changelog
Fix vsphere network name handling to allow absolute names, that are the oficailly supported ones.
Summary by CodeRabbit