Skip to content

OCPBUGS-12856: Support Device Plugin Resources For Smart NIC and DPU Hosts#1721

Merged
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
wizhaoredhat:support_device_plugin_resources_for_smart_nic_and_dpu
May 6, 2023
Merged

OCPBUGS-12856: Support Device Plugin Resources For Smart NIC and DPU Hosts#1721
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
wizhaoredhat:support_device_plugin_resources_for_smart_nic_and_dpu

Conversation

@wizhaoredhat
Copy link
Contributor

Removed the NodeMode from the dpu-mode config map. This was done because the design has changed from using a cluster wide node mode to using node labels to identify Full, DPU Host, DPU, and Smart NIC nodes in the cluster.

The node labels can be overridden from the default values by using the config map. The resource-name is mandatory field of the config map and is needed for DPU Host and Smart NIC nodes to support the management port feature in OVN-K.

An additional daemonset is rendered if there is Smart NIC nodes in the cluster similarly with the DPU Host nodes.

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 27, 2023
@openshift-ci openshift-ci bot requested review from abhat and dcbw February 27, 2023 23:00
@wizhaoredhat
Copy link
Contributor Author

wizhaoredhat commented Feb 27, 2023

@zshi-redhat @bn222 PTAL.

@wizhaoredhat wizhaoredhat force-pushed the support_device_plugin_resources_for_smart_nic_and_dpu branch 3 times, most recently from 6201164 to 48b46ea Compare March 6, 2023 23:26
@wizhaoredhat wizhaoredhat changed the title [WIP] Support Device Plugin Resources For Smart NIC and DPU Hosts Support Device Plugin Resources For Smart NIC and DPU Hosts Mar 6, 2023
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 6, 2023
@wizhaoredhat wizhaoredhat force-pushed the support_device_plugin_resources_for_smart_nic_and_dpu branch from 48b46ea to bddde3b Compare March 6, 2023 23:45
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 8, 2023
@wizhaoredhat wizhaoredhat force-pushed the support_device_plugin_resources_for_smart_nic_and_dpu branch from bddde3b to 386ce79 Compare March 9, 2023 20:40
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 9, 2023
@zshi-redhat
Copy link
Contributor

Removed the NodeMode from the dpu-mode config map. This was done because the design has changed from using a cluster wide node mode to using node labels to identify Full, DPU Host, DPU, and Smart NIC nodes in the cluster.

The node labels can be overridden from the default values by using the config map. The resource-name is mandatory field of the config map and is needed for DPU Host and Smart NIC nodes to support the management port feature in OVN-K.

The resource name is mandatory field for DPU Host node/mode, but not Smart NIC node/mode, right?

@zshi-redhat
Copy link
Contributor

/cc @jcaamano

@openshift-ci openshift-ci bot requested a review from jcaamano March 14, 2023 05:13
@zshi-redhat
Copy link
Contributor

/cc @pliurh

@openshift-ci openshift-ci bot requested a review from pliurh March 14, 2023 05:13
@wizhaoredhat
Copy link
Contributor Author

Removed the NodeMode from the dpu-mode config map. This was done because the design has changed from using a cluster wide node mode to using node labels to identify Full, DPU Host, DPU, and Smart NIC nodes in the cluster.
The node labels can be overridden from the default values by using the config map. The resource-name is mandatory field of the config map and is needed for DPU Host and Smart NIC nodes to support the management port feature in OVN-K.

The resource name is mandatory field for DPU Host node/mode, but not Smart NIC node/mode, right?

Yes there is a check in OVN-K

@wizhaoredhat wizhaoredhat force-pushed the support_device_plugin_resources_for_smart_nic_and_dpu branch 2 times, most recently from ac71a2e to 8769e85 Compare March 16, 2023 20:22
@wizhaoredhat wizhaoredhat force-pushed the support_device_plugin_resources_for_smart_nic_and_dpu branch 2 times, most recently from 33ead79 to b7f34ff Compare March 31, 2023 03:46
@wizhaoredhat
Copy link
Contributor Author

@jcaamano @zshi-redhat @pliurh PTAL.

@wizhaoredhat wizhaoredhat force-pushed the support_device_plugin_resources_for_smart_nic_and_dpu branch from b7f34ff to 1c01fb6 Compare April 15, 2023 02:55
@jcaamano
Copy link
Contributor

/approve
/lgtm

@jcaamano
Copy link
Contributor

/hold

until we can merge stuff on 4.14

@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 Apr 20, 2023
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 20, 2023
Copy link
Contributor

@flavio-fernandes flavio-fernandes left a comment

Choose a reason for hiding this comment

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

/lgtm

@wizhaoredhat wizhaoredhat changed the title Support Device Plugin Resources For Smart NIC and DPU Hosts OCPBUGS-12856: Support Device Plugin Resources For Smart NIC and DPU Hosts Apr 27, 2023
@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 Apr 27, 2023
@openshift-ci-robot
Copy link
Contributor

@wizhaoredhat: This pull request references Jira Issue OCPBUGS-12856, which is invalid:

  • expected the bug to target the "4.14.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.

Details

In response to this:

Removed the NodeMode from the dpu-mode config map. This was done because the design has changed from using a cluster wide node mode to using node labels to identify Full, DPU Host, DPU, and Smart NIC nodes in the cluster.

The node labels can be overridden from the default values by using the config map. The resource-name is mandatory field of the config map and is needed for DPU Host and Smart NIC nodes to support the management port feature in OVN-K.

An additional daemonset is rendered if there is Smart NIC nodes in the cluster similarly with the DPU Host nodes.

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.

@wizhaoredhat
Copy link
Contributor Author

/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. bugzilla/valid-bug Indicates that a referenced Bugzilla 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 Apr 27, 2023
@openshift-ci-robot
Copy link
Contributor

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

Requesting review from QA contact:
/cc @anuragthehatter

Details

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.

@openshift-ci openshift-ci bot requested a review from anuragthehatter April 27, 2023 14:03
Removed the NodeMode from the dpu-mode config map. This was done
because the design has changed from using a cluster wide node mode
to using node labels to identify Full, DPU Host, DPU, and Smart NIC
nodes in the cluster.

The node labels can be overridden from the default values by using the
config map. The resource-name is mandatory field of the config map and
is needed for DPU Host and Smart NIC nodes to support the management
port feature in OVN-K.

An additional daemonset is rendered if there is Smart NIC nodes in the
cluster similarly with the DPU Host nodes.

Signed-off-by: William Zhao <wizhao@redhat.com>
@wizhaoredhat wizhaoredhat force-pushed the support_device_plugin_resources_for_smart_nic_and_dpu branch from 1c01fb6 to 0bb035e Compare April 27, 2023 14:08
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Apr 27, 2023
Copy link
Contributor

@flavio-fernandes flavio-fernandes left a comment

Choose a reason for hiding this comment

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

/lgtm

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

openshift-ci bot commented Apr 27, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: flavio-fernandes, jcaamano, wizhaoredhat

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

@flavio-fernandes
Copy link
Contributor

/retest-required

@wizhaoredhat
Copy link
Contributor Author

/retest

@jcaamano
Copy link
Contributor

jcaamano commented May 5, 2023

/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 May 5, 2023
@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 0a4d1fa and 2 for PR HEAD 0bb035e in total

@wizhaoredhat
Copy link
Contributor Author

/retest-required

@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 6, 2023

@wizhaoredhat: all tests passed!

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-merge-robot openshift-merge-robot merged commit 59167ed into openshift:master May 6, 2023
@openshift-ci-robot
Copy link
Contributor

@wizhaoredhat: Jira Issue OCPBUGS-12856: All pull requests linked via external trackers have merged:

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

Details

In response to this:

Removed the NodeMode from the dpu-mode config map. This was done because the design has changed from using a cluster wide node mode to using node labels to identify Full, DPU Host, DPU, and Smart NIC nodes in the cluster.

The node labels can be overridden from the default values by using the config map. The resource-name is mandatory field of the config map and is needed for DPU Host and Smart NIC nodes to support the management port feature in OVN-K.

An additional daemonset is rendered if there is Smart NIC nodes in the cluster similarly with the DPU Host nodes.

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.

6 participants

Comments