harbor
harbor copied to clipboard
Error when running Garbage Collection (Logs: object is not found, using s3)
I ran Clean Up, Garbage Collection to clean up the repository (aws s3) while using harbor, but it failed to run with an error.
I tried to click Logs to find out the cause, but the only message is like below.
{"errors":[{"code":"NOT_FOUND","message":"{\"code\":10010,\"message\":\"object is not found\",\"details\":\"log entity: 3374b652710f236be44037b1\"}"}]}
As I said above, I am using aws s3 for storage, and the current size of s3 is about 73TB. When I check the Job Service Dashboard, the GARBAGE_COLLECTION Job seems to be stuck in Pending status, can you tell me the cause and solution? Please let me know if there are any logs in debugging
Versions: Please specify the versions of following systems.
- harbor version: [2.9.1]
- kubernetes version: 1.28.5
@derekcha , could you please try to set the Workers
to 5
? And then retry GC.
@zyyw Thanks for the answer! Unfortunately, it's the same when I set the workers to 5 and run GC. I've tried running it with 1, 3, and 5 workers and it's the same.
@zyyw Do you have any additional advice?
what state about your Garbage Collection task display on web page when you click stop button to stop a running gc task ? it is still running ,is ok or bug ?
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.
This issue was closed because it has been stalled for 30 days with no activity. If this issue is still relevant, please re-open a new issue.