Skip to content

schema1 puller is not working (seems regression in #2135) #2389

@AkihiroSuda

Description

@AkihiroSuda

Description

schema1 puller is not working (Seems regression in #2135, sorry)

Steps to reproduce the issue:

$ sudo ctr images pull gcr.io/google_containers/pause:3.0@sha256:0d093c962a6c2dd8bb8727b661e2b5f13e9df884af9945b4cc7088d9350cd3ee
gcr.io/google_containers/pause:3.0@sha256:0d093c962a6c2dd8bb8727b661e2b5f13e9df884af9945b4cc7088d9350cd3ee: resolved       |++++++++++++++++++++++++++++++++++++++| 
layer-sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4:                              downloading    |--------------------------------------|   32.0 B/0.0 B 
layer-sha256:f112334343777b75be77ec1f835e3bbbe7d7bd46e27b6a2ae35c6b3cfea0987c:                              downloading    |--------------------------------------|    0.0 B/0.0 B 
elapsed: 1.7 s                                                                                              total:  32.0 B (18.0 B/s)                                        
ctr: failed commit on ref "layer-sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4": "layer-sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4" failed size validation: 32 != -1: unknown

Describe the results you received:

Failing as above

Describe the results you expected:

Should work

Output of containerd --version:

containerd github.com/containerd/containerd v1.1.0-104-g00d49106 00d491063326ae7c173c9be3ba7bbd86c13d24c3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions