Skip to content

Instantly share code, notes, and snippets.

@nachokb
Created February 26, 2019 19:41
Show Gist options
  • Save nachokb/27f5f33ce7e1de261f6581a0df8efc6a to your computer and use it in GitHub Desktop.
Save nachokb/27f5f33ce7e1de261f6581a0df8efc6a to your computer and use it in GitHub Desktop.
2019/02/26 19:33:06 [INFO] Rancher version v2.1.6 is starting
2019/02/26 19:33:06 [INFO] Rancher arguments {ACMEDomains:[k8s.XYZ.ABC] AddLocal:auto Embedded:false KubeConfig: HTTPListenPort:80 HTTPSListenPort:443 K8sMode:auto Debug:false NoCACerts:false ListenConfig:<nil> AuditLogPath:/var/log/auditlog/rancher-api-audit.log AuditLogMaxage:10 AuditLogMaxsize:100 AuditLogMaxbackup:10 AuditLevel:0}
2019/02/26 19:33:06 [INFO] Listening on /tmp/log.sock
2019/02/26 19:33:07 [INFO] Running etcd --peer-client-cert-auth --client-cert-auth --cert-file=/etc/kubernetes/ssl/kube-etcd-127-0-0-1.pem --peer-cert-file=/etc/kubernetes/ssl/kube-etcd-127-0-0-1.pem --peer-key-file=/etc/kubernetes/ssl/kube-etcd-127-0-0-1-key.pem --data-dir=/var/lib/rancher/etcd/ --peer-trusted-ca-file=/etc/kubernetes/ssl/kube-ca.pem --key-file=/etc/kubernetes/ssl/kube-etcd-127-0-0-1-key.pem --heartbeat-interval=500 --name=etcd-master --listen-peer-urls=https://0.0.0.0:2380 --initial-advertise-peer-urls=https://127.0.0.1:2380 --initial-cluster-state=new --election-timeout=5000 --initial-cluster-token=etcd-cluster-1 --advertise-client-urls=https://127.0.0.1:2379,https://127.0.0.1:4001 --trusted-ca-file=/etc/kubernetes/ssl/kube-ca.pem --listen-client-urls=https://0.0.0.0:2379 --initial-cluster=etcd-master=https://127.0.0.1:2380
2019/02/26 19:33:09 [INFO] Running kube-apiserver --etcd-servers=https://127.0.0.1:2379 --proxy-client-key-file= --insecure-bind-address=127.0.0.1 --insecure-port=0 --requestheader-extra-headers-prefix= --requestheader-group-headers= --service-node-port-range=30000-32767 --tls-cert-file=/etc/kubernetes/ssl/kube-apiserver.pem --secure-port=6443 --etcd-certfile=/etc/kubernetes/ssl/kube-node.pem --authorization-mode=Node,RBAC --storage-backend=etcd3 --service-cluster-ip-range=10.43.0.0/16 --service-account-key-file=/etc/kubernetes/ssl/kube-apiserver-key.pem --advertise-address=10.43.0.1 --etcd-cafile=/etc/kubernetes/ssl/kube-ca.pem --requestheader-client-ca-file= --endpoint-reconciler-type=lease --enable-admission-plugins=NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota --cloud-provider= --allow-privileged=true --kubelet-preferred-address-types=InternalIP,ExternalIP,Hostname --requestheader-username-headers= --client-ca-file=/etc/kubernetes/ssl/kube-ca.pem --tls-private-key-file=/etc/kubernetes/ssl/kube-apiserver-key.pem --kubelet-client-certificate=/etc/kubernetes/ssl/kube-apiserver.pem --etcd-keyfile=/etc/kubernetes/ssl/kube-node-key.pem --etcd-prefix=/registry --tls-cipher-suites=TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 --bind-address=127.0.0.1 --requestheader-allowed-names= --kubelet-client-key=/etc/kubernetes/ssl/kube-apiserver-key.pem --proxy-client-cert-file= -v=1 --logtostderr=false --alsologtostderr=false
2019/02/26 19:33:09 [INFO] Activating driver import
2019/02/26 19:33:09 [INFO] Activating driver import done
2019/02/26 19:33:09 [INFO] Activating driver rke
2019/02/26 19:33:09 [INFO] Activating driver rke done
2019/02/26 19:33:09 [INFO] Activating driver gke
2019/02/26 19:33:09 [INFO] Activating driver gke done
2019/02/26 19:33:09 [INFO] Activating driver aks
2019/02/26 19:33:09 [INFO] Activating driver aks done
2019/02/26 19:33:09 [INFO] Activating driver eks
2019/02/26 19:33:09 [INFO] Activating driver eks done
2019/02/26 19:33:19 [INFO] Waiting for server to become available: Get https://127.0.0.1:6443/version: net/http: TLS handshake timeout
2019/02/26 19:33:19 [INFO] Waiting for server to become available: Get https://127.0.0.1:6443/version?timeout=30s: net/http: TLS handshake timeout
2019/02/26 19:33:21 [INFO] Running kube-controller-manager --address=0.0.0.0 --cloud-provider= --leader-elect=true --node-monitor-grace-period=40s --service-account-private-key-file=/etc/kubernetes/ssl/kube-apiserver-key.pem --root-ca-file=/etc/kubernetes/ssl/kube-ca.pem --kubeconfig=/etc/kubernetes/ssl/kubecfg-kube-controller-manager.yaml --allow-untagged-cloud=true --pod-eviction-timeout=5m0s --v=2 --allocate-node-cidrs=true --configure-cloud-routes=false --enable-hostpath-provisioner=false --cluster-cidr=10.42.0.0/16 --service-cluster-ip-range=10.43.0.0/16 --use-service-account-credentials=true -v=1 --logtostderr=false --alsologtostderr=false --controllers * --controllers -resourcequota --controllers -service
2019/02/26 19:33:21 [INFO] Running in single server mode, will not peer connections
2019/02/26 19:33:21 [INFO] Starting API controllers
2019/02/26 19:33:22 [INFO] Listening on :443
2019/02/26 19:33:22 [INFO] Listening on :80
2019/02/26 19:33:22 [INFO] Stopping cluster agent for c-9zx9t
2019/02/26 19:33:22 [ERROR] ClusterController c-9zx9t [user-controllers-controller] failed with : failed to start user controllers for cluster c-9zx9t: failed to contact server: Get https://10.22.61.27:6443/version?timeout=30s: waiting for cluster agent to connect
2019/02/26 19:33:22 [INFO] 2019/02/26 19:33:22 http: TLS handshake error from <PUBLIC_IP>:38080: acme/autocert: host not configured
2019/02/26 19:33:22 [INFO] Stopping cluster agent for c-9zx9t
2019/02/26 19:33:22 [ERROR] ClusterController c-9zx9t [user-controllers-controller] failed with : failed to start user controllers for cluster c-9zx9t: failed to contact server: Get https://10.22.61.27:6443/version?timeout=30s: waiting for cluster agent to connect
2019/02/26 19:33:23 [INFO] Stopping cluster agent for c-9zx9t
2019/02/26 19:33:23 [ERROR] ClusterController c-9zx9t [user-controllers-controller] failed with : failed to start user controllers for cluster c-9zx9t: failed to contact server: Get https://10.22.61.27:6443/version?timeout=30s: waiting for cluster agent to connect
2019/02/26 19:33:25 [INFO] 2019/02/26 19:33:25 http: TLS handshake error from <PUBLIC_IP>:38112: acme/autocert: host not configured
2019/02/26 19:33:25 [INFO] Stopping cluster agent for c-9zx9t
2019/02/26 19:33:25 [ERROR] ClusterController c-9zx9t [user-controllers-controller] failed with : failed to start user controllers for cluster c-9zx9t: failed to contact server: Get https://10.22.61.27:6443/version?timeout=30s: waiting for cluster agent to connect
2019/02/26 19:33:26 [INFO] Stopping cluster agent for c-9zx9t
2019/02/26 19:33:27 [INFO] 2019/02/26 19:33:27 http: TLS handshake error from <PUBLIC_IP>:38118: acme/autocert: host not configured
2019/02/26 19:33:29 [INFO] Stopping cluster agent for c-9zx9t
2019/02/26 19:33:29 [ERROR] ClusterController c-9zx9t [user-controllers-controller] failed with : failed to start user controllers for cluster c-9zx9t: failed to contact server: Get https://10.22.61.27:6443/version?timeout=30s: waiting for cluster agent to connect
2019/02/26 19:33:31 [INFO] Stopping cluster agent for c-9zx9t
2019/02/26 19:33:32 [INFO] 2019/02/26 19:33:32 http: TLS handshake error from <PUBLIC_IP>:38122: acme/autocert: host not configured
2019/02/26 19:33:35 [INFO] 2019/02/26 19:33:35 http: TLS handshake error from <PUBLIC_IP>:38182: acme/autocert: host not configured
2019/02/26 19:33:36 [INFO] Stopping cluster agent for c-9zx9t
2019/02/26 19:33:37 [INFO] Starting catalog controller
2019/02/26 19:33:37 [INFO] Starting management controllers
2019/02/26 19:33:37 [INFO] 2019/02/26 19:33:37 http: TLS handshake error from <PUBLIC_IP>:38252: acme/autocert: host not configured
2019/02/26 19:33:37 [INFO] Stopping cluster agent for c-9zx9t
2019/02/26 19:33:37 [ERROR] ClusterController c-9zx9t [user-controllers-controller] failed with : failed to start user controllers for cluster c-9zx9t: failed to contact server: Get https://10.22.61.27:6443/version?timeout=30s: waiting for cluster agent to connect
2019/02/26 19:33:38 [INFO] Reconciling GlobalRoles
2019/02/26 19:33:38 [INFO] Reconciling RoleTemplates
2019/02/26 19:33:38 [INFO] Rancher startup complete
2019/02/26 19:33:42 [INFO] 2019/02/26 19:33:42 http: TLS handshake error from <PUBLIC_IP>:38306: acme/autocert: host not configured
2019/02/26 19:33:45 [INFO] 2019/02/26 19:33:45 http: TLS handshake error from <PUBLIC_IP>:38342: acme/autocert: host not configured
2019/02/26 19:33:47 [INFO] 2019/02/26 19:33:47 http: TLS handshake error from <PUBLIC_IP>:38346: acme/autocert: host not configured
2019/02/26 19:33:52 [INFO] 2019/02/26 19:33:52 http: TLS handshake error from <PUBLIC_IP>:38626: acme/autocert: host not configured
2019/02/26 19:33:53 [ERROR] ClusterController c-9zx9t [user-controllers-controller] failed with : failed to start user controllers for cluster c-9zx9t: failed to contact server: Get https://10.22.61.27:6443/version?timeout=30s: waiting for cluster agent to connect
2019/02/26 19:33:55 [INFO] 2019/02/26 19:33:55 http: TLS handshake error from <PUBLIC_IP>:38662: acme/autocert: host not configured
2019/02/26 19:33:57 [INFO] 2019/02/26 19:33:57 http: TLS handshake error from <PUBLIC_IP>:38670: acme/autocert: host not configured
2019/02/26 19:34:02 [INFO] 2019/02/26 19:34:02 http: TLS handshake error from <PUBLIC_IP>:38676: acme/autocert: host not configured
2019/02/26 19:34:05 [INFO] 2019/02/26 19:34:05 http: TLS handshake error from <PUBLIC_IP>:38682: acme/autocert: host not configured
2019/02/26 19:34:07 [INFO] 2019/02/26 19:34:07 http: TLS handshake error from <PUBLIC_IP>:38716: acme/autocert: host not configured
2019/02/26 19:34:12 [INFO] 2019/02/26 19:34:12 http: TLS handshake error from <PUBLIC_IP>:38720: acme/autocert: host not configured
2019/02/26 19:34:15 [INFO] 2019/02/26 19:34:15 http: TLS handshake error from <PUBLIC_IP>:38724: acme/autocert: host not configured
2019/02/26 19:34:17 [INFO] 2019/02/26 19:34:17 http: TLS handshake error from <PUBLIC_IP>:38760: acme/autocert: host not configured
2019/02/26 19:34:22 [INFO] 2019/02/26 19:34:22 http: TLS handshake error from <PUBLIC_IP>:38800: acme/autocert: host not configured
2019/02/26 19:34:25 [INFO] 2019/02/26 19:34:25 http: TLS handshake error from <PUBLIC_IP>:38808: acme/autocert: host not configured
2019/02/26 19:34:25 [ERROR] ClusterController c-9zx9t [user-controllers-controller] failed with : failed to start user controllers for cluster c-9zx9t: failed to contact server: Get https://10.22.61.27:6443/version?timeout=30s: waiting for cluster agent to connect
2019/02/26 19:34:27 [INFO] 2019/02/26 19:34:27 http: TLS handshake error from <PUBLIC_IP>:38810: acme/autocert: host not configured
2019/02/26 19:34:32 [INFO] 2019/02/26 19:34:32 http: TLS handshake error from <PUBLIC_IP>:38844: acme/autocert: host not configured
2019/02/26 19:34:35 [INFO] 2019/02/26 19:34:35 http: TLS handshake error from <PUBLIC_IP>:38850: acme/autocert: host not configured
2019/02/26 19:34:37 [INFO] 2019/02/26 19:34:37 http: TLS handshake error from <PUBLIC_IP>:38852: acme/autocert: host not configured
2019/02/26 19:34:42 [INFO] 2019/02/26 19:34:42 http: TLS handshake error from <PUBLIC_IP>:38892: acme/autocert: host not configured
2019/02/26 19:34:45 [INFO] 2019/02/26 19:34:45 http: TLS handshake error from <PUBLIC_IP>:38900: acme/autocert: host not configured
2019/02/26 19:34:47 [INFO] 2019/02/26 19:34:47 http: TLS handshake error from <PUBLIC_IP>:38902: acme/autocert: host not configured
2019/02/26 19:34:52 [INFO] 2019/02/26 19:34:52 http: TLS handshake error from <PUBLIC_IP>:38936: acme/autocert: host not configured
2019/02/26 19:34:55 [INFO] 2019/02/26 19:34:55 http: TLS handshake error from <PUBLIC_IP>:38942: acme/autocert: host not configured
2019/02/26 19:34:57 [INFO] 2019/02/26 19:34:57 http: TLS handshake error from <PUBLIC_IP>:38946: acme/autocert: host not configured
2019/02/26 19:35:02 [INFO] 2019/02/26 19:35:02 http: TLS handshake error from <PUBLIC_IP>:39010: acme/autocert: host not configured
docker run -d --name rancher \
--restart=unless-stopped \
-p 80:80 -p 443:443 \
-v /volumes/rancher:/var/lib/rancher \
rancher/rancher:v2.1.6 \
--acme-domain k8s.XYZ.ABC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment