Skip to content
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

level=error msg="PullImage \"sonatype/nexus:2.15.1-02\" failed" error="rpc error: code = NotFound desc = failed to pull and unpack image \"docker.io/sonatype/nexus:2.15.1-02\": failed to unpack image on snapshotter overlayfs: unexpected media type text/html for sha256:9cea20ff1af9218fa1b901b1228e4a96d974686d1e0cf82b9eed6eb2106a8227: not found" #59

Open
dyrnq opened this issue Nov 27, 2022 · 3 comments

Comments

@dyrnq
Copy link
Owner

dyrnq commented Nov 27, 2022

Nov 26 19:37:20 n211 containerd[549160]: time="2022-11-26T19:37:20.878384135+08:00" level=info msg="loading plugin \"io.containerd.event.v1.publisher\"..." runtime=io.containerd.runc.v2 type=io.containerd.event.v1
Nov 26 19:37:20 n211 containerd[549160]: time="2022-11-26T19:37:20.878436486+08:00" level=info msg="loading plugin \"io.containerd.internal.v1.shutdown\"..." runtime=io.containerd.runc.v2 type=io.containerd.internal.v1
Nov 26 19:37:20 n211 containerd[549160]: time="2022-11-26T19:37:20.878443857+08:00" level=info msg="loading plugin \"io.containerd.ttrpc.v1.task\"..." runtime=io.containerd.runc.v2 type=io.containerd.ttrpc.v1
Nov 26 19:37:20 n211 containerd[549160]: time="2022-11-26T19:37:20.878653824+08:00" level=info msg="starting signal loop" namespace=k8s.io path=/run/containerd/io.containerd.runtime.v2.task/k8s.io/8101e5fe5d34a427c21fa8c02dc5f7f780191941aba1fc1ad181d431c9cd23de pid=2919649 runtime=io.containerd.runc.v2
Nov 26 19:37:20 n211 containerd[549160]: time="2022-11-26T19:37:20.970015261+08:00" level=info msg="RunPodSandbox for &PodSandboxMetadata{Name:mynexus2-0,Uid:47c41230-220f-496e-812b-bd250c643c1a,Namespace:default,Attempt:0,} returns sandbox id \"8101e5fe5d34a427c21fa8c02dc5f7f780191941aba1fc1ad181d431c9cd23de\""
Nov 26 19:37:20 n211 containerd[549160]: time="2022-11-26T19:37:20.971227204+08:00" level=info msg="PullImage \"sonatype/nexus:2.15.1-02\""
Nov 26 19:37:26 n211 containerd[549160]: time="2022-11-26T19:37:26.195656230+08:00" level=warning msg="reference for unknown type: text/html" digest="sha256:9cea20ff1af9218fa1b901b1228e4a96d974686d1e0cf82b9eed6eb2106a8227" mediatype=text/html size=243821
Nov 26 19:37:28 n211 containerd[549160]: time="2022-11-26T19:37:28.155077427+08:00" level=info msg="ImageCreate event &ImageCreate{Name:docker.io/sonatype/nexus:2.15.1-02,Labels:map[string]string{io.cri-containerd.image: managed,},XXX_unrecognized:[],}"
Nov 26 19:37:28 n211 containerd[549160]: time="2022-11-26T19:37:28.155159542+08:00" level=error msg="Failed to handle event &ImageCreate{Name:docker.io/sonatype/nexus:2.15.1-02,Labels:map[string]string{io.cri-containerd.image: managed,},XXX_unrecognized:[],} for docker.io/sonatype/nexus:2.15.1-02" error="update image store for \"docker.io/sonatype/nexus:2.15.1-02\": get image info from containerd: get image diffIDs: unexpected media type text/html for sha256:9cea20ff1af9218fa1b901b1228e4a96d974686d1e0cf82b9eed6eb2106a8227: not found"
Nov 26 19:37:28 n211 containerd[549160]: time="2022-11-26T19:37:28.158389321+08:00" level=error msg="PullImage \"sonatype/nexus:2.15.1-02\" failed" error="rpc error: code = NotFound desc = failed to pull and unpack image \"docker.io/sonatype/nexus:2.15.1-02\": failed to unpack image on snapshotter overlayfs: unexpected media type text/html for sha256:9cea20ff1af9218fa1b901b1228e4a96d974686d1e0cf82b9eed6eb2106a8227: not found"
Nov 26 19:37:29 n211 containerd[549160]: time="2022-11-26T19:37:29.373799429+08:00" level=info msg="ImageCreate event &ImageCreate{Name:docker.io/sonatype/nexus:2.15.1-02,Labels:map[string]string{io.cri-containerd.image: managed,},XXX_unrecognized:[],}"
Nov 26 19:37:29 n211 containerd[549160]: time="2022-11-26T19:37:29.373887468+08:00" level=error msg="Failed to handle backOff event &ImageCreate{Name:docker.io/sonatype/nexus:2.15.1-02,Labels:map[string]string{io.cri-containerd.image: managed,},XXX_unrecognized:[],} for docker.io/sonatype/nexus:2.15.1-02" error="update image store for \"docker.io/sonatype/nexus:2.15.1-02\": get image info from containerd: get image diffIDs: unexpected media type text/html for sha256:9cea20ff1af9218fa1b901b1228e4a96d974686d1e0cf82b9eed6eb2106a8227: not found"
Nov 26 19:37:32 n211 containerd[549160]: time="2022-11-26T19:37:32.373440424+08:00" level=info msg="ImageCreate event &ImageCreate{Name:docker.io/sonatype/nexus:2.15.1-02,Labels:map[string]string{io.cri-containerd.image: managed,},XXX_unrecognized:[],}"
Nov 26 19:37:32 n211 containerd[549160]: time="2022-11-26T19:37:32.373965282+08:00" level=error msg="Failed to handle backOff event &ImageCreate{Name:docker.io/sonatype/nexus:2.15.1-02,Labels:map[string]string{io.cri-containerd.image: managed,},XXX_unrecognized:[],} for docker.io/sonatype/nexus:2.15.1-02" error="update image store for \"docker.io/sonatype/nexus:2.15.1-02\": get image info from containerd: get image diffIDs: unexpected media type text/html for sha256:9cea20ff1af9218fa1b901b1228e4a96d974686d1e0cf82b9eed6eb2106a8227: not found"
Nov 26 19:37:37 n211 containerd[549160]: time="2022-11-26T19:37:37.373415061+08:00" level=info msg="ImageCreate event &ImageCreate{Name:docker.io/sonatype/nexus:2.15.1-02,Labels:map[string]string{io.cri-containerd.image: managed,},XXX_unrecognized:[],}"
Nov 26 19:37:37 n211 containerd[549160]: time="2022-11-26T19:37:37.373541968+08:00" level=error msg="Failed to handle backOff event &ImageCreate{Name:docker.io/sonatype/nexus:2.15.1-02,Labels:map[string]string{io.cri-containerd.image: managed,},XXX_unrecognized:[],} for docker.io/sonatype/nexus:2.15.1-02" error="update image store for \"docker.io/sonatype/nexus:2.15.1-02\": get image info from containerd: get image diffIDs: unexpected media type text/html for sha256:9cea20ff1af9218fa1b901b1228e4a96d974686d1e0cf82b9eed6eb2106a8227: not found"
Nov 26 19:37:40 n211 containerd[549160]: time="2022-11-26T19:37:40.809874524+08:00" level=info msg="PullImage \"sonatype/nexus:2.15.1-02\""
Nov 26 19:37:43 n211 containerd[549160]: time="2022-11-26T19:37:43.358219426+08:00" level=warning msg="reference for unknown type: text/html" digest="sha256:9cea20ff1af9218fa1b901b1228e4a96d974686d1e0cf82b9eed6eb2106a8227" mediatype=text/html size=243821
Nov 26 19:37:43 n211 containerd[549160]: time="2022-11-26T19:37:43.364772320+08:00" level=info msg="Events for \"docker.io/sonatype/nexus:2.15.1-02\" is in backoff, enqueue event &ImageUpdate{Name:docker.io/sonatype/nexus:2.15.1-02,Labels:map[string]string{io.cri-containerd.image: managed,},XXX_unrecognized:[],}"
Nov 26 19:37:43 n211 containerd[549160]: time="2022-11-26T19:37:43.366691292+08:00" level=error msg="PullImage \"sonatype/nexus:2.15.1-02\" failed" error="rpc error: code = NotFound desc = failed to pull and unpack image \"docker.io/sonatype/nexus:2.15.1-02\": failed to unpack image on snapshotter overlayfs: unexpected media type text/html for sha256:9cea20ff1af9218fa1b901b1228e4a96d974686d1e0cf82b9eed6eb2106a8227: not found"
Nov 26 19:37:45 n211 containerd[549160]: time="2022-11-26T19:37:45.374112102+08:00" level=info msg="ImageCreate event &ImageCreate{Name:docker.io/sonatype/nexus:2.15.1-02,Labels:map[string]string{io.cri-containerd.image: managed,},XXX_unrecognized:[],}"
Nov 26 19:37:45 n211 containerd[549160]: time="2022-11-26T19:37:45.374194901+08:00" level=error msg="Failed to handle backOff event &ImageCreate{Name:docker.io/sonatype/nexus:2.15.1-02,Labels:map[string]string{io.cri-containerd.image: managed,},XXX_unrecognized:[],} for docker.io/sonatype/nexus:2.15.1-02" error="update image store for \"docker.io/sonatype/nexus:2.15.1-02\": get image info from containerd: get image diffIDs: unexpected media type text/html for sha256:9cea20ff1af9218fa1b901b1228e4a96d974686d1e0cf82b9eed6eb2106a8227: not found"
Nov 26 19:38:02 n211 containerd[549160]: time="2022-11-26T19:38:02.374059628+08:00" level=info msg="ImageCreate event &ImageCreate{Name:docker.io/sonatype/nexus:2.15.1-02,Labels:map[string]string{io.cri-containerd.image: managed,},XXX_unrecognized:[],}"
Nov 26 19:38:02 n211 containerd[549160]: time="2022-11-26T19:38:02.374180860+08:00" level=error msg="Failed to handle backOff event &ImageCreate{Name:docker.io/sonatype/nexus:2.15.1-02,Labels:map[string]string{io.cri-containerd.image: managed,},XXX_unrecognized:[],} for docker.io/sonatype/nexus:2.15.1-02" error="update image store for \"docker.io/sonatype/nexus:2.15.1-02\": get image info from containerd: get image diffIDs: unexpected media type text/html for sha256:9cea20ff1af9218fa1b901b1228e4a96d974686d1e0cf82b9eed6eb2106a8227: not found"
Nov 26 19:38:05 n211 containerd[549160]: time="2022-11-26T19:38:05.804628136+08:00" level=info msg="PullImage \"sonatype/nexus:2.15.1-02\""
Nov 26 19:38:09 n211 containerd[549160]: time="2022-11-26T19:38:09.116056192+08:00" level=warning msg="reference for unknown type: text/html" digest="sha256:9cea20ff1af9218fa1b901b1228e4a96d974686d1e0cf82b9eed6eb2106a8227" mediatype=text/html size=243821
Nov 26 19:38:09 n211 containerd[549160]: time="2022-11-26T19:38:09.122208330+08:00" level=info msg="Events for \"docker.io/sonatype/nexus:2.15.1-02\" is in backoff, enqueue event &ImageUpdate{Name:docker.io/sonatype/nexus:2.15.1-02,Labels:map[string]string{io.cri-containerd.image: managed,},XXX_unrecognized:[],}"
Nov 26 19:38:09 n211 containerd[549160]: time="2022-11-26T19:38:09.124669106+08:00" level=error msg="PullImage \"sonatype/nexus:2.15.1-02\" failed" error="rpc error: code = NotFound desc = failed to pull and unpack image \"docker.io/sonatype/nexus:2.15.1-02\": failed to unpack image on snapshotter overlayfs: unexpected media type text/html for sha256:9cea20ff1af9218fa1b901b1228e4a96d974686d1e0cf82b9eed6eb2106a8227: not found"
Nov 26 19:38:35 n211 containerd[549160]: time="2022-11-26T19:38:35.373824966+08:00" level=info msg="ImageCreate event &ImageCreate{Name:docker.io/sonatype/nexus:2.15.1-02,Labels:map[string]string{io.cri-containerd.image: managed,},XXX_unrecognized:[],}"
Nov 26 19:38:35 n211 containerd[549160]: time="2022-11-26T19:38:35.373925679+08:00" level=error msg="Failed to handle backOff event &ImageCreate{Name:docker.io/sonatype/nexus:2.15.1-02,Labels:map[string]string{io.cri-containerd.image: managed,},XXX_unrecognized:[],} for docker.io/sonatype/nexus:2.15.1-02" error="update image store for \"docker.io/sonatype/nexus:2.15.1-02\": get image info from containerd: get image diffIDs: unexpected media type text/html for sha256:9cea20ff1af9218fa1b901b1228e4a96d974686d1e0cf82b9eed6eb2106a8227: not found"
Nov 26 19:38:53 n211 containerd[549160]: time="2022-11-26T19:38:53.805231199+08:00" level=info msg="PullImage \"sonatype/nexus:2.15.1-02\""
Nov 26 19:39:00 n211 containerd[549160]: time="2022-11-26T19:39:00.824984770+08:00" level=warning msg="reference for unknown type: text/html" digest="sha256:9cea20ff1af9218fa1b901b1228e4a96d974686d1e0cf82b9eed6eb2106a8227" mediatype=text/html size=243821
Nov 26 19:39:00 n211 containerd[549160]: time="2022-11-26T19:39:00.836676703+08:00" level=info msg="Events for \"docker.io/sonatype/nexus:2.15.1-02\" is in backoff, enqueue event &ImageUpdate{Name:docker.io/sonatype/nexus:2.15.1-02,Labels:map[string]string{io.cri-containerd.image: managed,},XXX_unrecognized:[],}"
Nov 26 19:39:00 n211 containerd[549160]: time="2022-11-26T19:39:00.838963834+08:00" level=error msg="PullImage \"sonatype/nexus:2.15.1-02\" failed" error="rpc error: code = NotFound desc = failed to pull and unpack image \"docker.io/sonatype/nexus:2.15.1-02\": failed to unpack image on snapshotter overlayfs: unexpected media type text/html for sha256:9cea20ff1af9218fa1b901b1228e4a96d974686d1e0cf82b9eed6eb2106a8227: not found"
Nov 26 19:39:40 n211 containerd[549160]: time="2022-11-26T19:39:40.373546229+08:00" level=info msg="ImageCreate event &ImageCreate{Name:docker.io/sonatype/nexus:2.15.1-02,Labels:map[string]string{io.cri-containerd.image: managed,},XXX_unrecognized:[],}"
Nov 26 19:39:40 n211 containerd[549160]: time="2022-11-26T19:39:40.374017349+08:00" level=error msg="Failed to handle backOff event &ImageCreate{Name:docker.io/sonatype/nexus:2.15.1-02,Labels:map[string]string{io.cri-containerd.image: managed,},XXX_unrecognized:[],} for docker.io/sonatype/nexus:2.15.1-02" error="update image store for \"docker.io/sonatype/nexus:2.15.1-02\": get image info from containerd: get image diffIDs: unexpected media type text/html for sha256:9cea20ff1af9218fa1b901b1228e4a96d974686d1e0cf82b9eed6eb2106a8227: not found"
Nov 26 19:40:23 n211 containerd[549160]: time="2022-11-26T19:40:23.804799515+08:00" level=info msg="PullImage \"sonatype/nexus:2.15.1-02\""
Nov 26 19:40:26 n211 containerd[549160]: time="2022-11-26T19:40:26.663801954+08:00" level=warning msg="reference for unknown type: text/html" digest="sha256:9cea20ff1af9218fa1b901b1228e4a96d974686d1e0cf82b9eed6eb2106a8227" mediatype=text/html size=243821
Nov 26 19:40:26 n211 containerd[549160]: time="2022-11-26T19:40:26.692064936+08:00" level=info msg="Events for \"docker.io/sonatype/nexus:2.15.1-02\" is in backoff, enqueue event &ImageUpdate{Name:docker.io/sonatype/nexus:2.15.1-02,Labels:map[string]string{io.cri-containerd.image: managed,},XXX_unrecognized:[],}"
Nov 26 19:40:26 n211 containerd[549160]: time="2022-11-26T19:40:26.694900925+08:00" level=error msg="PullImage \"sonatype/nexus:2.15.1-02\" failed" error="rpc error: code = NotFound desc = failed to pull and unpack image \"docker.io/sonatype/nexus:2.15.1-02\": failed to unpack image on snapshotter overlayfs: unexpected media type text/html for sha256:9cea20ff1af9218fa1b901b1228e4a96d974686d1e0cf82b9eed6eb2106a8227: not found"
Nov 26 19:41:49 n211 containerd[549160]: time="2022-11-26T19:41:49.373921447+08:00" level=info msg="ImageCreate event &ImageCreate{Name:docker.io/sonatype/nexus:2.15.1-02,Labels:map[string]string{io.cri-containerd.image: managed,},XXX_unrecognized:[],}"
Nov 26 19:41:49 n211 containerd[549160]: time="2022-11-26T19:41:49.374026427+08:00" level=error msg="Failed to handle backOff event &ImageCreate{Name:docker.io/sonatype/nexus:2.15.1-02,Labels:map[string]string{io.cri-containerd.image: managed,},XXX_unrecognized:[],} for docker.io/sonatype/nexus:2.15.1-02" error="update image store for \"docker.io/sonatype/nexus:2.15.1-02\": get image info from containerd: get image diffIDs: unexpected media type text/html for sha256:9cea20ff1af9218fa1b901b1228e4a96d974686d1e0cf82b9eed6eb2106a8227: not found"
@dyrnq
Copy link
Owner Author

dyrnq commented Nov 27, 2022

see k3s-io/k3s#5502

@dyrnq
Copy link
Owner Author

dyrnq commented Nov 27, 2022

cat /etc/containerd/certs.d/docker.io/hosts.toml 
server = "https://docker.io"

[host."https://docker.mirrors.ustc.edu.cn"]
  capabilities = ["pull", "resolve"]
  skip_verify = true
crictl pull sonatype/nexus:2.15.1-02
E1127 10:47:43.909893 3695798 remote_image.go:238] "PullImage from image service failed" err="rpc error: code = NotFound desc = failed to pull and unpack image \"docker.io/sonatype/nexus:2.15.1-02\": failed to unpack image on snapshotter overlayfs: unexpected media type text/html for sha256:7e73741e57042f8ce7dcf32cf8cabfdec299d3d5edfbaaa83c0e6aacca2d3f12: not found" image="sonatype/nexus:2.15.1-02"
FATA[0002] pulling image: rpc error: code = NotFound desc = failed to pull and unpack image "docker.io/sonatype/nexus:2.15.1-02": failed to unpack image on snapshotter overlayfs: unexpected media type text/html for sha256:7e73741e57042f8ce7dcf32cf8cabfdec299d3d5edfbaaa83c0e6aacca2d3f12: not found 

@dyrnq
Copy link
Owner Author

dyrnq commented Nov 27, 2022

cat /etc/containerd/certs.d/docker.io/hosts.toml 
server = "https://docker.io"

[host."https://docker.mirrors.ustc.edu.cn/v2/"]
  capabilities = ["pull", "resolve"]
  skip_verify = true

@dyrnq dyrnq closed this as completed Nov 27, 2022
@dyrnq dyrnq reopened this Nov 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant