Comments (9)
I am using Harbor 1.7.4
from harbor.tagd.
remove tags are showing 0 it should show 201
from harbor.tagd.
@thatsk that is odd. Can you run tagd again with --verbosity verbose
and put the full log in a gist?
from harbor.tagd.
⎈docker run -it --rm -v /root/Harbor.Tagd/config.yml:/config.yml hylandsoftware/tagd:1.0.26 --config-file /config.yml --endpoint https://harbor --insecure-disable-certificate-validation --verbosity verbose -u admin -p Harbor12345
[06:02:38 WRN] Ignoring Certificate Errors
[06:02:38 INF] Loading rules using Harbor.Tagd.Rules.FilesystemRuleProvider
[06:02:38 WRN] The rule provider did not return any explicit tag rules
[06:02:38 VRB] Using default rule {'Project': '.', 'Repo': '.', 'Tag': '.*', 'Keep': 10, 'Ignore': [latest,3.8]}
[06:02:38 VRB] Ignoring the following projects: ["buildagent"]
[06:02:38 VRB] Ignoring the following repos: ["maven-build-agent"]
[06:02:38 VRB] Ignoring the following tags: ["latest"]
[06:02:38 WRN] Running in report-only mode. To delete tags, run with --destructive
[06:02:38 INF] Connecting to https://harbor as admin
[06:02:38 INF] Running in report-only mode
[06:02:39 DBG] Newer version of harbor found, using 1.7.0+ login route
[06:02:39 VRB] Skipping project buildagent
[06:02:39 INF] Processing project {"Id": 3, "Name": "infra"}
[06:02:39 INF] Processing project {"Id": 7, "Name": "mobitv"}
[06:02:39 INF] Processing project {"Id": 2, "Name": "os"}
[06:02:39 INF] Processing repository {"Id": 12, "Name": "os/alpine", "TagCount": 92}
[06:02:40 INF] Tag os/alpine:3.8 skipped because it was found in an ignore list that applies to os/alpine
[06:02:40 VRB] 0 rules to process for os/alpine
[06:02:40 VRB] Processing default rule on 91 remaining tags for os/alpine
[06:02:40 INF] Tag os/alpine:9.3 kept by default rule
[06:02:40 INF] Tag os/alpine:3.9 kept by default rule
[06:02:40 INF] Tag os/alpine:4.9 kept by default rule
[06:02:40 INF] Tag os/alpine:8.7 kept by default rule
[06:02:40 INF] Tag os/alpine:2.3 kept by default rule
[06:02:40 INF] Tag os/alpine:2.0 kept by default rule
[06:02:40 INF] Tag os/alpine:6.9 kept by default rule
[06:02:40 INF] Tag os/alpine:7.0 kept by default rule
[06:02:40 INF] Tag os/alpine:2.1 kept by default rule
[06:02:40 INF] Tag os/alpine:5.8 kept by default rule
[06:02:40 INF] Processing repository {"Id": 1, "Name": "os/centos", "TagCount": 2}
[06:02:40 VRB] 0 rules to process for os/centos
[06:02:40 VRB] Processing default rule on 2 remaining tags for os/centos
[06:02:40 INF] Tag os/centos:7.6.1 kept by default rule
[06:02:41 INF] Tag os/centos:6.9 kept by default rule
[06:02:41 INF] Processing project {"Id": 1, "Name": "library"}
[06:02:41 INF] Processing project {"Id": 5, "Name": "application"}
[06:02:41 INF] Processing repository {"Id": 11, "Name": "application/httpd", "TagCount": 1}
[06:02:41 VRB] 0 rules to process for application/httpd
[06:02:41 VRB] Processing default rule on 1 remaining tags for application/httpd
[06:02:41 INF] Tag application/httpd:2.2 kept by default rule
[06:02:41 INF] Processing project {"Id": 6, "Name": "snapshot"}
[06:02:41 INF] Keeping tags that refer to the same image as an explicitly kept or ignored tag
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "7.7", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "4.7", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "2.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "1.5", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "5.2", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "2.9", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "2.5", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "5.1", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "9.7", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "3.4", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "2.7", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "4.6", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "4.4", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "8.1", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "5.6", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "8.4", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "5.0", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "9.1", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "6.7", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "1.2", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "6.2", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "2.6", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "8.6", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "3.3", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "4.0", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "7.6", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "1.9", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "9.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "5.7", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "8.5", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "4.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "2.2", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "6.5", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "8.0", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "7.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "1.3", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "9.9", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "7.2", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "8.3", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "1.0", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "7.9", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "1.6", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "6.4", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "6.1", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "1.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "1.1", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "9.5", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "9.0", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "8.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "8.2", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "7.5", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "5.4", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "10.0", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "3.7", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "1.4", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "7.1", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "4.2", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "6.6", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "3.2", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "6.0", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "5.9", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "5.5", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "5.3", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "1.7", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "3.0", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "4.1", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "8.9", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "10.1", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "9.4", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "7.3", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "9.6", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "3.5", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "4.3", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "6.3", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "2.4", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "6.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "7.4", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "4.5", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "9.2", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "3.6", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 VRB] Will not delete {"Repository": "os/alpine", "Name": "3.1", "CreatedAt": "2019-01-30T22:19:47.0113959Z"} because it has the same digest as kept tag {"Repository": "os/alpine", "Name": "3.8", "CreatedAt": "2019-01-30T22:19:47.0113959Z"}
[06:02:41 INF] DRY RUN - Tag cleanup complete. Summary: {"RemovedTags": 0, "IgnoredTags": 14, "IgnoredRepos": 0, "IgnoredProjects": 1}
[06:02:41 INF] Logging out
[06:02:41 INF] Finished in 00:00:02.5350135
from harbor.tagd.
if we have same data with same size on container with different tags, Can't we delete them?
from harbor.tagd.
Oh I see the problem here. No, if two tags have the same digest (they point to the same image) deleting one will delete all others. This is a limitation of docker/distribution, on which harbor is based and AFAIK is still a problem. If you expect to be able to delete a duplicate tag without deleting other tags that point to the same image file an issue with docker/distribution.
from harbor.tagd.
@nlowe thanks for information. I have tested this tagd container with 1.7.5. can you add this tagd container into latest container so that we will noe get certificate issues.
hylandsoftware/tagd:1.0.26
from harbor.tagd.
I am not sure what you mean. That version of tagd
supports disabling certificate validation as indicated by the log you pasted above.
from harbor.tagd.
from harbor.tagd.
Related Issues (20)
- Parallelization changes sometimes throw FlurlHttpException stating the collection was modified HOT 3
- logon error ? HOT 1
- HTTP/405 on registry connect attempt HOT 5
- Slack Notifier not called if config pulling throws an exception
- Trigger online GC On Harbor 1.7+
- Please add document about supporting Habror version range HOT 4
- need support for https harbor HOT 1
- clean up for Helm charts HOT 2
- The rules match only one project HOT 2
- 504 Timeout should skip to next repo and not crash HOT 2
- Unable to run tagd harbor v.1.8.1 with oidc. HOT 4
- Error with harbor 1.8 ? HOT 7
- Command/Docker container always return exit code 0 even on failure HOT 6
- Error with harbor 1.10.1 : 422 (Unprocessable Entity).
- SSL connect error in docker image
- Specify absolute path to dotnet and Harbor.Tagd.dll in docker entrypoint
- Parallel-ize tag processing
- Default project / repo / tag to `.*` if not specified
- Improve logging around cert issues
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from harbor.tagd.