Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCPBUGS-6271: Adding VIPs Validation for agent based vsphere installation #9532

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sunku5494
Copy link

@sunku5494 sunku5494 commented Mar 3, 2025

No description provided.

@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Mar 3, 2025
@openshift-ci-robot
Copy link
Contributor

@sunku5494: This pull request references Jira Issue OCPBUGS-6271, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.19.0) matches configured target version for branch (4.19.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @zniu1011

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

…tion

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.

Copy link
Contributor

openshift-ci bot commented Mar 3, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign rwsu for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sunku5494 sunku5494 changed the title OCPBUGS-6271: Adding VIPs Validation for agent based vsphere installa… OCPBUGS-6271: Adding VIPs Validation for agent based vsphere installation Mar 3, 2025
@openshift-ci-robot
Copy link
Contributor

@sunku5494: This pull request references Jira Issue OCPBUGS-6271, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.19.0) matches configured target version for branch (4.19.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @zniu1011

The bug has been updated to refer to the pull request using the external bug tracker.

In 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.

@bfournie
Copy link
Contributor

bfournie commented Mar 3, 2025

/cc @bfournie

@openshift-ci openshift-ci bot requested a review from bfournie March 3, 2025 17:11
Copy link
Contributor

@tthvo tthvo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, I have some small comments but overall, it's LGTM.

@sunku5494 Would it be okay for you to include some contexts/messages in the commit? You can just take the descriptions in the jira ticket OCPBUGS-6271.

@@ -108,7 +112,7 @@ platform:
pullSecret: "{\"auths\":{\"example.com\":{\"auth\":\"c3VwZXItc2VjcmV0Cg==\"}}}"
`,
expectedFound: false,
expectedError: `invalid install-config configuration: [platform.vsphere.ingressVIPs: Required value: must specify VIP for ingress, when VIP for API is set, Platform.VSphere.failureDomains.topology.folder: Required value: must specify a folder for agent-based installs]`,
expectedError: `invalid install-config configuration: [platform.vsphere.ingressVIPs: Required value: must specify VIP for ingress, when VIP for API is set, platform.vsphere.ingressVIPs: Required value: must specify at least one VIP for the Ingress, Platform.VSphere.failureDomains.topology.folder: Required value: must specify a folder for agent-based installs]`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there are a couple more test cases (i.e. taken from potential returned error) to cover here for vSphere:

  • apiVIP missing
  • both apiVIP and ingressVIP missing
  • invalid value (not an IP) for apiVIP and ingressVIP
  • when NOT using user-managed loadbalancer, apiVIP must be different than ingressVIP.
  • when NOT using user-managed loadbalancer, apiVIP and ingressVIP must be in the machine network.
  • If 2 API/Ingress VIPs are given, one must be ipv4 and other must be ipv6
  • API/Ingress VIP must be of the same IP family with machine network's primary IP Family for dual-stack IPv4/IPv6

I don't think these are really needed to fix the bug but it would be good to have these cases in a follow-up later 😄

@sunku5494
Copy link
Author

/retest

Copy link
Contributor

openshift-ci bot commented Mar 7, 2025

@sunku5494: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/okd-scos-images 6d6e2cc link true /test okd-scos-images
ci/prow/e2e-agent-5control-ipv4 6d6e2cc link false /test e2e-agent-5control-ipv4
ci/prow/e2e-agent-4control-ipv4 6d6e2cc link false /test e2e-agent-4control-ipv4
ci/prow/okd-scos-e2e-aws-ovn 6d6e2cc link false /test okd-scos-e2e-aws-ovn
ci/prow/artifacts-images 6d6e2cc link true /test artifacts-images

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants