-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unexpected EOF #591
Comments
@krep-dr thank you for reporting this issue .
|
It is a clean install. I have not used the trivy-operator before version 0.3.0 |
I guess the output from the scan jobs is corrupted for some reason
|
@krep-dr scan-jobs output is compressed (bzip) and encoded (base64) scan job output. |
yes , look like scan didn't completed successfully are you using |
I'm using the regular scan
|
After triggering the scanner job manually in Kubernetes with args |
@krep-dr lets keep this issue open and track this issue |
@chen-keinan Adding a
Based on that observation, a theory could be that adding a sleep ensures enough time for the full report to be outputted before the pod terminates? Maybe a buffer that needs to be flushed |
@krep-dr thanks for checkin it out. |
@krep-dr I would suggest to try it again with |
@krep-dr please let me know if still issue after |
@chen-keinan thanks. I haven't got around to test it yet. Hopefully I can take a look at it later today or next week |
@krep-dr is this issue can be closed ? |
@chen-keinan apologies for my late response. It seems to be running more stable now with the compression disabled, so let's close it for now 🙂 |
What steps did you take and what happened:
I'm getting a quite a lot of reconciler errors in the trivy-operator log. When the error occurs the scan-vulnerability job has a Completed status but is never cleaned up and no vulnerability report is created. I don't think it is related to the image since a rerun sometimes works.
Thanks.
Anything else you would like to add:
Might be the same problem as described here aquasecurity/starboard#1031
Environment:
trivy-operator version
): 0.3.0kubectl version
): v1.23.9-gke.900The text was updated successfully, but these errors were encountered: