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

[release-4.13] [manual] OCPBUGS-24353:rps:cherry-picks of rps fixes #865

Merged

Conversation

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

@Tal-or: This pull request references Jira Issue OCPBUGS-24353, which is invalid:

  • expected the bug to target either version "4.13." or "openshift-4.13.", but it targets "4.14.0" instead
  • expected Jira Issue OCPBUGS-24353 to depend on a bug targeting a version in 4.14.0, 4.14.z and in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA), but no dependents were found

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:

Manual backport of:

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.

@Tal-or
Copy link
Contributor Author

Tal-or commented Dec 3, 2023

/cc @yanirq

@Tal-or
Copy link
Contributor Author

Tal-or commented Dec 3, 2023

/jira refresh

@openshift-ci-robot
Copy link
Contributor

@Tal-or: This pull request references Jira Issue OCPBUGS-24353, which is invalid:

  • expected Jira Issue OCPBUGS-24353 to depend on a bug targeting a version in 4.14.0, 4.14.z and in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA), but no dependents were found

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.

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.

@jmencak
Copy link
Contributor

jmencak commented Dec 3, 2023

/approve

Copy link
Contributor

openshift-ci bot commented Dec 3, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jmencak, Tal-or

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 Dec 3, 2023
@yanirq
Copy link
Contributor

yanirq commented Dec 3, 2023

/retest

@yanirq
Copy link
Contributor

yanirq commented Dec 4, 2023

/lgtm

@yanirq
Copy link
Contributor

yanirq commented Dec 4, 2023

/label backport-risk-assessed

@openshift-ci openshift-ci bot added the backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. label Dec 4, 2023
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Dec 4, 2023
@yanirq
Copy link
Contributor

yanirq commented Dec 4, 2023

/cc @shajmakh @mrniranjan

@Tal-or
Copy link
Contributor Author

Tal-or commented Dec 26, 2023

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 26, 2023
@shajmakh
Copy link
Contributor

shajmakh commented Jan 3, 2024

/label cherry-pick-approved

@openshift-ci openshift-ci bot added the cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. label Jan 3, 2024
@yanirq
Copy link
Contributor

yanirq commented Jan 17, 2024

@Tal-or do we still need to hold this PR ?

@Tal-or Tal-or force-pushed the rps_bug_fix_manual_backport branch from 37d0d95 to 47e97df Compare February 6, 2024 16:15
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Feb 6, 2024
@Tal-or Tal-or changed the title [release-4.13] [manual] OCPBUGS-24353:rps:trigger udev event per queue [release-4.13] [manual] OCPBUGS-24353:rps:cherry-picks of rps fixes Feb 6, 2024
This commit sqush couple of backported commits from newer versions
that suppose to fix all the various rps issues we had in the past.

The fixes are as follow:
1. Instead of trigger udev event per physical device creation,
triggers it per queue creation so in case of queue resize
(i.e. more queues are added) it applies the correct rps mask on the
new created queues as well.

2. fix mask update for SR-IOV devices
* rps:udev: escape systemd unit name

The journal spammed by warnings about the fact that systemd unit name
is not escaped.

we use systemd-escape in order to escape the unit-name properly.
`--path` is for telling systemd-escape that the input is a valid file path name.
`--template` is telling systemd-escape to inserts the escaped strings in a unit name template.

%c accepts the output of `PROGRAM`

* rps:udev: act upon move action

SR-IOV devices get moved (renamed) upon their creation.
This causes the `set-rps-mask.sh` to fail since the queue's path has changed.

We should add additional udev rule to act upon the move of a physical device
and set the rps mask correctly.

The `set-rps-mask.sh` script has modified to act upon those two
different scenarios:
a. when queues are being added.
b. when net device is moved.

In addition we fail silently (return 0) when queues are failed to get
updated due to the mentioned above.
The queues that were failed to get updated, are expected to be updated
by the instance that get trrigered after the device move (renaming).

3. rps: fail silently when rps application failed
In case the device gets removed completely,
We want to hide the error,
becuase we should not care of applying rps mask for devices
which are gone anyway.

Signed-off-by: Talor Itzhak <titzhak@redhat.com>
@Tal-or Tal-or force-pushed the rps_bug_fix_manual_backport branch from 47e97df to d034900 Compare February 6, 2024 16:16
@Tal-or
Copy link
Contributor Author

Tal-or commented Feb 6, 2024

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 6, 2024
@yanirq
Copy link
Contributor

yanirq commented Feb 6, 2024

/uncc @marioferh

@openshift-ci openshift-ci bot removed the request for review from marioferh February 6, 2024 16:25
@Tal-or
Copy link
Contributor Author

Tal-or commented Feb 11, 2024

/retest

Copy link
Contributor

openshift-ci bot commented Feb 11, 2024

@Tal-or: all tests passed!

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.

@Tal-or
Copy link
Contributor Author

Tal-or commented Feb 14, 2024

/jira refresh

@openshift-ci-robot
Copy link
Contributor

@Tal-or: This pull request references Jira Issue OCPBUGS-24353, which is invalid:

  • expected Jira Issue OCPBUGS-24353 to depend on a bug targeting a version in 4.14.0, 4.14.z and in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA), but no dependents were found

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:

/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 openshift-eng/jira-lifecycle-plugin repository.

@Tal-or
Copy link
Contributor Author

Tal-or commented Feb 14, 2024

/jira refresh

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Feb 14, 2024
@openshift-ci-robot
Copy link
Contributor

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

6 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.13.z) matches configured target version for branch (4.13.z)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)
  • dependent bug Jira Issue OCPBUGS-21845 is in the state Closed (Done-Errata), which is one of the valid states (VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA))
  • dependent Jira Issue OCPBUGS-21845 targets the "4.14.0" version, which is one of the valid target versions: 4.14.0, 4.14.z
  • bug has dependents

Requesting review from QA contact:
/cc @gsr-shanks

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 openshift-eng/jira-lifecycle-plugin repository.

@yanirq
Copy link
Contributor

yanirq commented Feb 21, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 21, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 4ce5b75 into openshift:release-4.13 Feb 21, 2024
11 checks passed
@openshift-ci-robot
Copy link
Contributor

@Tal-or: Jira Issue OCPBUGS-24353: All pull requests linked via external trackers have merged:

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

In response to this:

Manual backport of:

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

[ART PR BUILD NOTIFIER]

This PR has been included in build cluster-node-tuning-operator-container-v4.13.0-202402211438.p0.g4ce5b75.assembly.stream.el9 for distgit cluster-node-tuning-operator.
All builds following this will include this PR.

@openshift-merge-robot
Copy link
Contributor

Fix included in accepted release 4.13.0-0.nightly-2024-02-22-101141

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. backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. 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

8 participants