Skip to content

Instantly share code, notes, and snippets.

@vovkats
Created April 4, 2018 11:37
Show Gist options
  • Save vovkats/34953b057d6c050526347e44e627f760 to your computer and use it in GitHub Desktop.
Save vovkats/34953b057d6c050526347e44e627f760 to your computer and use it in GitHub Desktop.
output ansible
TASK [etcd : Configure | Check if etcd cluster is healthy] **************************************************************************************************************************************************
Wednesday 04 April 2018 16:25:13 +0500 (0:00:00.102) 0:01:07.015 *******
fatal: [node1]: FAILED! => {"changed": false, "cmd": "/usr/local/bin/etcdctl --endpoints=https://91.226.80.139:2379 cluster-health | grep -q 'cluster is healthy'", "delta": "0:00:00.021315", "end": "2018-04-04 11:25:13.769959", "msg": "non-zero return code", "rc": 1, "start": "2018-04-04 11:25:13.748644", "stderr": "Error: client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 91.226.80.139:2379: getsockopt: connection refused\n\nerror #0: dial tcp 91.226.80.139:2379: getsockopt: connection refused", "stderr_lines": ["Error: client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 91.226.80.139:2379: getsockopt: connection refused", "", "error #0: dial tcp 91.226.80.139:2379: getsockopt: connection refused"], "stdout": "", "stdout_lines": []}
...ignoring
TASK [etcd : Configure | Check if etcd-events cluster is healthy] *******************************************************************************************************************************************
Wednesday 04 April 2018 16:25:13 +0500 (0:00:00.390) 0:01:07.405 *******
TASK [etcd : include_tasks] *********************************************************************************************************************************************************************************
Wednesday 04 April 2018 16:25:13 +0500 (0:00:00.047) 0:01:07.453 *******
included: /home/vovka/kubedeploy/kubespray/roles/etcd/tasks/configure.yml for node1
TASK [etcd : Configure | Check if member is in etcd cluster] ************************************************************************************************************************************************
Wednesday 04 April 2018 16:25:13 +0500 (0:00:00.130) 0:01:07.584 *******
fatal: [node1]: FAILED! => {"changed": false, "cmd": "/usr/local/bin/etcdctl --no-sync --endpoints=https://91.226.80.139:2379 member list | grep -q 91.226.80.139", "delta": "0:00:00.021214", "end": "2018-04-04 11:25:14.394246", "msg": "non-zero return code", "rc": 1, "start": "2018-04-04 11:25:14.373032", "stderr": "client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 91.226.80.139:2379: getsockopt: connection refused", "stderr_lines": ["client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 91.226.80.139:2379: getsockopt: connection refused"], "stdout": "", "stdout_lines": []}
...ignoring
TASK [etcd : Configure | Check if member is in etcd-events cluster] *****************************************************************************************************************************************
Wednesday 04 April 2018 16:25:14 +0500 (0:00:00.441) 0:01:08.026 *******
TASK [etcd : Configure | Copy etcd.service systemd file] ****************************************************************************************************************************************************
Wednesday 04 April 2018 16:25:14 +0500 (0:00:00.047) 0:01:08.074 *******
ok: [node1]
TASK [etcd : Configure | Copy etcd-events.service systemd file] *********************************************************************************************************************************************
Wednesday 04 April 2018 16:25:15 +0500 (0:00:00.641) 0:01:08.716 *******
TASK [etcd : Configure | Copy etcd-events.service systemd file] *********************************************************************************************************************************************
Wednesday 04 April 2018 16:25:15 +0500 (0:00:00.045) 0:01:08.761 *******
TASK [etcd : Configure | Join member(s) to etcd cluster one at a time] **************************************************************************************************************************************
Wednesday 04 April 2018 16:25:15 +0500 (0:00:00.045) 0:01:08.807 *******
TASK [etcd : Configure | Join member(s) to etcd-events cluster one at a time] *******************************************************************************************************************************
Wednesday 04 April 2018 16:25:15 +0500 (0:00:00.053) 0:01:08.861 *******
TASK [etcd : include_tasks] *********************************************************************************************************************************************************************************
Wednesday 04 April 2018 16:25:15 +0500 (0:00:00.058) 0:01:08.919 *******
included: /home/vovka/kubedeploy/kubespray/roles/etcd/tasks/refresh_config.yml for node1
TASK [etcd : Refresh config | Create etcd config file] ******************************************************************************************************************************************************
Wednesday 04 April 2018 16:25:15 +0500 (0:00:00.136) 0:01:09.056 *******
ok: [node1]
TASK [etcd : Refresh config | Create etcd-events config file] ***********************************************************************************************************************************************
Wednesday 04 April 2018 16:25:16 +0500 (0:00:00.934) 0:01:09.990 *******
TASK [etcd : Restart etcd if certs changed] *****************************************************************************************************************************************************************
Wednesday 04 April 2018 16:25:16 +0500 (0:00:00.044) 0:01:10.034 *******
TASK [etcd : Restart etcd-events if certs changed] **********************************************************************************************************************************************************
Wednesday 04 April 2018 16:25:16 +0500 (0:00:00.046) 0:01:10.081 *******
TASK [etcd : Ensure etcd is running] ************************************************************************************************************************************************************************
Wednesday 04 April 2018 16:25:16 +0500 (0:00:00.049) 0:01:10.130 *******
fatal: [node1]: FAILED! => {"changed": false, "msg": "Could not find the requested service etcd: host"}
NO MORE HOSTS LEFT ******************************************************************************************************************************************************************************************
to retry, use: --limit @/home/vovka/kubedeploy/kubespray/cluster.retry
PLAY RECAP **************************************************************************************************************************************************************************************************
localhost : ok=2 changed=0 unreachable=0 failed=0
node1 : ok=200 changed=1 unreachable=0 failed=1
Wednesday 04 April 2018 16:25:16 +0500 (0:00:00.370) 0:01:10.501 *******
===============================================================================
download : container_download | Download containers if pull is required or told to always pull (all nodes) ------------------------------------------------------------------------------------------- 2.93s
download : Download items ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1.63s
docker : Ensure old versions of Docker are not installed. | Debian ----------------------------------------------------------------------------------------------------------------------------------- 1.41s
gather facts from all instances ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1.21s
kubernetes/preinstall : Create kubernetes directories ------------------------------------------------------------------------------------------------------------------------------------------------ 1.15s
kubernetes/preinstall : Update package management cache (APT) ---------------------------------------------------------------------------------------------------------------------------------------- 0.97s
bootstrap-os : Gather nodes hostnames ---------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.94s
etcd : Refresh config | Create etcd config file ------------------------------------------------------------------------------------------------------------------------------------------------------ 0.93s
download : Sync container ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.93s
kubernetes/preinstall : Install packages requirements ------------------------------------------------------------------------------------------------------------------------------------------------ 0.91s
bootstrap-os : Assign inventory name to unconfigured hostnames (non-CoreOS) -------------------------------------------------------------------------------------------------------------------------- 0.90s
download : Download items ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.73s
download : Sync container ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.71s
docker : ensure docker packages are installed -------------------------------------------------------------------------------------------------------------------------------------------------------- 0.71s
download : Download items ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.71s
download : Sync container ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.70s
download : Sync container ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.70s
download : Download items ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.70s
docker : ensure docker-ce repository public key is installed ----------------------------------------------------------------------------------------------------------------------------------------- 0.67s
etcd : Configure | Copy etcd.service systemd file -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment