-
Notifications
You must be signed in to change notification settings - Fork 14
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
support inTree removal scenario for nodes without .ko files #1210
support inTree removal scenario for nodes without .ko files #1210
Conversation
Modprobe will fail with error in case it cannot find an appropriate .ko file when asked to remove a kernel module. With in-tree removal scenario, modporbe search path is /lib/modules on the host, and not the worker image. This PR contains the following: 1) Adding FileExists function that check the presence of a file under a search path based on a regexp 2) in worker flow, in case in-tree removal scenario is requisted, worker will verify if the requested .ko file(s) are present on the host, remove from the request missing files and will proceed with the removal scenario for the rest 3) unit-test
✅ Deploy Preview for openshift-kmm ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: yevgeny-shnaidman 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 |
/lgtm |
Fixes1208 |
/test e2e |
3 similar comments
/test e2e |
/test e2e |
/test e2e |
/retest |
/test e2e-hub |
/test e2e |
/test operator-upgrade |
ed8e38a
into
rh-ecosystem-edge:main
Modprobe will fail with error in case it cannot find an appropriate .ko file when asked to remove a kernel module. With in-tree removal scenario, modporbe search path is /lib/modules on the host, and not the worker image.
This PR contains the following:
a search path based on a regexp
will verify if the requested .ko file(s) are present on the host,
remove from the request missing files and will proceed with the
removal scenario for the rest