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-21773: Downstream Merge 22nd November 2023 #1958

Merged
merged 27 commits into from Nov 27, 2023

Conversation

pperiyasamy
Copy link
Member

wizhaoredhat and others added 27 commits October 16, 2023 18:40
There was additional code to handle the OVN-IC zones from the SBDB to
support OVN-IC. Since the DPU-Host mode assumes that OVN does not run
alongside it, the code needed to be modified to prevent accesses to the
OVN DBs.

Co-authored-by: Riccardo Ravaioli <rravaiol@redhat.com>
Signed-off-by: William Zhao <wizhao@redhat.com>
The "GetNodePrimaryIP" does not return a CIDR address. We should
pass the ifaddr from the gateway bridge.

Signed-off-by: William Zhao <wizhao@redhat.com>
The commit 7dc4804 added the ovnkube-identity
binary to the Fedora Dockerfiles.

This patch updates the Ubuntu one.

Signed-off-by: Alin-Gabriel Serdean <aserdean@ovn.org>
… version of OVN

Signed-off-by: Alin-Gabriel Serdean <aserdean@ovn.org>
If GetVdpaDeviceByPci returns an error we should log the result and allow GetSriovnetOps
to run instead of bailing out.

This patch makes GetVdpaDeviceByPci errors non fatal.

Found while testing on a ConnectX environment.

Signed-off-by: Alin-Gabriel Serdean <aserdean@ovn.org>
We should not fail silently if a pod is running on a node that does not
exist

Signed-off-by: Ben Pickard <bpickard@redhat.com>
Signed-off-by: Ben Pickard <bpickard@redhat.com>
Running make check as root on Ubuntu 22.04, make complains with the following:


  /go/src/github.com/ovn-org/ovn-kubernetes/go-controller/pkg/node/gateway_init_linux_test.go:1387                                                        [42/9265]    sets up a shared interface gateway DPU host
    /go/src/github.com/ovn-org/ovn-kubernetes/go-controller/pkg/testing/testing.go:18

    Unexpected error:
        <*errors.errorString | 0xc000c0be50>:
        mount --make-rshared /var/run/netns failed: "permission denied"
        {
            s: "mount --make-rshared /var/run/netns failed: \"permission denied\"",
        }
    occurred

This patch runs container in privileged mode to overcome all permissions.

Signed-off-by: Alin-Gabriel Serdean <aserdean@ovn.org>
go-controller/Makefile: Fix make check on Ubuntu
sriovnet_linux: Make GetVdpaDeviceByPci errors non fatal
Ignore pod allocation errors during sync if no node exists
the OpenShift that using OVN network should be starting from version 4.10

Signed-off-by: krescent <c54444263@gmail.com>
…e-node in DPU mode

ovn_enable_ovnkube_identity is enabled by default for all modes of ovnkube-node.

This patch allows the user to disable ovn_enable_ovnkube_identity in ovnkube-node-dpu-host.

Signed-off-by: Alin-Gabriel Serdean <aserdean@ovn.org>
While testing I found that ovnkube-node-dpu-host can't set the required
pod annotations because it was lacking permissions.

Signed-off-by: Alin-Gabriel Serdean <aserdean@ovn.org>
…ss of success of failure

Signed-off-by: jordigilh <jgil@redhat.com>
/usr/sbin/iptables is the de facto path for iptables in most
distributions. Notably, since kind switched to Debian 11-based images,
ovn-kubernetes fails to deploy there because Debian 11 provides
iptables *only* in /usr/sbin.

On Ubuntu and Fedora, /sbin and /usr/sbin are the same directory, so
iptables is available in both location and nothing changes there.
Debian 12 and later also have the same setup.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
Use /usr/sbin/iptables instead of /sbin/iptables
Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
Use /usr/sbin/iptables6 instead of /sbin/iptables6
Signed-off-by: Jose Castillo Lema <josecastillolema@gmail.com>
This commit makes default network controller to wait for Encap entry
to be created because in some cases local node add event is received
a bit later than network controller and it looks up for encap entry
and giving up on starting ovnkube controller.

Signed-off-by: Periyasamy Palanisamy <pepalani@redhat.com>
…atic hop IP field

Signed-off-by: Jordi Gil <jgil@redhat.com>
Fix templating around ovnkube-node-dpu-host
@openshift-ci-robot openshift-ci-robot added jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. labels Nov 22, 2023
@openshift-ci-robot openshift-ci-robot added the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label Nov 22, 2023
@openshift-ci-robot
Copy link
Contributor

@pperiyasamy: This pull request references Jira Issue OCPBUGS-21773, which is invalid:

  • expected the bug to target the "4.15.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

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

In response to this:

/cc @wizhaoredhat @ricky-rav @aserdean @trozet @bpickard22 @jordigilh @skitt @jcaamano @dcbw @tssurya

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.

@pperiyasamy
Copy link
Member Author

/jira refresh

@openshift-ci-robot openshift-ci-robot added the jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. label Nov 22, 2023
Copy link
Contributor

openshift-ci bot commented Nov 22, 2023

@pperiyasamy: GitHub didn't allow me to request PR reviews from the following users: aserdean.

Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

/cc @wizhaoredhat @ricky-rav @aserdean @trozet @bpickard22 @jordigilh @skitt @jcaamano @dcbw @tssurya

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-ci-robot openshift-ci-robot removed the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label Nov 22, 2023
@openshift-ci-robot
Copy link
Contributor

@pperiyasamy: This pull request references Jira Issue OCPBUGS-21773, 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.15.0) matches configured target version for branch (4.15.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)

No GitHub users were found matching the public email listed for the QA contact in Jira (yli2@redhat.com), skipping review request.

In response to this:

/jira refresh

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.

@ricky-rav
Copy link
Contributor

/retest

@pperiyasamy
Copy link
Member Author

/retest-required

Copy link
Contributor

openshift-ci bot commented Nov 23, 2023

@pperiyasamy: 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-openstack-ovn e84f669 link false /test e2e-openstack-ovn
ci/prow/security e84f669 link false /test security

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.

@dcbw dcbw added approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. labels Nov 24, 2023
Copy link
Contributor

openshift-ci bot commented Nov 24, 2023

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by: pperiyasamy

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-merge-bot openshift-merge-bot bot merged commit 6ec3f5c into openshift:master Nov 27, 2023
28 of 30 checks passed
@openshift-ci-robot
Copy link
Contributor

@pperiyasamy: Jira Issue OCPBUGS-21773: All pull requests linked via external trackers have merged:

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

In response to this:

/cc @wizhaoredhat @ricky-rav @aserdean @trozet @bpickard22 @jordigilh @skitt @jcaamano @dcbw @tssurya

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-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

This PR has been included in build ose-ovn-kubernetes-base-container-v4.15.0-202311271609.p0.g6ec3f5c.assembly.stream for distgit ovn-kubernetes-base.
All builds following this will include this PR.

@openshift-merge-robot
Copy link
Contributor

Fix included in accepted release 4.15.0-0.nightly-2023-11-28-101923

@openshift-merge-robot
Copy link
Contributor

Fix included in accepted release 4.15.0-0.nightly-2023-12-02-123536

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/severity-important Referenced Jira bug's severity is important 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.

None yet