Skip to content
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

Garbage collection times out at 30secs #571

Open
imilchev opened this issue Sep 22, 2022 · 3 comments
Open

Garbage collection times out at 30secs #571

imilchev opened this issue Sep 22, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@imilchev
Copy link
Member

Regardless of what the value of the --timeout parameter is for the GC command it would always fail at 30sec. This timeout is coming from inside the scan API. I suppose the scan API's upstream client has a 30sec timeout. Since I have a space with 2.5k assets, I cannot do GC now because I guess such a request would take >30sec

@czunker czunker self-assigned this Oct 28, 2022
@czunker
Copy link
Contributor

czunker commented Oct 31, 2022

Is this still valid? Do you see errors in your logs?

@imilchev
Copy link
Member Author

It is. We ran into this with Patrick last week. However, the issue is not in the operator but in the Mondoo client. The problem is that the backend client we use in the Mondoo client has a 30s timeout, which is not configurable. If we want to fix that, we need to adjust the client

@czunker
Copy link
Contributor

czunker commented Oct 31, 2022

Sounds like two separate problems to me:

  • configurable operator timeout vs. fixed client timeout
  • Why does it take so long to delete the assets?

@czunker czunker added the bug Something isn't working label Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants