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

SDN-4596: Update (B)ANP CRDs; prepare for GA #2328

Merged

Conversation

tssurya
Copy link
Contributor

@tssurya tssurya commented Apr 3, 2024

This PR updates the ANP/BANP CRDs to reflect the latest changes, i.e egress support and this reflects the release v0.1.3 upstream: https://github.com/kubernetes-sigs/network-policy-api/releases/tag/v0.1.3 (had to change bundle version manually since release is not cut yet but this is just aesthetics) + adds support for isCIDR() in the networks peer which is OCP carry only HACK because it hits k/k only in 1.31 release but we have support for this in OCP thanks to openshift/kubernetes#1828

The manual changes are a second commit on top with OCPHACKs title, we should hopefully sync with upstream once we cut a release + we become 1.31 so that network-policy-api repo can also leverage isCIDR()

source-code: https://github.com/tssurya/network-policy-api/tree/final-ocp-crds-4.16-ga

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Apr 3, 2024
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Apr 3, 2024

@tssurya: This pull request references SDN-4569 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.16.0" version, but no target version was set.

In response to this:

This PR updates the ANP/BANP CRDs to reflect the latest changes, i.e egress support and this reflects the release v0.1.3 upstream: https://github.com/kubernetes-sigs/network-policy-api/releases + adds support for isCIDR() in the networks peer which is OCP carry only HACK because it hits k/k only in 1.31 release but we have support for this in OCP thanks to openshift/kubernetes#1828

source-code: https://github.com/tssurya/network-policy-api/tree/final-ocp-crds-4.16-ga

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.

@openshift-ci openshift-ci bot requested review from danwinship and trozet April 3, 2024 10:47
@tssurya tssurya changed the title SDN-4569: Update (B)ANP CRDs; prepare for GA SDN-4596: Update (B)ANP CRDs; prepare for GA Apr 3, 2024
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Apr 3, 2024

@tssurya: This pull request references SDN-4596 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.16.0" version, but no target version was set.

In response to this:

This PR updates the ANP/BANP CRDs to reflect the latest changes, i.e egress support and this reflects the release v0.1.3 upstream: https://github.com/kubernetes-sigs/network-policy-api/releases + adds support for isCIDR() in the networks peer which is OCP carry only HACK because it hits k/k only in 1.31 release but we have support for this in OCP thanks to openshift/kubernetes#1828

source-code: https://github.com/tssurya/network-policy-api/tree/final-ocp-crds-4.16-ga

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.

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Apr 3, 2024

@tssurya: This pull request references SDN-4596 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.16.0" version, but no target version was set.

In response to this:

This PR updates the ANP/BANP CRDs to reflect the latest changes, i.e egress support and this reflects the release v0.1.3 upstream: https://github.com/kubernetes-sigs/network-policy-api/releases/tag/v0.1.3 + adds support for isCIDR() in the networks peer which is OCP carry only HACK because it hits k/k only in 1.31 release but we have support for this in OCP thanks to openshift/kubernetes#1828

source-code: https://github.com/tssurya/network-policy-api/tree/final-ocp-crds-4.16-ga

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.

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Apr 3, 2024

@tssurya: This pull request references SDN-4596 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.16.0" version, but no target version was set.

In response to this:

This PR updates the ANP/BANP CRDs to reflect the latest changes, i.e egress support and this reflects the release v0.1.3 upstream: https://github.com/kubernetes-sigs/network-policy-api/releases/tag/v0.1.3 (had to change bundle version manually since release is not cut yet but this is just aesthetics) + adds support for isCIDR() in the networks peer which is OCP carry only HACK because it hits k/k only in 1.31 release but we have support for this in OCP thanks to openshift/kubernetes#1828

source-code: https://github.com/tssurya/network-policy-api/tree/final-ocp-crds-4.16-ga

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.

@tssurya
Copy link
Contributor Author

tssurya commented Apr 4, 2024

/retest

@tssurya
Copy link
Contributor Author

tssurya commented Apr 4, 2024

/test 4.16-upgrade-from-stable-4.15-e2e-azure-ovn-upgrade
/test e2e-aws-live-migration-sdn-ovn

@tssurya
Copy link
Contributor Author

tssurya commented Apr 4, 2024

/tide refresh

@tssurya
Copy link
Contributor Author

tssurya commented Apr 4, 2024

/retest-required

@tssurya
Copy link
Contributor Author

tssurya commented Apr 4, 2024

/test e2e-gcp-ovn-upgrade
/test e2e-metal-ipi-ovn-ipv6
/test e2e-aws-live-migration-sdn-ovn-rollback
/test e2e-metal-ipi-ovn-ipv6-ipsec
/test e2e-network-mtu-migration-ovn-ipv6

@tssurya
Copy link
Contributor Author

tssurya commented Apr 4, 2024

/test e2e-aws-ovn-shared-to-local-gateway-mode-migration
/test e2e-ovn-ipsec-step-registry
/test e2e-vsphere-ovn
/test e2e-vsphere-ovn-dualstack

@tssurya
Copy link
Contributor Author

tssurya commented Apr 4, 2024

/test e2e-vsphere-ovn-dualstack-primaryv6

@tssurya
Copy link
Contributor Author

tssurya commented Apr 4, 2024

/retest

@tssurya
Copy link
Contributor Author

tssurya commented Apr 4, 2024

/assign @kyrtapz

@kyrtapz
Copy link
Contributor

kyrtapz commented Apr 4, 2024

Would it be possible to automate pulling in the CRDs from https://github.com/kubernetes-sigs/network-policy-api/tree/main/config/crd/standard?
hack/update-codegen.sh is the right place for that.

Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
isCIDR() has been backported in OCP so we can
use this versus in upstream k/k its expected
to be available only form 1.31

Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Apr 4, 2024

@tssurya: This pull request references SDN-4596 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.16.0" version, but no target version was set.

In response to this:

This PR updates the ANP/BANP CRDs to reflect the latest changes, i.e egress support and this reflects the release v0.1.3 upstream: https://github.com/kubernetes-sigs/network-policy-api/releases/tag/v0.1.3 (had to change bundle version manually since release is not cut yet but this is just aesthetics) + adds support for isCIDR() in the networks peer which is OCP carry only HACK because it hits k/k only in 1.31 release but we have support for this in OCP thanks to openshift/kubernetes#1828

The manual changes are a second commit on top with OCPHACKs title, we should hopefully sync with upstream once we cut a release + we become 1.31 so that network-policy-api repo can also leverage isCIDR()

source-code: https://github.com/tssurya/network-policy-api/tree/final-ocp-crds-4.16-ga

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.

@tssurya
Copy link
Contributor Author

tssurya commented Apr 4, 2024

Would it be possible to automate pulling in the CRDs from https://github.com/kubernetes-sigs/network-policy-api/tree/main/config/crd/standard? hack/update-codegen.sh is the right place for that.

yes but that is a larger change I think? meaning we have the same problem for syncing crds from ovnk upstream like efw, eip, apbr etc in cno which are done manually. We can have a tech debt cleanup?

@kyrtapz
Copy link
Contributor

kyrtapz commented Apr 4, 2024

Would it be possible to automate pulling in the CRDs from https://github.com/kubernetes-sigs/network-policy-api/tree/main/config/crd/standard? hack/update-codegen.sh is the right place for that.

yes but that is a larger change I think? meaning we have the same problem for syncing crds from ovnk upstream like efw, eip, apbr etc in cno which are done manually. We can have a tech debt cleanup?

ovn-k upstream CRDs are not versioned so that would be tricky to achieve, it should be doable here if we use a proper version from the upstream repository.
I am ok with doing the automation as a followup considering the CRD is already in CNO anyway.

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 4, 2024
Copy link
Contributor

openshift-ci bot commented Apr 4, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kyrtapz, tssurya

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

The pull request process is described 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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 4, 2024
@tssurya
Copy link
Contributor Author

tssurya commented Apr 4, 2024

/retest-required

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 395a36a and 2 for PR HEAD aad3a39 in total

@tssurya
Copy link
Contributor Author

tssurya commented Apr 4, 2024

/test e2e-gcp-ovn
/test e2e-azure-ovn

@tssurya
Copy link
Contributor Author

tssurya commented Apr 4, 2024

/test e2e-gcp-ovn-upgrade

@tssurya
Copy link
Contributor Author

tssurya commented Apr 4, 2024

/test e2e-gcp-ovn

Copy link
Contributor

openshift-ci bot commented Apr 4, 2024

@tssurya: 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/e2e-vsphere-ovn-dualstack aad3a39 link false /test e2e-vsphere-ovn-dualstack
ci/prow/e2e-aws-hypershift-ovn-kubevirt aad3a39 link false /test e2e-aws-hypershift-ovn-kubevirt
ci/prow/e2e-ovn-ipsec-step-registry aad3a39 link false /test e2e-ovn-ipsec-step-registry
ci/prow/4.16-upgrade-from-stable-4.15-e2e-gcp-ovn-upgrade aad3a39 link false /test 4.16-upgrade-from-stable-4.15-e2e-gcp-ovn-upgrade
ci/prow/e2e-aws-ovn-single-node aad3a39 link false /test e2e-aws-ovn-single-node
ci/prow/e2e-network-mtu-migration-ovn-ipv4 aad3a39 link false /test e2e-network-mtu-migration-ovn-ipv4
ci/prow/e2e-vsphere-ovn aad3a39 link false /test e2e-vsphere-ovn
ci/prow/e2e-network-mtu-migration-ovn-ipv6 aad3a39 link false /test e2e-network-mtu-migration-ovn-ipv6
ci/prow/security aad3a39 link false /test security
ci/prow/e2e-vsphere-ovn-dualstack-primaryv6 aad3a39 link false /test e2e-vsphere-ovn-dualstack-primaryv6

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

@openshift-merge-bot openshift-merge-bot bot merged commit a267ad2 into openshift:master Apr 4, 2024
25 of 35 checks passed
@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

This PR has been included in build cluster-network-operator-container-v4.16.0-202404050447.p0.ga267ad2.assembly.stream.el9 for distgit cluster-network-operator.
All builds following this will include this PR.

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

None yet

4 participants