image-builder icon indicating copy to clipboard operation
image-builder copied to clipboard

containerd release bundles deprecated

Open martin-adema opened this issue 9 months ago • 4 comments

Environment

  • Make target: make build-node-ova-vsphere-flatcar
  • Run using container image? (Y/N): Y
  • Environment vars:
PACKER_VAR_FILES=packer-var.json
  • Vars file:
"containerd_sha256": "9bd5b6a1bdf505d520d9a329c520258ed0a17faa9fe3db12712ee858ad59aae3",
"containerd_version": "2.0.2",

What steps did you take and what happened?

Running make build-node-ova-vsphere-flatcar to create an image but failed on containerd installation.

What did you expect to happen?

Installation of containerd.

Relevant log output

Log Output
<!--
If you have any relevant build logs that could help debug this issue please include them here
but MAKE SURE ANY SENSITIVE INFO IS REMOVED!
-->

Anything else you would like to add?

From containerd v1.6 the cri-containerd-*.tar.gz release bundle has been deprecated, see https://github.com/containerd/containerd/pull/9096. From v2.0 the release bundle has been removed. containerd, runc and the CNI plugins need to be installed separately: https://github.com/containerd/containerd/blob/main/docs/getting-started.md#step-1-installing-containerd https://github.com/containerd/containerd/blob/main/docs/getting-started.md#step-2-installing-runc https://github.com/containerd/containerd/blob/main/docs/getting-started.md#step-3-installing-cni-plugins

ansible/roles/containerd/tasks/main.yml however expects a single bundled archive.


/kind bug

martin-adema avatar Jan 31 '25 17:01 martin-adema

Thanks for this! Any chance you're able to work on a PR to resolve this?

/label help-wanted

AverageMarcus avatar Feb 03 '25 07:02 AverageMarcus

@AverageMarcus: The label(s) /label help-wanted cannot be applied. These labels are supported: api-review, tide/merge-method-merge, tide/merge-method-rebase, tide/merge-method-squash, team/katacoda, refactor, ci-short, ci-extended, ci-full. Is this label configured under labels -> additional_labels or labels -> restricted_labels in plugin.yaml?

In response to this:

Thanks for this! Any chance you're able to work on a PR to resolve this?

/label help-wanted

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.

k8s-ci-robot avatar Feb 03 '25 07:02 k8s-ci-robot

/assign

sivchari avatar Feb 04 '25 01:02 sivchari

Hi, @AverageMarcus At a glance, https://github.com/kubernetes-sigs/image-builder/pull/1658 will resolve this problem.

sivchari avatar Feb 04 '25 01:02 sivchari