You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After concluding some seccomp ProfileRecordings, two of the profiles failed to install; one has an empty status and the other is stuck in Terminating:
$ k get sp -A | grep -v Installed
NAMESPACE NAME STATUS AGE
production-campaigns production-campaigns-component 5d2h
production-dialer-api production-dialer-api-setup-emptydir Terminating 5d2h
The following errors are seen in the spod logs, indicating that the annotations could not be updated for these profiles:
E1002 20:04:51.351691 7746 seccompprofile.go:448] "merge base profile" err="update seccomp profile annotations: SeccompProfile.security-profiles-operator.x-k8s.io \"production-campaigns-component\" is invalid: metadata.annotations: Too long: must have at most 262144 bytes" logger="seccomp-spod" profile="production-campaigns-component" namespace="production-campaigns"
E1002 20:05:01.859993 7746 seccompprofile.go:448] "merge base profile" err="update seccomp profile annotations: SeccompProfile.security-profiles-operator.x-k8s.io \"production-dialer-api-setup-emptydir\" is invalid: metadata.annotations: Too long: must have at most 262144 bytes" logger="seccomp-spod" profile="production-dialer-api-setup-emptydir" namespace="production-dialer-api"
What you expected to happen:
All profiles to be in Installed state.
How to reproduce it (as minimally and precisely as possible):
Run profile recordings long enough (~3 days in this case) to generate seccompprofile objects whose JSON representations are longer than 262144 bytes. Although interestingly, we also have some other SPs longer than that which did install without issue and did not generate this error.
Hi @ccojocar, sure, I'll upload an example here... there are indeed a lot of duplicated syscalls, although all of the generated profiles have been like that. I assumed that was just a side effect of the merging : ) Here's the ProfileRecording object that I've used:
What happened:
After concluding some seccomp
ProfileRecording
s, two of the profiles failed to install; one has an empty status and the other is stuck inTerminating
:The following errors are seen in the spod logs, indicating that the annotations could not be updated for these profiles:
What you expected to happen:
All profiles to be in
Installed
state.How to reproduce it (as minimally and precisely as possible):
Run profile recordings long enough (~3 days in this case) to generate
seccompprofile
objects whose JSON representations are longer than 262144 bytes. Although interestingly, we also have some other SPs longer than that which did install without issue and did not generate this error.Anything else we need to know?:
Environment:
cat /etc/os-release
): Amazon Linux 2uname -a
): 5.10.217-205.860.amzn2.x86_64The text was updated successfully, but these errors were encountered: