Skip to content

TELCODOCS-2344: cp binary in kmod image #95119

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

StephenJamesSmith
Copy link
Contributor

@StephenJamesSmith StephenJamesSmith commented Jun 23, 2025

Document the minimum requirements for the kmod image

Version(s):
openshift-4.19
KMMO 2.4

Issue:
https://issues.redhat.com/browse/TELCODOCS-2344

Link to docs preview:
https://95119--ocpdocs-pr.netlify.app/openshift-enterprise/latest/hardware_enablement/kmm-kernel-module-management#kmm-creating-kmod-image_kernel-module-management-operator

Dev: @ybettan
QE: @cdvultur

QE review:

  • QE has approved this change.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jun 23, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Jun 23, 2025

@StephenJamesSmith: This pull request references TELCODOCS-2344 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.20.0" version, but no target version was set.

In response to this:

Document the minimum requirements for the kmod image

Version(s):
openshift-4.19
KMMO 2.4

Issue:
https://issues.redhat.com/browse/TELCODOCS-2344

Link to docs preview:

Dev: @ybettan
QE: @cdvultur

QE review:

QE has approved this change.

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 added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jun 23, 2025
@ocpdocs-previewbot
Copy link

ocpdocs-previewbot commented Jun 23, 2025

@openshift-ci-robot
Copy link

openshift-ci-robot commented Jun 23, 2025

@StephenJamesSmith: This pull request references TELCODOCS-2344 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.20.0" version, but no target version was set.

In response to this:

Document the minimum requirements for the kmod image

Version(s):
openshift-4.19
KMMO 2.4

Issue:
https://issues.redhat.com/browse/TELCODOCS-2344

Link to docs preview:
https://95119--ocpdocs-pr.netlify.app/openshift-enterprise/latest/hardware_enablement/kmm-kernel-module-management#kmm-creating-kmod-image_kernel-module-management-operator

Dev: @ybettan
QE: @cdvultur

QE review:

QE has approved this change.

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

openshift-ci-robot commented Jun 23, 2025

@StephenJamesSmith: This pull request references TELCODOCS-2344 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.20.0" version, but no target version was set.

In response to this:

Document the minimum requirements for the kmod image

Version(s):
openshift-4.19
KMMO 2.4

Issue:
https://issues.redhat.com/browse/TELCODOCS-2344

Link to docs preview:
https://95119--ocpdocs-pr.netlify.app/openshift-enterprise/latest/hardware_enablement/kmm-kernel-module-management#kmm-creating-kmod-image_kernel-module-management-operator

Dev: @ybettan
QE: @cdvultur

QE review:

  • [] QE has approved this change.

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.

@StephenJamesSmith
Copy link
Contributor Author

@ybettan @cdvultur Please review and /lgtm if all is good.

@openshift-ci-robot
Copy link

openshift-ci-robot commented Jun 23, 2025

@StephenJamesSmith: This pull request references TELCODOCS-2344 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.20.0" version, but no target version was set.

In response to this:

Document the minimum requirements for the kmod image

Version(s):
openshift-4.19
KMMO 2.4

Issue:
https://issues.redhat.com/browse/TELCODOCS-2344

Link to docs preview:
https://95119--ocpdocs-pr.netlify.app/openshift-enterprise/latest/hardware_enablement/kmm-kernel-module-management#kmm-creating-kmod-image_kernel-module-management-operator

Dev: @ybettan
QE: @cdvultur

QE review:

  • QE has approved this change.

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.

@ybettan
Copy link
Member

ybettan commented Jun 24, 2025

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jun 24, 2025
Copy link

@cdvultur cdvultur left a comment

Choose a reason for hiding this comment

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

/lgtm

@StephenJamesSmith
Copy link
Contributor Author

/label telco

@openshift-ci openshift-ci bot added the telco Label for all Telco PRs label Jun 24, 2025
@StephenJamesSmith
Copy link
Contributor Author

/label peer-review-needed

@openshift-ci openshift-ci bot added the peer-review-needed Signifies that the peer review team needs to review this PR label Jun 24, 2025
@mburke5678 mburke5678 added the peer-review-in-progress Signifies that the peer review team is reviewing this PR label Jun 24, 2025
@@ -13,3 +13,5 @@ Keep the following in mind when working with the `.ko` files:

* In most cases, `<prefix>` should be equal to `/opt`. This is the `Module` CRD's default value.
* `kernel-version` must not be empty and must be equal to the kernel version the kernel modules were built for.

In addition to the `.ko` files, the kmod image also requires the `cp` binary to be present as the `.ko` files are copied from this image to the image-loader worker pod created by the Operator. This is a minimal requirement and no other binary tool is required in the image.
Copy link
Contributor

Choose a reason for hiding this comment

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

Per ISG: Do not use (as) to mean because or while.

Not sure which is right:

Suggested change
In addition to the `.ko` files, the kmod image also requires the `cp` binary to be present as the `.ko` files are copied from this image to the image-loader worker pod created by the Operator. This is a minimal requirement and no other binary tool is required in the image.
In addition to the `.ko` files, the kmod image also requires the `cp` binary to be present while the `.ko` files are copied from this image to the image-loader worker pod created by the Operator. This is a minimal requirement and no other binary tool is required in the image.
Suggested change
In addition to the `.ko` files, the kmod image also requires the `cp` binary to be present as the `.ko` files are copied from this image to the image-loader worker pod created by the Operator. This is a minimal requirement and no other binary tool is required in the image.
In addition to the `.ko` files, the kmod image also requires the `cp` binary to be present, because the `.ko` files are copied from this image to the image-loader worker pod created by the Operator. This is a minimal requirement and no other binary tool is required in the image.

Copy link
Contributor

Choose a reason for hiding this comment

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

Also, does image-loader need mark-up? Is this the name of the pod?

image-loader worker pod

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed to "because". Not the name of the pod.

@mburke5678
Copy link
Contributor

@StephenJamesSmith A couple of comments, otherwise LGTM

@mburke5678 mburke5678 added peer-review-done Signifies that the peer review team has reviewed this PR and removed peer-review-in-progress Signifies that the peer review team is reviewing this PR peer-review-needed Signifies that the peer review team needs to review this PR labels Jun 24, 2025
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Jun 24, 2025
Copy link

openshift-ci bot commented Jun 24, 2025

@StephenJamesSmith: 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-sigs/prow repository. I understand the commands that are listed here.

@ybettan
Copy link
Member

ybettan commented Jun 25, 2025

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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. peer-review-done Signifies that the peer review team has reviewed this PR size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. telco Label for all Telco PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants