Repository navigation
fix:save image err because content digest not found - #11996
ningmingxiao wants to merge 1 commit into
Conversation
|
Hi @ningmingxiao. Thanks for your PR. I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
0c90e2b to
89c3985
Compare
89c3985 to
32ee6fb
Compare
Signed-off-by: ningmingxiao <[email protected]>
32ee6fb to
ad56a65
Compare
|
It seems to have the similar logic as shown in the PR #8877 |
|
Yes! I'm not sure whether it is a bug, at least we should add some log. I create a new pr #12140. |
|
Hi everyone, I think this is a very impactful issue on usage. Can we fix it? |
|
you can use nerdctl new version to save image @reckless-huang |
The new version still has the same issue. Most of the time I save an image because it no longer exists in the repository, so I need to export or retag it. But now, whether I do either, it will re-fetch the metadata and then fail |
|
It's strange that Docker does not re-fetch manifest and other information during retag and save operations |
|
docker will save all blob info @reckless-huang |
These strange operations of containerd are actually not that convenient |
|
Additionally, containerd should have pulled all the blobs. The issue is that even though I have all the blobs locally, it still tries to fetch metadata. Can we provide an option to allow retagging and saving when metadata cannot be obtained? |
|
Sorry, we're here in containerd, I should submit an issue in nerdctl |
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
This PR is stale because it has been open 90 days with no activity. This PR will be closed in 7 days unless new comments are made or the stale label is removed. |
|
This PR was closed because it has been stalled for 7 days with no activity. |
image 1
image 2
image1 blob sha256:3d0bcbd3ba78828654b1de97afb12337e1f2f01b8fd4e18bb4e0befc0cab35e2
and image 2 blob: sha256:f904ad7dc96d0e260d9b0b77f50ae0ba638cbd327d24ead122353d4fe9b0d0a2
have same chainid/diffid 7c76c8b384d5823f659d49db27f4e880ed1102c76e717160b9085855233135c8
if down load image 1 and then down load image 2 blob
sha256:9f8f2ee9ddac537d25f24b49936115bf9a4f93ee3d004e7256daae9ace83567e will skip to be download. we can create container successfully, but save image 2 will show blob is lost.
nerdctl 1.7
@AkihiroSuda @apostasie