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

Failed to dial to Docker socket while deploy etcd #364

Closed
qianxiaoming opened this issue Feb 20, 2018 · 2 comments
Closed

Failed to dial to Docker socket while deploy etcd #364

qianxiaoming opened this issue Feb 20, 2018 · 2 comments

Comments

@qianxiaoming
Copy link

RKE version:
v0.1.1

Docker version: (docker version,docker info preferred)
Client:
Version: 17.03.2-ce
API version: 1.27
Go version: go1.7.5
Git commit: f5ec1e2
Built: Tue Jun 27 02:21:36 2017
OS/Arch: linux/amd64

Server:
Version: 17.03.2-ce
API version: 1.27 (minimum version 1.12)
Go version: go1.7.5
Git commit: f5ec1e2
Built: Tue Jun 27 02:21:36 2017
OS/Arch: linux/amd64
Experimental: false

Operating system and kernel: (cat /etc/os-release, uname -r preferred)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"

kernel version: 3.10.0-693.11.1.el7.x86_64

Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
private cloud envirment

cluster.yml file:

nodes:

  • address: a4
    user: root
    role: [worker]
  • address: a5
    user: root
    role: [worker]
  • address: a6
    user: root
    role: [worker]
  • address: a7
    user: root
    role: [etcd]
  • address: a8
    user: root
    role: [controlplane]

services:
etcd:
image: quay.io/coreos/etcd:latest
kube-api:
image: rancher/k8s:v1.8.3-rancher2
kube-controller:
image: rancher/k8s:v1.8.3-rancher2
scheduler:
image: rancher/k8s:v1.8.3-rancher2
kubelet:
image: rancher/k8s:v1.8.3-rancher2
kubeproxy:
image: rancher/k8s:v1.8.3-rancher2

Steps to Reproduce:
./rke up

Results:
INFO[0000] Building Kubernetes cluster
INFO[0000] [dialer] Setup tunnel for host [a7]
FATA[0000] Failed to set up SSH tunneling for Etcd host [a7]: Can't retrieve Docker Info: error during connect: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.24/info: Failed to dial to Docker socket: ssh: rejected: administratively prohibited (open failed)

by the way: selinux is enforcing

@moelsayed
Copy link
Contributor

Please check #93

@qianxiaoming
Copy link
Author

Thanks! It works for CentOS 7.4.

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

2 participants