rh-ecosystem-edge / kernel-module-management

The kernel module management operator builds, signs and loads kernel modules on OpenShift.
https://openshift-kmm.netlify.app
Apache License 2.0
27 stars 16 forks source link

Cherry-picking error for `29b6433801e728be975081b0c7d9cad80e17de3a` #1256

Open github-actions[bot] opened 2 days ago

github-actions[bot] commented 2 days ago

gitstream tried to cherry-pick commit 29b6433801e728be975081b0c7d9cad80e17de3a from https://github.com/kubernetes-sigs/kernel-module-management but was unable to do so.

Commit message:

Add support for user defined tolerances to modules

There is a requirement to run selected pods on a cordoned node.
One such example is device driver upgrade. The procedure involves
the node to be cordoned. At the same time, there should be a way
to run house keeping pods that carry out the driver upgrades. These
pods should be schedulable.
This PR adds support to carry the tolerances for the pods that carry
out the house keeping operations. These user defined tolerances will
match the taint that gets added to the nodes.

ModuleSpec will be used to carry the tolerance to the pods which will
be used during pod creation

Please cherry-pick the commit manually.


Error:

could not cherry-pick: error running git: exit status 1

Command: /usr/bin/git cherry-pick -n 29b6433801e728be975081b0c7d9cad80e17de3a -m1

Output ``` Auto-merging api/v1beta1/module_types.go Auto-merging api/v1beta1/zz_generated.deepcopy.go Auto-merging config/crd-hub/bases/hub.kmm.sigs.x-k8s.io_managedclustermodules.yaml Auto-merging config/crd/bases/kmm.sigs.x-k8s.io_modules.yaml Auto-merging config/crd/bases/kmm.sigs.x-k8s.io_nodemodulesconfigs.yaml Auto-merging internal/api/moduleloaderdata.go CONFLICT (modify/delete): internal/build/pod/maker.go deleted in HEAD and modified in 29b64338 (Add support for user defined tolerances to modules). Version 29b64338 (Add support for user defined tolerances to modules) of internal/build/pod/maker.go left in tree. Auto-merging internal/controllers/build_sign_reconciler.go Auto-merging internal/controllers/build_sign_reconciler_test.go Auto-merging internal/controllers/device_plugin_reconciler.go Auto-merging internal/controllers/module_nmc_reconciler.go Auto-merging internal/controllers/module_nmc_reconciler_test.go Auto-merging internal/controllers/nmc_reconciler.go Auto-merging internal/controllers/nmc_reconciler_test.go Auto-merging internal/filter/filter.go Auto-merging internal/module/kernelmapper.go Auto-merging internal/node/node.go Auto-merging internal/node/node_test.go CONFLICT (modify/delete): internal/sign/pod/signer.go deleted in HEAD and modified in 29b64338 (Add support for user defined tolerances to modules). Version 29b64338 (Add support for user defined tolerances to modules) of internal/sign/pod/signer.go left in tree. error: could not apply 29b64338... Add support for user defined tolerances to modules hint: after resolving the conflicts, mark the corrected paths hint: with 'git add ' or 'git rm ' hint: Disable this message with "git config advice.mergeConflict false" ```

Upstream-Commit: 29b6433801e728be975081b0c7d9cad80e17de3a

TomerNewman commented 1 day ago

/assign @TomerNewman