Repository navigation
Add detail error logs when 'Unknown Device' error happens if devicema… - #23974
Conversation
There was a problem hiding this comment.
Want 2 arguments but only 1 is given
fa964a5 to
128dfef
Compare
|
@mYmNeo , thanks Shengbo, I have amended the PR again, please help to review it again, thanks. |
128dfef to
7a6872b
Compare
|
Dear maintainers, Please help to check this PR, thanks a lot. |
|
LGTM |
There was a problem hiding this comment.
Actually, since these aren't really an error, let's move to debug.
There was a problem hiding this comment.
@cpuguy83 , thanks very much for taking time to review this PR. I have amended this PR according to your suggestion, please help to review it again, thanks.
7a6872b to
f7feef9
Compare
|
Dear maintainers, |
There was a problem hiding this comment.
Debug for this one too, sorry.
There was a problem hiding this comment.
@cpuguy83 , if it fails to convert the bytes to json, i think it is an error instead of debug log, because the data in devmapper storage is corrupt. What do you think about it? thanks.
There was a problem hiding this comment.
If it was really an error it would have been returned, IMO.
There was a problem hiding this comment.
Ok, got it, thanks @cpuguy83 for the comments, i have amended my PR according to your suggestions again. Please help to check it, thanks.
|
@hopkings2008 CI is just having problems. |
f7feef9 to
1a2b3e9
Compare
…pper storage is used. Signed-off-by: yuzou <[email protected]>
1a2b3e9 to
d4a2bcc
Compare
|
LGTM |
…pper storage is used. Signed-off-by: yuzou <[email protected]> Signed-off-by: Wentao Zhang <[email protected]> Cherry-picked from moby#23974
Cherry pick devmapper relative commits from master branch Merge 5 commits: <a href="/docker/docker/commit/4f0017b9ad7dfa2e9dcdee69d000b98595893e60" data-original="4f0017b9" data-project="7713" data-commit="4f0017b9ad7dfa2e9dcdee69d000b98595893e60" data-reference-type="commit" title="Commit: Vivek Goyal - devmapper: Provide a knob dm.xfs_nospace_max_retries" class="gfm gfm-commit">4f0017b9</a> <a href="moby#26212" rel="nofollow noreferrer" target="_blank">https://github.com/docker/docker/pull/26212</a><br> <a href="/docker/docker/commit/55a9b8123d7e89692b5c25c846cf6707a8ce463a" data-original="55a9b812" data-project="7713" data-commit="55a9b8123d7e89692b5c25c846cf6707a8ce463a" data-reference-type="commit" title="Commit: Vivek Goyal - Export Mininum Thin Pool Free Space through docker info" class="gfm gfm-commit">55a9b812</a> <a href="moby#21945" rel="nofollow noreferrer" target="_blank">https://github.com/docker/docker/pull/21945</a><br> 288f933 <a href="moby#28500" rel="nofollow noreferrer" target="_blank">https://github.com/docker/docker/pull/28500</a><br> d4a2bcc moby#23974 6cc55dd moby#26378 41c6083 moby#26918 Signed-off-by: Wentao Zhang <a href="mailto:[email protected]">[email protected]</a> See merge request docker/docker!281
Dear maintainers,
This PR is to add the detail error logs for device mapper storage when the error "unknown device' happens as below when tries to restart a container:
"Handler for GET /containers/d355ff91fe74b635b8ed325b880c5e1654e5e57b9b23e6455c3e8fb2b30a1f4f/json returned error: Unknown device d355ff91fe74b635b8ed325b880c5e1654e5e57b9b23e6455c3e8fb2b30a1f4f"
In order to find the reason why read the data failed from devicemapped device, these error logs are added.
Please review it, thanks a lot.