-
Notifications
You must be signed in to change notification settings - Fork 590
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 take etcd snapshot exit code [1]: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. #875
Comments
I just ran into this same issue. Running rke 0.1.11
the logs from the container
Sometimes I can get it to move to the next node but that one then gets the same error. Is it like a timeout error or something? |
Ran it again and it made it to the second node
|
@mitchellmaler please reopen the issue if you see it again. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
RKE version:
v0.1.9
Docker version: (
docker version
,docker info
preferred)17.03.1-ce
Operating system and kernel: (
cat /etc/os-release
,uname -r
preferred)Centos 3.10.0-693.el7.x86_64
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
Bare-metal
cluster.yml file:
nodes:
user: docker # root user (usually 'root')
role: [controlplane,etcd,worker] # K8s roles for node
ssh_key_path: ~/.ssh/id_rsa # path to PEM file
user: docker # root user (usually 'root')
role: [controlplane,etcd,worker] # K8s roles for node
ssh_key_path: ~/.ssh/id_rsa # path to PEM file
user: docker # root user (usually 'root')
role: [controlplane,etcd,worker] # K8s roles for node
ssh_key_path: ~/.ssh/id_rsa # path to PEM file
user: docker # root user (usually 'root')
role: [worker] # K8s roles for node
ssh_key_path: ~/.ssh/id_rsa # path to PEM file
addons: |-
kind: Namespace
apiVersion: v1
metadata:
name: cattle-system
kind: ServiceAccount
apiVersion: v1
metadata:
name: cattle-admin
namespace: cattle-system
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: cattle-crb
namespace: cattle-system
subjects:
name: cattle-admin
namespace: cattle-system
roleRef:
kind: ClusterRole
name: cluster-admin
apiGroup: rbac.authorization.k8s.io
apiVersion: v1
kind: Secret
metadata:
name: cattle-keys-server
namespace: cattle-system
type: Opaque
data:
cacerts.pem: MIIDmDCCAoACC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PrQ7lKiceNM4NJ5wY1S0dR0g4LTOESyP3tBftsXp6S9LYtjjefvDWf3oor+UbYwIo2DE+Oi1Rs2iUFunezhQeRpB2Y3lO3c61DLd+2/A7ngujCfyblM/nJ2Dn+ophyAShzMaFTUtOrmMntjwfa2tTDZTXoO
apiVersion: v1
kind: Service
metadata:
namespace: cattle-system
name: cattle-service
labels:
app: cattle
spec:
ports:
- port: 80
targetPort: 80
protocol: TCP
name: http
selector:
app: cattle
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
namespace: cattle-system
name: cattle-ingress-http
annotations:
nginx.ingress.kubernetes.io/proxy-connect-timeout: "30"
nginx.ingress.kubernetes.io/proxy-read-timeout: "1800" # Max time in seconds for ws to remain shell window open
nginx.ingress.kubernetes.io/proxy-send-timeout: "1800" # Max time in seconds for ws to remain shell window open
nginx.ingress.kubernetes.io/ssl-redirect: "false" # Disable redirect to ssl
spec:
rules:
- host: me.rancher.com
http:
paths:
- backend:
serviceName: cattle-service
servicePort: 80
kind: Deployment
apiVersion: extensions/v1beta1
metadata:
namespace: cattle-system
name: cattle
spec:
replicas: 1
template:
metadata:
labels:
app: cattle
spec:
serviceAccountName: cattle-admin
containers:
- image: rancher/rancher:latest
imagePullPolicy: Always
name: cattle-server
ports:
- containerPort: 80
protocol: TCP
volumeMounts:
- mountPath: /etc/rancher/ssl
name: cattle-keys-volume
readOnly: true
volumes:
- name: cattle-keys-volume
secret:
defaultMode: 420
secretName: cattle-keys-server
services:
etcd:
snapshot: true # enables recurring etcd snapshots
creation: 6h0s # time increment between snapshots
retention: 24h # time increment before snapshot purge
Steps to Reproduce:
Results:
FATA[0051] Failed to take etcd snapshot exit code [1]: Error waiting for container [etcd-snapshot-once] on host [192.168.11.179]: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
The text was updated successfully, but these errors were encountered: