Closed lining2020x closed 4 years ago
/cc @jcvenegas @devimc I guess the relevant bit is ?:
Warning Failed 15s (x3 over 31s) kubelet, debian0 Error: failed to create containerd task:
Unable to hotplug 1024 MiB memory, the SB has 2048 MiB and the maximum amount is
1971 MiB: unknown
# Meta details
Running `kata-collect-data.sh` version `1.11.0-alpha1 (commit 705713b4f9bc4d1e754871d5ef1ab5e99ea71aff)` at `2020-04-06.23:48:51.511542415+0800`.
---
Runtime is `/usr/local/bin/kata-runtime`.
# `kata-env`
Output of "`/usr/local/bin/kata-runtime kata-env`":
```toml
[Meta]
Version = "1.0.24"
[Runtime]
Debug = false
Trace = false
DisableGuestSeccomp = true
DisableNewNetNs = false
SandboxCgroupOnly = false
Path = "/usr/local/bin/kata-runtime"
[Runtime.Version]
OCI = "1.0.1-dev"
[Runtime.Version.Version]
Semver = "1.11.0-alpha1"
Major = 1
Minor = 11
Patch = 0
Commit = "705713b4f9bc4d1e754871d5ef1ab5e99ea71aff"
[Runtime.Config]
Path = "/usr/share/defaults/kata-containers/configuration-qemu.toml"
[Hypervisor]
MachineType = "pc"
Version = "QEMU emulator version 3.1.0 (Debian 1:3.1+dfsg-8+deb10u4)\nCopyright (c) 2003-2018 Fabrice Bellard and the QEMU Project developers"
Path = "/usr/bin/qemu-system-x86_64"
BlockDeviceDriver = "virtio-scsi"
EntropySource = "/dev/urandom"
SharedFS = "virtio-9p"
VirtioFSDaemon = "/usr/bin/virtiofsd"
Msize9p = 8192
MemorySlots = 10
PCIeRootPort = 0
HotplugVFIOOnRootBus = false
Debug = false
UseVSock = false
[Image]
Path = "/usr/share/kata-containers/kata-containers-image_clearlinux_1.11.0-alpha0_agent_d26a505efd.img"
[Kernel]
Path = "/usr/share/kata-containers/vmlinuz-5.4.15.66-45.container"
Parameters = "systemd.unit=kata-containers.target systemd.mask=systemd-networkd.service systemd.mask=systemd-networkd.socket"
[Initrd]
Path = ""
[Proxy]
Type = "kataProxy"
Path = "/usr/libexec/kata-containers/kata-proxy"
Debug = false
[Proxy.Version]
Semver = "1.11.0-alpha0-4ec94c8"
Major = 1
Minor = 11
Patch = 0
Commit = "4ec94c8"
[Shim]
Type = "kataShim"
Path = "/usr/libexec/kata-containers/kata-shim"
Debug = false
[Shim.Version]
Semver = "1.11.0-alpha0-834e0b3"
Major = 1
Minor = 11
Patch = 0
Commit = "834e0b3"
[Agent]
Type = "kata"
Debug = false
Trace = false
TraceMode = ""
TraceType = ""
[Host]
Kernel = "4.19.0-8-amd64"
Architecture = "amd64"
VMContainerCapable = true
SupportVSocks = true
[Host.Distro]
Name = "Debian GNU/Linux"
Version = "10"
[Host.CPU]
Vendor = "GenuineIntel"
Model = "Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz"
[Netmon]
Path = "/usr/libexec/kata-containers/kata-netmon"
Debug = false
Enable = false
[Netmon.Version]
Semver = "1.11.0-alpha1"
Major = 1
Minor = 11
Patch = 0
Commit = "<
@scott0000 looks like you're running kata on an embedded system?
he SB has 2048 MiB and the maximum amount is 1971 MiB
you will need more memory or change the default memory to 512 MB
Sorry for a so long time delay. It can work by changing the default_memory smaller.
Description of problem
I am a new bee to kata container. I have just get my kata enviroment setup by refering the document, I created a pod with memory resouce limit and it failed.When I remove the resouce limit , the pod can run normally.
Here is my pod yaml.
Here is error message.
Expected result
Pod runs OK.
Actual result
Pod crash loopback.