test_audit_empty_policy fails with repeated "Failed to read audit log entry"

Bug #1899656 reported by Jason Hobbs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Charmed Kubernetes Testing
Invalid
High
Unassigned
Kubernetes Control Plane Charm
Invalid
High
Unassigned

Bug Description

We this over and over:

Failed to read audit log entry: {"kind":"Event","apiVersion":"audit.k8s.io/v1","level":"Request","auditID":"527bd8a9-d50e-4947-ba44-74dcbb4b1f99","stage":"ResponseStarted","requestURI":"/api/v1/secrets?allowWatchBookmarks=true\u0026resourceVersion=6771\u0026timeout=9m39s\u0026timeoutSeconds=579\u0026watch=true","verb":"watch","user":{"username":"system:serviceaccount:kube-system:kube-sta
Failed to read audit log entry: {"kind":"Event","apiVersion":"audit.k8s.io/v1","level":"Request","auditID":"527bd8a9-d50e-4947-ba44-74dcbb4b1f99","stage":"ResponseStarted","requestURI":"/api/v1/secrets?allowWatchBookmarks=true\u0026resourceVersion=6771\u0026timeout=9m39s\u0026timeoutSeconds=579\u0026watch=true","verb":"watch","user":{"username":"system:serviceaccount:kube-system:kube-sta
Failed to read audit log entry: {"kind":"Event","apiVersion":"audit.k8s.io/v1","level":"Request","auditID":"527bd8a9-d50e-4947-ba44-74dcbb4b1f99","stage":"ResponseStarted","requestURI":"/api/v1/secrets?allowWatchBookmarks=true\u0026resourceVersion=6771\u0026timeout=9m39s\u0026timeoutSeconds=579\u0026watch=true","verb":"watch","user":{"username":"system:serviceaccount:kube-system:kube-sta

https://solutions.qa.canonical.com/testruns/testRun/61eb3c3c-9a8f-4851-bd28-0ca30863860e for details

Revision history for this message
George Kraft (cynerva) wrote :

Thanks, we have seen this in our own CI from time to time as well. I thought we had an issue open about it already, but I can't find it. This has been a difficult one to diagnose.

Changed in charmed-kubernetes-testing:
importance: Undecided → High
Changed in charm-kubernetes-master:
importance: Undecided → High
Changed in charmed-kubernetes-testing:
status: New → Triaged
Changed in charm-kubernetes-master:
status: New → Triaged
Revision history for this message
Alexander Balderson (asbalderson) wrote :

we've also seen this bug with "audit_custom_policy"

Revision history for this message
Konstantinos Kaskavelis (kaskavel) wrote :

Closing this due to inactivity (low number of occurrences, and no hit for more than one year)

tags: added: solutions-qa-expired
Changed in charmed-kubernetes-testing:
status: Triaged → Invalid
Changed in charm-kubernetes-master:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.