Zun

failed to get sandbox image "k8s.gcr.io/pause:3.6"

Bug #1976239 reported by Boxiang Zhu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zun
New
Undecided
Unassigned

Bug Description

First of all, the env is from china.

We can not directly visit the k8s.gcr.io. So We got the error logs as followed.

2022-05-30 17:29:48.373 6 ERROR zun.compute.manager [req-9a4c37ca-0ef6-4e49-a745-5a157e34cd91 - - - - -] Unexpected exception: <_InactiveRpcError of RPC that terminated with:
 status = StatusCode.UNKNOWN
 details = "failed to get sandbox image "k8s.gcr.io/pause:3.6": failed to pull image "k8s.gcr.io/pause:3.6": failed to pull and unpack image "k8s.gcr.io/pause:3.6": failed to resolve reference "k8s.gcr.io/pause:3.6": failed to do request: Head "https://k8s.gcr.io/v2/pause/manifests/3.6": dial tcp 64.233.188.82:443: i/o timeout"
 debug_error_string = "{"created":"@1653902988.372154991","description":"Error received from peer unix:/run/containerd/containerd.sock","file":"src/core/lib/surface/call.cc","file_line":903,"grpc_message":"failed to get sandbox image "k8s.gcr.io/pause:3.6": failed to pull image "k8s.gcr.io/pause:3.6": failed to pull and unpack image "k8s.gcr.io/pause:3.6": failed to resolve reference "k8s.gcr.io/pause:3.6": failed to do request: Head "https://k8s.gcr.io/v2/pause/manifests/3.6": dial tcp 64.233.188.82:443: i/o timeout","grpc_status":2}"
>: grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
 status = StatusCode.UNKNOWN
 details = "failed to get sandbox image "k8s.gcr.io/pause:3.6": failed to pull image "k8s.gcr.io/pause:3.6": failed to pull and unpack image "k8s.gcr.io/pause:3.6": failed to resolve reference "k8s.gcr.io/pause:3.6": failed to do request: Head "https://k8s.gcr.io/v2/pause/manifests/3.6": dial tcp 64.233.188.82:443: i/o timeout"
 debug_error_string = "{"created":"@1653902988.372154991","description":"Error received from peer unix:/run/containerd/containerd.sock","file":"src/core/lib/surface/call.cc","file_line":903,"grpc_message":"failed to get sandbox image "k8s.gcr.io/pause:3.6": failed to pull image "k8s.gcr.io/pause:3.6": failed to pull and unpack image "k8s.gcr.io/pause:3.6": failed to resolve reference "k8s.gcr.io/pause:3.6": failed to do request: Head "https://k8s.gcr.io/v2/pause/manifests/3.6": dial tcp 64.233.188.82:443: i/o timeout","grpc_status":2}"
>
2022-05-30 17:29:48.373 6 ERROR zun.compute.manager Traceback (most recent call last):
2022-05-30 17:29:48.373 6 ERROR zun.compute.manager File "/var/lib/kolla/venv/lib/python3.8/site-packages/zun/compute/manager.py", line 370, in _do_container_create_base
2022-05-30 17:29:48.373 6 ERROR zun.compute.manager container = self.capsule_driver.create_capsule(
2022-05-30 17:29:48.373 6 ERROR zun.compute.manager File "/var/lib/kolla/venv/lib/python3.8/site-packages/zun/container/cri/driver.py", line 52, in create_capsule
2022-05-30 17:29:48.373 6 ERROR zun.compute.manager self._create_pod_sandbox(context, capsule, requested_networks)
2022-05-30 17:29:48.373 6 ERROR zun.compute.manager File "/var/lib/kolla/venv/lib/python3.8/site-packages/zun/container/cri/driver.py", line 80, in _create_pod_sandbox
2022-05-30 17:29:48.373 6 ERROR zun.compute.manager sandbox_resp = self.runtime_stub.RunPodSandbox(
2022-05-30 17:29:48.373 6 ERROR zun.compute.manager File "/var/lib/kolla/venv/lib/python3.8/site-packages/grpc/_channel.py", line 946, in __call__
2022-05-30 17:29:48.373 6 ERROR zun.compute.manager return _end_unary_response_blocking(state, call, False, None)
2022-05-30 17:29:48.373 6 ERROR zun.compute.manager File "/var/lib/kolla/venv/lib/python3.8/site-packages/grpc/_channel.py", line 849, in _end_unary_response_blocking
2022-05-30 17:29:48.373 6 ERROR zun.compute.manager raise _InactiveRpcError(state)
2022-05-30 17:29:48.373 6 ERROR zun.compute.manager grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
2022-05-30 17:29:48.373 6 ERROR zun.compute.manager status = StatusCode.UNKNOWN
2022-05-30 17:29:48.373 6 ERROR zun.compute.manager details = "failed to get sandbox image "k8s.gcr.io/pause:3.6": failed to pull image "k8s.gcr.io/pause:3.6": failed to pull and unpack image "k8s.gcr.io/pause:3.6": failed to resolve reference "k8s.gcr.io/pause:3.6": failed to do request: Head "https://k8s.gcr.io/v2/pause/manifests/3.6": dial tcp 64.233.188.82:443: i/o timeout"
2022-05-30 17:29:48.373 6 ERROR zun.compute.manager debug_error_string = "{"created":"@1653902988.372154991","description":"Error received from peer unix:/run/containerd/containerd.sock","file":"src/core/lib/surface/call.cc","file_line":903,"grpc_message":"failed to get sandbox image "k8s.gcr.io/pause:3.6": failed to pull image "k8s.gcr.io/pause:3.6": failed to pull and unpack image "k8s.gcr.io/pause:3.6": failed to resolve reference "k8s.gcr.io/pause:3.6": failed to do request: Head "https://k8s.gcr.io/v2/pause/manifests/3.6": dial tcp 64.233.188.82:443: i/o timeout","grpc_status":2}"
2022-05-30 17:29:48.373 6 ERROR zun.compute.manager >
2022-05-30 17:29:48.373 6 ERROR zun.compute.manager

Revision history for this message
Boxiang Zhu (bxzhu-5355) wrote :

Can or how can I replace the k8s.gcr.io/pause with other registry or specify the image to use?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.