-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Convert usages of nerdctl and crt to crictl #11001
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: KubeKyrie The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @KubeKyrie. Thanks for your PR. I'm waiting for a kubernetes-sigs 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. Instructions 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/test-infra repository. |
/ok-to-test |
Signed-off-by: KubeKyrie <[email protected]>
d07f094
to
51478b8
Compare
One question is that `crictl` is not yet a complete replacement for `ctr` due to a known issue #10670, as this PR ci failure shows.
The CI shows nerdctl failing, so not sure of the relation ?
```
task path:
/builds/kargo-ci/kubernetes-sigs-kubespray/roles/download/tasks/download_container.yml:57
changed: [instance-3 -> instance-1(172.30.76.107)] => {"attempts": 1,
"changed": true, "cmd": ["/usr/local/bin/crictl", "pull",
"quay.io/kubespray/k8s-netchecker-server:v1.2.2"], "delta":
"0:00:03.778364", "end": "2024-04-02 06:15:56.326782", "msg": "", "rc":
0, "start": "2024-04-02 06:15:52.548418", "stderr": "", "stderr_lines":
[], "stdout": "Image is up to date for
sha256:3fe402881a14307b8d56a81a0e123d9a433f8502ac1d77d311123f3c022772ec",
"stdout_lines": ["Image is up to date for
sha256:3fe402881a14307b8d56a81a0e123d9a433f8502ac1d77d311123f3c022772ec"]}
Tuesday 02 April 2024 06:15:56 +0000 (0:00:04.120) 0:05:02.474 *********
TASK [download : Download_container | Save and compress image] *****************
task path: /builds/kargo-ci/kubernetes-sigs-kubespray/roles/download/tasks/download_container.yml:72
fatal: [instance-3 -> instance-1(172.30.76.107)]: FAILED! => {"changed":
true, "cmd": "/usr/local/bin/nerdctl -n k8s.io image save -o
/builds/kargo-ci/kubernetes-sigs-kubespray/downloads/images/quay.io_kubespray_k8s-netchecker-server_v1.2.2.tar
quay.io/kubespray/k8s-netchecker-server:v1.2.2", "delta":
"0:00:00.027034", "end": "2024-04-02 06:15:56.693218",
"failed_when_result": true, "msg": "non-zero return code", "rc": 1,
"start": "2024-04-02 06:15:56.666184", "stderr":
"time=\"2024-04-02T06:15:56Z\" level=fatal msg=\"failed to get reader:
content digest
sha256:16708e34354589f10d0f402e59f7251e0a685a98c1497dffbd84cce4a11a62d6:
not found\"", "stderr_lines": ["time=\"2024-04-02T06:15:56Z\"
level=fatal msg=\"failed to get reader: content digest
sha256:16708e34354589f10d0f402e59f7251e0a685a98c1497dffbd84cce4a11a62d6:
not found\""], "stdout": "", "stdout_lines": []}
```
|
As discussed in #10907, we use
then
an error occurs:
This is a known issue #10670, and workaround way is to use |
Can convert all save/load image operations to only use skopeo ?
|
Can convert all save/load image operations to only use skopeo ?
If it does the job. Unfortunately we can't do this with crictl, because
CRI does not define a load / save interface (maybe they should...)
|
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closed this PR. In response to this:
Instructions 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. |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #10907
Special notes for your reviewer:
Does this PR introduce a user-facing change?: