8000 Permission denied on hugetlb due to wrong filename · Issue #77169 · kubernetes/kubernetes · GitHub
[go: up one dir, main page]

Skip to content

Permission denied on hugetlb due to wrong filename #77169

@arnarg

Description

@arnarg

What happened:
When running kubeadm init --pod-network-cidr=10.244.0.0/16 on OpenSUSE Kubic for aarch64 (board with amlogic s905w) kubelet spits out the following error and exits.
kubelet.go:1359] Failed to start ContainerManager failed to initialize top level QOS containers: failed to update top level Burstable QOS cgroup : failed to set supported cgroup subsystems for cgroup [kubepods burstable]: Failed to set config for supported subsystems : failed to write 4611686018427387904 to hugetlb.64kB.limit_in_bytes: open /sys/fs/cgroup/hugetlb/kubepods/burstable/hugetlb.64kB.limit_in_bytes: permission denied

What you expected to happen:
For kubelet to not error and exit.

How to reproduce it (as minimally and precisely as possible):
I don't know if this is the same for all ARM boards or just amlogic.

Anything else we need to know?:
/sys/fs/cgroup/hugetlb/kubepods/burstable/hugetlb.64KB.limit_in_bytes exists but not /sys/fs/cgroup/hugetlb/kubepods/burstable/hugetlb.64kB.limit_in_bytes (notice capitalization of KB).

Environment:

  • Kubernetes version (use kubectl version): v1.14.1
  • Cloud provider or hardware configuration: Amlogic s905w board with 2GiB RAM.
  • OS (e.g: cat /etc/os-release):
NAME="openSUSE MicroOS"
# VERSION="20190415"
ID="opensuse-microos"
ID_LIKE="suse opensuse opensuse-tumbleweed"
VERSION_ID="20190415"
PRETTY_NAME="openSUSE MicroOS"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:microos:20190415"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
LOGO="distributor-logo"
  • Kernel (e.g. uname -a): Linux kube-master01 5.0.7-1-default #1 SMP Sat Apr 6 14:47:49 UTC 2019 (8f18342) aarch64 aarch64 aarch64 GNU/Linux
  • Install tools: kubeadm

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.sig/nodeCategorizes an issue or PR as relevant to SIG Node.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0