Kubespray: Create kubeadm token for joining nodes with 24h expiration - Fails

Created on 22 Apr 2019  Â·  21Comments  Â·  Source: kubernetes-sigs/kubespray

Environment:
On-Prem using Centos 7 VMs

  • OS (printf "$(uname -srm)\n$(cat /etc/os-release)\n"):
    NAME="CentOS Linux"
    VERSION="7 (Core)"
    ID="centos"
    ID_LIKE="rhel fedora"
    VERSION_ID="7"
    PRETTY_NAME="CentOS Linux 7 (Core)"
    ANSI_COLOR="0;31"
    CPE_NAME="cpe:/o:centos:centos:7"
    HOME_URL="https://www.centos.org/"
    BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

  • Version of Ansible (ansible --version):
    ansible 2.7.10
    config file = None
    configured module search path = [u'/home/hayashid/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
    ansible python module location = /usr/lib/python2.7/site-packages/ansible
    executable location = /usr/bin/ansible
    python version = 2.7.5 (default, Apr 9 2019, 14:30:50) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]

Kubespray version (commit) (git rev-parse --short HEAD):
09fe95b

Network plugin used:
calico

Copy of your inventory file:

## configure a bastion host if your nodes are not directly reachable

bastion ansible_host=x.x.x.x ansible_user=some_user

[kube-master]
cvc-prod-nycdc-gcs01.air2gnd.net
cvc-prod-nycdc-gcs02.air2gnd.net
cvc-prod-nycdc-gcs03.air2gnd.net
[etcd]
cvc-prod-nycdc-gcs01.air2gnd.net
cvc-prod-nycdc-gcs02.air2gnd.net
cvc-prod-nycdc-gcs03.air2gnd.net
[kube-node]
cvn-prod-nycdc-gcs01.air2gnd.net
cvn-prod-nycdc-gcs02.air2gnd.net
cvn-prod-nycdc-gcs03.air2gnd.net
cvn-prod-nycdc-gcs04.air2gnd.net
cvn-prod-nycdc-gcs05.air2gnd.net
cvn-prod-nycdc-gcs06.air2gnd.net
[k8s-cluster:children]
kube-master
kube-node

Command used to invoke ansible:
ansible-playbook -i inventory/mycluster/hosts.ini cluster.yml -b -v --private-key=~/.ssh/id_rsa --become --become-user=root -vvv

Output of ansible run:

TASK [kubernetes/master : kubeadm | Initialize first master] *********************************************************
task path: /home/hayashid/code/kubespray/roles/kubernetes/master/tasks/kubeadm-setup.yml:91
Monday 22 April 2019 18:45:36 +0000 (0:00:05.400) 0:09:01.573
***

TASK [kubernetes/master : set kubeadm certificate key] ***********************************************************
task path: /home/hayashid/code/kubespray/roles/kubernetes/master/tasks/kubeadm-setup.yml:114
Monday 22 April 2019 18:45:36 +0000 (0:00:00.133) 0:09:01.706
***

TASK [kubernetes/master : Create kubeadm token for joining nodes with 24h expiration (default)] *********************************************
task path: /home/hayashid/code/kubespray/roles/kubernetes/master/tasks/kubeadm-setup.yml:124
Monday 22 April 2019 18:45:37 +0000 (0:00:00.183) 0:09:01.890 **
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py
 ESTABLISH SSH CONNECTION FOR USER: None
 SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o 'IdentityFile="/home/hayashid/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/hayashid/.ansible/cp/63f01193f9 cvc-prod-nycdc-gcs01.air2gnd.net '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-ddnohkqmqyoqujdlrnzsfzxvhigbqagk; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py
 ESTABLISH SSH CONNECTION FOR USER: None
 SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o 'IdentityFile="/home/hayashid/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/hayashid/.ansible/cp/63f01193f9 cvc-prod-nycdc-gcs01.air2gnd.net '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-gkkhjfopsfhwuawnhohopkwxllnjjxie; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py
 ESTABLISH SSH CONNECTION FOR USER: None
 SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o 'IdentityFile="/home/hayashid/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/hayashid/.ansible/cp/63f01193f9 cvc-prod-nycdc-gcs01.air2gnd.net '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-snwabrjuivujnmwpvzmfuclrxkznktry; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
Escalation succeeded
Escalation succeeded
 (1, '\n{"changed": true, "end": "2019-04-22 18:46:51.675574", "stdout": "", "cmd": ["/usr/local/bin/kubeadm", "--kubeconfig", "/etc/kubernetes/admin.conf", "token", "create"], "failed": true, "delta": "0:01:15.027341", "stderr": "timed out waiting for the condition", "rc": 1, "invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": false, "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", "removes": null, "argv": null, "creates": null, "chdir": null, "stdin": null}}, "start": "2019-04-22 18:45:36.648233", "msg": "non-zero return code"}\n', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 29271\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
 Failed to connect to the host via ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: /etc/ssh/ssh_config line 58: Applying options for *

debug1: auto-mux: Trying existing master

debug2: fd 3 setting O_NONBLOCK

debug2: mux_client_hello_exchange: master version 4

debug3: mux_client_forwards: request forwardings: 0 local, 0 remote

debug3: mux_client_request_session: entering

debug3: mux_client_request_alive: entering

debug3: mux_client_request_alive: done pid = 29271

debug3: mux_client_request_session: session request sent

debug1: mux_client_request_session: master session id: 2

debug3: mux_client_read_packet: read header failed: Broken pipe

debug2: Received exit status from master 1
 (1, '\n{"changed": true, "end": "2019-04-22 18:46:51.677426", "stdout": "", "cmd": ["/usr/local/bin/kubeadm", "--kubeconfig", "/etc/kubernetes/admin.conf", "token", "create"], "failed": true, "delta": "0:01:15.027818", "stderr": "timed out waiting for the condition", "rc": 1, "invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": false, "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", "removes": null, "argv": null, "creates": null, "chdir": null, "stdin": null}}, "start": "2019-04-22 18:45:36.649608", "msg": "non-zero return code"}\n', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 29271\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 4\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
 Failed to connect to the host via ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: /etc/ssh/ssh_config line 58: Applying options for *

debug1: auto-mux: Trying existing master

debug2: fd 3 setting O_NONBLOCK

debug2: mux_client_hello_exchange: master version 4

debug3: mux_client_forwards: request forwardings: 0 local, 0 remote

debug3: mux_client_request_session: entering

debug3: mux_client_request_alive: entering

debug3: mux_client_request_alive: done pid = 29271

debug3: mux_client_request_session: session request sent

debug1: mux_client_request_session: master session id: 4

debug3: mux_client_read_packet: read header failed: Broken pipe

debug2: Received exit status from master 1
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (5 retries left).Result was: {
 "attempts": 1, 
 "changed": true, 
 "cmd": [
 "/usr/local/bin/kubeadm", 
 "--kubeconfig", 
 "/etc/kubernetes/admin.conf", 
 "token", 
 "create"
 ], 
 "delta": "0:01:15.027341", 
 "end": "2019-04-22 18:46:51.675574", 
 "invocation": {
 "module_args": {
 "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", 
 "_uses_shell": false, 
 "argv": null, 
 "chdir": null, 
 "creates": null, 
 "executable": null, 
 "removes": null, 
 "stdin": null, 
 "warn": true
 }
 }, 
 "msg": "non-zero return code", 
 "rc": 1, 
 "retries": 6, 
 "start": "2019-04-22 18:45:36.648233", 
 "stderr": "timed out waiting for the condition", 
 "stderr_lines": [
 "timed out waiting for the condition"
 ], 
 "stdout": "", 
 "stdout_lines": []
}
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (5 retries left).Result was: {
 "attempts": 1, 
 "changed": true, 
 "cmd": [
 "/usr/local/bin/kubeadm", 
 "--kubeconfig", 
 "/etc/kubernetes/admin.conf", 
 "token", 
 "create"
 ], 
 "delta": "0:01:15.027818", 
 "end": "2019-04-22 18:46:51.677426", 
 "invocation": {
 "module_args": {
 "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", 
 "_uses_shell": false, 
 "argv": null, 
 "chdir": null, 
 "creates": null, 
 "executable": null, 
 "removes": null, 
 "stdin": null, 
 "warn": true
 }
 }, 
 "msg": "non-zero return code", 
 "rc": 1, 
 "retries": 6, 
 "start": "2019-04-22 18:45:36.649608", 
 "stderr": "timed out waiting for the condition", 
 "stderr_lines": [
 "timed out waiting for the condition"
 ], 
 "stdout": "", 
 "stdout_lines": []
}
 (1, '\n{"changed": true, "end": "2019-04-22 18:46:51.709866", "stdout": "", "cmd": ["/usr/local/bin/kubeadm", "--kubeconfig", "/etc/kubernetes/admin.conf", "token", "create"], "failed": true, "delta": "0:01:15.023172", "stderr": "timed out waiting for the condition", "rc": 1, "invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": false, "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", "removes": null, "argv": null, "creates": null, "chdir": null, "stdin": null}}, "start": "2019-04-22 18:45:36.686694", "msg": "non-zero return code"}\n', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 29271\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 6\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
 Failed to connect to the host via ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: /etc/ssh/ssh_config line 58: Applying options for *

debug1: auto-mux: Trying existing master

debug2: fd 3 setting O_NONBLOCK

debug2: mux_client_hello_exchange: master version 4

debug3: mux_client_forwards: request forwardings: 0 local, 0 remote

debug3: mux_client_request_session: entering

debug3: mux_client_request_alive: entering

debug3: mux_client_request_alive: done pid = 29271

debug3: mux_client_request_session: session request sent

debug1: mux_client_request_session: master session id: 6

debug3: mux_client_read_packet: read header failed: Broken pipe

debug2: Received exit status from master 1
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (5 retries left).Result was: {
 "attempts": 1, 
 "changed": true, 
 "cmd": [
 "/usr/local/bin/kubeadm", 
 "--kubeconfig", 
 "/etc/kubernetes/admin.conf", 
 "token", 
 "create"
 ], 
 "delta": "0:01:15.023172", 
 "end": "2019-04-22 18:46:51.709866", 
 "invocation": {
 "module_args": {
 "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", 
 "_uses_shell": false, 
 "argv": null, 
 "chdir": null, 
 "creates": null, 
 "executable": null, 
 "removes": null, 
 "stdin": null, 
 "warn": true
 }
 }, 
 "msg": "non-zero return code", 
 "rc": 1, 
 "retries": 6, 
 "start": "2019-04-22 18:45:36.686694", 
 "stderr": "timed out waiting for the condition", 
 "stderr_lines": [
 "timed out waiting for the condition"
 ], 
 "stdout": "", 
 "stdout_lines": []
}
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py
 ESTABLISH SSH CONNECTION FOR USER: None
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py
 SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o 'IdentityFile="/home/hayashid/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/hayashid/.ansible/cp/63f01193f9 cvc-prod-nycdc-gcs01.air2gnd.net '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-nbbrtoyurygzwdijpxdnzvfzfchuzirh; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
 ESTABLISH SSH CONNECTION FOR USER: None
 SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o 'IdentityFile="/home/hayashid/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/hayashid/.ansible/cp/63f01193f9 cvc-prod-nycdc-gcs01.air2gnd.net '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-jethptljzskxaqpescudlvwrndlxlatn; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py
 ESTABLISH SSH CONNECTION FOR USER: None
 SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o 'IdentityFile="/home/hayashid/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/hayashid/.ansible/cp/63f01193f9 cvc-prod-nycdc-gcs01.air2gnd.net '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-ldlwhisjsagwuoaxtldacjfhtdkwfbhd; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
Escalation succeeded
Escalation succeeded
 (1, '\n{"changed": true, "end": "2019-04-22 18:48:12.066067", "stdout": "", "cmd": ["/usr/local/bin/kubeadm", "--kubeconfig", "/etc/kubernetes/admin.conf", "token", "create"], "failed": true, "delta": "0:01:15.028647", "stderr": "timed out waiting for the condition", "rc": 1, "invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": false, "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", "removes": null, "argv": null, "creates": null, "chdir": null, "stdin": null}}, "start": "2019-04-22 18:46:57.037420", "msg": "non-zero return code"}\n', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 re (1, '\n{"changed": true, "end": "2019-04-22 18:48:12.066525", "stdout": "", "cmd": ["/usr/local/bin/kubeadm", "--kubeconfig", "/etc/kubernetes/admin.conf", "token", "create"], "failed": true, "delta": "0:01:15.028052", "stderr": "timed out waiting for the condition", "rc": 1, "invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": false, "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", "removes": null, "argv": null, "creates": null, "chdir": null, "stdin": null}}, "start": "2019-04-22 18:46:57.038473", "msg": "non-zero return code"}\n', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 29271\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 3\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
mote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 29271\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 4\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
 Failed to connect to the host via ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: /etc/ssh/ssh_config line 58: Applying options for *

debug1: auto-mux: Trying existing master

debug2: fd 3 setting O_NONBLOCK

debug2: mux_client_hello_exchange: master version 4

debug3: mux_client_forwards: request forwardings: 0 local, 0 remote

debug3: mux_client_request_session: entering

debug3: mux_client_request_alive: entering

debug3: mux_client_request_alive: done pid = 29271

debug3: mux_client_request_session: session request sent

debug1: mux_client_request_session: master session id: 4

debug3: mux_client_read_packet: read header failed: Broken pipe

debug2: Received exit status from master 1
 Failed to connect to the host via ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: /etc/ssh/ssh_config line 58: Applying options for *

debug1: auto-mux: Trying existing master

debug2: fd 3 setting O_NONBLOCK

debug2: mux_client_hello_exchange: master version 4

debug3: mux_client_forwards: request forwardings: 0 local, 0 remote

debug3: mux_client_request_session: entering

debug3: mux_client_request_alive: entering

debug3: mux_client_request_alive: done pid = 29271

debug3: mux_client_request_session: session request sent

debug1: mux_client_request_session: master session id: 3

debug3: mux_client_read_packet: read header failed: Broken pipe

debug2: Received exit status from master 1
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (4 retries left).Result was: {
 "attempts": 2, 
 "changed": true, 
 "cmd": [
 "/usr/local/bin/kubeadm", 
 "--kubeconfig", 
 "/etc/kubernetes/admin.conf", 
 "token", 
 "create"
 ], 
 "delta": "0:01:15.028647", 
 "end": "2019-04-22 18:48:12.066067", 
 "invocation": {
 "module_args": {
 "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", 
 "_uses_shell": false, 
 "argv": null, 
 "chdir": null, 
 "creates": null, 
 "executable": null, 
 "removes": null, 
 "stdin": null, 
 "warn": true
 }
 }, 
 "msg": "non-zero return code", 
 "rc": 1, 
 "retries": 6, 
 "start": "2019-04-22 18:46:57.037420", 
 "stderr": "timed out waiting for the condition", 
 "stderr_lines": [
 "timed out waiting for the condition"
 ], 
 "stdout": "", 
 "stdout_lines": []
}
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (4 retries left).Result was: {
 "attempts": 2, 
 "changed": true, 
 "cmd": [
 "/usr/local/bin/kubeadm", 
 "--kubeconfig", 
 "/etc/kubernetes/admin.conf", 
 "token", 
 "create"
 ], 
 "delta": "0:01:15.028052", 
 "end": "2019-04-22 18:48:12.066525", 
 "invocation": {
 "module_args": {
 "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", 
 "_uses_shell": false, 
 "argv": null, 
 "chdir": null, 
 "creates": null, 
 "executable": null, 
 "removes": null, 
 "stdin": null, 
 "warn": true
 }
 }, 
 "msg": "non-zero return code", 
 "rc": 1, 
 "retries": 6, 
 "start": "2019-04-22 18:46:57.038473", 
 "stderr": "timed out waiting for the condition", 
 "stderr_lines": [
 "timed out waiting for the condition"
 ], 
 "stdout": "", 
 "stdout_lines": []
}
 (1, '\n{"changed": true, "end": "2019-04-22 18:48:12.092094", "stdout": "", "cmd": ["/usr/local/bin/kubeadm", "--kubeconfig", "/etc/kubernetes/admin.conf", "token", "create"], "failed": true, "delta": "0:01:15.025062", "stderr": "timed out waiting for the condition", "rc": 1, "invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": false, "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", "removes": null, "argv": null, "creates": null, "chdir": null, "stdin": null}}, "start": "2019-04-22 18:46:57.067032", "msg": "non-zero return code"}\n', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 29271\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 6\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
 Failed to connect to the host via ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: /etc/ssh/ssh_config line 58: Applying options for *

debug1: auto-mux: Trying existing master

debug2: fd 3 setting O_NONBLOCK

debug2: mux_client_hello_exchange: master version 4

debug3: mux_client_forwards: request forwardings: 0 local, 0 remote

debug3: mux_client_request_session: entering

debug3: mux_client_request_alive: entering

debug3: mux_client_request_alive: done pid = 29271

debug3: mux_client_request_session: session request sent

debug1: mux_client_request_session: master session id: 6

debug3: mux_client_read_packet: read header failed: Broken pipe

debug2: Received exit status from master 1
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (4 retries left).Result was: {
 "attempts": 2, 
 "changed": true, 
 "cmd": [
 "/usr/local/bin/kubeadm", 
 "--kubeconfig", 
 "/etc/kubernetes/admin.conf", 
 "token", 
 "create"
 ], 
 "delta": "0:01:15.025062", 
 "end": "2019-04-22 18:48:12.092094", 
 "invocation": {
 "module_args": {
 "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", 
 "_uses_shell": false, 
 "argv": null, 
 "chdir": null, 
 "creates": null, 
 "executable": null, 
 "removes": null, 
 "stdin": null, 
 "warn": true
 }
 }, 
 "msg": "non-zero return code", 
 "rc": 1, 
 "retries": 6, 
 "start": "2019-04-22 18:46:57.067032", 
 "stderr": "timed out waiting for the condition", 
 "stderr_lines": [
 "timed out waiting for the condition"
 ], 
 "stdout": "", 
 "stdout_lines": []
}
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py
 ESTABLISH SSH CONNECTION FOR USER: None
 SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o 'IdentityFile="/home/hayashid/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/hayashid/.ansible/cp/63f01193f9 cvc-prod-nycdc-gcs01.air2gnd.net '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-aycucvjrikawsuvainmgvrypvcntqhea; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py
 ESTABLISH SSH CONNECTION FOR USER: None
 SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o 'IdentityFile="/home/hayashid/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/hayashid/.ansible/cp/63f01193f9 cvc-prod-nycdc-gcs01.air2gnd.net '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-kgrqbhcsceqvqkopdocblwxfvmjllslg; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py
 ESTABLISH SSH CONNECTION FOR USER: None
 SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o 'IdentityFile="/home/hayashid/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/hayashid/.ansible/cp/63f01193f9 cvc-prod-nycdc-gcs01.air2gnd.net '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-jngvpdmsqqfbpyhgaqhpvpvqqdczxnvv; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
Escalation succeeded
Escalation succeeded
 (1, '\n{"changed": true, "end": "2019-04-22 18:49:32.455399", "stdout": "", "cmd": ["/usr/local/bin/kubeadm", "--kubeconfig", "/etc/kubernetes/admin.conf", "token", "create"], "failed": true, "delta": "0:01:15.028209", "stderr": "timed out waiting for the condition", "rc": 1, "invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": false, "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", "removes": null, "argv": null, "creates": null, "chdir": null, "stdin": null}}, "start": "2019-04-22 18:48:17.427190", "msg": "non-zero return code"}\n', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 29271\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 4\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
 Failed to connect to the host via ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: /etc/ssh/ssh_config line 58: Applying options for *

debug1: auto-mux: Trying existing master

debug2: fd 3 setting O_NONBLOCK

debug2: mux_client_hello_exchange: master version 4

debug3: mux_client_forwards: request forwardings: 0 local, 0 remote

debug3: mux_client_request_session: entering

debug3: mux_client_request_alive: entering

debug3: mux_client_request_alive: done pid = 29271

debug3: mux_client_request_session: session request sent

debug1: mux_client_request_session: master session id: 4

debug3: mux_client_read_packet: read header failed: Broken pipe

debug2: Received exit status from master 1
 (1, '\n{"changed": true, "end": "2019-04-22 18:49:32.457584", "stdout": "", "cmd": ["/usr/local/bin/kubeadm", "--kubeconfig", "/etc/kubernetes/admin.conf", "token", "create"], "failed": true, "delta": "0:01:15.030392", "stderr": "timed out waiting for the condition", "rc": 1, "invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": false, "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", "removes": null, "argv": null, "creates": null, "chdir": null, "stdin": null}}, "start": "2019-04-22 18:48:17.427192", "msg": "non-zero return code"}\n', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 29271\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
 Failed to connect to the host via ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: /etc/ssh/ssh_config line 58: Applying options for *

debug1: auto-mux: Trying existing master

debug2: fd 3 setting O_NONBLOCK

debug2: mux_client_hello_exchange: master version 4

debug3: mux_client_forwards: request forwardings: 0 local, 0 remote

debug3: mux_client_request_session: entering

debug3: mux_client_request_alive: entering

debug3: mux_client_request_alive: done pid = 29271

debug3: mux_client_request_session: session request sent

debug1: mux_client_request_session: master session id: 2

debug3: mux_client_read_packet: read header failed: Broken pipe

debug2: Received exit status from master 1
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (3 retries left).Result was: {
 "attempts": 3, 
 "changed": true, 
 "cmd": [
 "/usr/local/bin/kubeadm", 
 "--kubeconfig", 
 "/etc/kubernetes/admin.conf", 
 "token", 
 "create"
 ], 
 "delta": "0:01:15.028209", 
 "end": "2019-04-22 18:49:32.455399", 
 "invocation": {
 "module_args": {
 "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", 
 "_uses_shell": false, 
 "argv": null, 
 "chdir": null, 
 "creates": null, 
 "executable": null, 
 "removes": null, 
 "stdin": null, 
 "warn": true
 }
 }, 
 "msg": "non-zero return code", 
 "rc": 1, 
 "retries": 6, 
 "start": "2019-04-22 18:48:17.427190", 
 "stderr": "timed out waiting for the condition", 
 "stderr_lines": [
 "timed out waiting for the condition"
 ], 
 "stdout": "", 
 "stdout_lines": []
}
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (3 retries left).Result was: {
 "attempts": 3, 
 "changed": true, 
 "cmd": [
 "/usr/local/bin/kubeadm", 
 "--kubeconfig", 
 "/etc/kubernetes/admin.conf", 
 "token", 
 "create"
 ], 
 "delta": "0:01:15.030392", 
 "end": "2019-04-22 18:49:32.457584", 
 "invocation": {
 "module_args": {
 "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", 
 "_uses_shell": false, 
 "argv": null, 
 "chdir": null, 
 "creates": null, 
 "executable": null, 
 "removes": null, 
 "stdin": null, 
 "warn": true
 }
 }, 
 "msg": "non-zero return code", 
 "rc": 1, 
 "retries": 6, 
 "start": "2019-04-22 18:48:17.427192", 
 "stderr": "timed out waiting for the condition", 
 "stderr_lines": [
 "timed out waiting for the condition"
 ], 
 "stdout": "", 
 "stdout_lines": []
}
 (1, '\n{"changed": true, "end": "2019-04-22 18:49:32.478790", "stdout": "", "cmd": ["/usr/local/bin/kubeadm", "--kubeconfig", "/etc/kubernetes/admin.conf", "token", "create"], "failed": true, "delta": "0:01:15.023233", "stderr": "timed out waiting for the condition", "rc": 1, "invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": false, "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", "removes": null, "argv": null, "creates": null, "chdir": null, "stdin": null}}, "start": "2019-04-22 18:48:17.455557", "msg": "non-zero return code"}\n', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 29271\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 6\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
 Failed to connect to the host via ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: /etc/ssh/ssh_config line 58: Applying options for *

debug1: auto-mux: Trying existing master

debug2: fd 3 setting O_NONBLOCK

debug2: mux_client_hello_exchange: master version 4

debug3: mux_client_forwards: request forwardings: 0 local, 0 remote

debug3: mux_client_request_session: entering

debug3: mux_client_request_alive: entering

debug3: mux_client_request_alive: done pid = 29271

debug3: mux_client_request_session: session request sent

debug1: mux_client_request_session: master session id: 6

debug3: mux_client_read_packet: read header failed: Broken pipe

debug2: Received exit status from master 1
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (3 retries left).Result was: {
 "attempts": 3, 
 "changed": true, 
 "cmd": [
 "/usr/local/bin/kubeadm", 
 "--kubeconfig", 
 "/etc/kubernetes/admin.conf", 
 "token", 
 "create"
 ], 
 "delta": "0:01:15.023233", 
 "end": "2019-04-22 18:49:32.478790", 
 "invocation": {
 "module_args": {
 "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", 
 "_uses_shell": false, 
 "argv": null, 
 "chdir": null, 
 "creates": null, 
 "executable": null, 
 "removes": null, 
 "stdin": null, 
 "warn": true
 }
 }, 
 "msg": "non-zero return code", 
 "rc": 1, 
 "retries": 6, 
 "start": "2019-04-22 18:48:17.455557", 
 "stderr": "timed out waiting for the condition", 
 "stderr_lines": [
 "timed out waiting for the condition"
 ], 
 "stdout": "", 
 "stdout_lines": []
}
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py
 ESTABLISH SSH CONNECTION FOR USER: None
 SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o 'IdentityFile="/home/hayashid/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/hayashid/.ansible/cp/63f01193f9 cvc-prod-nycdc-gcs01.air2gnd.net '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-rfctijvgamjnyvrjhbbshaecxyifznyn; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py
 ESTABLISH SSH CONNECTION FOR USER: None
 SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o 'IdentityFile="/home/hayashid/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/hayashid/.ansible/cp/63f01193f9 cvc-prod-nycdc-gcs01.air2gnd.net '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-nzkxlvqbgkpbyquqyneqgwbkkurtxceu; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py
 ESTABLISH SSH CONNECTION FOR USER: None
 SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o 'IdentityFile="/home/hayashid/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/hayashid/.ansible/cp/63f01193f9 cvc-prod-nycdc-gcs01.air2gnd.net '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-mbywnvofklpakmsshdduahihiycpdwwe; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
Escalation succeeded
Escalation succeeded
 (1, '\n{"changed": true, "end": "2019-04-22 18:50:52.847516", "stdout": "", "cmd": ["/usr/local/bin/kubeadm", "--kubeconfig", "/etc/kubernetes/admin.conf", "token", "create"], "failed": true, "delta": "0:01:15.028424", "stderr": "timed out waiting for the condition", "rc": 1, "invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": false, "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", "removes": null, "argv": null, "creates": null, "chdir": null, "stdin": null}}, "start": "2019-04-22 18:49:37.819092", "msg": "non-zero return code"}\n', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 29271\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
 Failed to connect to the host via ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: /etc/ssh/ssh_config line 58: Applying options for *

debug1: auto-mux: Trying existing master

debug2: fd 3 setting O_NONBLOCK

debug2: mux_client_hello_exchange: master version 4

debug3: mux_client_forwards: request forwardings: 0 local, 0 remote

debug3: mux_client_request_session: entering

debug3: mux_client_request_alive: entering

debug3: mux_client_request_alive: done pid = 29271

debug3: mux_client_request_session: session request sent

debug1: mux_client_request_session: master session id: 2

debug3: mux_client_read_packet: read header failed: Broken pipe

debug2: Received exit status from master 1
 (1, '\n{"changed": true, "end": "2019-04-22 18:50:52.850352", "stdout": "", "cmd": ["/usr/local/bin/kubeadm", "--kubeconfig", "/etc/kubernetes/admin.conf", "token", "create"], "failed": true, "delta": "0:01:15.031326", "stderr": "timed out waiting for the condition", "rc": 1, "invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": false, "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", "removes": null, "argv": null, "creates": null, "chdir": null, "stdin": null}}, "start": "2019-04-22 18:49:37.819026", "msg": "non-zero return code"}\n', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 29271\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 4\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
 Failed to connect to the host via ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: /etc/ssh/ssh_config line 58: Applying options for *

debug1: auto-mux: Trying existing master

debug2: fd 3 setting O_NONBLOCK

debug2: mux_client_hello_exchange: master version 4

debug3: mux_client_forwards: request forwardings: 0 local, 0 remote

debug3: mux_client_request_session: entering

debug3: mux_client_request_alive: entering

debug3: mux_client_request_alive: done pid = 29271

debug3: mux_client_request_session: session request sent

debug1: mux_client_request_session: master session id: 4

debug3: mux_client_read_packet: read header failed: Broken pipe

debug2: Received exit status from master 1
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (2 retries left).Result was: {
 "attempts": 4, 
 "changed": true, 
 "cmd": [
 "/usr/local/bin/kubeadm", 
 "--kubeconfig", 
 "/etc/kubernetes/admin.conf", 
 "token", 
 "create"
 ], 
 "delta": "0:01:15.028424", 
 "end": "2019-04-22 18:50:52.847516", 
 "invocation": {
 "module_args": {
 "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", 
 "_uses_shell": false, 
 "argv": null, 
 "chdir": null, 
 "creates": null, 
 "executable": null, 
 "removes": null, 
 "stdin": null, 
 "warn": true
 }
 }, 
 "msg": "non-zero return code", 
 "rc": 1, 
 "retries": 6, 
 "start": "2019-04-22 18:49:37.819092", 
 "stderr": "timed out waiting for the condition", 
 "stderr_lines": [
 "timed out waiting for the condition"
 ], 
 "stdout": "", 
 "stdout_lines": []
}
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (2 retries left).Result was: {
 "attempts": 4, 
 "changed": true, 
 "cmd": [
 "/usr/local/bin/kubeadm", 
 "--kubeconfig", 
 "/etc/kubernetes/admin.conf", 
 "token", 
 "create"
 ], 
 "delta": "0:01:15.031326", 
 "end": "2019-04-22 18:50:52.850352", 
 "invocation": {
 "module_args": {
 "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", 
 "_uses_shell": false, 
 "argv": null, 
 "chdir": null, 
 "creates": null, 
 "executable": null, 
 "removes": null, 
 "stdin": null, 
 "warn": true
 }
 }, 
 "msg": "non-zero return code", 
 "rc": 1, 
 "retries": 6, 
 "start": "2019-04-22 18:49:37.819026", 
 "stderr": "timed out waiting for the condition", 
 "stderr_lines": [
 "timed out waiting for the condition"
 ], 
 "stdout": "", 
 "stdout_lines": []
}
 (1, '\n{"changed": true, "end": "2019-04-22 18:50:52.878642", "stdout": "", "cmd": ["/usr/local/bin/kubeadm", "--kubeconfig", "/etc/kubernetes/admin.conf", "token", "create"], "failed": true, "delta": "0:01:15.024572", "stderr": "timed out waiting for the condition", "rc": 1, "invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": false, "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", "removes": null, "argv": null, "creates": null, "chdir": null, "stdin": null}}, "start": "2019-04-22 18:49:37.854070", "msg": "non-zero return code"}\n', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 29271\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 6\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
 Failed to connect to the host via ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: /etc/ssh/ssh_config line 58: Applying options for *

debug1: auto-mux: Trying existing master

debug2: fd 3 setting O_NONBLOCK

debug2: mux_client_hello_exchange: master version 4

debug3: mux_client_forwards: request forwardings: 0 local, 0 remote

debug3: mux_client_request_session: entering

debug3: mux_client_request_alive: entering

debug3: mux_client_request_alive: done pid = 29271

debug3: mux_client_request_session: session request sent

debug1: mux_client_request_session: master session id: 6

debug3: mux_client_read_packet: read header failed: Broken pipe

debug2: Received exit status from master 1
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (2 retries left).Result was: {
 "attempts": 4, 
 "changed": true, 
 "cmd": [
 "/usr/local/bin/kubeadm", 
 "--kubeconfig", 
 "/etc/kubernetes/admin.conf", 
 "token", 
 "create"
 ], 
 "delta": "0:01:15.024572", 
 "end": "2019-04-22 18:50:52.878642", 
 "invocation": {
 "module_args": {
 "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", 
 "_uses_shell": false, 
 "argv": null, 
 "chdir": null, 
 "creates": null, 
 "executable": null, 
 "removes": null, 
 "stdin": null, 
 "warn": true
 }
 }, 
 "msg": "non-zero return code", 
 "rc": 1, 
 "retries": 6, 
 "start": "2019-04-22 18:49:37.854070", 
 "stderr": "timed out waiting for the condition", 
 "stderr_lines": [
 "timed out waiting for the condition"
 ], 
 "stdout": "", 
 "stdout_lines": []
}
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py
 ESTABLISH SSH CONNECTION FOR USER: None
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py
 ESTABLISH SSH CONNECTION FOR USER: None
 SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o 'IdentityFile="/home/hayashid/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/hayashid/.ansible/cp/63f01193f9 cvc-prod-nycdc-gcs01.air2gnd.net '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-mesgftjzzxytzvsppmerzwmcnrdiigzt; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
 SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o 'IdentityFile="/home/hayashid/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/hayashid/.ansible/cp/63f01193f9 cvc-prod-nycdc-gcs01.air2gnd.net '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-hwitmbandfhnihehbakyqcfjolotzlwa; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py
 ESTABLISH SSH CONNECTION FOR USER: None
 SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o 'IdentityFile="/home/hayashid/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/hayashid/.ansible/cp/63f01193f9 cvc-prod-nycdc-gcs01.air2gnd.net '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-wakaakqhhpyddmsxzwymjjaacnfasqkx; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
Escalation succeeded
Escalation succeeded
 (1, '\n{"changed": true, "end": "2019-04-22 18:52:13.240615", "stdout": "", "cmd": ["/usr/local/bin/kubeadm", "--kubeconfig", "/etc/kubernetes/admin.conf", "token", "create"], "failed": true, "delta": "0:01:15.024972", "stderr": "timed out waiting for the condition", "rc": 1, "invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": false, "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", "removes": null, "argv": null, "creates": null, "chdir": null, "stdin": null}}, "start": "2019-04-22 18:50:58.215643", "msg": "non-zero return code"}\n', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 29271\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 4\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
 Failed to connect to the host via ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: /etc/ssh/ssh_config line 58: Applying options for *

debug1: auto-mux: Trying existing master

debug2: fd 3 setting O_NONBLOCK

debug2: mux_client_hello_exchange: master version 4

debug3: mux_client_forwards: request forwardings: 0 local, 0 remote

debug3: mux_client_request_session: entering

debug3: mux_client_request_alive: entering

debug3: mux_client_request_alive: done pid = 29271

debug3: mux_client_request_session: session request sent

debug1: mux_client_request_session: master session id: 4

debug3: mux_client_read_packet: read header failed: Broken pipe

debug2: Received exit status from master 1
 (1, '\n{"changed": true, "end": "2019-04-22 18:52:13.242397", "stdout": "", "cmd": ["/usr/local/bin/kubeadm", "--kubeconfig", "/etc/kubernetes/admin.conf", "token", "create"], "failed": true, "delta": "0:01:15.031436", "stderr": "timed out waiting for the condition", "rc": 1, "invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": false, "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", "removes": null, "argv": null, "creates": null, "chdir": null, "stdin": null}}, "start": "2019-04-22 18:50:58.210961", "msg": "non-zero return code"}\n', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 29271\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 3\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
 Failed to connect to the host via ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: /etc/ssh/ssh_config line 58: Applying options for *

debug1: auto-mux: Trying existing master

debug2: fd 3 setting O_NONBLOCK

debug2: mux_client_hello_exchange: master version 4

debug3: mux_client_forwards: request forwardings: 0 local, 0 remote

debug3: mux_client_request_session: entering

debug3: mux_client_request_alive: entering

debug3: mux_client_request_alive: done pid = 29271

debug3: mux_client_request_session: session request sent

debug1: mux_client_request_session: master session id: 3

debug3: mux_client_read_packet: read header failed: Broken pipe

debug2: Received exit status from master 1
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (1 retries left).Result was: {
 "attempts": 5, 
 "changed": true, 
 "cmd": [
 "/usr/local/bin/kubeadm", 
 "--kubeconfig", 
 "/etc/kubernetes/admin.conf", 
 "token", 
 "create"
 ], 
 "delta": "0:01:15.024972", 
 "end": "2019-04-22 18:52:13.240615", 
 "invocation": {
 "module_args": {
 "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", 
 "_uses_shell": false, 
 "argv": null, 
 "chdir": null, 
 "creates": null, 
 "executable": null, 
 "removes": null, 
 "stdin": null, 
 "warn": true
 }
 }, 
 "msg": "non-zero return code", 
 "rc": 1, 
 "retries": 6, 
 "start": "2019-04-22 18:50:58.215643", 
 "stderr": "timed out waiting for the condition", 
 "stderr_lines": [
 "timed out waiting for the condition"
 ], 
 "stdout": "", 
 "stdout_lines": []
}
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (1 retries left).Result was: {
 "attempts": 5, 
 "changed": true, 
 "cmd": [
 "/usr/local/bin/kubeadm", 
 "--kubeconfig", 
 "/etc/kubernetes/admin.conf", 
 "token", 
 "create"
 ], 
 "delta": "0:01:15.031436", 
 "end": "2019-04-22 18:52:13.242397", 
 "invocation": {
 "module_args": {
 "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", 
 "_uses_shell": false, 
 "argv": null, 
 "chdir": null, 
 "creates": null, 
 "executable": null, 
 "removes": null, 
 "stdin": null, 
 "warn": true
 }
 }, 
 "msg": "non-zero return code", 
 "rc": 1, 
 "retries": 6, 
 "start": "2019-04-22 18:50:58.210961", 
 "stderr": "timed out waiting for the condition", 
 "stderr_lines": [
 "timed out waiting for the condition"
 ], 
 "stdout": "", 
 "stdout_lines": []
}
 (1, '\n{"changed": true, "end": "2019-04-22 18:52:13.266230", "stdout": "", "cmd": ["/usr/local/bin/kubeadm", "--kubeconfig", "/etc/kubernetes/admin.conf", "token", "create"], "failed": true, "delta": "0:01:15.025239", "stderr": "timed out waiting for the condition", "rc": 1, "invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": false, "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", "removes": null, "argv": null, "creates": null, "chdir": null, "stdin": null}}, "start": "2019-04-22 18:50:58.240991", "msg": "non-zero return code"}\n', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 29271\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 6\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
 Failed to connect to the host via ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: /etc/ssh/ssh_config line 58: Applying options for *

debug1: auto-mux: Trying existing master

debug2: fd 3 setting O_NONBLOCK

debug2: mux_client_hello_exchange: master version 4

debug3: mux_client_forwards: request forwardings: 0 local, 0 remote

debug3: mux_client_request_session: entering

debug3: mux_client_request_alive: entering

debug3: mux_client_request_alive: done pid = 29271

debug3: mux_client_request_session: session request sent

debug1: mux_client_request_session: master session id: 6

debug3: mux_client_read_packet: read header failed: Broken pipe

debug2: Received exit status from master 1
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (1 retries left).Result was: {
 "attempts": 5, 
 "changed": true, 
 "cmd": [
 "/usr/local/bin/kubeadm", 
 "--kubeconfig", 
 "/etc/kubernetes/admin.conf", 
 "token", 
 "create"
 ], 
 "delta": "0:01:15.025239", 
 "end": "2019-04-22 18:52:13.266230", 
 "invocation": {
 "module_args": {
 "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", 
 "_uses_shell": false, 
 "argv": null, 
 "chdir": null, 
 "creates": null, 
 "executable": null, 
 "removes": null, 
 "stdin": null, 
 "warn": true
 }
 }, 
 "msg": "non-zero return code", 
 "rc": 1, 
 "retries": 6, 
 "start": "2019-04-22 18:50:58.240991", 
 "stderr": "timed out waiting for the condition", 
 "stderr_lines": [
 "timed out waiting for the condition"
 ], 
 "stdout": "", 
 "stdout_lines": []
}
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py
 ESTABLISH SSH CONNECTION FOR USER: None
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py
 ESTABLISH SSH CONNECTION FOR USER: None
 SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o 'IdentityFile="/home/hayashid/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/hayashid/.ansible/cp/63f01193f9 cvc-prod-nycdc-gcs01.air2gnd.net '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-btknzppdsaznakhulunnwahgphemqrex; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
 SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o 'IdentityFile="/home/hayashid/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/hayashid/.ansible/cp/63f01193f9 cvc-prod-nycdc-gcs01.air2gnd.net '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-abyrsfjztclirshxyzgikdwwxoasxewt; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py
 ESTABLISH SSH CONNECTION FOR USER: None
 SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o 'IdentityFile="/home/hayashid/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/hayashid/.ansible/cp/63f01193f9 cvc-prod-nycdc-gcs01.air2gnd.net '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-hfnawqfzzmyaqkpiwyddxubjjlvwgrxu; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
Escalation succeeded
Escalation succeeded
 (1, '\n{"changed": true, "end": "2019-04-22 18:53:33.635792", "stdout": "", "cmd": ["/usr/local/bin/kubeadm", "--kubeconfig", "/etc/kubernetes/admin.conf", "token", "create"], "failed": true, "delta": "0:01:15.030900", "stderr": "timed out waiting for the condition", "rc": 1, "invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": false, "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", "removes": null, "argv": null, "creates": null, "chdir": null, "stdin": null}}, "start": "2019-04-22 18:52:18.604892", "msg": "non-zero return code"}\n', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 re (1, '\n{"changed": true, "end": "2019-04-22 18:53:33.634319", "stdout": "", "cmd": ["/usr/local/bin/kubeadm", "--kubeconfig", "/etc/kubernetes/admin.conf", "token", "create"], "failed": true, "delta": "0:01:15.029431", "stderr": "timed out waiting for the condition", "rc": 1, "invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": false, "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", "removes": null, "argv": null, "creates": null, "chdir": null, "stdin": null}}, "start": "2019-04-22 18:52:18.604888", "msg": "non-zero return code"}\n', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 29271\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
mote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 29271\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 4\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
 Failed to connect to the host via ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: /etc/ssh/ssh_config line 58: Applying options for *

debug1: auto-mux: Trying existing master

debug2: fd 3 setting O_NONBLOCK

debug2: mux_client_hello_exchange: master version 4

debug3: mux_client_forwards: request forwardings: 0 local, 0 remote

debug3: mux_client_request_session: entering

debug3: mux_client_request_alive: entering

debug3: mux_client_request_alive: done pid = 29271

debug3: mux_client_request_session: session request sent

debug1: mux_client_request_session: master session id: 2

debug3: mux_client_read_packet: read header failed: Broken pipe

debug2: Received exit status from master 1
 Failed to connect to the host via ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: /etc/ssh/ssh_config line 58: Applying options for *

debug1: auto-mux: Trying existing master

debug2: fd 3 setting O_NONBLOCK

debug2: mux_client_hello_exchange: master version 4

debug3: mux_client_forwards: request forwardings: 0 local, 0 remote

debug3: mux_client_request_session: entering

debug3: mux_client_request_alive: entering

debug3: mux_client_request_alive: done pid = 29271

debug3: mux_client_request_session: session request sent

debug1: mux_client_request_session: master session id: 4

debug3: mux_client_read_packet: read header failed: Broken pipe

debug2: Received exit status from master 1
fatal: [cvc-prod-nycdc-gcs01.air2gnd.net -> cvc-prod-nycdc-gcs01.air2gnd.net]: FAILED! => {
 "attempts": 5, 
 "changed": true, 
 "cmd": [
 "/usr/local/bin/kubeadm", 
 "--kubeconfig", 
 "/etc/kubernetes/admin.conf", 
 "token", 
 "create"
 ], 
 "delta": "0:01:15.029431", 
 "end": "2019-04-22 18:53:33.634319", 
 "invocation": {
 "module_args": {
 "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", 
 "_uses_shell": false, 
 "argv": null, 
 "chdir": null, 
 "creates": null, 
 "executable": null, 
 "removes": null, 
 "stdin": null, 
 "warn": true
 }
 }, 
 "msg": "non-zero return code", 
 "rc": 1, 
 "start": "2019-04-22 18:52:18.604888", 
 "stderr": "timed out waiting for the condition", 
 "stderr_lines": [
 "timed out waiting for the condition"
 ], 
 "stdout": "", 
 "stdout_lines": []
}
fatal: [cvc-prod-nycdc-gcs02.air2gnd.net -> cvc-prod-nycdc-gcs01.air2gnd.net]: FAILED! => {
 "attempts": 5, 
 "changed": true, 
 "cmd": [
 "/usr/local/bin/kubeadm", 
 "--kubeconfig", 
 "/etc/kubernetes/admin.conf", 
 "token", 
 "create"
 ], 
 "delta": "0:01:15.030900", 
 "end": "2019-04-22 18:53:33.635792", 
 "invocation": {
 "module_args": {
 "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", 
 "_uses_shell": false, 
 "argv": null, 
 "chdir": null, 
 "creates": null, 
 "executable": null, 
 "removes": null, 
 "stdin": null, 
 "warn": true
 }
 }, 
 "msg": "non-zero return code", 
 "rc": 1, 
 "start": "2019-04-22 18:52:18.604892", 
 "stderr": "timed out waiting for the condition", 
 "stderr_lines": [
 "timed out waiting for the condition"
 ], 
 "stdout": "", 
 "stdout_lines": []
}
 (1, '\n{"changed": true, "end": "2019-04-22 18:53:33.659462", "stdout": "", "cmd": ["/usr/local/bin/kubeadm", "--kubeconfig", "/etc/kubernetes/admin.conf", "token", "create"], "failed": true, "delta": "0:01:15.024689", "stderr": "timed out waiting for the condition", "rc": 1, "invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": false, "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", "removes": null, "argv": null, "creates": null, "chdir": null, "stdin": null}}, "start": "2019-04-22 18:52:18.634773", "msg": "non-zero return code"}\n', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 29271\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 6\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
 Failed to connect to the host via ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: /etc/ssh/ssh_config line 58: Applying options for *

debug1: auto-mux: Trying existing master

debug2: fd 3 setting O_NONBLOCK

debug2: mux_client_hello_exchange: master version 4

debug3: mux_client_forwards: request forwardings: 0 local, 0 remote

debug3: mux_client_request_session: entering

debug3: mux_client_request_alive: entering

debug3: mux_client_request_alive: done pid = 29271

debug3: mux_client_request_session: session request sent

debug1: mux_client_request_session: master session id: 6

debug3: mux_client_read_packet: read header failed: Broken pipe

debug2: Received exit status from master 1
fatal: [cvc-prod-nycdc-gcs03.air2gnd.net -> cvc-prod-nycdc-gcs01.air2gnd.net]: FAILED! => {
 "attempts": 5, 
 "changed": true, 
 "cmd": [
 "/usr/local/bin/kubeadm", 
 "--kubeconfig", 
 "/etc/kubernetes/admin.conf", 
 "token", 
 "create"
 ], 
 "delta": "0:01:15.024689", 
 "end": "2019-04-22 18:53:33.659462", 
 "invocation": {
 "module_args": {
 "_raw_params": "/usr/local/bin/kubeadm --kubeconfig /etc/kubernetes/admin.conf token create", 
 "_uses_shell": false, 
 "argv": null, 
 "chdir": null, 
 "creates": null, 
 "executable": null, 
 "removes": null, 
 "stdin": null, 
 "warn": true
 }
 }, 
 "msg": "non-zero return code", 
 "rc": 1, 
 "start": "2019-04-22 18:52:18.634773", 
 "stderr": "timed out waiting for the condition", 
 "stderr_lines": [
 "timed out waiting for the condition"
 ], 
 "stdout": "", 
 "stdout_lines": []
}

NO MORE HOSTS LEFT ************************************************************************
to retry, use: --limit @/home/hayashid/code/kubespray/cluster.retry

PLAY RECAP **************************************************************************
cvc-prod-nycdc-gcs01.air2gnd.net : ok=310  changed=15  unreachable=0 failed=1 
cvc-prod-nycdc-gcs02.air2gnd.net : ok=287  changed=15  unreachable=0 failed=1 
cvc-prod-nycdc-gcs03.air2gnd.net : ok=287  changed=15  unreachable=0 failed=1 
cvn-prod-nycdc-gcs01.air2gnd.net : ok=239  changed=8  unreachable=0 failed=0
cvn-prod-nycdc-gcs02.air2gnd.net : ok=239  changed=8  unreachable=0 failed=0
cvn-prod-nycdc-gcs03.air2gnd.net : ok=239  changed=8  unreachable=0 failed=0
cvn-prod-nycdc-gcs04.air2gnd.net : ok=239  changed=8  unreachable=0 failed=0
cvn-prod-nycdc-gcs05.air2gnd.net : ok=239  changed=8  unreachable=0 failed=0
cvn-prod-nycdc-gcs06.air2gnd.net : ok=239  changed=8  unreachable=0 failed=0
localhost : ok=1  changed=0 unreachable=0 failed=0

Monday 22 April 2019 18:53:34 +0000 (0:07:57.493) 0:16:59.383 **

kubernetes/master : Create kubeadm token for joining nodes with 24h expiration (default) ----------------------------------------------------------------------------------------------------------------------------------------- 477.49s
/home/hayashid/code/kubespray/roles/kubernetes/master/tasks/kubeadm-setup.yml:124 --------------------------------------------------------------------------------------------------------------------------------------------------------
kubernetes/preinstall : Update package management cache (YUM) --------------------------------------------------------------------------------------------------------------------------------------------------------------------- 31.79s
/home/hayashid/code/kubespray/roles/kubernetes/preinstall/tasks/0070-system-packages.yml:2 -----------------------------------------------------------------------------------------------------------------------------------------------
bootstrap-os : Check python-pip package ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 25.07s
/home/hayashid/code/kubespray/roles/bootstrap-os/tasks/bootstrap-centos.yml:44 -----------------------------------------------------------------------------------------------------------------------------------------------------------
download : container_download | download images for kubeadm config images --------------------------------------------------------------------------------------------------------------------------------------------------------- 22.79s
/home/hayashid/code/kubespray/roles/download/tasks/kubeadm_images.yml:23 -----------------------------------------------------------------------------------------------------------------------------------------------------------------
kubernetes/node : Write cloud-config ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 8.75s
/home/hayashid/code/kubespray/roles/kubernetes/node/tasks/main.yml:201 -------------------------------------------------------------------------------------------------------------------------------------------------------------------
gather facts from all instances ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 7.63s
/home/hayashid/code/kubespray/cluster.yml:39 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
download : container_download | Download containers if pull is required or told to always pull (all nodes) ------------------------------------------------------------------------------------------------------------------------- 7.33s
/home/hayashid/code/kubespray/roles/download/tasks/download_container.yml:30 -------------------------------------------------------------------------------------------------------------------------------------------------------------
container-engine/docker : Write docker dns systemd drop-in ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 6.99s
/home/hayashid/code/kubespray/roles/container-engine/docker/tasks/systemd.yml:34 ---------------------------------------------------------------------------------------------------------------------------------------------------------
download : container_download | Download containers if pull is required or told to always pull (all nodes) ------------------------------------------------------------------------------------------------------------------------- 6.91s
/home/hayashid/code/kubespray/roles/download/tasks/download_container.yml:30 -------------------------------------------------------------------------------------------------------------------------------------------------------------
download : container_download | Download containers if pull is required or told to always pull (all nodes) ------------------------------------------------------------------------------------------------------------------------- 6.81s
/home/hayashid/code/kubespray/roles/download/tasks/download_container.yml:30 -------------------------------------------------------------------------------------------------------------------------------------------------------------
bootstrap-os : check python-httplib2 package --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 5.42s
/home/hayashid/code/kubespray/roles/bootstrap-os/tasks/bootstrap-centos.yml:61 -----------------------------------------------------------------------------------------------------------------------------------------------------------
kubernetes/master : Backup old certs and keys -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 5.40s
/home/hayashid/code/kubespray/roles/kubernetes/master/tasks/kubeadm-certificate.yml:2 ----------------------------------------------------------------------------------------------------------------------------------------------------
kubernetes/preinstall : Hosts | populate inventory into hosts file ----------------------------------------------------------------------------------------------------------------------------------------------------------------- 5.29s
/home/hayashid/code/kubespray/roles/kubernetes/preinstall/tasks/0090-etchosts.yml:2 ------------------------------------------------------------------------------------------------------------------------------------------------------
kubernetes/preinstall : Install packages requirements ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 4.97s
/home/hayashid/code/kubespray/roles/kubernetes/preinstall/tasks/0070-system-packages.yml:88 ----------------------------------------------------------------------------------------------------------------------------------------------
kubernetes/preinstall : Create kubernetes directories ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 4.19s
/home/hayashid/code/kubespray/roles/kubernetes/preinstall/tasks/0050-create_directories.yml:2 --------------------------------------------------------------------------------------------------------------------------------------------
kubernetes/node : nginx-proxy | Write nginx-proxy configuration -------------------------------------------------------------------------------------------------------------------------------------------------------------------- 4.02s
/home/hayashid/code/kubespray/roles/kubernetes/node/tasks/nginx-proxy.yml:19 -------------------------------------------------------------------------------------------------------------------------------------------------------------
kubernetes/node : Write kubelet config file (kubeadm) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 4.00s
/home/hayashid/code/kubespray/roles/kubernetes/node/tasks/main.yml:43 --------------------------------------------------------------------------------------------------------------------------------------------------------------------
bootstrap-os : Install libselinux-python and yum-utils for bootstrap --------------------------------------------------------------------------------------------------------------------------------------------------------------- 3.98s
/home/hayashid/code/kubespray/roles/bootstrap-os/tasks/bootstrap-centos.yml:34 -----------------------------------------------------------------------------------------------------------------------------------------------------------
bootstrap-os : Assign inventory name to unconfigured hostnames (non-CoreOS and Tumbleweed) ----------------------------------------------------------------------------------------------------------------------------------------- 3.83s
/home/hayashid/code/kubespray/roles/bootstrap-os/tasks/main.yml:42 -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
bootstrap-os : Gather nodes hostnames ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 3.74s
/home/hayashid/code/kubespray/roles/bootstrap-os/tasks/main.yml:37 -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
]0;hayashid@cvc-prod-nycdc-mgmt01:~/code/kubespray[hayashid@cvc-prod-nycdc-mgmt01 kubespray]$

Anything else do we need to know:

https://gist.github.com/hayashid/84330ca13c90775a1a19023483ee13fe

kinbug lifecyclrotten

Most helpful comment

I got same issue with using kubespray branch 2.11 and ansible 2.7.10 on CentOS 7.7.
I used configuration with 3 HA masters.

Any recommendations or workaround ?

All 21 comments

Having same issue on Ubuntu as well.

+1

The problem for me looks to be in missing /etc/kubernetes/admin.conf

Found the problem.
TLDR; if cloud_provider is set to openstack, you must set OS_USER_DOMAIN_NAME environment variable during deploy. Otherwise this variable wont be provided to the kube master and wont be able to start kubelet.

I solved that problem commenting theses conditions in roles/kubernetes/kubeadm/tasks/main.yml at lines 28 and 33 :

- name: Create kubeadm token for joining nodes with 24h expiration (default)
  command: "{{ bin_dir }}/kubeadm token create"
  register: temp_token
  delegate_to: "{{ groups['kube-master'][0] }}"
  # when: kubeadm_token is not defined

- name: Set kubeadm_token to generated token
  set_fact:
    kubeadm_token: "{{ temp_token.stdout }}"
  # when: kubeadm_token is not defined

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

I am facing the same error trying to launch the cluster on aws.

The error log goes as below:

TASK [kubernetes/master : kubeadm | Initialize first master] ************
task path: /Users/kamalikamajumder/CloudKata/Dkatalis/k8s-cluster-setup/ansible/roles/kubernetes/master/tasks/kubeadm-setup.yml:106
Saturday 31 August 2019 21:10:12 +0700 (0:00:03.140) 0:06:32.269 *

TASK [kubernetes/master : set kubeadm certificate key] **************
task path: /Users/kamalikamajumder/CloudKata/Dkatalis/k8s-cluster-setup/ansible/roles/kubernetes/master/tasks/kubeadm-setup.yml:133
Saturday 31 August 2019 21:10:12 +0700 (0:00:00.093) 0:06:32.363 *

TASK [kubernetes/master : Create hardcoded kubeadm token for joining nodes with 24h expiration (if defined)] *
task path: /Users/kamalikamajumder/CloudKata/Dkatalis/k8s-cluster-setup/ansible/roles/kubernetes/master/tasks/kubeadm-setup.yml:142
Saturday 31 August 2019 21:10:12 +0700 (0:00:00.106) 0:06:32.470 ***

TASK [kubernetes/master : Create kubeadm token for joining nodes with 24h expiration (default)]
task path: /Users/kamalikamajumder/CloudKata/Dkatalis/k8s-cluster-setup/ansible/roles/kubernetes/master/tasks/kubeadm-setup.yml:153
Saturday 31 August 2019 21:10:12 +0700 (0:00:00.107) 0:06:32.578
**
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (10 retries left).
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (10 retries left).
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (9 retries left).
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (9 retries left).
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (8 retries left).
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (8 retries left).
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (7 retries left).
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (7 retries left).
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (6 retries left).
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (6 retries left).
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (5 retries left).
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (5 retries left).
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (4 retries left).
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (4 retries left).
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (3 retries left).
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (3 retries left).
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (2 retries left).
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (2 retries left).
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (1 retries left).
FAILED - RETRYING: Create kubeadm token for joining nodes with 24h expiration (default) (1 retries left).
fatal: [ip-10-8-3-184.ap-southeast-1.compute.internal -> 10.8.3.191]: FAILED! => {"attempts": 10, "changed": true, "cmd": ["/opt/bin/kubeadm", "--kubeconfig", "/etc/kubernetes/admin.conf", "token", "create"], "delta": "0:01:15.033213", "end": "2019-08-31 14:24:52.702199", "msg": "non-zero return code", "rc": 1, "start": "2019-08-31 14:23:37.668986", "stderr": "timed out waiting for the condition", "stderr_lines": ["timed out waiting for the condition"], "stdout": "", "stdout_lines": []}
fatal: [ip-10-8-3-191.ap-southeast-1.compute.internal -> 10.8.3.191]: FAILED! => {"attempts": 10, "changed": true, "cmd": ["/opt/bin/kubeadm", "--kubeconfig", "/etc/kubernetes/admin.conf", "token", "create"], "delta": "0:01:15.033902", "end": "2019-08-31 14:24:52.702215", "msg": "non-zero return code", "rc": 1, "start": "2019-08-31 14:23:37.668313", "stderr": "timed out waiting for the condition", "stderr_lines": ["timed out waiting for the condition"], "stdout": "", "stdout_lines": []}

NO MORE HOSTS LEFT **************************
to retry, use: --limit @/Users/kamalikamajumder/CloudKata/Dkatalis/k8s-cluster-setup/ansible/cluster.retry

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

+1

The same problem with CentOS 7 and Ansible 2.8.6

+1

+1

Same problem on coreos

Is this sorted or still active ? It is still reproducible in latest master.

I got the same issue using Openstack as provider on release-2.11

I got same issue with using kubespray branch 2.11 and ansible 2.7.10 on CentOS 7.7.
I used configuration with 3 HA masters.

Any recommendations or workaround ?

@mr-yaky try change provided to external

it didn't use OpenStack but just a regular baremetal installation.

I solved my problem with renewing all k8s certs by kubeadm and also /etc/kubernetes/admin.conf as well.

just run _reset.yml_
ansible-playbook --flush-cache -i inventory/mycluster/hosts.yml reset.yml --become -u root
and then _cluster.yml_
ansible-playbook --flush-cache -i inventory/mycluster/hosts.yml cluster.yml --become -u root

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@mr-yaky :

I solved my problem with renewing all k8s certs by kubeadm and also /etc/kubernetes/admin.conf as well.

May you please detail operations you had run when solving this issue ?

Had similar issue running ansible-playbook with -u myuser --become. The problem is that kubeadm wants --kubeconfig specified explicitly. So, I've modified roles/kubernetes/kubeadm/tasks/main.yml like this:

  24   │ - name: Create kubeadm token for joining nodes with 24h expiration (default)
  25 ~ │   command: "{{ bin_dir }}/kubeadm token create --kubeconfig /etc/kubernetes/admin.conf"
  26   │   register: temp_token
  27   │   delegate_to: "{{ groups['kube-master'][0] }}"
  28   │   when: kubeadm_token is not defined

and re-run ansible-playbook. It solved my issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danielm0hr picture danielm0hr  Â·  4Comments

sermilrod picture sermilrod  Â·  4Comments

mattdornfeld picture mattdornfeld  Â·  4Comments

hellwen picture hellwen  Â·  4Comments

mjlshen picture mjlshen  Â·  3Comments