Kernel Module Management 2.0 missing serviceaccount error in operator logs

Solution Verified - Updated -

Issue

Operator logs shows error when a kernel module is removed:

E1002 11:33:10.336195       1 controller.go:324] kmm "msg"="Reconciler error" "error"="could not process orphan statuses: 1 error occurred:\n\t* erorr processing orphan status for Module test-use-dtk/test-use-dtk: could not create the base Pod: could not list pull secrets for worker Pod: could not get ServiceAccount test-use-dtk/dtk-manager: ServiceAccount \"dtk-manager\" not found\n\n" "NodeModulesConfig"={"name":"worker-0-0"} "controller"="NodeModulesConfig" "controllerGroup"="kmm.sigs.x-k8s.io" "controllerKind"="NodeModulesConfig" "name"="worker-0-0" "namespace"="" "reconcileID"="7f3c1345-0dcd-4e05-b7f2-5619c42feac8"

Environment

  • OpenShift Container Platform 4.14
  • Kernel Module Management 2.0 operator
  • A Module and a ServiceAccount are declared at once

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content