Description of Problem / Feature Request
I am trying to deploy version 4.0.4 on a kubernetes cluster but the clair pod is throwing the error and then goes in "CrashLoopBackOff" state.
Expected Outcome
Pod should be in running state
Actual Outcome
clair pod is in "CrashLoopBackOff" state.
I am using istio as a sidecar which injects a proxy container in the pod
kubectl logs showing the error:
kubectl logs clair-748c59f954-jq24n -c clair 2021/04/06 15:56:04 initialized failed: failed to initialize libindex: failed to register configured scanners: failed to get scanner id for scnr dpkg: ERROR: relation "scanner" does not exist (SQLSTATE 42P01)
Environment
- Clair version/image: 4.0.4
- Clair client name/version:
- Host OS:
- Kernel (e.g.
uname -a):
- Kubernetes version (use
kubectl version): v1.20.4
- Network/Firewall setup: Istio
Description of Problem / Feature Request
I am trying to deploy version 4.0.4 on a kubernetes cluster but the clair pod is throwing the error and then goes in "CrashLoopBackOff" state.
Expected Outcome
Pod should be in running state
Actual Outcome
clair pod is in "CrashLoopBackOff" state.
I am using istio as a sidecar which injects a proxy container in the pod
kubectl logs showing the error:
kubectl logs clair-748c59f954-jq24n -c clair 2021/04/06 15:56:04 initialized failed: failed to initialize libindex: failed to register configured scanners: failed to get scanner id for scnr dpkg: ERROR: relation "scanner" does not exist (SQLSTATE 42P01)Environment
uname -a):kubectl version): v1.20.4