-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Cannot delete scanners. Get 504 Gateway Time-out. #21866
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
Comments
I am still struggling with this issue. I found one thing. I think maybe too many records in my database which stores data on NFS storage is the cause. If Harbor try to clean all relatived records when removing trivy-scanner, it may cause time out due to database performance issue.
Dose anyone knonw how to fix this issue? |
|
If it is a build-in trivy scanner, it can not be removed. |
Sorry for the late reply. @Vad1mo
That's the reason why I stuck at here for many days. Did I do the wrong way for log collecting? @stonezdj |
When deleting trivy scanner, it will not delete record in these two tables. |
Hi all,
I tried to delete trivy scanner which is registered in Habor before. However, I cannot delete it via Harbor UI or even using Harbor restful api. Always get 504 Gateway Time-out.
I also try to see logs from harbor-core container, but I cannot see any error messages from that.
Harbor now is running on K8S, and use NFS to mount all necessary folders in containers.
Here are pods in my harbor namespace.
Does anyone can teach me how to debug or remove trivy scanner in Harbor?
The text was updated successfully, but these errors were encountered: