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

Logs not cleaned even on 0.84.3 #1505

Closed
mieubrisse opened this issue Oct 10, 2023 · 0 comments
Closed

Logs not cleaned even on 0.84.3 #1505

mieubrisse opened this issue Oct 10, 2023 · 0 comments
Assignees
Labels
bug Something isn't working cli For bugs relating to the CLI painful Painful bug

Comments

@mieubrisse
Copy link
Collaborator

What's your CLI version?

0.84.3

Description & steps to reproduce

On 0.84.2, my kurtosis-logs-storage was taking ~10GB of space:

Local Volumes space usage:

VOLUME NAME                                                        LINKS     SIZE
minikube                                                           1         924MB
kurtosis-logs-storage                                              2         9.277GB

I upgraded to 0.84.3:

$ kurtosis version
CLI Version:   0.84.3

To see the engine version (provided it is running): kurtosis engine status

ran kurtosis clean -a:

$ kurtosis clean -a
INFO[2023-10-10T09:16:07-03:00] Cleaning old Kurtosis engine containers...
INFO[2023-10-10T09:16:07-03:00] Successfully cleaned old Kurtosis engine containers
INFO[2023-10-10T09:16:07-03:00] Cleaning enclaves...
INFO[2023-10-10T09:16:07-03:00] Successfully cleaned enclaves
INFO[2023-10-10T09:16:07-03:00] Cleaning unused images...
INFO[2023-10-10T09:16:07-03:00] Successfully removed the following unused images:
kurtosistech/engine:0.84.2
INFO[2023-10-10T09:16:07-03:00] Successfully cleaned unused images

I now have no enclaves:

$ kurtosis enclave ls
UUID   Name   Status   Creation Time

yet, my log volume is still enormous:

$ docker system df -v
....bunch of omitted stuff....

Local Volumes space usage:

VOLUME NAME                                                        LINKS     SIZE
692ebadfc68f9f082fd4fbfd8e0a729f8374cdd7b2d24cbb4d82dd9dfd821ee8   0         39.91MB
kurtosis-logs-storage                                              2         9.277GB

Desired behavior

Post-0.84.3, my kurtosis-logs-storage should have shrank tremendously

What is the severity of this bug?

Painful; this is causing significant friction in my workflow.

What area of the product does this pertain to?

CLI: the Command Line Interface

@mieubrisse mieubrisse added the bug Something isn't working label Oct 10, 2023
@github-actions github-actions bot added cli For bugs relating to the CLI painful Painful bug labels Oct 10, 2023
tedim52 added a commit that referenced this issue Oct 10, 2023
## Description:
Prior to this `kurtosis clean` removed logs for existing running and
stopped enclaves. Now, `kurtosis clean -a` will get rid of all logs from
this year.

## Is this change user facing?
YES

## References
#1505
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli For bugs relating to the CLI painful Painful bug
Projects
None yet
Development

No branches or pull requests

3 participants