-
Notifications
You must be signed in to change notification settings - Fork 93
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
v2.0.x containerd docker remote bug: sometimes gets "cannot reuse body, request must be retried" #122
Comments
Hmm, strange. I tested v2.0.0-beta.0 with GCR, but my normal test image uses repos not tags for differentiating the platforms. I'll have to test with tags in case that changes behavior in some way. Just tried again to make sure:
|
Any chance you've been able to try this again? Especially now that maybe you are using v2 :) I have never been able to reproduce an issue pushing to GCR. |
I have not had need to push a manifest lately, but I will try to fake one
up and let you know.
…On Wed, Sep 15, 2021 at 9:41 AM Phil Estes ***@***.***> wrote:
Any chance you've been able to try this again? Especially now that maybe
you are using v2 :) I have never been able to reproduce an issue pushing to
GCR.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#122 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABKWAVDZMRBWKK5EVC32K63UCDEB5ANCNFSM47HAVRQA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Just released v2.0.0 and it seems to be working fine with GCR in my tests. Going to close this for now but feel free to re-open if you are able to reproduce. |
I'm baaaaaack
I have no idea where to even start |
FWIW manifest-tool 1.0.3 still works:
|
You may not be alone; looks like this might be a codepath my testing just isn't hitting (and we have a recent report in containerd proper as well); also #156 (comment) In the #156 issue, I see a 404 response that my tries with Quay aren't getting, and that potentially is trying to reuse the body on the response asking for auth? Need to dig deeper now that it doesn't seem to be a random one-off. |
Let me know if I can help with debug traces or something...
…On Fri, Mar 11, 2022 at 12:27 PM Phil Estes ***@***.***> wrote:
Reopened #122 <#122>.
—
Reply to this email directly, view it on GitHub
<#122 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABKWAVDORI3NFX5PSWVIMKLU7OUEPANCNFSM47HAVRQA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
<estesp/manifest-tool/issue/122/issue_event/6227467648 <(622)%20746-7648>@
github.com>
|
Thanks; just found a reproduce scenario and found that, aside from the fact containerd is working on fixing the "body reuse" problem, there is a different flow of registry interaction when the source repos are != target repo (e.g. use "names" not "tags" to differentiate OS/arch). When all source images are in the same repo namespace as the target manifest list, that flow ends in a 404 existence check on the final target |
Not sure if you have the chance to test the changes in #159, but I'm 99% convinced this will workaround the issue until containerd has a solution to the req/resp retry with a 401. I've verified it fixes the same issue hit on Quay. Interestingly it requires that you have a public repo for all the sources; if your repo is private or any of the sources come from a private repo, then you don't hit the bug as the 401 auth challenge comes during a "fetch" which means you don't get the body reuse error. |
Works for me, commented in #159
…On Tue, Mar 15, 2022 at 12:14 PM Tim Hockin ***@***.***> wrote:
will try
On Tue, Mar 15, 2022 at 9:49 AM Phil Estes ***@***.***>
wrote:
> Not sure if you have the chance to test the changes in #159
> <#159>, but I'm 99%
> convinced this will workaround the issue until containerd has a solution to
> the req/resp retry with a 401. I've verified it fixes the same issue hit on
> Quay. Interestingly it requires that you have a public repo for all the
> sources; if your repo is private or any of the sources come from a private
> repo, then you don't hit the bug as the 401 auth challenge comes during a
> "fetch" which means you don't get the body reuse error.
>
> —
> Reply to this email directly, view it on GitHub
> <#122 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ABKWAVD42SWH4N57ICEMFLTVAC5PRANCNFSM47HAVRQA>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
will try
…On Tue, Mar 15, 2022 at 9:49 AM Phil Estes ***@***.***> wrote:
Not sure if you have the chance to test the changes in #159
<#159>, but I'm 99% convinced
this will workaround the issue until containerd has a solution to the
req/resp retry with a 401. I've verified it fixes the same issue hit on
Quay. Interestingly it requires that you have a public repo for all the
sources; if your repo is private or any of the sources come from a private
repo, then you don't hit the bug as the 401 auth challenge comes during a
"fetch" which means you don't get the body reuse error.
—
Reply to this email directly, view it on GitHub
<#122 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABKWAVD42SWH4N57ICEMFLTVAC5PRANCNFSM47HAVRQA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Syncing to v1.0.3 works, but since this doesn't use go modules, that's a PITA :)
The text was updated successfully, but these errors were encountered: