Conversation
|
@Phaow: This pull request references SPLAT-2320 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.22.0" version, but no target version was set. 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. |
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
WalkthroughZonal host-VM-group affinity logic in vSphere manifests now runs unconditionally for failure domains with Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@pkg/asset/manifests/vsphere/infrastructure.go`:
- Around line 55-67: The code unconditionally sets
failureDomainSpec.RegionAffinity and failureDomainSpec.ZoneAffinity for
HostGroupFailureDomain (see failureDomain.ZoneType,
vsphere.HostGroupFailureDomain, failureDomainSpec.RegionAffinity/ZoneAffinity
and types configv1.VSphereFailureDomainRegionAffinity/ZoneAffinity), which
violates the vendored API validation guarded by the VSphereHostVMGroupZonal
feature gate; update the installer to only populate these fields when the
VSphereHostVMGroupZonal gate is enabled (i.e., add a conditional check for the
feature gate before assigning RegionAffinity/ZoneAffinity and
HostGroup/VMGroup/VMHostRule), otherwise omit those fields until the API is
promoted or the vendor bump removes the gate.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 4f661bab-aa80-48cb-b753-b1a2e3b9ff0f
📒 Files selected for processing (2)
pkg/asset/manifests/vsphere/infrastructure.gopkg/types/vsphere/validation/featuregates.go
💤 Files with no reviewable changes (1)
- pkg/types/vsphere/validation/featuregates.go
5317408 to
65824ca
Compare
|
Hi @jcpowermac @sgaoshang , could you help take a look when you get a chance? Thank you! ^^ |
|
/assign @jcpowermac @sgaoshang |
|
I could see with the cluster-bot pre build payload with the fix install(without setting tp featuregate) succeed in https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_release/77055/rehearse-77055-periodic-ci-openshift-release-main-nightly-4.22-e2e-vsphere-ovn-host-groups-csi/2039241660986036224 . |
|
@WenXinWei pls have a look. |
Signed-off-by: Penghao <pewang@redhat.com>
|
[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 |
|
@Phaow: This pull request references SPLAT-2320 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.22.0" version, but no target version was set. 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. |
|
/retitle SPLAT-2320: Bump openshift/api |
|
/lgtm |
|
/retest-required |
|
@Phaow: 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. |
|
/lgtm |
|
@WenXinWei If you have verified passed for the bump, could you please help add |
Uh oh!
There was an error while loading. Please reload this page.