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

Rke with docker rootless #3578

Open
aseaudi opened this issue May 11, 2024 · 0 comments
Open

Rke with docker rootless #3578

aseaudi opened this issue May 11, 2024 · 0 comments

Comments

@aseaudi
Copy link

aseaudi commented May 11, 2024

RKE version:
[centos9@localhost ~]$ ./rke_linux-amd64 version
WARN[0000] This is not an officially supported version (v1.6.0-rc3) of RKE. Please download the latest official release at https://github.com/rancher/rke/releases
INFO[0000] Running RKE version: v1.6.0-rc3
FATA[0000] Failed to get Kubernetes server version: Get "https://10.99.161.21:6443/version?timeout=30s": dial tcp 10.99.161.21:6443: connect: connection refused
[centos9@localhost ~]$

Docker version: (docker version,docker info preferred)
[centos9@localhost ~]$ docker version
Client:
Version: 24.0.9
API version: 1.43
Go version: go1.20.13
Git commit: 2936816
Built: Thu Feb 1 00:47:46 2024
OS/Arch: linux/amd64
Context: rootless

Server: Docker Engine - Community
Engine:
Version: 24.0.9
API version: 1.43 (minimum version 1.12)
Go version: go1.20.13
Git commit: fca702d
Built: Thu Feb 1 00:49:16 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.7.13
GitCommit: 7c3aca7a610df76212171d200ca3811ff6096eb8
runc:
Version: 1.1.12
GitCommit: v1.1.12-0-g51d5e94
docker-init:
Version: 0.19.0
GitCommit: de40ad0
rootlesskit:
Version: 1.1.1
ApiVersion: 1.1.1
NetworkDriver: slirp4netns
PortDriver: builtin
StateDir: /tmp/rootlesskit2283272975
slirp4netns:
Version: 1.2.3
GitCommit: c22fde291bb35b354e6ca44d13be181c76a0a432
[centos9@localhost ~]$
Operating system and kernel: (cat /etc/os-release, uname -r preferred)
[centos9@localhost ~]$ uname -r
5.14.0-444.el9.x86_64
[centos9@localhost ~]$
[centos9@localhost ~]$ cat /etc/os-release
NAME="CentOS Stream"
VERSION="9"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="9"
PLATFORM_ID="platform:el9"
PRETTY_NAME="CentOS Stream 9"
ANSI_COLOR="0;31"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:centos:centos:9"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://issues.redhat.com/"
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 9"
REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream"
[centos9@localhost ~]$

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

cluster.yml file:
nodes:

  • address: 10.99.161.21
    port: "22"
    internal_address: ""
    role:
    • controlplane
    • worker
    • etcd
      hostname_override: ""
      user: centos9
      docker_socket: /run/user/1000/docker.sock
      ssh_key: ""
      ssh_key_path: ~/.ssh/id_rsa
      ssh_cert: ""
      ssh_cert_path: ""
      labels: {}
      taints: []

Steps to Reproduce:
Results:
I am getting the following error, after rke up
I am using docker rootless
I am also modifying the prefix path, since i am trying to install rke using non-root user
any idea how to resolve this error about timeout for proxy ?

May 11 11:58:22 localhost.localdomain kernel: docker0: port 1(veth9c79bdc) entered blocking state
May 11 11:58:22 localhost.localdomain kernel: docker0: port 1(veth9c79bdc) entered disabled state
May 11 11:58:22 localhost.localdomain kernel: device veth9c79bdc entered promiscuous mode
May 11 11:58:38 localhost.localdomain dockerd-rootless.sh[109292]: time=“2024-05-11T11:58:38.318684072+03:00” level=warning msg=“Failed to allocate and map port 2380-2380: Timed out proxy starting the userland proxy”
May 11 11:58:38 localhost.localdomain kernel: docker0: port 1(veth9c79bdc) entered disabled state
May 11 11:58:38 localhost.localdomain kernel: device veth9c79bdc left promiscuous mode
May 11 11:58:38 localhost.localdomain kernel: docker0: port 1(veth9c79bdc) entered disabled state
May 11 11:58:38 localhost.localdomain dockerd-rootless.sh[109292]: time=“2024-05-11T11:58:38.347542652+03:00” level=error msg=“Handler for POST /v1.41/containers/rke-etcd-port-listener/start returned error: driver failed programming external connectivity on endpoint rke-etcd-port-listener (0b577d5502dbd934dbc57f00de9eb706d5d0339825b5a6c98ee851d55850a46b): Timed out proxy starting the userland proxy”

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