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

FailedCreatePodSandBox with Kubernetes+Kata+Firecracker #1679

Open
cameronsenese opened this issue Apr 10, 2021 · 7 comments
Open

FailedCreatePodSandBox with Kubernetes+Kata+Firecracker #1679

cameronsenese opened this issue Apr 10, 2021 · 7 comments
Labels
area/firecracker Issues specific to the Firecracker hypervisor bug Incorrect behaviour

Comments

@cameronsenese
Copy link

cameronsenese commented Apr 10, 2021

Description of problem

Unable to schedule pods via Kubernetes using Containerd+Kata+Firecracker.

Kubernetes RuntimeClass:

apiVersion: node.k8s.io/v1beta1
kind: RuntimeClass
metadata:
  name: kata
handler: kata

Expected result

Submitting the following:

apiVersion: v1
kind: Pod
metadata:
  name: nginx-kata
spec:
  runtimeClassName: kata
  containers:
  - name: nginx
    image: nginx

launches pod nginx-kata.

Actual result

Submitting the following:

apiVersion: v1
kind: Pod
metadata:
  name: nginx-kata
spec:
  runtimeClassName: kata
  containers:
  - name: nginx
    image: nginx

does not launch pod nginx-kata. Pod is stuck at ContainerCreating.

Error:
Events:
  Type     Reason                  Age                 From               Message
  ----     ------                  ----                ----               -------
  Normal   Scheduled               36m                 default-scheduler  Successfully assigned default/nginx-kata to my-node
  Warning  FailedCreatePodSandBox  36m                 kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create containerd task: failed to mount "/run/kata-containers/shared/containers/cbaf72f53bf3feedc14980dfaac934cc94b36e712a68f0080a789defb902bb58/rootfs" to "/run/kata-containers/cbaf72f53bf3feedc14980dfaac934cc94b36e712a68f0080a789defb902bb58/rootfs", with error: No such file or directory (os error 2): unknown

Further information

When Kata is configured to use qemu, the operation to create pod nginx-kata (per above) is successful. Issue limited to Firecracker.

Show kata-collect-data.sh details

Meta details

Running kata-collect-data.sh version 2.1.0-alpha2 (commit 4e62d596db2f7219c903d91387be2255be374774) at 2021-04-11.07:13:33.564660282+0000.


Runtime

Runtime is /bin/kata-runtime.

kata-env

/bin/kata-runtime kata-env

[Meta]
  Version = "1.0.25"

[Runtime]
  Debug = false
  Trace = false
  DisableGuestSeccomp = true
  DisableNewNetNs = false
  SandboxCgroupOnly = false
  Path = "/opt/kata/bin/kata-runtime"
  [Runtime.Version]
    OCI = "1.0.1-dev"
    [Runtime.Version.Version]
      Semver = "2.1.0-alpha2"
      Major = 2
      Minor = 1
      Patch = 0
      Commit = "4e62d596db2f7219c903d91387be2255be374774"
  [Runtime.Config]
    Path = "/opt/kata/share/defaults/kata-containers/configuration-qemu.toml"

[Hypervisor]
  MachineType = "pc"
  Version = "QEMU emulator version 5.2.0 (kata-static)\nCopyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers"
  Path = "/opt/kata/bin/qemu-system-x86_64"
  BlockDeviceDriver = "virtio-scsi"
  EntropySource = "/dev/urandom"
  SharedFS = "virtio-fs"
  VirtioFSDaemon = "/opt/kata/libexec/kata-qemu/virtiofsd"
  Msize9p = 8192
  MemorySlots = 10
  PCIeRootPort = 0
  HotplugVFIOOnRootBus = false
  Debug = false

[Image]
  Path = "/opt/kata/share/kata-containers/kata-containers-image_clearlinux_2.1.0-alpha2_agent_4e62d596db.img"

[Kernel]
  Path = "/opt/kata/share/kata-containers/vmlinux-5.10.25-84"
  Parameters = "systemd.unit=kata-containers.target systemd.mask=systemd-networkd.service systemd.mask=systemd-networkd.socket scsi_mod.scan=none"

[Initrd]
  Path = ""

[Agent]
  Debug = false
  Trace = false
  TraceMode = ""
  TraceType = ""

[Host]
  Kernel = "4.14.225-169.362.amzn2.x86_64"
  Architecture = "amd64"
  VMContainerCapable = true
  SupportVSocks = true
  [Host.Distro]
    Name = "Amazon Linux"
    Version = "2"
  [Host.CPU]
    Vendor = "GenuineIntel"
    Model = "Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz"
    CPUs = 96
  [Host.Memory]
    Total = 197703608
    Free = 189399960
    Available = 194133976

[Netmon]
  Path = "/opt/kata/libexec/kata-containers/kata-netmon"
  Debug = false
  Enable = false
  [Netmon.Version]
    Semver = "2.1.0-alpha2"
    Major = 2
    Minor = 1
    Patch = 0
    Commit = "<<unknown>>"


Runtime config files

Runtime config files

Runtime default config files

/etc/kata-containers/configuration.toml
/opt/kata/share/defaults/kata-containers/configuration.toml

Runtime config file contents

Config file /etc/kata-containers/configuration.toml not found

cat "/opt/kata/share/defaults/kata-containers/configuration.toml"

# Copyright (c) 2017-2019 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#

# XXX: WARNING: this file is auto-generated.
# XXX:
# XXX: Source file: "cli/config/configuration-qemu.toml.in"
# XXX: Project:
# XXX:   Name: Kata Containers
# XXX:   Type: kata

[hypervisor.qemu]
path = "/opt/kata/bin/qemu-system-x86_64"
kernel = "/opt/kata/share/kata-containers/vmlinux.container"
image = "/opt/kata/share/kata-containers/kata-containers.img"
machine_type = "pc"

# List of valid annotation names for the hypervisor
# Each member of the list is a regular expression, which is the base name
# of the annotation, e.g. "path" for io.katacontainers.config.hypervisor.path"
enable_annotations = []

# List of valid annotations values for the hypervisor
# Each member of the list is a path pattern as described by glob(3).
# The default if not set is empty (all annotations rejected.)
# Your distribution recommends: ["/opt/kata/bin/qemu-system-x86_64"]
valid_hypervisor_paths = ["/opt/kata/bin/qemu-system-x86_64"]

# Optional space-separated list of options to pass to the guest kernel.
# For example, use `kernel_params = "vsyscall=emulate"` if you are having
# trouble running pre-2.15 glibc.
#
# WARNING: - any parameter specified here will take priority over the default
# parameter value of the same name used to start the virtual machine.
# Do not set values here unless you understand the impact of doing so as you
# may stop the virtual machine from booting.
# To see the list of default parameters, enable hypervisor debug, create a
# container and look for 'default-kernel-parameters' log entries.
kernel_params = ""

# Path to the firmware.
# If you want that qemu uses the default firmware leave this option empty
firmware = ""

# Machine accelerators
# comma-separated list of machine accelerators to pass to the hypervisor.
# For example, `machine_accelerators = "nosmm,nosmbus,nosata,nopit,static-prt,nofw"`
machine_accelerators=""

# CPU features
# comma-separated list of cpu features to pass to the cpu
# For example, `cpu_features = "pmu=off,vmx=off"
cpu_features="pmu=off"

# Default number of vCPUs per SB/VM:
# unspecified or 0                --> will be set to 1
# < 0                             --> will be set to the actual number of physical cores
# > 0 <= number of physical cores --> will be set to the specified number
# > number of physical cores      --> will be set to the actual number of physical cores
default_vcpus = 1

# Default maximum number of vCPUs per SB/VM:
# unspecified or == 0             --> will be set to the actual number of physical cores or to the maximum number
#                                     of vCPUs supported by KVM if that number is exceeded
# > 0 <= number of physical cores --> will be set to the specified number
# > number of physical cores      --> will be set to the actual number of physical cores or to the maximum number
#                                     of vCPUs supported by KVM if that number is exceeded
# WARNING: Depending of the architecture, the maximum number of vCPUs supported by KVM is used when
# the actual number of physical cores is greater than it.
# WARNING: Be aware that this value impacts the virtual machine's memory footprint and CPU
# the hotplug functionality. For example, `default_maxvcpus = 240` specifies that until 240 vCPUs
# can be added to a SB/VM, but the memory footprint will be big. Another example, with
# `default_maxvcpus = 8` the memory footprint will be small, but 8 will be the maximum number of
# vCPUs supported by the SB/VM. In general, we recommend that you do not edit this variable,
# unless you know what are you doing.
# NOTICE: on arm platform with gicv2 interrupt controller, set it to 8.
default_maxvcpus = 0

# Bridges can be used to hot plug devices.
# Limitations:
# * Currently only pci bridges are supported
# * Until 30 devices per bridge can be hot plugged.
# * Until 5 PCI bridges can be cold plugged per VM.
#   This limitation could be a bug in qemu or in the kernel
# Default number of bridges per SB/VM:
# unspecified or 0   --> will be set to 1
# > 1 <= 5           --> will be set to the specified number
# > 5                --> will be set to 5
default_bridges = 1

# Default memory size in MiB for SB/VM.
# If unspecified then it will be set 2048 MiB.
default_memory = 2048
#
# Default memory slots per SB/VM.
# If unspecified then it will be set 10.
# This is will determine the times that memory will be hotadded to sandbox/VM.
#memory_slots = 10

# The size in MiB will be plused to max memory of hypervisor.
# It is the memory address space for the NVDIMM devie.
# If set block storage driver (block_device_driver) to "nvdimm",
# should set memory_offset to the size of block device.
# Default 0
#memory_offset = 0

# Specifies virtio-mem will be enabled or not.
# Please note that this option should be used with the command
# "echo 1 > /proc/sys/vm/overcommit_memory".
# Default false
#enable_virtio_mem = true

# Disable block device from being used for a container's rootfs.
# In case of a storage driver like devicemapper where a container's
# root file system is backed by a block device, the block device is passed
# directly to the hypervisor for performance reasons.
# This flag prevents the block device from being passed to the hypervisor,
# 9pfs is used instead to pass the rootfs.
disable_block_device_use = false

# Shared file system type:
#   - virtio-fs (default)
#   - virtio-9p
shared_fs = "virtio-fs"

# Path to vhost-user-fs daemon.
virtio_fs_daemon = "/opt/kata/libexec/kata-qemu/virtiofsd"

# List of valid annotations values for the virtiofs daemon
# The default if not set is empty (all annotations rejected.)
# Your distribution recommends: ["/opt/kata/libexec/kata-qemu/virtiofsd"]
valid_virtio_fs_daemon_paths = ["/opt/kata/libexec/kata-qemu/virtiofsd"]

# Default size of DAX cache in MiB
virtio_fs_cache_size = 0

# Extra args for virtiofsd daemon
#
# Format example:
#   ["-o", "arg1=xxx,arg2", "-o", "hello world", "--arg3=yyy"]
#
# see `virtiofsd -h` for possible options.
virtio_fs_extra_args = ["--thread-pool-size=1"]

# Cache mode:
#
#  - none
#    Metadata, data, and pathname lookup are not cached in guest. They are
#    always fetched from host and any changes are immediately pushed to host.
#
#  - auto
#    Metadata and pathname lookup cache expires after a configured amount of
#    time (default is 1 second). Data is cached while the file is open (close
#    to open consistency).
#
#  - always
#    Metadata, data, and pathname lookup are cached in guest and never expire.
virtio_fs_cache = "auto"

# Block storage driver to be used for the hypervisor in case the container
# rootfs is backed by a block device. This is virtio-scsi, virtio-blk
# or nvdimm.
block_device_driver = "virtio-scsi"

# Specifies cache-related options will be set to block devices or not.
# Default false
#block_device_cache_set = true

# Specifies cache-related options for block devices.
# Denotes whether use of O_DIRECT (bypass the host page cache) is enabled.
# Default false
#block_device_cache_direct = true

# Specifies cache-related options for block devices.
# Denotes whether flush requests for the device are ignored.
# Default false
#block_device_cache_noflush = true

# Enable iothreads (data-plane) to be used. This causes IO to be
# handled in a separate IO thread. This is currently only implemented
# for SCSI.
#
enable_iothreads = false

# Enable pre allocation of VM RAM, default false
# Enabling this will result in lower container density
# as all of the memory will be allocated and locked
# This is useful when you want to reserve all the memory
# upfront or in the cases where you want memory latencies
# to be very predictable
# Default false
#enable_mem_prealloc = true

# Enable huge pages for VM RAM, default false
# Enabling this will result in the VM memory
# being allocated using huge pages.
# This is useful when you want to use vhost-user network
# stacks within the container. This will automatically
# result in memory pre allocation
#enable_hugepages = true

# Enable vhost-user storage device, default false
# Enabling this will result in some Linux reserved block type
# major range 240-254 being chosen to represent vhost-user devices.
enable_vhost_user_store = false

# The base directory specifically used for vhost-user devices.
# Its sub-path "block" is used for block devices; "block/sockets" is
# where we expect vhost-user sockets to live; "block/devices" is where
# simulated block device nodes for vhost-user devices to live.
vhost_user_store_path = "/var/run/kata-containers/vhost-user"

# Enable vIOMMU, default false
# Enabling this will result in the VM having a vIOMMU device
# This will also add the following options to the kernel's
# command line: intel_iommu=on,iommu=pt
#enable_iommu = true

# Enable IOMMU_PLATFORM, default false
# Enabling this will result in the VM device having iommu_platform=on set
#enable_iommu_platform = true

# List of valid annotations values for the vhost user store path
# The default if not set is empty (all annotations rejected.)
# Your distribution recommends: ["/var/run/kata-containers/vhost-user"]
valid_vhost_user_store_paths = ["/var/run/kata-containers/vhost-user"]

# Enable file based guest memory support. The default is an empty string which
# will disable this feature. In the case of virtio-fs, this is enabled
# automatically and '/dev/shm' is used as the backing folder.
# This option will be ignored if VM templating is enabled.
#file_mem_backend = ""

# List of valid annotations values for the file_mem_backend annotation
# The default if not set is empty (all annotations rejected.)
# Your distribution recommends: [""]
valid_file_mem_backends = [""]

# Enable swap of vm memory. Default false.
# The behaviour is undefined if mem_prealloc is also set to true
#enable_swap = true

# -pflash can add image file to VM. The arguments of it should be in format
# of ["/path/to/flash0.img", "/path/to/flash1.img"]
pflashes = []

# This option changes the default hypervisor and kernel parameters
# to enable debug output where available.
#
# Default false
#enable_debug = true

# Disable the customizations done in the runtime when it detects
# that it is running on top a VMM. This will result in the runtime
# behaving as it would when running on bare metal.
#
#disable_nesting_checks = true

# This is the msize used for 9p shares. It is the number of bytes
# used for 9p packet payload.
#msize_9p = 8192

# If false and nvdimm is supported, use nvdimm device to plug guest image.
# Otherwise virtio-block device is used.
# Default is false
#disable_image_nvdimm = true

# VFIO devices are hotplugged on a bridge by default.
# Enable hotplugging on root bus. This may be required for devices with
# a large PCI bar, as this is a current limitation with hotplugging on
# a bridge. This value is valid for "pc" machine type.
# Default false
#hotplug_vfio_on_root_bus = true

# Before hot plugging a PCIe device, you need to add a pcie_root_port device.
# Use this parameter when using some large PCI bar devices, such as Nvidia GPU
# The value means the number of pcie_root_port
# This value is valid when hotplug_vfio_on_root_bus is true and machine_type is "q35"
# Default 0
#pcie_root_port = 2

# If vhost-net backend for virtio-net is not desired, set to true. Default is false, which trades off
# security (vhost-net runs ring0) for network I/O performance.
#disable_vhost_net = true

#
# Default entropy source.
# The path to a host source of entropy (including a real hardware RNG)
# /dev/urandom and /dev/random are two main options.
# Be aware that /dev/random is a blocking source of entropy.  If the host
# runs out of entropy, the VMs boot time will increase leading to get startup
# timeouts.
# The source of entropy /dev/urandom is non-blocking and provides a
# generally acceptable source of entropy. It should work well for pretty much
# all practical purposes.
#entropy_source= "/dev/urandom"

# Path to OCI hook binaries in the *guest rootfs*.
# This does not affect host-side hooks which must instead be added to
# the OCI spec passed to the runtime.
#
# You can create a rootfs with hooks by customizing the osbuilder scripts:
# https://github.com/kata-containers/osbuilder
#
# Hooks must be stored in a subdirectory of guest_hook_path according to their
# hook type, i.e. "guest_hook_path/{prestart,postart,poststop}".
# The agent will scan these directories for executable files and add them, in
# lexicographical order, to the lifecycle of the guest container.
# Hooks are executed in the runtime namespace of the guest. See the official documentation:
# https://github.com/opencontainers/runtime-spec/blob/v1.0.1/config.md#posix-platform-hooks
# Warnings will be logged if any error is encountered while scanning for hooks,
# but it will not abort container execution.
#guest_hook_path = "/usr/share/oci/hooks"
#
# Use rx Rate Limiter to control network I/O inbound bandwidth(size in bits/sec for SB/VM).
# In Qemu, we use classful qdiscs HTB(Hierarchy Token Bucket) to discipline traffic.
# Default 0-sized value means unlimited rate.
#rx_rate_limiter_max_rate = 0
# Use tx Rate Limiter to control network I/O outbound bandwidth(size in bits/sec for SB/VM).
# In Qemu, we use classful qdiscs HTB(Hierarchy Token Bucket) and ifb(Intermediate Functional Block)
# to discipline traffic.
# Default 0-sized value means unlimited rate.
#tx_rate_limiter_max_rate = 0

# Set where to save the guest memory dump file.
# If set, when GUEST_PANICKED event occurred,
# guest memeory will be dumped to host filesystem under guest_memory_dump_path,
# This directory will be created automatically if it does not exist.
#
# The dumped file(also called vmcore) can be processed with crash or gdb.
#
# WARNING:
#   Dump guest’s memory can take very long depending on the amount of guest memory
#   and use much disk space.
#guest_memory_dump_path="/var/crash/kata"

# If enable paging.
# Basically, if you want to use "gdb" rather than "crash",
# or need the guest-virtual addresses in the ELF vmcore,
# then you should enable paging.
#
# See: https://www.qemu.org/docs/master/qemu-qmp-ref.html#Dump-guest-memory for details
#guest_memory_dump_paging=false

[factory]
# VM templating support. Once enabled, new VMs are created from template
# using vm cloning. They will share the same initial kernel, initramfs and
# agent memory by mapping it readonly. It helps speeding up new container
# creation and saves a lot of memory if there are many kata containers running
# on the same host.
#
# When disabled, new VMs are created from scratch.
#
# Note: Requires "initrd=" to be set ("image=" is not supported).
#
# Default false
#enable_template = true

# Specifies the path of template.
#
# Default "/run/vc/vm/template"
#template_path = "/run/vc/vm/template"

# The number of caches of VMCache:
# unspecified or == 0   --> VMCache is disabled
# > 0                   --> will be set to the specified number
#
# VMCache is a function that creates VMs as caches before using it.
# It helps speed up new container creation.
# The function consists of a server and some clients communicating
# through Unix socket.  The protocol is gRPC in protocols/cache/cache.proto.
# The VMCache server will create some VMs and cache them by factory cache.
# It will convert the VM to gRPC format and transport it when gets
# requestion from clients.
# Factory grpccache is the VMCache client.  It will request gRPC format
# VM and convert it back to a VM.  If VMCache function is enabled,
# kata-runtime will request VM from factory grpccache when it creates
# a new sandbox.
#
# Default 0
#vm_cache_number = 0

# Specify the address of the Unix socket that is used by VMCache.
#
# Default /var/run/kata-containers/cache.sock
#vm_cache_endpoint = "/var/run/kata-containers/cache.sock"

[agent.kata]
# If enabled, make the agent display debug-level messages.
# (default: disabled)
#enable_debug = true

# Enable agent tracing.
#
# If enabled, the default trace mode is "dynamic" and the
# default trace type is "isolated". The trace mode and type are set
# explicity with the `trace_type=` and `trace_mode=` options.
#
# Notes:
#
# - Tracing is ONLY enabled when `enable_tracing` is set: explicitly
#   setting `trace_mode=` and/or `trace_type=` without setting `enable_tracing`
#   will NOT activate agent tracing.
#
# - See https://github.com/kata-containers/agent/blob/master/TRACING.md for
#   full details.
#
# (default: disabled)
#enable_tracing = true
#
#trace_mode = "dynamic"
#trace_type = "isolated"

# Comma separated list of kernel modules and their parameters.
# These modules will be loaded in the guest kernel using modprobe(8).
# The following example can be used to load two kernel modules with parameters
#  - kernel_modules=["e1000e InterruptThrottleRate=3000,3000,3000 EEE=1", "i915 enable_ppgtt=0"]
# The first word is considered as the module name and the rest as its parameters.
# Container will not be started when:
#  * A kernel module is specified and the modprobe command is not installed in the guest
#    or it fails loading the module.
#  * The module is not available in the guest or it doesn't met the guest kernel
#    requirements, like architecture and version.
#
kernel_modules=[]

# Enable debug console.

# If enabled, user can connect guest OS running inside hypervisor
# through "kata-runtime exec <sandbox-id>" command

#debug_console_enabled = true

[netmon]
# If enabled, the network monitoring process gets started when the
# sandbox is created. This allows for the detection of some additional
# network being added to the existing network namespace, after the
# sandbox has been created.
# (default: disabled)
#enable_netmon = true

# Specify the path to the netmon binary.
path = "/opt/kata/libexec/kata-containers/kata-netmon"

# If enabled, netmon messages will be sent to the system log
# (default: disabled)
#enable_debug = true

[runtime]
# If enabled, the runtime will log additional debug messages to the
# system log
# (default: disabled)
#enable_debug = true
#
# Internetworking model
# Determines how the VM should be connected to the
# the container network interface
# Options:
#
#   - macvtap
#     Used when the Container network interface can be bridged using
#     macvtap.
#
#   - none
#     Used when customize network. Only creates a tap device. No veth pair.
#
#   - tcfilter
#     Uses tc filter rules to redirect traffic from the network interface
#     provided by plugin to a tap interface connected to the VM.
#
internetworking_model="tcfilter"

# disable guest seccomp
# Determines whether container seccomp profiles are passed to the virtual
# machine and applied by the kata agent. If set to true, seccomp is not applied
# within the guest
# (default: true)
disable_guest_seccomp=true

# If enabled, the runtime will create opentracing.io traces and spans.
# (See https://www.jaegertracing.io/docs/getting-started).
# (default: disabled)
#enable_tracing = true

# Set the full url to the Jaeger HTTP Thrift collector.
# The default if not set will be "http://localhost:14268/api/traces"
#jaeger_endpoint = ""

# Sets the username to be used if basic auth is required for Jaeger.
#jaeger_user = ""

# Sets the password to be used if basic auth is required for Jaeger.
#jaeger_password = ""

# If enabled, the runtime will not create a network namespace for shim and hypervisor processes.
# This option may have some potential impacts to your host. It should only be used when you know what you're doing.
# `disable_new_netns` conflicts with `enable_netmon`
# `disable_new_netns` conflicts with `internetworking_model=tcfilter` and `internetworking_model=macvtap`. It works only
# with `internetworking_model=none`. The tap device will be in the host network namespace and can connect to a bridge
# (like OVS) directly.
# If you are using docker, `disable_new_netns` only works with `docker run --net=none`
# (default: false)
#disable_new_netns = true

# if enabled, the runtime will add all the kata processes inside one dedicated cgroup.
# The container cgroups in the host are not created, just one single cgroup per sandbox.
# The runtime caller is free to restrict or collect cgroup stats of the overall Kata sandbox.
# The sandbox cgroup path is the parent cgroup of a container with the PodSandbox annotation.
# The sandbox cgroup is constrained if there is no container type annotation.
# See: https://godoc.org/github.com/kata-containers/runtime/virtcontainers#ContainerType
sandbox_cgroup_only=false

# If specified, sandbox_bind_mounts identifieds host paths to be mounted (ro) into the sandboxes shared path.
# This is only valid if filesystem sharing is utilized. The provided path(s) will be bindmounted into the shared fs directory.
# If defaults are utilized, these mounts should be available in the guest at `/run/kata-containers/shared/containers/sandbox-mounts`
# These will not be exposed to the container workloads, and are only provided for potential guest services.
sandbox_bind_mounts=[]

# Enabled experimental feature list, format: ["a", "b"].
# Experimental features are features not stable enough for production,
# they may break compatibility, and are prepared for a big version bump.
# Supported experimental features:
# (default: [])
experimental=[]

# If enabled, user can run pprof tools with shim v2 process through kata-monitor.
# (default: false)
# enable_pprof = true

Config file `/usr/share/defaults/kata-containers/configuration.toml` not found

Containerd shim v2

Containerd shim v2 is /bin/containerd-shim-kata-v2.

containerd-shim-kata-v2 --version

Kata Containers containerd shim: id: "io.containerd.kata.v2", version: 2.1.0-alpha2, commit: 4e62d596db2f7219c903d91387be2255be374774


KSM throttler

KSM throttler

version

systemd service

Image details

Image details

---
osbuilder:
  url: "https://github.com/kata-containers/kata-containers/tools/osbuilder"
  version: "2.1.0-alpha2-4e62d596db2f7219c903d91387be2255be374774"
rootfs-creation-time: "2021-04-09T18:34:42.005182533+0000Z"
description: "osbuilder rootfs"
file-format-version: "0.0.2"
architecture: "x86_64"
base-distro:
  name: "Clear"
  version: "34500"
  packages:
    default:
      - "chrony"
      - "iptables-bin"
      - "kmod-bin"
      - "libudev0-shim"
      - "systemd"
      - "util-linux-bin"
    extra:

agent:
  url: "https://github.com/kata-containers/kata-containers"
  name: "kata-agent"
  version: "2.1.0-alpha2"
  agent-is-init-daemon: "no"

Initrd details

Initrd details

No initrd


Logfiles

Logfiles

Runtime logs

Runtime logs

No recent runtime problems found in system journal.

Throttler logs

Throttler logs

No recent throttler problems found in system journal.

Kata Containerd Shim v2 logs

Kata Containerd Shim v2

Recent problems found in system journal:

time="2021-04-11T07:09:11.863958779Z" level=error msg="createContainer failed" error="rpc error: code = Internal desc = failed to mount \"/run/kata-containers/shared/containers/9c5c1e6a74c9eb8460a3165b2d417fd1995308e6af3ff66fc8d1beeea42a3801/rootfs\" to \"/run/kata-containers/9c5c1e6a74c9eb8460a3165b2d417fd1995308e6af3ff66fc8d1beeea42a3801/rootfs\", with error: No such file or directory (os error 2)" name=containerd-shim-v2 pid=87480 sandbox=9c5c1e6a74c9eb8460a3165b2d417fd1995308e6af3ff66fc8d1beeea42a3801 source=virtcontainers subsystem=kata_agent
time="2021-04-11T07:09:11.902866906Z" level=error msg="container create failed" error="rpc error: code = Internal desc = failed to mount \"/run/kata-containers/shared/containers/9c5c1e6a74c9eb8460a3165b2d417fd1995308e6af3ff66fc8d1beeea42a3801/rootfs\" to \"/run/kata-containers/9c5c1e6a74c9eb8460a3165b2d417fd1995308e6af3ff66fc8d1beeea42a3801/rootfs\", with error: No such file or directory (os error 2)" name=containerd-shim-v2 pid=87480 sandbox=9c5c1e6a74c9eb8460a3165b2d417fd1995308e6af3ff66fc8d1beeea42a3801 source=virtcontainers subsystem=container
time="2021-04-11T07:09:11.902926458Z" level=warning error="no such file or directory" name=containerd-shim-v2 pid=87480 rootfs-dir=/run/kata-containers/shared/sandboxes/9c5c1e6a74c9eb8460a3165b2d417fd1995308e6af3ff66fc8d1beeea42a3801/mounts/9c5c1e6a74c9eb8460a3165b2d417fd1995308e6af3ff66fc8d1beeea42a3801/rootfs sandbox=9c5c1e6a74c9eb8460a3165b2d417fd1995308e6af3ff66fc8d1beeea42a3801 source=virtcontainers subsystem=mount
time="2021-04-11T07:09:26.949947665Z" level=warning msg="VM still running after waiting 15s" name=containerd-shim-v2 pid=87480 sandbox=9c5c1e6a74c9eb8460a3165b2d417fd1995308e6af3ff66fc8d1beeea42a3801 source=virtcontainers subsystem=firecracker
time="2021-04-11T07:09:26.950110488Z" level=warning msg="sandbox cgroups path is empty" name=containerd-shim-v2 pid=87480 sandbox=9c5c1e6a74c9eb8460a3165b2d417fd1995308e6af3ff66fc8d1beeea42a3801 source=virtcontainers subsystem=sandbox
time="2021-04-11T07:09:41.614783205Z" level=error msg="getting vm status failed" error="Get \"http://localhost/\": dial unix /run/vc/firecracker/2aa4244cfbd4d0ff32cf706c152a462d/root/run/firecracker.socket: connect: no such file or directory" name=containerd-shim-v2 pid=87652 sandbox=2aa4244cfbd4d0ff32cf706c152a462d883d872a0a29f965e42616bbd0381021 source=virtcontainers subsystem=firecracker
time="2021-04-11T07:09:41.828994914Z" level=error msg="createContainer failed" error="rpc error: code = Internal desc = failed to mount \"/run/kata-containers/shared/containers/2aa4244cfbd4d0ff32cf706c152a462d883d872a0a29f965e42616bbd0381021/rootfs\" to \"/run/kata-containers/2aa4244cfbd4d0ff32cf706c152a462d883d872a0a29f965e42616bbd0381021/rootfs\", with error: No such file or directory (os error 2)" name=containerd-shim-v2 pid=87652 sandbox=2aa4244cfbd4d0ff32cf706c152a462d883d872a0a29f965e42616bbd0381021 source=virtcontainers subsystem=kata_agent
time="2021-04-11T07:09:41.842937855Z" level=error msg="container create failed" error="rpc error: code = Internal desc = failed to mount \"/run/kata-containers/shared/containers/2aa4244cfbd4d0ff32cf706c152a462d883d872a0a29f965e42616bbd0381021/rootfs\" to \"/run/kata-containers/2aa4244cfbd4d0ff32cf706c152a462d883d872a0a29f965e42616bbd0381021/rootfs\", with error: No such file or directory (os error 2)" name=containerd-shim-v2 pid=87652 sandbox=2aa4244cfbd4d0ff32cf706c152a462d883d872a0a29f965e42616bbd0381021 source=virtcontainers subsystem=container
time="2021-04-11T07:09:41.8430034Z" level=warning error="no such file or directory" name=containerd-shim-v2 pid=87652 rootfs-dir=/run/kata-containers/shared/sandboxes/2aa4244cfbd4d0ff32cf706c152a462d883d872a0a29f965e42616bbd0381021/mounts/2aa4244cfbd4d0ff32cf706c152a462d883d872a0a29f965e42616bbd0381021/rootfs sandbox=2aa4244cfbd4d0ff32cf706c152a462d883d872a0a29f965e42616bbd0381021 source=virtcontainers subsystem=mount
time="2021-04-11T07:09:56.88758385Z" level=warning msg="VM still running after waiting 15s" name=containerd-shim-v2 pid=87652 sandbox=2aa4244cfbd4d0ff32cf706c152a462d883d872a0a29f965e42616bbd0381021 source=virtcontainers subsystem=firecracker
time="2021-04-11T07:09:56.887720725Z" level=warning msg="sandbox cgroups path is empty" name=containerd-shim-v2 pid=87652 sandbox=2aa4244cfbd4d0ff32cf706c152a462d883d872a0a29f965e42616bbd0381021 source=virtcontainers subsystem=sandbox
time="2021-04-11T07:10:11.843286401Z" level=error msg="createContainer failed" error="rpc error: code = Internal desc = failed to mount \"/run/kata-containers/shared/containers/1498b1ddb4ce99c90b3a136bc70fedc2ba3ada11dcd4282bb78aaca5a8cff2d9/rootfs\" to \"/run/kata-containers/1498b1ddb4ce99c90b3a136bc70fedc2ba3ada11dcd4282bb78aaca5a8cff2d9/rootfs\", with error: No such file or directory (os error 2)" name=containerd-shim-v2 pid=87837 sandbox=1498b1ddb4ce99c90b3a136bc70fedc2ba3ada11dcd4282bb78aaca5a8cff2d9 source=virtcontainers subsystem=kata_agent
time="2021-04-11T07:10:11.862868752Z" level=error msg="container create failed" error="rpc error: code = Internal desc = failed to mount \"/run/kata-containers/shared/containers/1498b1ddb4ce99c90b3a136bc70fedc2ba3ada11dcd4282bb78aaca5a8cff2d9/rootfs\" to \"/run/kata-containers/1498b1ddb4ce99c90b3a136bc70fedc2ba3ada11dcd4282bb78aaca5a8cff2d9/rootfs\", with error: No such file or directory (os error 2)" name=containerd-shim-v2 pid=87837 sandbox=1498b1ddb4ce99c90b3a136bc70fedc2ba3ada11dcd4282bb78aaca5a8cff2d9 source=virtcontainers subsystem=container
time="2021-04-11T07:10:11.862913671Z" level=warning error="no such file or directory" name=containerd-shim-v2 pid=87837 rootfs-dir=/run/kata-containers/shared/sandboxes/1498b1ddb4ce99c90b3a136bc70fedc2ba3ada11dcd4282bb78aaca5a8cff2d9/mounts/1498b1ddb4ce99c90b3a136bc70fedc2ba3ada11dcd4282bb78aaca5a8cff2d9/rootfs sandbox=1498b1ddb4ce99c90b3a136bc70fedc2ba3ada11dcd4282bb78aaca5a8cff2d9 source=virtcontainers subsystem=mount
time="2021-04-11T07:10:26.906820517Z" level=warning msg="VM still running after waiting 15s" name=containerd-shim-v2 pid=87837 sandbox=1498b1ddb4ce99c90b3a136bc70fedc2ba3ada11dcd4282bb78aaca5a8cff2d9 source=virtcontainers subsystem=firecracker
time="2021-04-11T07:10:26.906950322Z" level=warning msg="sandbox cgroups path is empty" name=containerd-shim-v2 pid=87837 sandbox=1498b1ddb4ce99c90b3a136bc70fedc2ba3ada11dcd4282bb78aaca5a8cff2d9 source=virtcontainers subsystem=sandbox
time="2021-04-11T07:10:42.870100767Z" level=error msg="createContainer failed" error="rpc error: code = Internal desc = failed to mount \"/run/kata-containers/shared/containers/d8c9e0bdd9c7550a264eccae06e173003c0c3e42dab6736457d0ad3dd91ada00/rootfs\" to \"/run/kata-containers/d8c9e0bdd9c7550a264eccae06e173003c0c3e42dab6736457d0ad3dd91ada00/rootfs\", with error: No such file or directory (os error 2)" name=containerd-shim-v2 pid=88014 sandbox=d8c9e0bdd9c7550a264eccae06e173003c0c3e42dab6736457d0ad3dd91ada00 source=virtcontainers subsystem=kata_agent
time="2021-04-11T07:10:42.890956426Z" level=error msg="container create failed" error="rpc error: code = Internal desc = failed to mount \"/run/kata-containers/shared/containers/d8c9e0bdd9c7550a264eccae06e173003c0c3e42dab6736457d0ad3dd91ada00/rootfs\" to \"/run/kata-containers/d8c9e0bdd9c7550a264eccae06e173003c0c3e42dab6736457d0ad3dd91ada00/rootfs\", with error: No such file or directory (os error 2)" name=containerd-shim-v2 pid=88014 sandbox=d8c9e0bdd9c7550a264eccae06e173003c0c3e42dab6736457d0ad3dd91ada00 source=virtcontainers subsystem=container
time="2021-04-11T07:10:42.891036615Z" level=warning error="no such file or directory" name=containerd-shim-v2 pid=88014 rootfs-dir=/run/kata-containers/shared/sandboxes/d8c9e0bdd9c7550a264eccae06e173003c0c3e42dab6736457d0ad3dd91ada00/mounts/d8c9e0bdd9c7550a264eccae06e173003c0c3e42dab6736457d0ad3dd91ada00/rootfs sandbox=d8c9e0bdd9c7550a264eccae06e173003c0c3e42dab6736457d0ad3dd91ada00 source=virtcontainers subsystem=mount
time="2021-04-11T07:10:57.936790886Z" level=warning msg="VM still running after waiting 15s" name=containerd-shim-v2 pid=88014 sandbox=d8c9e0bdd9c7550a264eccae06e173003c0c3e42dab6736457d0ad3dd91ada00 source=virtcontainers subsystem=firecracker
time="2021-04-11T07:10:57.936961003Z" level=warning msg="sandbox cgroups path is empty" name=containerd-shim-v2 pid=88014 sandbox=d8c9e0bdd9c7550a264eccae06e173003c0c3e42dab6736457d0ad3dd91ada00 source=virtcontainers subsystem=sandbox
time="2021-04-11T07:11:10.693891425Z" level=error msg="getting vm status failed" error="Get \"http://localhost/\": dial unix /run/vc/firecracker/253e479122ec308dd81b4098eb27ce91/root/run/firecracker.socket: connect: no such file or directory" name=containerd-shim-v2 pid=88178 sandbox=253e479122ec308dd81b4098eb27ce9107f1cbe48ea4f768de1f549c9f3fbe61 source=virtcontainers subsystem=firecracker
time="2021-04-11T07:11:10.914563974Z" level=error msg="createContainer failed" error="rpc error: code = Internal desc = failed to mount \"/run/kata-containers/shared/containers/253e479122ec308dd81b4098eb27ce9107f1cbe48ea4f768de1f549c9f3fbe61/rootfs\" to \"/run/kata-containers/253e479122ec308dd81b4098eb27ce9107f1cbe48ea4f768de1f549c9f3fbe61/rootfs\", with error: No such file or directory (os error 2)" name=containerd-shim-v2 pid=88178 sandbox=253e479122ec308dd81b4098eb27ce9107f1cbe48ea4f768de1f549c9f3fbe61 source=virtcontainers subsystem=kata_agent
time="2021-04-11T07:11:10.946940937Z" level=error msg="container create failed" error="rpc error: code = Internal desc = failed to mount \"/run/kata-containers/shared/containers/253e479122ec308dd81b4098eb27ce9107f1cbe48ea4f768de1f549c9f3fbe61/rootfs\" to \"/run/kata-containers/253e479122ec308dd81b4098eb27ce9107f1cbe48ea4f768de1f549c9f3fbe61/rootfs\", with error: No such file or directory (os error 2)" name=containerd-shim-v2 pid=88178 sandbox=253e479122ec308dd81b4098eb27ce9107f1cbe48ea4f768de1f549c9f3fbe61 source=virtcontainers subsystem=container
time="2021-04-11T07:11:10.947001495Z" level=warning error="no such file or directory" name=containerd-shim-v2 pid=88178 rootfs-dir=/run/kata-containers/shared/sandboxes/253e479122ec308dd81b4098eb27ce9107f1cbe48ea4f768de1f549c9f3fbe61/mounts/253e479122ec308dd81b4098eb27ce9107f1cbe48ea4f768de1f549c9f3fbe61/rootfs sandbox=253e479122ec308dd81b4098eb27ce9107f1cbe48ea4f768de1f549c9f3fbe61 source=virtcontainers subsystem=mount
time="2021-04-11T07:11:25.991983044Z" level=warning msg="VM still running after waiting 15s" name=containerd-shim-v2 pid=88178 sandbox=253e479122ec308dd81b4098eb27ce9107f1cbe48ea4f768de1f549c9f3fbe61 source=virtcontainers subsystem=firecracker
time="2021-04-11T07:11:25.992096991Z" level=warning msg="sandbox cgroups path is empty" name=containerd-shim-v2 pid=88178 sandbox=253e479122ec308dd81b4098eb27ce9107f1cbe48ea4f768de1f549c9f3fbe61 source=virtcontainers subsystem=sandbox
time="2021-04-11T07:11:41.67004602Z" level=error msg="getting vm status failed" error="Get \"http://localhost/\": dial unix /run/vc/firecracker/a58b61d1750b7b8114cda91b74785ef6/root/run/firecracker.socket: connect: no such file or directory" name=containerd-shim-v2 pid=88341 sandbox=a58b61d1750b7b8114cda91b74785ef6b38bda4df99bd5e8e0aeb8c4d41dc04a source=virtcontainers subsystem=firecracker
time="2021-04-11T07:11:41.863796709Z" level=error msg="createContainer failed" error="rpc error: code = Internal desc = failed to mount \"/run/kata-containers/shared/containers/a58b61d1750b7b8114cda91b74785ef6b38bda4df99bd5e8e0aeb8c4d41dc04a/rootfs\" to \"/run/kata-containers/a58b61d1750b7b8114cda91b74785ef6b38bda4df99bd5e8e0aeb8c4d41dc04a/rootfs\", with error: No such file or directory (os error 2)" name=containerd-shim-v2 pid=88341 sandbox=a58b61d1750b7b8114cda91b74785ef6b38bda4df99bd5e8e0aeb8c4d41dc04a source=virtcontainers subsystem=kata_agent
time="2021-04-11T07:11:41.886941871Z" level=error msg="container create failed" error="rpc error: code = Internal desc = failed to mount \"/run/kata-containers/shared/containers/a58b61d1750b7b8114cda91b74785ef6b38bda4df99bd5e8e0aeb8c4d41dc04a/rootfs\" to \"/run/kata-containers/a58b61d1750b7b8114cda91b74785ef6b38bda4df99bd5e8e0aeb8c4d41dc04a/rootfs\", with error: No such file or directory (os error 2)" name=containerd-shim-v2 pid=88341 sandbox=a58b61d1750b7b8114cda91b74785ef6b38bda4df99bd5e8e0aeb8c4d41dc04a source=virtcontainers subsystem=container
time="2021-04-11T07:11:41.887002232Z" level=warning error="no such file or directory" name=containerd-shim-v2 pid=88341 rootfs-dir=/run/kata-containers/shared/sandboxes/a58b61d1750b7b8114cda91b74785ef6b38bda4df99bd5e8e0aeb8c4d41dc04a/mounts/a58b61d1750b7b8114cda91b74785ef6b38bda4df99bd5e8e0aeb8c4d41dc04a/rootfs sandbox=a58b61d1750b7b8114cda91b74785ef6b38bda4df99bd5e8e0aeb8c4d41dc04a source=virtcontainers subsystem=mount
time="2021-04-11T07:11:56.934830825Z" level=warning msg="VM still running after waiting 15s" name=containerd-shim-v2 pid=88341 sandbox=a58b61d1750b7b8114cda91b74785ef6b38bda4df99bd5e8e0aeb8c4d41dc04a source=virtcontainers subsystem=firecracker
time="2021-04-11T07:11:56.935035037Z" level=warning msg="sandbox cgroups path is empty" name=containerd-shim-v2 pid=88341 sandbox=a58b61d1750b7b8114cda91b74785ef6b38bda4df99bd5e8e0aeb8c4d41dc04a source=virtcontainers subsystem=sandbox
time="2021-04-11T07:12:08.667816799Z" level=error msg="getting vm status failed" error="Get \"http://localhost/\": dial unix /run/vc/firecracker/b52b84097abe9b6e2eb766621c779f7f/root/run/firecracker.socket: connect: no such file or directory" name=containerd-shim-v2 pid=88517 sandbox=b52b84097abe9b6e2eb766621c779f7fccc50fcb5bc429e745930f7625fd6dff source=virtcontainers subsystem=firecracker
time="2021-04-11T07:12:08.886776492Z" level=error msg="createContainer failed" error="rpc error: code = Internal desc = failed to mount \"/run/kata-containers/shared/containers/b52b84097abe9b6e2eb766621c779f7fccc50fcb5bc429e745930f7625fd6dff/rootfs\" to \"/run/kata-containers/b52b84097abe9b6e2eb766621c779f7fccc50fcb5bc429e745930f7625fd6dff/rootfs\", with error: No such file or directory (os error 2)" name=containerd-shim-v2 pid=88517 sandbox=b52b84097abe9b6e2eb766621c779f7fccc50fcb5bc429e745930f7625fd6dff source=virtcontainers subsystem=kata_agent
time="2021-04-11T07:12:08.910939807Z" level=error msg="container create failed" error="rpc error: code = Internal desc = failed to mount \"/run/kata-containers/shared/containers/b52b84097abe9b6e2eb766621c779f7fccc50fcb5bc429e745930f7625fd6dff/rootfs\" to \"/run/kata-containers/b52b84097abe9b6e2eb766621c779f7fccc50fcb5bc429e745930f7625fd6dff/rootfs\", with error: No such file or directory (os error 2)" name=containerd-shim-v2 pid=88517 sandbox=b52b84097abe9b6e2eb766621c779f7fccc50fcb5bc429e745930f7625fd6dff source=virtcontainers subsystem=container
time="2021-04-11T07:12:08.911012068Z" level=warning error="no such file or directory" name=containerd-shim-v2 pid=88517 rootfs-dir=/run/kata-containers/shared/sandboxes/b52b84097abe9b6e2eb766621c779f7fccc50fcb5bc429e745930f7625fd6dff/mounts/b52b84097abe9b6e2eb766621c779f7fccc50fcb5bc429e745930f7625fd6dff/rootfs sandbox=b52b84097abe9b6e2eb766621c779f7fccc50fcb5bc429e745930f7625fd6dff source=virtcontainers subsystem=mount
time="2021-04-11T07:12:23.9593897Z" level=warning msg="VM still running after waiting 15s" name=containerd-shim-v2 pid=88517 sandbox=b52b84097abe9b6e2eb766621c779f7fccc50fcb5bc429e745930f7625fd6dff source=virtcontainers subsystem=firecracker
time="2021-04-11T07:12:23.959568367Z" level=warning msg="sandbox cgroups path is empty" name=containerd-shim-v2 pid=88517 sandbox=b52b84097abe9b6e2eb766621c779f7fccc50fcb5bc429e745930f7625fd6dff source=virtcontainers subsystem=sandbox
time="2021-04-11T07:12:39.964799454Z" level=error msg="createContainer failed" error="rpc error: code = Internal desc = failed to mount \"/run/kata-containers/shared/containers/f9edf29e11215b5baa0cd0583928a90650a3e444f74317db3653a17d3179c39f/rootfs\" to \"/run/kata-containers/f9edf29e11215b5baa0cd0583928a90650a3e444f74317db3653a17d3179c39f/rootfs\", with error: No such file or directory (os error 2)" name=containerd-shim-v2 pid=88689 sandbox=f9edf29e11215b5baa0cd0583928a90650a3e444f74317db3653a17d3179c39f source=virtcontainers subsystem=kata_agent
time="2021-04-11T07:12:39.994867252Z" level=error msg="container create failed" error="rpc error: code = Internal desc = failed to mount \"/run/kata-containers/shared/containers/f9edf29e11215b5baa0cd0583928a90650a3e444f74317db3653a17d3179c39f/rootfs\" to \"/run/kata-containers/f9edf29e11215b5baa0cd0583928a90650a3e444f74317db3653a17d3179c39f/rootfs\", with error: No such file or directory (os error 2)" name=containerd-shim-v2 pid=88689 sandbox=f9edf29e11215b5baa0cd0583928a90650a3e444f74317db3653a17d3179c39f source=virtcontainers subsystem=container
time="2021-04-11T07:12:39.994923902Z" level=warning error="no such file or directory" name=containerd-shim-v2 pid=88689 rootfs-dir=/run/kata-containers/shared/sandboxes/f9edf29e11215b5baa0cd0583928a90650a3e444f74317db3653a17d3179c39f/mounts/f9edf29e11215b5baa0cd0583928a90650a3e444f74317db3653a17d3179c39f/rootfs sandbox=f9edf29e11215b5baa0cd0583928a90650a3e444f74317db3653a17d3179c39f source=virtcontainers subsystem=mount
time="2021-04-11T07:12:55.041449183Z" level=warning msg="VM still running after waiting 15s" name=containerd-shim-v2 pid=88689 sandbox=f9edf29e11215b5baa0cd0583928a90650a3e444f74317db3653a17d3179c39f source=virtcontainers subsystem=firecracker
time="2021-04-11T07:12:55.041607656Z" level=warning msg="sandbox cgroups path is empty" name=containerd-shim-v2 pid=88689 sandbox=f9edf29e11215b5baa0cd0583928a90650a3e444f74317db3653a17d3179c39f source=virtcontainers subsystem=sandbox
time="2021-04-11T07:13:07.662544081Z" level=error msg="getting vm status failed" error="Get \"http://localhost/\": dial unix /run/vc/firecracker/e023dc42528e0725a1cca8049cf3b8df/root/run/firecracker.socket: connect: no such file or directory" name=containerd-shim-v2 pid=88883 sandbox=e023dc42528e0725a1cca8049cf3b8df075b0c2125c4d3932830eee1fb3b6296 source=virtcontainers subsystem=firecracker
time="2021-04-11T07:13:07.865159842Z" level=error msg="createContainer failed" error="rpc error: code = Internal desc = failed to mount \"/run/kata-containers/shared/containers/e023dc42528e0725a1cca8049cf3b8df075b0c2125c4d3932830eee1fb3b6296/rootfs\" to \"/run/kata-containers/e023dc42528e0725a1cca8049cf3b8df075b0c2125c4d3932830eee1fb3b6296/rootfs\", with error: No such file or directory (os error 2)" name=containerd-shim-v2 pid=88883 sandbox=e023dc42528e0725a1cca8049cf3b8df075b0c2125c4d3932830eee1fb3b6296 source=virtcontainers subsystem=kata_agent
time="2021-04-11T07:13:07.882869727Z" level=error msg="container create failed" error="rpc error: code = Internal desc = failed to mount \"/run/kata-containers/shared/containers/e023dc42528e0725a1cca8049cf3b8df075b0c2125c4d3932830eee1fb3b6296/rootfs\" to \"/run/kata-containers/e023dc42528e0725a1cca8049cf3b8df075b0c2125c4d3932830eee1fb3b6296/rootfs\", with error: No such file or directory (os error 2)" name=containerd-shim-v2 pid=88883 sandbox=e023dc42528e0725a1cca8049cf3b8df075b0c2125c4d3932830eee1fb3b6296 source=virtcontainers subsystem=container
time="2021-04-11T07:13:07.882928209Z" level=warning error="no such file or directory" name=containerd-shim-v2 pid=88883 rootfs-dir=/run/kata-containers/shared/sandboxes/e023dc42528e0725a1cca8049cf3b8df075b0c2125c4d3932830eee1fb3b6296/mounts/e023dc42528e0725a1cca8049cf3b8df075b0c2125c4d3932830eee1fb3b6296/rootfs sandbox=e023dc42528e0725a1cca8049cf3b8df075b0c2125c4d3932830eee1fb3b6296 source=virtcontainers subsystem=mount
time="2021-04-11T07:13:22.927730032Z" level=warning msg="VM still running after waiting 15s" name=containerd-shim-v2 pid=88883 sandbox=e023dc42528e0725a1cca8049cf3b8df075b0c2125c4d3932830eee1fb3b6296 source=virtcontainers subsystem=firecracker
time="2021-04-11T07:13:22.9279045Z" level=warning msg="sandbox cgroups path is empty" name=containerd-shim-v2 pid=88883 sandbox=e023dc42528e0725a1cca8049cf3b8df075b0c2125c4d3932830eee1fb3b6296 source=virtcontainers subsystem=sandbox


Container manager details

Container manager details

Kubernetes

Kubernetes

kubectl version

Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.9-eks-1-18-1", GitCommit:"94f372e501c973a7fa9eb40ec9ebd2fe7ca69848", GitTreeState:"archive", BuildDate:"2020-09-16T13:46:48Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.9-eks-1-18-1", GitCommit:"94f372e501c973a7fa9eb40ec9ebd2fe7ca69848", GitTreeState:"archive", BuildDate:"2020-09-16T13:46:48Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}

kubectl config view

apiVersion: v1
clusters:
- cluster:
    certificate-authority-data: DATA+OMITTED
    server: https://172.31.33.41:6443
  name: kubernetes
contexts:
- context:
    cluster: kubernetes
    user: kubernetes-admin
  name: kubernetes-admin@kubernetes
current-context: kubernetes-admin@kubernetes
kind: Config
preferences: {}
users:
- name: kubernetes-admin
  user:
    client-certificate-data: REDACTED
    client-key-data: REDACTED

systemctl show kubelet

Type=simple
Restart=always
NotifyAccess=none
RestartUSec=10s
TimeoutStartUSec=1min 30s
TimeoutStopUSec=1min 30s
WatchdogUSec=0
WatchdogTimestamp=Sat 2021-04-10 05:37:41 UTC
WatchdogTimestampMonotonic=2754806143
StartLimitInterval=0
StartLimitBurst=5
StartLimitAction=none
FailureAction=none
PermissionsStartOnly=no
RootDirectoryStartOnly=no
RemainAfterExit=no
GuessMainPID=yes
MainPID=13020
ControlPID=0
FileDescriptorStoreMax=0
StatusErrno=0
Result=success
ExecMainStartTimestamp=Sat 2021-04-10 05:37:41 UTC
ExecMainStartTimestampMonotonic=2754806120
ExecMainExitTimestampMonotonic=0
ExecMainPID=13020
ExecMainCode=0
ExecMainStatus=0
ExecStart={ path=/usr/bin/kubelet ; argv[]=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_CONFIG_ARGS $KUBELET_KUBEADM_ARGS $KUBELET_EXTRA_ARGS ; ignore_errors=no ; start_time=[Sat 2021-04-10 05:37:41 UTC] ; stop_time=[n/a] ; pid=13020 ; code=(null) ; status=0/0 }
Slice=system.slice
ControlGroup=/system.slice/kubelet.service
MemoryCurrent=107937792
TasksCurrent=102
Delegate=no
CPUAccounting=no
CPUShares=18446744073709551615
StartupCPUShares=18446744073709551615
CPUQuotaPerSecUSec=infinity
BlockIOAccounting=no
BlockIOWeight=18446744073709551615
StartupBlockIOWeight=18446744073709551615
MemoryAccounting=no
MemoryLimit=18446744073709551615
DevicePolicy=auto
TasksAccounting=no
TasksMax=18446744073709551615
Environment=KUBELET_KUBECONFIG_ARGS=--bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf\x20--kubeconfig=/etc/kubernetes/kubelet.conf KUBELET_CONFIG_ARGS=--config=/var/lib/kubelet/config.yaml
EnvironmentFile=/var/lib/kubelet/kubeadm-flags.env (ignore_errors=yes)
EnvironmentFile=/etc/sysconfig/kubelet (ignore_errors=yes)
UMask=0022
LimitCPU=18446744073709551615
LimitFSIZE=18446744073709551615
LimitDATA=18446744073709551615
LimitSTACK=10485760
LimitCORE=18446744073709551615
LimitRSS=18446744073709551615
LimitNOFILE=65535
LimitAS=18446744073709551615
LimitNPROC=18446744073709551615
LimitMEMLOCK=18446744073709551615
LimitLOCKS=18446744073709551615
LimitSIGPENDING=30446
LimitMSGQUEUE=819200
LimitNICE=0
LimitRTPRIO=0
LimitRTTIME=18446744073709551615
OOMScoreAdjust=0
Nice=0
IOScheduling=0
CPUSchedulingPolicy=0
CPUSchedulingPriority=0
TimerSlackNSec=50000
CPUSchedulingResetOnFork=no
NonBlocking=no
StandardInput=null
StandardOutput=journal
StandardError=inherit
TTYReset=no
TTYVHangup=no
TTYVTDisallocate=no
SyslogPriority=30
SyslogLevelPrefix=yes
SecureBits=0
CapabilityBoundingSet=18446744073709551615
AmbientCapabilities=0
MountFlags=0
PrivateTmp=no
PrivateNetwork=no
PrivateDevices=no
ProtectHome=no
ProtectSystem=no
SameProcessGroup=no
IgnoreSIGPIPE=yes
NoNewPrivileges=no
SystemCallErrorNumber=0
RuntimeDirectoryMode=0755
KillMode=control-group
KillSignal=15
SendSIGKILL=yes
SendSIGHUP=no
Id=kubelet.service
Names=kubelet.service
Requires=basic.target
Wants=network-online.target system.slice
WantedBy=multi-user.target
Conflicts=shutdown.target
Before=shutdown.target multi-user.target
After=basic.target systemd-journald.socket network-online.target system.slice
Documentation=https://kubernetes.io/docs/
Description=kubelet: The Kubernetes Node Agent
LoadState=loaded
ActiveState=active
SubState=running
FragmentPath=/usr/lib/systemd/system/kubelet.service
DropInPaths=/usr/lib/systemd/system/kubelet.service.d/10-kubeadm.conf
UnitFileState=enabled
UnitFilePreset=disabled
InactiveExitTimestamp=Sat 2021-04-10 05:37:41 UTC
InactiveExitTimestampMonotonic=2754806153
ActiveEnterTimestamp=Sat 2021-04-10 05:37:41 UTC
ActiveEnterTimestampMonotonic=2754806153
ActiveExitTimestamp=Sat 2021-04-10 05:37:41 UTC
ActiveExitTimestampMonotonic=2754787886
InactiveEnterTimestamp=Sat 2021-04-10 05:37:41 UTC
InactiveEnterTimestampMonotonic=2754804355
CanStart=yes
CanStop=yes
CanReload=no
CanIsolate=no
StopWhenUnneeded=no
RefuseManualStart=no
RefuseManualStop=no
AllowIsolate=no
DefaultDependencies=yes
OnFailureJobMode=replace
IgnoreOnIsolate=no
IgnoreOnSnapshot=no
NeedDaemonReload=no
JobTimeoutUSec=0
JobTimeoutAction=none
ConditionResult=yes
AssertResult=yes
ConditionTimestamp=Sat 2021-04-10 05:37:41 UTC
ConditionTimestampMonotonic=2754805005
AssertTimestamp=Sat 2021-04-10 05:37:41 UTC
AssertTimestampMonotonic=2754805005
Transient=no

containerd

containerd

containerd --version

containerd github.com/containerd/containerd 1.4.4 05f951a3781f4f2c1911b05e61c160e9c30eaa8e

systemctl show containerd

Type=notify
Restart=always
NotifyAccess=main
RestartUSec=5s
TimeoutStartUSec=1min 30s
TimeoutStopUSec=1min 30s
WatchdogUSec=0
WatchdogTimestamp=Sun 2021-04-11 07:03:06 UTC
WatchdogTimestampMonotonic=94279778655
StartLimitInterval=10000000
StartLimitBurst=5
StartLimitAction=none
FailureAction=none
PermissionsStartOnly=no
RootDirectoryStartOnly=no
RemainAfterExit=no
GuessMainPID=yes
MainPID=85278
ControlPID=0
FileDescriptorStoreMax=0
StatusErrno=0
Result=success
ExecMainStartTimestamp=Sun 2021-04-11 07:03:06 UTC
ExecMainStartTimestampMonotonic=94279721107
ExecMainExitTimestampMonotonic=0
ExecMainPID=85278
ExecMainCode=0
ExecMainStatus=0
ExecStartPre={ path=/sbin/modprobe ; argv[]=/sbin/modprobe overlay ; ignore_errors=yes ; start_time=[Sun 2021-04-11 07:03:06 UTC] ; stop_time=[Sun 2021-04-11 07:03:06 UTC] ; pid=85274 ; code=exited ; status=0 }
ExecStart={ path=/usr/bin/containerd ; argv[]=/usr/bin/containerd ; ignore_errors=no ; start_time=[Sun 2021-04-11 07:03:06 UTC] ; stop_time=[n/a] ; pid=85278 ; code=(null) ; status=0/0 }
Slice=system.slice
ControlGroup=/system.slice/containerd.service
MemoryCurrent=3506974720
TasksCurrent=160
Delegate=yes
CPUAccounting=no
CPUShares=18446744073709551615
StartupCPUShares=18446744073709551615
CPUQuotaPerSecUSec=infinity
BlockIOAccounting=no
BlockIOWeight=18446744073709551615
StartupBlockIOWeight=18446744073709551615
MemoryAccounting=no
MemoryLimit=18446744073709551615
DevicePolicy=auto
TasksAccounting=no
TasksMax=18446744073709551615
UMask=0022
LimitCPU=18446744073709551615
LimitFSIZE=18446744073709551615
LimitDATA=18446744073709551615
LimitSTACK=10485760
LimitCORE=18446744073709551615
LimitRSS=18446744073709551615
LimitNOFILE=1048576
LimitAS=18446744073709551615
LimitNPROC=18446744073709551615
LimitMEMLOCK=18446744073709551615
LimitLOCKS=18446744073709551615
LimitSIGPENDING=30446
LimitMSGQUEUE=819200
LimitNICE=0
LimitRTPRIO=0
LimitRTTIME=18446744073709551615
OOMScoreAdjust=-999
Nice=0
IOScheduling=0
CPUSchedulingPolicy=0
CPUSchedulingPriority=0
TimerSlackNSec=50000
CPUSchedulingResetOnFork=no
NonBlocking=no
StandardInput=null
StandardOutput=journal
StandardError=inherit
TTYReset=no
TTYVHangup=no
TTYVTDisallocate=no
SyslogPriority=30
SyslogLevelPrefix=yes
SecureBits=0
CapabilityBoundingSet=18446744073709551615
AmbientCapabilities=0
MountFlags=0
PrivateTmp=no
PrivateNetwork=no
PrivateDevices=no
ProtectHome=no
ProtectSystem=no
SameProcessGroup=no
IgnoreSIGPIPE=yes
NoNewPrivileges=no
SystemCallErrorNumber=0
RuntimeDirectoryMode=0755
KillMode=process
KillSignal=15
SendSIGKILL=yes
SendSIGHUP=no
Id=containerd.service
Names=containerd.service
Requires=basic.target
Wants=system.slice
Conflicts=shutdown.target
Before=shutdown.target
After=network.target system.slice basic.target local-fs.target systemd-journald.socket
Documentation=https://containerd.io
Description=containerd container runtime
LoadState=loaded
ActiveState=active
SubState=running
FragmentPath=/usr/lib/systemd/system/containerd.service
UnitFileState=disabled
UnitFilePreset=disabled
InactiveExitTimestamp=Sun 2021-04-11 07:03:06 UTC
InactiveExitTimestampMonotonic=94279707790
ActiveEnterTimestamp=Sun 2021-04-11 07:03:06 UTC
ActiveEnterTimestampMonotonic=94279778718
ActiveExitTimestamp=Sun 2021-04-11 07:03:06 UTC
ActiveExitTimestampMonotonic=94279683520
InactiveEnterTimestamp=Sun 2021-04-11 07:03:06 UTC
InactiveEnterTimestampMonotonic=94279706724
CanStart=yes
CanStop=yes
CanReload=no
CanIsolate=no
StopWhenUnneeded=no
RefuseManualStart=no
RefuseManualStop=no
AllowIsolate=no
DefaultDependencies=yes
OnFailureJobMode=replace
IgnoreOnIsolate=no
IgnoreOnSnapshot=no
NeedDaemonReload=no
JobTimeoutUSec=0
JobTimeoutAction=none
ConditionResult=yes
AssertResult=yes
ConditionTimestamp=Sun 2021-04-11 07:03:06 UTC
ConditionTimestampMonotonic=94279707153
AssertTimestamp=Sun 2021-04-11 07:03:06 UTC
AssertTimestampMonotonic=94279707153
Transient=no

cat /etc/containerd/config.toml

    [plugins.cri.containerd]
      no_pivot = false
    [plugins.cri.containerd.runtimes]
      [plugins.cri.containerd.runtimes.runc]
         runtime_type = "io.containerd.runc.v1"
         [plugins.cri.containerd.runtimes.runc.options]
           NoPivotRoot = false
           NoNewKeyring = false
           ShimCgroup = ""
           IoUid = 0
           IoGid = 0
           BinaryName = "runc"
           Root = ""
           CriuPath = ""
           SystemdCgroup = false
      [plugins.cri.containerd.runtimes.kata]
         runtime_type = "io.containerd.kata.v2"
         [plugins.cri.containerd.runtimes.kata.options]
           ConfigPath = "/opt/kata/share/defaults/kata-containers/configuration-fc.toml"
      [plugins.cri.containerd.runtimes.katacli]
         runtime_type = "io.containerd.runc.v1"
         [plugins.cri.containerd.runtimes.katacli.options]
           NoPivotRoot = false
           NoNewKeyring = false
           ShimCgroup = ""
           IoUid = 0
           IoGid = 0
           BinaryName = "/opt/kata/bin/kata-runtime"
           Root = ""
           CriuPath = ""
           SystemdCgroup = false

# 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
#     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.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.devmapper"]
#     root_path = ""
#     pool_name = ""
#     base_image_size = ""
#     async_remove = false


Packages

Packages

No dpkg
Have rpm

rpm -qa|egrep "(cc-oci-runtime|cc-runtime|runv|kata-runtime|kata-ksm-throttler|kata-containers-image|linux-container|qemu-)"



Kata Monitor

Kata Monitor kata-monitor.

kata-monitor --version

kata-monitor
 Version:       0.1.0
 Go version:    go1.15.11
 Git commit:    4e62d596db2f7219c903d91387be2255be374774
 OS/Arch:       linux/amd64


@cameronsenese cameronsenese added bug Incorrect behaviour needs-review Needs to be assessed by the team. labels Apr 10, 2021
@ariel-adam ariel-adam added area/firecracker Issues specific to the Firecracker hypervisor bug Incorrect behaviour and removed bug Incorrect behaviour needs-review Needs to be assessed by the team. labels Apr 13, 2021
@ariel-adam ariel-adam moved this from To do to area QEMU/cloud-hypervisor/firecracker in Issue backlog Apr 27, 2021
@anna-yn
Copy link

anna-yn commented Aug 3, 2021

I'm running into the same issue - using other hypervisors like clh works just fine, but I actually need to use the fc one. Any help is appreciated 🙏

cmaf added a commit to cmaf/kata-containers that referenced this issue Sep 7, 2021
Update OpenTelemetry to v0.19.0.

Git log
    2b4fa968 Release v0.19.0 (kata-containers#1710)
    4beb7041 sdk/trace: removing ApplyConfig and Config (kata-containers#1693)
    1d42be16 Rename WithDefaultSampler TracerProvider option to WithSampler and update docs (kata-containers#1702)
    860d5d86 Add flag to determine whether SpanContext is remote (kata-containers#1701)
    0fe65e6b Comply with OpenTelemetry attributes specification (kata-containers#1703)
    88884351 Bump google.golang.org/api from 0.40.0 to 0.41.0 in /exporters/trace/jaeger (kata-containers#1700)
    345f264a breaking(zipkin): removes servicName from zipkin exporter. (kata-containers#1697)
    62cbf0f2 Populate Jaeger's Span.Process from Resource (kata-containers#1673)
    28eaaa9a Add a test to prove the Tracer is safe for concurrent calls (kata-containers#1665)
    8b1be11a Rename resource pkg label vars and methods (kata-containers#1692)
    a1539d44 OpenCensus metric exporter bridge (kata-containers#1444)
    77aa218d Fix issue kata-containers#1490, apply same logic as in the SDK (kata-containers#1687)
    9d3416cc Fix synchronization issues in global trace delegate implementation (kata-containers#1686)
    58f69f09 Span status from HTTP code: Do not set status message if it can be inferred (kata-containers#1681)
    9c305bde Flush metric events prior to shutdown in OTLP example (kata-containers#1678)
    66b1135a Fix CHANGELOG (kata-containers#1680)
    90bd4ab5 Update employer information for maintainers (kata-containers#1683)
    36841913 Remove WithRecord() option from trace.SpanOption when starting a span (kata-containers#1660)
    65c7de20 Remove trace prefix from NoOp src files. (kata-containers#1679)
    e88a091a Make SpanContext Immutable (kata-containers#1573)
    d75e2680 Avoid overriding configuration of tracer provider (kata-containers#1633)
    2b4d5ac3 Bump github.com/golangci/golangci-lint in /internal/tools (kata-containers#1671)
    150b868d Bump github.com/google/go-cmp from 0.5.4 to 0.5.5 (kata-containers#1667)
    76aa924e Fix the examples target info messaging (kata-containers#1676)
    a3aa9fda Bump github.com/itchyny/gojq from 0.12.1 to 0.12.2 in /internal/tools (kata-containers#1672)
    a5edd79e Removed setting error status while recording err as span event (kata-containers#1663)
    e9814758 chore(zipkin): improves zipkin example to not to depend on timeouts. (kata-containers#1566)
    3dc91f2d Add ForceFlush method to TracerProvider (kata-containers#1608)
    bd0bba43 exporter: swap pusher for exporter (kata-containers#1656)
    56904859 Update the SimpleSpanProcessor (kata-containers#1612)
    a7f7abac  SpanStatus description set only when status code is set to Error (kata-containers#1662)
    05252f40 Jaeger Exporter: Fix minor mapping discrepancies (kata-containers#1626)
    238e7c61 Add non-empty string check for attribute keys (kata-containers#1659)
    e9b9aca8 Add tests for propagation of Sampler Tracestate changes (kata-containers#1655)
    875a2583 Add docs on when reviews should be cleared (kata-containers#1556)
    7153ef2d Add HTTP/JSON to the otlp exporter (kata-containers#1586)
    62e2a0f7 Unexport the simple and batch SpanProcessors (kata-containers#1638)
    992837f1 Add TracerProvider tests to oteltest harness (kata-containers#1607)
    bb4c297e Pre release v0.18.0 (kata-containers#1635)
    712c3dcc Fix makefile ci target and coverage test packages (kata-containers#1634)
    841d2a58 Rename local var new to not collide with builtin (kata-containers#1610)
    13938ab5 Update SpanProcessor docs (kata-containers#1611)
    e25503a0 Add compatibility tests to CI (kata-containers#1567)
    1519d959 Use reasonable interval in sdktrace.WithBatchTimeout (kata-containers#1621)
    7d4496e0 Pass metric labels when transforming to gaugeArray (kata-containers#1570)
    6d4a5e0d Bump google.golang.org/grpc from 1.35.0 to 1.36.0 in /exporters/otlp (kata-containers#1619)
    a93393a0 Bump google.golang.org/grpc in /example/prom-collector (kata-containers#1620)
    e499ca86 Fix validation for tracestate with vendor and add tests (kata-containers#1581)
    43886e52 Make timestamps sequential in lastvalue agg check (kata-containers#1579)
    37688ef6 revent end-users from implementing some interfaces (kata-containers#1575)
    85e696d2 Updating documentation with an working example for creating NewExporter (kata-containers#1513)
    562eb28b Unify the Added sections of the unreleased changes (kata-containers#1580)
    c4cf1aff Fix Windows build of Jaeger tests (kata-containers#1577)
    4a163bea Fix stdout TestStdoutTimestamp failure with sleep (kata-containers#1572)
    bd4701eb Stagger timestamps in exact aggregator tests (kata-containers#1569)
    b94cd4b2 add code attributes to semconv package (kata-containers#1558)
    78c06cef Update docs from gitter to slack for communication (kata-containers#1554)
    1307c911 Remove vendor exclude from license-check (kata-containers#1552)
    5d2636e5 Bump github.com/golangci/golangci-lint in /internal/tools (kata-containers#1565)
    d7aff473 Vendor Thrift dependency (kata-containers#1551)
    298c5a14 Update span limits to conform with OpenTelemetry specification (kata-containers#1535)
    ecf65d79 Rename otel/label -> otel/attribute (kata-containers#1541)
    1b5b6621 Remove resampling on span.SetName (kata-containers#1545)
    8da52996 fix: grpc reconnection  (kata-containers#1521)
    3bce9c97 Add Keys() method to propagation.TextMapCarrier (kata-containers#1544)
    0b1a1c72 Make oteltest.SpanRecorder into a concrete type (kata-containers#1542)
    7d0e3e52 SDK span no modification after ended (kata-containers#1543)
    7de3b58c Remove extra labels types (kata-containers#1314)
    73194e44 Bump google.golang.org/api from 0.39.0 to 0.40.0 in /exporters/trace/jaeger (kata-containers#1536)
    8fae0a64 Create resource.Default() with required attributes/default values (kata-containers#1507)
    76f93422 Release v0.17.0 (kata-containers#1534)
    9b242bc4 Organize API into Go modules based on stability and dependencies (kata-containers#1528)
    e50a1c8c Bump actions/cache from v2 to v2.1.4 (kata-containers#1518)
    a6aa7f00 Bump google.golang.org/api from 0.38.0 to 0.39.0 in /exporters/trace/jaeger (kata-containers#1517)
    38efc875 Code Improvement - Error strings should not be capitalized (kata-containers#1488)
    6b340501 Update default branch name (kata-containers#1505)
    b39fd052 nit: Fix comment to be up-to-date (kata-containers#1510)
    186c2953 Fix golint error of package comment form (kata-containers#1487)
    9308d662 Bump google.golang.org/api from 0.37.0 to 0.38.0 in /exporters/trace/jaeger (kata-containers#1506)
    1952d7b6 Reverse order of attribute precedence when merging two Resources (kata-containers#1501)
    ad7b4715 Remove build flags for runtime/trace support (kata-containers#1498)
    4bf4b690 Remove inaccurate and unnecessary import comment (kata-containers#1481)
    7e19eb6a Bump google.golang.org/api from 0.36.0 to 0.37.0 in /exporters/trace/jaeger (kata-containers#1504)
    c6a4406a Bump github.com/golangci/golangci-lint in /internal/tools (kata-containers#1503)
    9524ac09 Update workflows to include main branch as trigger (kata-containers#1497)
    c066f15e Bump github.com/gogo/protobuf from 1.3.1 to 1.3.2 in /internal/tools (kata-containers#1478)
    894e0240 Bump github.com/golangci/golangci-lint in /internal/tools (kata-containers#1477)
    71ffba39 Bump google.golang.org/grpc from 1.34.0 to 1.35.0 in /exporters/otlp (kata-containers#1471)
    515809a8 Bump github.com/itchyny/gojq from 0.12.0 to 0.12.1 in /internal/tools (kata-containers#1472)
    3e96ad1e gitignore: remove unused example path (kata-containers#1474)
    c5622777 Histogram aggregator functional options (kata-containers#1434)
    0df8cd62 Rename Makefile.proto to avoid interpretation as proto file (kata-containers#1468)
    979ff51f Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 (kata-containers#1453)
    1df8b3b8 Bump github.com/gogo/protobuf from 1.3.1 to 1.3.2 in /exporters/otlp (kata-containers#1456)
    4c30a90a Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 in /sdk (kata-containers#1455)
    5a9f8f6e Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 in /exporters/stdout (kata-containers#1454)
    7786f34c Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 in /exporters/trace/zipkin (kata-containers#1457)
    4352a7a6 Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 in /exporters/otlp (kata-containers#1460)
    6990b3b3 Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 in /exporters/metric/prometheus (kata-containers#1461)
    7af40d22 Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 in /exporters/trace/jaeger (kata-containers#1463)
    f16f1892 Bump google.golang.org/grpc in /example/otel-collector (kata-containers#1465)
    fe363be3 Move Span Event to API (kata-containers#1452)
    43922240 Bump google.golang.org/grpc in /example/prom-collector (kata-containers#1466)
    0aadfb27 Prepare release v0.16.0 (kata-containers#1464)
    207587b6 Metric histogram aggregator: Swap in SynchronizedMove to avoid allocations (kata-containers#1435)
    c29c6fd1 Shutdown underlying span exporter while shutting down BatchSpanProcessor (kata-containers#1443)
    dfece3d2 Combine the Push and Pull metric controllers (kata-containers#1378)
    74deeddd Handle tracestate in TraceContext propagator  (kata-containers#1447)
    49f699d6 Remove Quantile aggregation, DDSketch aggregator; add Exact timestamps (kata-containers#1412)
    9c949411 Rename internal/testing to internal/internaltest (kata-containers#1449)
    8d809814 Move gRPC driver to a subpackage and add an HTTP driver (kata-containers#1420)
    9332af1b Bump github.com/golangci/golangci-lint in /internal/tools (kata-containers#1445)
    5ed96e92 Update exporters/otlp Readme.md (kata-containers#1441)
    bc9cb5e3 Switch CircleCI badge to GitHub Actions (kata-containers#1440)
    716ad082 Remove CircleCI config (kata-containers#1439)
    0682db1e Adding Security Workflows to GitHub Actions (2/2): gosec workflow (kata-containers#1429)
    11f732b8 Adding Security Workflows to GitHub Actions (1/2): codeql workflow (kata-containers#1428)
    40f1c003 Add Tracestate into the SamplingResult struct (kata-containers#1432)
    db06c8d1 Flush metric events before shutdown in collector example (kata-containers#1438)
    f6f458e1 Fix golint issue caused by typo in trace.go (kata-containers#1436)
    fe9d1f7e Use uint64 Count consistently in metric aggregation (kata-containers#1430)
    3a337d0b Bump github.com/golangci/golangci-lint in /internal/tools (kata-containers#1433)
    1e4c8321 cleanup: drop the removed examples in gitignore (kata-containers#1427)
    5c9221cf Unify endpoint API that related to OTel exporter (kata-containers#1401)
    045c3ffe Build scripts: Replace mapfile with read loop for old bash versions (kata-containers#1425)
    2def8c3d Add Versioning Documentation (kata-containers#1388)
    6bcd1085 Bump github.com/itchyny/gojq from 0.11.2 to 0.12.0 in /internal/tools (kata-containers#1424)
    38e76efe Add a split protocol driver for otlp exporter (kata-containers#1418)
    439cd313 Add TraceState to SpanContext in API (kata-containers#1340)
    35215264 Split connection management away from exporter (kata-containers#1369)
    add9d933 Bump github.com/prometheus/client_golang from 1.8.0 to 1.9.0 in /exporters/metric/prometheus (kata-containers#1414)
    93d426a1 Add @dashpole as a project Approver (kata-containers#1410)
    6fe20ef3 Fix small typo (kata-containers#1409)
    b22d0d70 Mention the getting started guide (kata-containers#1406)
    3fb80fb2 Fix duplicate checkout action in GitHub workflow (kata-containers#1407)
    2051927b Correct CI workflow syntax (kata-containers#1403)
    f11a86f7 Fix typo in comment (kata-containers#1402)
    bdf87a78 Migrate CircleCI ci.yml workflow to GitHub Actions (kata-containers#1382)
    4e59dd1f Bump google.golang.org/grpc from 1.32.0 to 1.34.0 in /example/otel-collector (kata-containers#1400)
    83513f70 Bump google.golang.org/api from 0.32.0 to 0.36.0 in /exporters/trace/jaeger (kata-containers#1398)
    a354fc41 Bump github.com/prometheus/client_golang from 1.7.1 to 1.8.0 in /exporters/metric/prometheus (kata-containers#1397)
    3528e42c Bump google.golang.org/grpc from 1.32.0 to 1.34.0 in /exporters/otlp (kata-containers#1396)
    af114baf Call otel.Handle with non-nil errors (kata-containers#1384)
    c3c4273e Add RO/RW span interfaces (kata-containers#1360)

Fixes kata-containers#2591

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
cmaf added a commit to cmaf/kata-containers that referenced this issue Sep 8, 2021
Update OpenTelemetry from v0.15.0 to v0.20.0.

    Git log

    02d8bdd5 Release v0.20.0 (kata-containers#1837)
    aa66fe75 OS and Process resource detectors (kata-containers#1788)
    7374d679 Fix Links documents (kata-containers#1835)
    856f5b84 Add feature request issue template (kata-containers#1831)
    0fdc3d78 Remove bundler from Jaeger exporter (kata-containers#1830)
    738ef11e Fix flaky global ErrorHandler delegation test (kata-containers#1829)
    e43d9c00  Update Default Value for Jaeger Exporter Endpoint  (kata-containers#1824)
    0032bd64 Fix default merging of resource attributes from environment variable (kata-containers#1785)
    96c5e4ba Add SpanProcessor example for Span annotation on start (kata-containers#1733)
    543c8144 Remove the WithSDKOptions from the Jaeger exporter (kata-containers#1825)
    66389ad6 Update function docs in sdk.go (kata-containers#1826)
    70bc9eb3 Adds support for timeout on the otlp/gRPC exporter (kata-containers#1821)
    081cc61d Update Jaeger exporter convenience functions (kata-containers#1822)
    1b9f16d3 Remove the WithDisabled option from Jaeger exporter (kata-containers#1806)
    6867faa0 Bump actions/cache from v2.1.4 to v2.1.5 (kata-containers#1818)
    a2bf04dc Build context pipeline in Jaeger upload process (kata-containers#1809)
    2de86f23 Remove locking from Jaeger exporter shutdown/export (kata-containers#1807)
    4f9fec29 Add ExportSpans benchmark to Jaeger exporter (kata-containers#1805)
    d9566abe Fix OTLP testing flake: signal connection from mock collector (kata-containers#1816)
    a2cecb6e add support for env var configuration to otlp/gRPC (kata-containers#1811)
    d616df61 Fix flaky OTLP exporter reconnect test (kata-containers#1814)
    b09df84a Changes stdout to expose the `*sdktrace.TracerProvider` (kata-containers#1800)
    04890608 Remove options field from Jaeger exporter (kata-containers#1808)
    6db20e00 Remove the abandoned Process struct in Jaeger exporter (kata-containers#1804)
    086abf34 docs: use test example to document prometheus.InstallNewPipeline (kata-containers#1796)
    d0cea04b Bump google.golang.org/api from 0.43.0 to 0.44.0 in /exporters/trace/jaeger (kata-containers#1792)
    99c477fe Fixed typo for default service name in Jaeger Exporter (kata-containers#1797)
    95fd8f50 Bump google.golang.org/grpc from 1.36.1 to 1.37.0 in /exporters/otlp (kata-containers#1791)
    9b251644 Zipkin Exporter: Use default resouce's serviceName as default serivce name (kata-containers#1777) (kata-containers#1786)
    4d141e47 Add k8s.node.name and k8s.node.uid to semconv (kata-containers#1789)
    5c99a34c Fix golint issue caused by incorrect comment (kata-containers#1795)
    c5d006c0 Update Jaeger environment variables (kata-containers#1752)
    58432808 add NewExportPipeline and InstallNewPipeline for otlp (kata-containers#1373)
    7d8e6bd7 Zipkin Exporter: Adjust span transformation to comply with the spec (kata-containers#1688)
    2817c091 Merge sdk/export/trace into sdk/trace (kata-containers#1778)
    c61e654c Refactor prometheus exporter tests to match file headers as well (kata-containers#1470)
    23422c56 Remove process config for Jaeger exporter (kata-containers#1776)
    0d49b592 Add test to check bsp ignores `OnEnd` and `ForceFlush` post Shutdown` (kata-containers#1772)
    e9aaa04b Record links/events attribute drops independently (kata-containers#1771)
    5bbfc22c Make ExportSpans for Jaeger Exporter honor deadline (kata-containers#1773)
    0786fe32 Add Bug report issue templates (kata-containers#1775)
    3c7facee Add `ExportTimeout` option to batch span processor (kata-containers#1755)
    c6b92d5b Make TraceFlags spec-compliant (kata-containers#1770)
    ee687ca5 Bump github.com/itchyny/gojq from 0.12.2 to 0.12.3 in /internal/tools (kata-containers#1774)
    52a24774 add support for configuring tls certs via env var to otlp/HTTP (kata-containers#1769)
    35cfbc7e Update precedence of event name in Jaeger exporter (kata-containers#1768)
    33699d24 Adds semantic conventions for exceptions (kata-containers#1492)
    928e3c38 Modify ForceFlush to abort after timeout/cancellation (kata-containers#1757)
    3947cab4 Fix testCollectorEndpoint typo and add tag assertions in jaeger_test (kata-containers#1753)
    ecc635dc add website docs (kata-containers#1747)
    07a8d195 Fix Jaeger span status reporting and unify tag keys (kata-containers#1761)
    4fa35c90 add partial support for env var config to otlp/HTTP (kata-containers#1758)
    bf180d0f improve OTLP/gRPC connection errors (kata-containers#1737)
    d575865b Fix span IsRecording when not sampling (kata-containers#1750)
    20c93b01 Update SamplingParameters (kata-containers#1749)
    97501a3f Update SpanSnapshot to use parent SpanContext (kata-containers#1748)
    604b05cb Store current Span instead of local and remote SpanContext in context.Context (kata-containers#1731)
    c61f4b6d Set @lizthegrey to emeritus status (kata-containers#1745)
    b1342fec Bump github.com/golangci/golangci-lint in /internal/tools (kata-containers#1743)
    54e1bd19 Bump google.golang.org/api from 0.41.0 to 0.43.0 in /exporters/trace/jaeger (kata-containers#1741)
    4d25b6a2 Bump github.com/prometheus/client_golang from 1.9.0 to 1.10.0 in /exporters/metric/prometheus (kata-containers#1740)
    0a47b66f Bump google.golang.org/grpc from 1.36.0 to 1.36.1 in /exporters/otlp (kata-containers#1739)
    26f006b8 Reinstate @paivagustavo as an Approver (kata-containers#1734)
    382c7ced Remove hasRemoteParent field from SDK span (kata-containers#1728)
    862a5a68 Remove setting error status while recording error with Span from oteltest package (kata-containers#1729)
    6defcfdf Remove links on NewRoot spans (kata-containers#1726)
    a9b2f851 upgrade thrift to v0.14.1 in jaeger exporter (kata-containers#1712)
    5a6a854d Bump google.golang.org/protobuf from 1.25.0 to 1.26.0 in /exporters/otlp (kata-containers#1724)
    23486213 Migrate to using go.opentelemetry.io/proto/otlp (kata-containers#1713)
    5d559b40 Remove makeSamplingDecision func (kata-containers#1711)
    e24702da Update the TraceContext.Extract docs (kata-containers#1720)
    9d4eb1f6 Update dates in CHANGELOG.md for 2021 releases (kata-containers#1723)
    2b4fa968 Release v0.19.0 (kata-containers#1710)
    4beb7041 sdk/trace: removing ApplyConfig and Config (kata-containers#1693)
    1d42be16 Rename WithDefaultSampler TracerProvider option to WithSampler and update docs (kata-containers#1702)
    860d5d86 Add flag to determine whether SpanContext is remote (kata-containers#1701)
    0fe65e6b Comply with OpenTelemetry attributes specification (kata-containers#1703)
    88884351 Bump google.golang.org/api from 0.40.0 to 0.41.0 in /exporters/trace/jaeger (kata-containers#1700)
    345f264a breaking(zipkin): removes servicName from zipkin exporter. (kata-containers#1697)
    62cbf0f2 Populate Jaeger's Span.Process from Resource (kata-containers#1673)
    28eaaa9a Add a test to prove the Tracer is safe for concurrent calls (kata-containers#1665)
    8b1be11a Rename resource pkg label vars and methods (kata-containers#1692)
    a1539d44 OpenCensus metric exporter bridge (kata-containers#1444)
    77aa218d Fix issue kata-containers#1490, apply same logic as in the SDK (kata-containers#1687)
    9d3416cc Fix synchronization issues in global trace delegate implementation (kata-containers#1686)
    58f69f09 Span status from HTTP code: Do not set status message if it can be inferred (kata-containers#1681)
    9c305bde Flush metric events prior to shutdown in OTLP example (kata-containers#1678)
    66b1135a Fix CHANGELOG (kata-containers#1680)
    90bd4ab5 Update employer information for maintainers (kata-containers#1683)
    36841913 Remove WithRecord() option from trace.SpanOption when starting a span (kata-containers#1660)
    65c7de20 Remove trace prefix from NoOp src files. (kata-containers#1679)
    e88a091a Make SpanContext Immutable (kata-containers#1573)
    d75e2680 Avoid overriding configuration of tracer provider (kata-containers#1633)
    2b4d5ac3 Bump github.com/golangci/golangci-lint in /internal/tools (kata-containers#1671)
    150b868d Bump github.com/google/go-cmp from 0.5.4 to 0.5.5 (kata-containers#1667)
    76aa924e Fix the examples target info messaging (kata-containers#1676)
    a3aa9fda Bump github.com/itchyny/gojq from 0.12.1 to 0.12.2 in /internal/tools (kata-containers#1672)
    a5edd79e Removed setting error status while recording err as span event (kata-containers#1663)
    e9814758 chore(zipkin): improves zipkin example to not to depend on timeouts. (kata-containers#1566)
    3dc91f2d Add ForceFlush method to TracerProvider (kata-containers#1608)
    bd0bba43 exporter: swap pusher for exporter (kata-containers#1656)
    56904859 Update the SimpleSpanProcessor (kata-containers#1612)
    a7f7abac  SpanStatus description set only when status code is set to Error (kata-containers#1662)
    05252f40 Jaeger Exporter: Fix minor mapping discrepancies (kata-containers#1626)
    238e7c61 Add non-empty string check for attribute keys (kata-containers#1659)
    e9b9aca8 Add tests for propagation of Sampler Tracestate changes (kata-containers#1655)
    875a2583 Add docs on when reviews should be cleared (kata-containers#1556)
    7153ef2d Add HTTP/JSON to the otlp exporter (kata-containers#1586)
    62e2a0f7 Unexport the simple and batch SpanProcessors (kata-containers#1638)
    992837f1 Add TracerProvider tests to oteltest harness (kata-containers#1607)
    bb4c297e Pre release v0.18.0 (kata-containers#1635)
    712c3dcc Fix makefile ci target and coverage test packages (kata-containers#1634)
    841d2a58 Rename local var new to not collide with builtin (kata-containers#1610)
    13938ab5 Update SpanProcessor docs (kata-containers#1611)
    e25503a0 Add compatibility tests to CI (kata-containers#1567)
    1519d959 Use reasonable interval in sdktrace.WithBatchTimeout (kata-containers#1621)
    7d4496e0 Pass metric labels when transforming to gaugeArray (kata-containers#1570)
    6d4a5e0d Bump google.golang.org/grpc from 1.35.0 to 1.36.0 in /exporters/otlp (kata-containers#1619)
    a93393a0 Bump google.golang.org/grpc in /example/prom-collector (kata-containers#1620)
    e499ca86 Fix validation for tracestate with vendor and add tests (kata-containers#1581)
    43886e52 Make timestamps sequential in lastvalue agg check (kata-containers#1579)
    37688ef6 revent end-users from implementing some interfaces (kata-containers#1575)
    85e696d2 Updating documentation with an working example for creating NewExporter (kata-containers#1513)
    562eb28b Unify the Added sections of the unreleased changes (kata-containers#1580)
    c4cf1aff Fix Windows build of Jaeger tests (kata-containers#1577)
    4a163bea Fix stdout TestStdoutTimestamp failure with sleep (kata-containers#1572)
    bd4701eb Stagger timestamps in exact aggregator tests (kata-containers#1569)
    b94cd4b2 add code attributes to semconv package (kata-containers#1558)
    78c06cef Update docs from gitter to slack for communication (kata-containers#1554)
    1307c911 Remove vendor exclude from license-check (kata-containers#1552)
    5d2636e5 Bump github.com/golangci/golangci-lint in /internal/tools (kata-containers#1565)
    d7aff473 Vendor Thrift dependency (kata-containers#1551)
    298c5a14 Update span limits to conform with OpenTelemetry specification (kata-containers#1535)
    ecf65d79 Rename otel/label -> otel/attribute (kata-containers#1541)
    1b5b6621 Remove resampling on span.SetName (kata-containers#1545)
    8da52996 fix: grpc reconnection  (kata-containers#1521)
    3bce9c97 Add Keys() method to propagation.TextMapCarrier (kata-containers#1544)
    0b1a1c72 Make oteltest.SpanRecorder into a concrete type (kata-containers#1542)
    7d0e3e52 SDK span no modification after ended (kata-containers#1543)
    7de3b58c Remove extra labels types (kata-containers#1314)
    73194e44 Bump google.golang.org/api from 0.39.0 to 0.40.0 in /exporters/trace/jaeger (kata-containers#1536)
    8fae0a64 Create resource.Default() with required attributes/default values (kata-containers#1507)
    76f93422 Release v0.17.0 (kata-containers#1534)
    9b242bc4 Organize API into Go modules based on stability and dependencies (kata-containers#1528)
    e50a1c8c Bump actions/cache from v2 to v2.1.4 (kata-containers#1518)
    a6aa7f00 Bump google.golang.org/api from 0.38.0 to 0.39.0 in /exporters/trace/jaeger (kata-containers#1517)
    38efc875 Code Improvement - Error strings should not be capitalized (kata-containers#1488)
    6b340501 Update default branch name (kata-containers#1505)
    b39fd052 nit: Fix comment to be up-to-date (kata-containers#1510)
    186c2953 Fix golint error of package comment form (kata-containers#1487)
    9308d662 Bump google.golang.org/api from 0.37.0 to 0.38.0 in /exporters/trace/jaeger (kata-containers#1506)
    1952d7b6 Reverse order of attribute precedence when merging two Resources (kata-containers#1501)
    ad7b4715 Remove build flags for runtime/trace support (kata-containers#1498)
    4bf4b690 Remove inaccurate and unnecessary import comment (kata-containers#1481)
    7e19eb6a Bump google.golang.org/api from 0.36.0 to 0.37.0 in /exporters/trace/jaeger (kata-containers#1504)
    c6a4406a Bump github.com/golangci/golangci-lint in /internal/tools (kata-containers#1503)
    9524ac09 Update workflows to include main branch as trigger (kata-containers#1497)
    c066f15e Bump github.com/gogo/protobuf from 1.3.1 to 1.3.2 in /internal/tools (kata-containers#1478)
    894e0240 Bump github.com/golangci/golangci-lint in /internal/tools (kata-containers#1477)
    71ffba39 Bump google.golang.org/grpc from 1.34.0 to 1.35.0 in /exporters/otlp (kata-containers#1471)
    515809a8 Bump github.com/itchyny/gojq from 0.12.0 to 0.12.1 in /internal/tools (kata-containers#1472)
    3e96ad1e gitignore: remove unused example path (kata-containers#1474)
    c5622777 Histogram aggregator functional options (kata-containers#1434)
    0df8cd62 Rename Makefile.proto to avoid interpretation as proto file (kata-containers#1468)
    979ff51f Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 (kata-containers#1453)
    1df8b3b8 Bump github.com/gogo/protobuf from 1.3.1 to 1.3.2 in /exporters/otlp (kata-containers#1456)
    4c30a90a Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 in /sdk (kata-containers#1455)
    5a9f8f6e Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 in /exporters/stdout (kata-containers#1454)
    7786f34c Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 in /exporters/trace/zipkin (kata-containers#1457)
    4352a7a6 Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 in /exporters/otlp (kata-containers#1460)
    6990b3b3 Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 in /exporters/metric/prometheus (kata-containers#1461)
    7af40d22 Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 in /exporters/trace/jaeger (kata-containers#1463)
    f16f1892 Bump google.golang.org/grpc in /example/otel-collector (kata-containers#1465)
    fe363be3 Move Span Event to API (kata-containers#1452)
    43922240 Bump google.golang.org/grpc in /example/prom-collector (kata-containers#1466)
    0aadfb27 Prepare release v0.16.0 (kata-containers#1464)
    207587b6 Metric histogram aggregator: Swap in SynchronizedMove to avoid allocations (kata-containers#1435)
    c29c6fd1 Shutdown underlying span exporter while shutting down BatchSpanProcessor (kata-containers#1443)
    dfece3d2 Combine the Push and Pull metric controllers (kata-containers#1378)
    74deeddd Handle tracestate in TraceContext propagator  (kata-containers#1447)
    49f699d6 Remove Quantile aggregation, DDSketch aggregator; add Exact timestamps (kata-containers#1412)
    9c949411 Rename internal/testing to internal/internaltest (kata-containers#1449)
    8d809814 Move gRPC driver to a subpackage and add an HTTP driver (kata-containers#1420)
    9332af1b Bump github.com/golangci/golangci-lint in /internal/tools (kata-containers#1445)
    5ed96e92 Update exporters/otlp Readme.md (kata-containers#1441)
    bc9cb5e3 Switch CircleCI badge to GitHub Actions (kata-containers#1440)
    716ad082 Remove CircleCI config (kata-containers#1439)
    0682db1e Adding Security Workflows to GitHub Actions (2/2): gosec workflow (kata-containers#1429)
    11f732b8 Adding Security Workflows to GitHub Actions (1/2): codeql workflow (kata-containers#1428)
    40f1c003 Add Tracestate into the SamplingResult struct (kata-containers#1432)
    db06c8d1 Flush metric events before shutdown in collector example (kata-containers#1438)
    f6f458e1 Fix golint issue caused by typo in trace.go (kata-containers#1436)
    fe9d1f7e Use uint64 Count consistently in metric aggregation (kata-containers#1430)
    3a337d0b Bump github.com/golangci/golangci-lint in /internal/tools (kata-containers#1433)
    1e4c8321 cleanup: drop the removed examples in gitignore (kata-containers#1427)
    5c9221cf Unify endpoint API that related to OTel exporter (kata-containers#1401)
    045c3ffe Build scripts: Replace mapfile with read loop for old bash versions (kata-containers#1425)
    2def8c3d Add Versioning Documentation (kata-containers#1388)
    6bcd1085 Bump github.com/itchyny/gojq from 0.11.2 to 0.12.0 in /internal/tools (kata-containers#1424)
    38e76efe Add a split protocol driver for otlp exporter (kata-containers#1418)
    439cd313 Add TraceState to SpanContext in API (kata-containers#1340)
    35215264 Split connection management away from exporter (kata-containers#1369)
    add9d933 Bump github.com/prometheus/client_golang from 1.8.0 to 1.9.0 in /exporters/metric/prometheus (kata-containers#1414)
    93d426a1 Add @dashpole as a project Approver (kata-containers#1410)
    6fe20ef3 Fix small typo (kata-containers#1409)
    b22d0d70 Mention the getting started guide (kata-containers#1406)
    3fb80fb2 Fix duplicate checkout action in GitHub workflow (kata-containers#1407)
    2051927b Correct CI workflow syntax (kata-containers#1403)
    f11a86f7 Fix typo in comment (kata-containers#1402)
    bdf87a78 Migrate CircleCI ci.yml workflow to GitHub Actions (kata-containers#1382)
    4e59dd1f Bump google.golang.org/grpc from 1.32.0 to 1.34.0 in /example/otel-collector (kata-containers#1400)
    83513f70 Bump google.golang.org/api from 0.32.0 to 0.36.0 in /exporters/trace/jaeger (kata-containers#1398)
    a354fc41 Bump github.com/prometheus/client_golang from 1.7.1 to 1.8.0 in /exporters/metric/prometheus (kata-containers#1397)
    3528e42c Bump google.golang.org/grpc from 1.32.0 to 1.34.0 in /exporters/otlp (kata-containers#1396)
    af114baf Call otel.Handle with non-nil errors (kata-containers#1384)
    c3c4273e Add RO/RW span interfaces (kata-containers#1360)

Fixes kata-containers#2591

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
@prateeksahu
Copy link

I am running into the same issue as well. Is there any update on this front?

@jodh-intel
Copy link
Contributor

This looks like the issue I raised recently. Specifically see #2818 (comment).

@prateeksahu
Copy link

@jodh-intel Thanks for pointing that out!
Just to clarify, my setup is using cri-o and am still getting the same issues.
Regardless, are there any working instructions to configure the devmapper etc so that we can get it working currently? I do want to use firecracker vms

@jodh-intel
Copy link
Contributor

The two links in my comment give you some instructions, but since there are various ways to configure FC, it's "up to you" I think ;) I used the scripts on https://blog.cloudkernels.net/posts/kata-fc-k3s-k8s/ that use loopback devices. These were fine for my testing, but probably not what you want for a "proper" setup.

I think @ananos was planning to write some DM docs for FC for Kata at some point, but for now I'd use the references above to get you going, or speak to the Firecracker folk directly for advice.

@ccrvlh
Copy link

ccrvlh commented Dec 23, 2022

Having a similar issue using rke2 and kata-deploy, although no hypervisor works, and the message is slightly different:

Failed to create pod sandbox: rpc error:
code = DeadlineExceeded
desc = failed to create containerd task: failed to create shim task: context deadline exceeded

From the docs it looked like it should work without further configuration, wonder what else might be needed to make it work.

@chenzhiguo
Copy link

附议

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/firecracker Issues specific to the Firecracker hypervisor bug Incorrect behaviour
Projects
Issue backlog
  
area QEMU/cloud-hypervisor/firecracker
Development

No branches or pull requests

7 participants