Skip to content

Conversation

@zaneb
Copy link
Member

@zaneb zaneb commented Jan 23, 2023

Copy the same fix as for the baremetal platform (OCPBUGS-3278) to
vSphere to prevent validation of the presence of fields in the
install-config that are, in fact, ignored by the agent installer.

Don't compare pointers, as they will never be equal. Check for non-nil
pointers and then compare values.
@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. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. labels Jan 23, 2023
@openshift-ci-robot
Copy link
Contributor

@zaneb: This pull request references Jira Issue OCPBUGS-6270, 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.13.0) matches configured target version for branch (4.13.0)
  • bug is in the state New, 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.

Details

In response to this:

Copy the same fix as for the baremetal platform (OCPBUGS-3278) to
vSphere to prevent validation of the presence of fields in the
install-config that are, in fact, ignored by the agent installer.

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/test-infra repository.

Copy link
Contributor

@rwsu rwsu left a comment

Choose a reason for hiding this comment

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

I verified that it does fix the issue where vSphere details are not provided.

It stuck me that we should add an integration test for this particular vsphere scenario. Here's an example of one we have for the base baremetal compact cluster case: 55d450a#diff-400e139b300a043192bc206f891ccf2742aa78301b9a31147fd62bfc519981b3

What do you think?

zaneb added 2 commits January 24, 2023 22:07
Copy the same fix as for the baremetal platform (OCPBUGS-3278) to
vSphere to prevent validation of the presence of fields in the
install-config that are, in fact, ignored by the agent installer.
@zaneb zaneb force-pushed the skip-vsphere-platform-validations branch from 7fb1fbe to e3bd70c Compare January 24, 2023 09:09
@zaneb
Copy link
Member Author

zaneb commented Jan 24, 2023

/cherry-pick release-4.12

@openshift-cherrypick-robot

@zaneb: once the present PR merges, I will cherry-pick it on top of release-4.12 in a new PR and assign it to you.

Details

In response to this:

/cherry-pick release-4.12

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/test-infra repository.

@bfournie
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 30, 2023
@zaneb
Copy link
Member Author

zaneb commented Feb 1, 2023

/assign @jhixson74

@jhixson74
Copy link
Member

/lgtm
/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 1, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jhixson74

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

The pull request process is described here

Details 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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 1, 2023
@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 5440ca5 and 2 for PR HEAD e3bd70c in total

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 2, 2023

@zaneb: 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-e2e-aws-ovn e3bd70c link false /test okd-scos-e2e-aws-ovn
ci/prow/e2e-agent-sno-ipv6 e3bd70c link false /test e2e-agent-sno-ipv6
ci/prow/e2e-metal-ipi-sdn-swapped-hosts e3bd70c link false /test e2e-metal-ipi-sdn-swapped-hosts
ci/prow/e2e-metal-ipi-sdn e3bd70c link false /test e2e-metal-ipi-sdn
ci/prow/okd-e2e-aws-ovn e3bd70c link false /test okd-e2e-aws-ovn
ci/prow/okd-e2e-aws-ovn-upgrade e3bd70c link false /test okd-e2e-aws-ovn-upgrade
ci/prow/okd-scos-e2e-aws-upgrade e3bd70c link false /test okd-scos-e2e-aws-upgrade
ci/prow/e2e-metal-ipi-ovn-dualstack e3bd70c link false /test e2e-metal-ipi-ovn-dualstack
ci/prow/e2e-vsphere-upi-zones e3bd70c link false /test e2e-vsphere-upi-zones
ci/prow/e2e-aws-ovn-disruptive e3bd70c link false /test e2e-aws-ovn-disruptive

Full PR test history. Your PR dashboard.

Details

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

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 610a121 and 1 for PR HEAD e3bd70c in total

@openshift-merge-robot openshift-merge-robot merged commit d9ac8ef into openshift:master Feb 2, 2023
@openshift-ci-robot
Copy link
Contributor

@zaneb: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-6270 has been moved to the MODIFIED state.

Details

In response to this:

Copy the same fix as for the baremetal platform (OCPBUGS-3278) to
vSphere to prevent validation of the presence of fields in the
install-config that are, in fact, ignored by the agent installer.

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/test-infra repository.

@openshift-cherrypick-robot

@zaneb: new pull request created: #6826

Details

In response to this:

/cherry-pick release-4.12

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/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. 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. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants