Back to bug 1411162

Who When What Removed Added
Scott Dodson 2017-01-08 22:10:12 UTC Target Release 3.4.0 3.2.1
Assignee mfojtik agladkov
Michal Fojtik 2017-02-01 11:40:19 UTC CC sdodson
Flags needinfo?(sdodson)
Scott Dodson 2017-02-01 14:38:42 UTC Flags needinfo?(sdodson)
Wei Sun 2017-02-03 05:40:26 UTC QA Contact wsun wzheng
Alexey Gladkov 2017-02-08 12:58:09 UTC Flags needinfo?(wzheng)
Wenjing Zheng 2017-02-09 02:11:45 UTC Flags needinfo?(wzheng)
Alexey Gladkov 2017-02-24 15:15:13 UTC Flags needinfo?(wzheng)
Michal Fojtik 2017-02-27 09:14:39 UTC Status NEW MODIFIED
Troy Dawson 2017-03-01 14:28:38 UTC Flags needinfo?(mfojtik)
Cesar Wong 2017-03-01 14:28:55 UTC CC cewong
Alexey Gladkov 2017-03-02 12:25:14 UTC Flags needinfo?(wzheng) needinfo?(mfojtik)
Michal Fojtik 2017-03-02 13:57:33 UTC Doc Text Cause:

We pass all requests (including HEAD) to the remote service if the pullthrough is enabled. On the other hand when docker client pushes the manifest we check the presence of all these layers locally. The client checks a blob existance by HEAD request before sending it to the server.

If client image is based on the imported image (but not present in local registry) dockerregistry will say that it has all the layers from the base image. In this case docker client never send them to server, but manifest verification requires them locally. It means that the verification will always fail for remote layers.

Fix:

Manifest verification must to take into account the possibility that the layers may not be local and check them on remote registry server before before give up.

We can't use pullthroughBlobStore because verification happens in ManifestService. So we need to move common code that gets the blobs from the remote server to BlobGetterService and use it for pullthrough and for verification.
Doc Type If docs needed, set a value Bug Fix
Wang Haoran 2017-03-02 14:41:20 UTC CC yinzhou
Michal Fojtik 2017-03-02 14:49:24 UTC Status MODIFIED CLOSED
Resolution --- WONTFIX
Last Closed 2017-03-02 09:49:24 UTC

Back to bug 1411162