fix: propagate registry auth error in swarm image pull#52698
Merged
vvoland merged 1 commit intoJun 12, 2026
moby:mastermoby/moby:masterfrom
MD-Mushfiqur123:fix/issue-52570-swarm-auth-errorMD-Mushfiqur123/moby:fix/issue-52570-swarm-auth-errorCopy head branch name to clipboard
Merged
fix: propagate registry auth error in swarm image pull#52698vvoland merged 1 commit intomoby:mastermoby/moby:masterfrom MD-Mushfiqur123:fix/issue-52570-swarm-auth-errorMD-Mushfiqur123/moby:fix/issue-52570-swarm-auth-errorCopy head branch name to clipboard
vvoland merged 1 commit into
moby:mastermoby/moby:masterfrom
MD-Mushfiqur123:fix/issue-52570-swarm-auth-errorMD-Mushfiqur123/moby:fix/issue-52570-swarm-auth-errorCopy head branch name to clipboard
Conversation
Contributor
|
Hi, please sign-off the commit with your real name: https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work |
Author
|
Friendly ping — this PR is ready for review. All CI checks are passing. |
MD-Mushfiqur123
force-pushed
the
fix/issue-52570-swarm-auth-error
branch
from
May 27, 2026 07:12
3921dc9 to
5f42ea8
Compare
Contributor
|
Oh, could you please also remove the |
Contributor
|
@md-mushfiqur-rahim123-official can you please update? |
When a worker pull fails with unauthorized, the error was being swallowed and replaced with misleading 'No such image' message. Fix error propagation so the actual cause is reported. Signed-off-by: Md_Mushfiqur Rahim <20mahin20201@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
thaJeztah
force-pushed
the
fix/issue-52570-swarm-auth-error
branch
from
June 12, 2026 13:38
5f42ea8 to
a7cf7ea
Compare
thaJeztah
approved these changes
Jun 12, 2026
thaJeztah
left a comment
Member
There was a problem hiding this comment.
LGTM
(rebased and adjusted the commit message)
Member
|
Flaky tests on Windows; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #52570
When a worker pull fails with 'unauthorized: authentication required',
the error was being swallowed and replaced with a misleading
'No such image' message. This fix ensures the actual registry error
is propagated so operators see the real cause.