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

runc failure for a fresh installation on RHEL 8.10 (OCI runtime create failed) #3738

Open
HassanHashemi opened this issue Nov 4, 2024 · 0 comments

Comments

@HassanHashemi
Copy link

HassanHashemi commented Nov 4, 2024

Upon installing a new installation on RHEL 8.10 with a none root user (given https://rke.docs.rancher.com/os#red-hat-enterprise-linux-rhel--oracle-linux-ol--centos) following situation happens:

RKE version:
v1.6.3

runc version
1.1.14

Docker version: (docker version,docker info preferred)
Version: 26.0.2

Operating system and kernel: (cat /etc/os-release, uname -r preferred)
RHEL 8.10

Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
Private VM

cluster.yml file:
nodes:

  • address: X.X.X.X
    port: "22"
    internal_address: X.X.X.X
    role:
    • controlplane
    • worker
    • etcd
      user: ext.mo.amiri
      ssh_key: ""
      ssh_key_path: "/home/myuser/.ssh/id_rsa"
      ingress:
      provider: nginx
      network:
      plugin: flannel

Steps to Reproduce:
do ./rke up

Results:
INFO[0021] Starting container [kube-apiserver] on host [X.X.X.X], try #1
WARN[0021] Can't start Docker container [kube-apiserver] on host [X.X.X.X]: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/opt/rke-tools/entrypoint.sh": permission denied: unknown
INFO[0021] Starting container [kube-apiserver] on host [X.X.X.X], try #2
WARN[0021] Can't start Docker container [kube-apiserver] on host [10.157.67.129]: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/opt/rke-tools/entrypoint.sh": permission denied: unknown
INFO[0021] Starting container [kube-apiserver] on host [X.X.X.X], try #3
WARN[0022] Can't start Docker container [kube-apiserver] on host [X.X.X.X]: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/opt/rke-tools/entrypoint.sh": permission denied: unknown
FATA[0022] [controlPlane] Failed to bring up Control Plane: [Failed to start [kube-apiserver] container on host [X.X.X.X]: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/opt/rke-tools/entrypoint.sh": permission denied: unknown]

@HassanHashemi HassanHashemi changed the title runc failure for a fresh installation on RHEL 8.10 runc failure for a fresh installation on RHEL 8.10 (OCI runtime create failed) Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant