-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
Description
Description
When starting containerd with a config file version 2, I see several unknown fields error:
WARN[2024-11-06T15:52:27.449046033+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key=disable_cgroup plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449066423+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key=disable_tcp_service plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449078957+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key=enable_tls_streaming plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449089784+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key=max_concurrent_downloads plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449099888+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key=sandbox_image plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449110705+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key=stats_collect_period plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449121844+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key=stream_idle_timeout plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449131400+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key=stream_server_address plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449141472+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key=stream_server_port plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449152087+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key=systemd_cgroup plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449162564+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key="containerd disable_snapshot_annotations" plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449173025+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key="containerd discard_unpacked_layers" plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449184163+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key="containerd no_pivot" plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449194667+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key="containerd snapshotter" plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449204685+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key="containerd default_runtime" plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449215420+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key="containerd runtimes runc runtime_engine" plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449226788+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key="containerd runtimes runc runtime_root" plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449237446+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key="containerd untrusted_workload_runtime" plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449248379+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key=image_decryption plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449258337+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key=registry plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449269320+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key="registry mirrors" plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449280204+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key="registry mirrors docker.io" plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449289981+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key=x509_key_pair_streaming plugin=io.containerd.cri.v1.runtime
@AkihiroSuda asked me to report this, as even version 1 should be migrated.
Steps to reproduce the issue
- Copy the containerd config I posted here and name it test.toml
- Copy it to the root of the containerd repo
- On the containerd repo, run: make && sudo make install && sudo bin/containerd --config test.toml
- You will see the messages I pasted as containerd boots, no need to do anything else
Describe the results you received and expected
I expected the whole config was migrated fine. Although I'm not 100% sure this means it is not, it seems it isn't. If it is, then probably we should improve the error messages in some way
What version of containerd are you using?
2.0.0
Any other relevant information
Here is the full output when starting containerd with that config, in case it helps:
INFO[2024-11-06T15:52:27.432336139+01:00] starting containerd revision=207ad711eabd375a01713109a8a197d197ff6542 version=v2.0.0-rc.6-74-g207ad711e
WARN[2024-11-06T15:52:27.444636618+01:00] Configuration migrated from version 2, use `containerd config migrate` to avoid migration t="14.462µs"
INFO[2024-11-06T15:52:27.444684960+01:00] loading plugin id=io.containerd.image-verifier.v1.bindir type=io.containerd.image-verifier.v1
INFO[2024-11-06T15:52:27.444714631+01:00] loading plugin id=io.containerd.internal.v1.opt type=io.containerd.internal.v1
INFO[2024-11-06T15:52:27.444761202+01:00] loading plugin id=io.containerd.warning.v1.deprecations type=io.containerd.warning.v1
INFO[2024-11-06T15:52:27.444780916+01:00] loading plugin id=io.containerd.content.v1.content type=io.containerd.content.v1
INFO[2024-11-06T15:52:27.445068473+01:00] loading plugin id=io.containerd.snapshotter.v1.blockfile type=io.containerd.snapshotter.v1
INFO[2024-11-06T15:52:27.445110906+01:00] skip loading plugin error="no scratch file generator: skip plugin" id=io.containerd.snapshotter.v1.blockfile type=io.containerd.snapshotter.v1
INFO[2024-11-06T15:52:27.445125826+01:00] loading plugin id=io.containerd.snapshotter.v1.btrfs type=io.containerd.snapshotter.v1
INFO[2024-11-06T15:52:27.445383328+01:00] skip loading plugin error="path /var/lib/containerd-rata/io.containerd.snapshotter.v1.btrfs (ext4) must be a btrfs filesystem to be used with the btrfs snapshotter: skip plugin" id=io.containerd.snapshotter.v1.btrfs type=io.containerd.snapshotter.v1
INFO[2024-11-06T15:52:27.445406911+01:00] loading plugin id=io.containerd.snapshotter.v1.devmapper type=io.containerd.snapshotter.v1
INFO[2024-11-06T15:52:27.445449267+01:00] skip loading plugin error="devmapper not configured: skip plugin" id=io.containerd.snapshotter.v1.devmapper type=io.containerd.snapshotter.v1
INFO[2024-11-06T15:52:27.445465596+01:00] loading plugin id=io.containerd.snapshotter.v1.native type=io.containerd.snapshotter.v1
INFO[2024-11-06T15:52:27.445501429+01:00] loading plugin id=io.containerd.snapshotter.v1.overlayfs type=io.containerd.snapshotter.v1
INFO[2024-11-06T15:52:27.445637690+01:00] loading plugin id=io.containerd.snapshotter.v1.zfs type=io.containerd.snapshotter.v1
INFO[2024-11-06T15:52:27.445672898+01:00] skip loading plugin error="lstat /var/lib/containerd-rata/io.containerd.snapshotter.v1.zfs: no such file or directory: skip plugin" id=io.containerd.snapshotter.v1.zfs type=io.containerd.snapshotter.v1
INFO[2024-11-06T15:52:27.445690004+01:00] loading plugin id=io.containerd.event.v1.exchange type=io.containerd.event.v1
INFO[2024-11-06T15:52:27.445737497+01:00] loading plugin id=io.containerd.monitor.task.v1.cgroups type=io.containerd.monitor.task.v1
INFO[2024-11-06T15:52:27.446016308+01:00] loading plugin id=io.containerd.metadata.v1.bolt type=io.containerd.metadata.v1
INFO[2024-11-06T15:52:27.446057655+01:00] metadata content store policy set policy=shared
INFO[2024-11-06T15:52:27.448094651+01:00] loading plugin id=io.containerd.gc.v1.scheduler type=io.containerd.gc.v1
INFO[2024-11-06T15:52:27.448202400+01:00] loading plugin id=io.containerd.differ.v1.walking type=io.containerd.differ.v1
INFO[2024-11-06T15:52:27.448219600+01:00] loading plugin id=io.containerd.lease.v1.manager type=io.containerd.lease.v1
INFO[2024-11-06T15:52:27.448233450+01:00] loading plugin id=io.containerd.service.v1.containers-service type=io.containerd.service.v1
INFO[2024-11-06T15:52:27.448246197+01:00] loading plugin id=io.containerd.service.v1.content-service type=io.containerd.service.v1
INFO[2024-11-06T15:52:27.448269507+01:00] loading plugin id=io.containerd.service.v1.diff-service type=io.containerd.service.v1
INFO[2024-11-06T15:52:27.448304046+01:00] loading plugin id=io.containerd.service.v1.images-service type=io.containerd.service.v1
INFO[2024-11-06T15:52:27.448328735+01:00] loading plugin id=io.containerd.service.v1.introspection-service type=io.containerd.service.v1
INFO[2024-11-06T15:52:27.448340574+01:00] loading plugin id=io.containerd.service.v1.namespaces-service type=io.containerd.service.v1
INFO[2024-11-06T15:52:27.448362802+01:00] loading plugin id=io.containerd.service.v1.snapshots-service type=io.containerd.service.v1
INFO[2024-11-06T15:52:27.448372855+01:00] loading plugin id=io.containerd.shim.v1.manager type=io.containerd.shim.v1
INFO[2024-11-06T15:52:27.448386140+01:00] loading plugin id=io.containerd.runtime.v2.task type=io.containerd.runtime.v2
INFO[2024-11-06T15:52:27.448446718+01:00] loading plugin id=io.containerd.service.v1.tasks-service type=io.containerd.service.v1
INFO[2024-11-06T15:52:27.448463076+01:00] loading plugin id=io.containerd.grpc.v1.containers type=io.containerd.grpc.v1
INFO[2024-11-06T15:52:27.448475087+01:00] loading plugin id=io.containerd.grpc.v1.content type=io.containerd.grpc.v1
INFO[2024-11-06T15:52:27.448486106+01:00] loading plugin id=io.containerd.grpc.v1.diff type=io.containerd.grpc.v1
INFO[2024-11-06T15:52:27.448496186+01:00] loading plugin id=io.containerd.grpc.v1.events type=io.containerd.grpc.v1
INFO[2024-11-06T15:52:27.448508545+01:00] loading plugin id=io.containerd.grpc.v1.images type=io.containerd.grpc.v1
INFO[2024-11-06T15:52:27.448519955+01:00] loading plugin id=io.containerd.grpc.v1.introspection type=io.containerd.grpc.v1
INFO[2024-11-06T15:52:27.448533112+01:00] loading plugin id=io.containerd.grpc.v1.leases type=io.containerd.grpc.v1
INFO[2024-11-06T15:52:27.448545231+01:00] loading plugin id=io.containerd.grpc.v1.namespaces type=io.containerd.grpc.v1
INFO[2024-11-06T15:52:27.448557656+01:00] loading plugin id=io.containerd.sandbox.store.v1.local type=io.containerd.sandbox.store.v1
INFO[2024-11-06T15:52:27.448568449+01:00] loading plugin id=io.containerd.cri.v1.images type=io.containerd.cri.v1
WARN[2024-11-06T15:52:27.448645307+01:00] `mirrors` is deprecated, please use `config_path` instead
INFO[2024-11-06T15:52:27.448701638+01:00] Get image filesystem path "/var/lib/containerd-rata/io.containerd.snapshotter.v1.overlayfs" for snapshotter "overlayfs"
INFO[2024-11-06T15:52:27.448712689+01:00] Start snapshots syncer
INFO[2024-11-06T15:52:27.448731828+01:00] loading plugin id=io.containerd.cri.v1.runtime type=io.containerd.cri.v1
WARN[2024-11-06T15:52:27.449046033+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key=disable_cgroup plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449066423+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key=disable_tcp_service plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449078957+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key=enable_tls_streaming plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449089784+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key=max_concurrent_downloads plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449099888+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key=sandbox_image plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449110705+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key=stats_collect_period plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449121844+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key=stream_idle_timeout plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449131400+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key=stream_server_address plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449141472+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key=stream_server_port plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449152087+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key=systemd_cgroup plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449162564+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key="containerd disable_snapshot_annotations" plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449173025+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key="containerd discard_unpacked_layers" plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449184163+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key="containerd no_pivot" plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449194667+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key="containerd snapshotter" plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449204685+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key="containerd default_runtime" plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449215420+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key="containerd runtimes runc runtime_engine" plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449226788+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key="containerd runtimes runc runtime_root" plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449237446+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key="containerd untrusted_workload_runtime" plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449248379+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key=image_decryption plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449258337+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key=registry plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449269320+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key="registry mirrors" plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449280204+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key="registry mirrors docker.io" plugin=io.containerd.cri.v1.runtime
WARN[2024-11-06T15:52:27.449289981+01:00] Ignoring unknown key in TOML for plugin error="strict mode: fields in the document are missing in the target struct" key=x509_key_pair_streaming plugin=io.containerd.cri.v1.runtime
INFO[2024-11-06T15:52:27.449513151+01:00] starting cri plugin config="{\"containerd\":{\"defaultRuntimeName\":\"runc\",\"runtimes\":{\"runc\":{\"runtimeType\":\"io.containerd.runc.v2\",\"runtimePath\":\"\",\"PodAnnotations\":null,\"ContainerAnnotations\":null,\"options\":{\"BinaryName\":\"\",\"CriuImagePath\":\"\",\"CriuWorkPath\":\"\",\"IoGid\":0,\"IoUid\":0,\"NoNewKeyring\":false,\"Root\":\"\",\"ShimCgroup\":\"\"},\"privileged_without_host_devices\":false,\"privileged_without_host_devices_all_devices_allowed\":false,\"baseRuntimeSpec\":\"\",\"cniConfDir\":\"\",\"cniMaxConfNum\":0,\"snapshotter\":\"\",\"sandboxer\":\"podsandbox\",\"io_type\":\"\"}},\"ignoreBlockIONotEnabledErrors\":false,\"ignoreRdtNotEnabledErrors\":false},\"cni\":{\"binDir\":\"/opt/cni/bin\",\"confDir\":\"/etc/cni/net.d\",\"maxConfNum\":1,\"setupSerially\":false,\"confTemplate\":\"\",\"ipPref\":\"\",\"useInternalLoopback\":false},\"enableSelinux\":false,\"selinuxCategoryRange\":1024,\"maxContainerLogSize\":16384,\"disableApparmor\":false,\"restrictOOMScoreAdj\":false,\"disableProcMount\":false,\"unsetSeccompProfile\":\"\",\"tolerateMissingHugetlbController\":true,\"disableHugetlbController\":true,\"device_ownership_from_security_context\":false,\"ignoreImageDefinedVolumes\":false,\"netnsMountsUnderStateDir\":false,\"enableUnprivilegedPorts\":true,\"enableUnprivilegedICMP\":true,\"enableCDI\":true,\"cdiSpecDirs\":[\"/etc/cdi\",\"/var/run/cdi\"],\"drainExecSyncIOTimeout\":\"0s\",\"ignoreDeprecationWarnings\":null,\"containerdRootDir\":\"/var/lib/containerd-rata\",\"containerdEndpoint\":\"/run/containerd-rata/containerd.sock\",\"rootDir\":\"/var/lib/containerd-rata/io.containerd.grpc.v1.cri\",\"stateDir\":\"/run/containerd-rata/io.containerd.grpc.v1.cri\"}"
INFO[2024-11-06T15:52:27.449564715+01:00] loading plugin id=io.containerd.podsandbox.controller.v1.podsandbox type=io.containerd.podsandbox.controller.v1
INFO[2024-11-06T15:52:27.449628638+01:00] loading plugin id=io.containerd.sandbox.controller.v1.shim type=io.containerd.sandbox.controller.v1
INFO[2024-11-06T15:52:27.449673321+01:00] loading plugin id=io.containerd.grpc.v1.sandbox-controllers type=io.containerd.grpc.v1
INFO[2024-11-06T15:52:27.449698109+01:00] loading plugin id=io.containerd.grpc.v1.sandboxes type=io.containerd.grpc.v1
INFO[2024-11-06T15:52:27.449710850+01:00] loading plugin id=io.containerd.grpc.v1.snapshots type=io.containerd.grpc.v1
INFO[2024-11-06T15:52:27.449721616+01:00] loading plugin id=io.containerd.streaming.v1.manager type=io.containerd.streaming.v1
INFO[2024-11-06T15:52:27.449734803+01:00] loading plugin id=io.containerd.grpc.v1.streaming type=io.containerd.grpc.v1
INFO[2024-11-06T15:52:27.449747700+01:00] loading plugin id=io.containerd.grpc.v1.tasks type=io.containerd.grpc.v1
INFO[2024-11-06T15:52:27.450275216+01:00] loading plugin id=io.containerd.transfer.v1.local type=io.containerd.transfer.v1
INFO[2024-11-06T15:52:27.450553057+01:00] loading plugin id=io.containerd.grpc.v1.transfer type=io.containerd.grpc.v1
INFO[2024-11-06T15:52:27.450601122+01:00] loading plugin id=io.containerd.grpc.v1.version type=io.containerd.grpc.v1
INFO[2024-11-06T15:52:27.450629340+01:00] loading plugin id=io.containerd.monitor.container.v1.restart type=io.containerd.monitor.container.v1
INFO[2024-11-06T15:52:27.450851656+01:00] loading plugin id=io.containerd.tracing.processor.v1.otlp type=io.containerd.tracing.processor.v1
INFO[2024-11-06T15:52:27.450916020+01:00] skip loading plugin error="skip plugin: tracing endpoint not configured" id=io.containerd.tracing.processor.v1.otlp type=io.containerd.tracing.processor.v1
INFO[2024-11-06T15:52:27.450944637+01:00] loading plugin id=io.containerd.internal.v1.tracing type=io.containerd.internal.v1
INFO[2024-11-06T15:52:27.451060741+01:00] skip loading plugin error="skip plugin: tracing endpoint not configured" id=io.containerd.internal.v1.tracing type=io.containerd.internal.v1
INFO[2024-11-06T15:52:27.451099882+01:00] loading plugin id=io.containerd.ttrpc.v1.otelttrpc type=io.containerd.ttrpc.v1
INFO[2024-11-06T15:52:27.451218648+01:00] loading plugin id=io.containerd.grpc.v1.healthcheck type=io.containerd.grpc.v1
INFO[2024-11-06T15:52:27.451486930+01:00] loading plugin id=io.containerd.nri.v1.nri type=io.containerd.nri.v1
INFO[2024-11-06T15:52:27.451721185+01:00] runtime interface created
INFO[2024-11-06T15:52:27.452398434+01:00] created NRI interface
INFO[2024-11-06T15:52:27.452448020+01:00] loading plugin id=io.containerd.grpc.v1.cri type=io.containerd.grpc.v1
INFO[2024-11-06T15:52:27.452498843+01:00] Connect containerd service
INFO[2024-11-06T15:52:27.452541404+01:00] using experimental NRI integration - disable nri plugin to prevent this
INFO[2024-11-06T15:52:27.463816836+01:00] Start subscribing containerd event
INFO[2024-11-06T15:52:27.463902619+01:00] serving... address=/run/containerd-rata/containerd.sock.ttrpc
INFO[2024-11-06T15:52:27.463956373+01:00] Start recovering state
INFO[2024-11-06T15:52:27.463965203+01:00] serving... address=/run/containerd-rata/containerd.sock
INFO[2024-11-06T15:52:27.588657238+01:00] Start event monitor
INFO[2024-11-06T15:52:27.588699117+01:00] Start cni network conf syncer for default
INFO[2024-11-06T15:52:27.588706748+01:00] Start streaming server
INFO[2024-11-06T15:52:27.588721606+01:00] Registered namespace "k8s.io" with NRI
INFO[2024-11-06T15:52:27.588729124+01:00] runtime interface starting up...
INFO[2024-11-06T15:52:27.588734430+01:00] starting plugins...
INFO[2024-11-06T15:52:27.588745166+01:00] Synchronizing NRI (plugin) with current runtime state
INFO[2024-11-06T15:52:27.588960640+01:00] containerd successfully booted in 0.157354s
Show configuration if it is related to CRI plugin.
It is not related to the CRI plugin, but I'm just using this to paste my config.
version = 2
root = "/var/lib/containerd"
state = "/run/containerd"
plugin_dir = ""
disabled_plugins = []
required_plugins = []
oom_score = 0
[grpc]
address = "/run/containerd/containerd.sock"
tcp_address = ""
tcp_tls_cert = ""
tcp_tls_key = ""
uid = 0
gid = 0
max_recv_message_size = 16777216
max_send_message_size = 16777216
[ttrpc]
address = ""
uid = 0
gid = 0
[debug]
address = ""
uid = 0
gid = 0
level = ""
[metrics]
address = ""
grpc_histogram = false
[cgroup]
path = ""
[timeouts]
"io.containerd.timeout.shim.cleanup" = "5s"
"io.containerd.timeout.shim.load" = "5s"
"io.containerd.timeout.shim.shutdown" = "3s"
"io.containerd.timeout.task.state" = "2s"
[plugins]
[plugins."io.containerd.gc.v1.scheduler"]
pause_threshold = 0.02
deletion_threshold = 0
mutation_threshold = 100
schedule_delay = "0s"
startup_delay = "100ms"
[plugins."io.containerd.grpc.v1.cri"]
disable_tcp_service = true
stream_server_address = "127.0.0.1"
stream_server_port = "0"
stream_idle_timeout = "4h0m0s"
enable_selinux = false
selinux_category_range = 1024
sandbox_image = "k8s.gcr.io/pause:3.2"
stats_collect_period = 10
systemd_cgroup = false
enable_tls_streaming = false
max_container_log_line_size = 16384
disable_cgroup = false
disable_apparmor = false
# XXX: rata. Added to test: https://github.com/containerd/containerd/pull/8779
#enable_unprivileged_icmp = true
restrict_oom_score_adj = false
max_concurrent_downloads = 3
disable_proc_mount = false
unset_seccomp_profile = ""
tolerate_missing_hugetlb_controller = true
disable_hugetlb_controller = true
ignore_image_defined_volumes = false
[plugins."io.containerd.grpc.v1.cri".containerd]
snapshotter = "overlayfs"
default_runtime_name = "runc"
no_pivot = false
disable_snapshot_annotations = true
discard_unpacked_layers = false
[plugins."io.containerd.grpc.v1.cri".containerd.default_runtime]
runtime_type = ""
runtime_engine = ""
runtime_root = ""
privileged_without_host_devices = false
base_runtime_spec = ""
[plugins."io.containerd.grpc.v1.cri".containerd.untrusted_workload_runtime]
runtime_type = ""
runtime_engine = ""
runtime_root = ""
privileged_without_host_devices = false
base_runtime_spec = ""
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes]
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
runtime_type = "io.containerd.runc.v2"
runtime_engine = ""
runtime_root = ""
privileged_without_host_devices = false
base_runtime_spec = ""
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options]
[plugins."io.containerd.grpc.v1.cri".cni]
bin_dir = "/opt/cni/bin"
conf_dir = "/etc/cni/net.d"
max_conf_num = 1
conf_template = ""
[plugins."io.containerd.grpc.v1.cri".registry]
[plugins."io.containerd.grpc.v1.cri".registry.mirrors]
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."docker.io"]
endpoint = ["https://registry-1.docker.io"]
[plugins."io.containerd.grpc.v1.cri".image_decryption]
key_model = ""
[plugins."io.containerd.grpc.v1.cri".x509_key_pair_streaming]
tls_cert_file = ""
tls_key_file = ""
#[plugins."io.containerd.internal.v1.opt"]
# path = "/opt/containerd"
[plugins."io.containerd.internal.v1.tracing"]
sampling_ratio = 1.0
service_name = "containerd"
[plugins."io.containerd.internal.v1.restart"]
interval = "10s"
[plugins."io.containerd.metadata.v1.bolt"]
content_sharing_policy = "shared"
[plugins."io.containerd.monitor.v1.cgroups"]
no_prometheus = false
[plugins."io.containerd.runtime.v1.linux"]
shim = "containerd-shim"
runtime = "runc"
runtime_root = ""
no_shim = false
shim_debug = false
[plugins."io.containerd.runtime.v2.task"]
platforms = ["linux/amd64"]
[plugins."io.containerd.service.v1.diff-service"]
default = ["walking"]
[plugins."io.containerd.snapshotter.v1.btrfs"]
root_path = ""
[plugins."io.containerd.snapshotter.v1.devmapper"]
root_path = ""
pool_name = ""
base_image_size = ""
async_remove = false
[plugins."io.containerd.snapshotter.v1.native"]
root_path = ""
[plugins."io.containerd.snapshotter.v1.overlayfs"]
root_path = ""
# XXX: rata. Added to test this func. Ignored in kernels > 5.19.
slow_chown = true
[plugins."io.containerd.tracing.processor.v1.otlp"]
endpoint = ""
insecure = false
protocol = ""