Secured cluster installation failed due to missing scanner-tls secret.

Solution Verified - Updated -

Issue

  • Multiple try of un-installation and re-installation of Secured cluster through Operator leads Scanner, Scanner-db pods stuck in containercreating state because it didn't find Scanner-tls and Scanner-db-tls secrets.
Warning FailedMount 2s (x6 over 18s) kubelet MountVolume.SetUp failed for volume "scanner-tls-volume" : secret "scanner-tls" not found
  • Even sensor pod logs shows below error messages.
kubernetes/localscanner:  cert_refresher.go:109: Warn: local scanner certificates not found (this is expected on a new deployment), will refresh certificates immediately: 2 errors occurred:
    secrets "scanner-db-tls" not found
    secrets "scanner-tls" not found

Environment

  • Red Hat OpenShift Container Platform (RHOCP) 4
  • Red Hat Advanced Cluster Security for Kubernetes (RHACS)
    • 3.74, 4.x

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