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

Harbor Database cleanup doesn't work #20741

Closed
petr202261 opened this issue Jul 14, 2024 · 2 comments
Closed

Harbor Database cleanup doesn't work #20741

petr202261 opened this issue Jul 14, 2024 · 2 comments
Assignees
Labels

Comments

@petr202261
Copy link

My Harbor garbage collection doesn't work. Harbor is running in EKS, its database is AWS RDS and images are stored in S3. The images are not cleaned from S3 at all. It is already 29 TiB. I see logs with errors from RDS (in attachment)
The workaround that was suggested doesn't help - #19494 (comment)

Please, help to fix it. I have no idea how to force Harbor to clean images
postgresql_2024-07-11-1300.txt

@wy65701436
Copy link
Contributor

Let me clarify, it is not the an issue of GC. And the problem will be fixed in the next harbor patch releases.

PR: #20603

@petr202261
Copy link
Author

petr202261 commented Jul 15, 2024

@wy65701436 when this patch will be released? Do I need to clean my db before moving Harbor to a new version? I understood that Harbor replicates data during the version upgrade. So I am concerned that with a big data amount, my Harbor can get stuck.
Do you have a script to clean old Harbor data, so I can run it in my DB?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Completed
Development

No branches or pull requests

3 participants