Skip to content

Instantly share code, notes, and snippets.

@oboudry-mvp
Created June 5, 2024 09:12
Show Gist options
  • Save oboudry-mvp/1b1271d0880f1cd80f07610e22463f4e to your computer and use it in GitHub Desktop.
Save oboudry-mvp/1b1271d0880f1cd80f07610e22463f4e to your computer and use it in GitHub Desktop.
ansible output
[WARNING]: While constructing a mapping from /tmp/kkk/kubespray/roles/bootstrap-os/tasks/main.yml, line 29, column 7, found a duplicate dict key (paths). Using last defined value only.
[WARNING]: Skipping callback plugin 'ara_default', unable to load
PLAY [Check Ansible version] ******************************************************************************************************************************************************************************************************
Wednesday 05 June 2024 09:11:34 +0000 (0:00:00.354) 0:00:00.354 ********
TASK [Check 2.16.4 <= Ansible version < 2.17.0] ***********************************************************************************************************************************************************************************
ok: [flatcar01] => {
"changed": false,
"msg": "All assertions passed"
}
Wednesday 05 June 2024 09:11:34 +0000 (0:00:00.172) 0:00:00.526 ********
TASK [Check that python netaddr is installed] *************************************************************************************************************************************************************************************
ok: [flatcar01] => {
"changed": false,
"msg": "All assertions passed"
}
Wednesday 05 June 2024 09:11:35 +0000 (0:00:00.112) 0:00:00.639 ********
TASK [Check that jinja is not too old (install via pip)] **************************************************************************************************************************************************************************
ok: [flatcar01] => {
"changed": false,
"msg": "All assertions passed"
}
[WARNING]: Could not match supplied host pattern, ignoring: kube-master
PLAY [Add kube-master nodes to kube_control_plane] ********************************************************************************************************************************************************************************
skipping: no hosts matched
[WARNING]: Could not match supplied host pattern, ignoring: kube-node
PLAY [Add kube-node nodes to kube_node] *******************************************************************************************************************************************************************************************
skipping: no hosts matched
[WARNING]: Could not match supplied host pattern, ignoring: k8s-cluster
PLAY [Add k8s-cluster nodes to k8s_cluster] ***************************************************************************************************************************************************************************************
skipping: no hosts matched
[WARNING]: Could not match supplied host pattern, ignoring: calico-rr
PLAY [Add calico-rr nodes to calico_rr] *******************************************************************************************************************************************************************************************
skipping: no hosts matched
[WARNING]: Could not match supplied host pattern, ignoring: no-floating
PLAY [Add no-floating nodes to no_floating] ***************************************************************************************************************************************************************************************
skipping: no hosts matched
[WARNING]: Could not match supplied host pattern, ignoring: bastion
PLAY [Install bastion ssh config] *************************************************************************************************************************************************************************************************
skipping: no hosts matched
PLAY [Bootstrap hosts for Ansible] ************************************************************************************************************************************************************************************************
Wednesday 05 June 2024 09:11:36 +0000 (0:00:01.150) 0:00:01.789 ********
Wednesday 05 June 2024 09:11:36 +0000 (0:00:00.237) 0:00:02.027 ********
Wednesday 05 June 2024 09:11:36 +0000 (0:00:00.075) 0:00:02.102 ********
Wednesday 05 June 2024 09:11:36 +0000 (0:00:00.300) 0:00:02.402 ********
Wednesday 05 June 2024 09:11:36 +0000 (0:00:00.076) 0:00:02.479 ********
Wednesday 05 June 2024 09:11:37 +0000 (0:00:00.199) 0:00:02.678 ********
Wednesday 05 June 2024 09:11:37 +0000 (0:00:00.550) 0:00:03.228 ********
[WARNING]: raw module does not support the environment keyword
TASK [bootstrap-os : Fetch /etc/os-release] ***************************************************************************************************************************************************************************************
ok: [flatcar01]
ok: [flatcar02]
ok: [flatcar04]
ok: [flatcar03]
ok: [flatcar05]
Wednesday 05 June 2024 09:11:37 +0000 (0:00:00.264) 0:00:03.493 ********
TASK [bootstrap-os : Include vars] ************************************************************************************************************************************************************************************************
ok: [flatcar01] => (item=/tmp/kkk/kubespray/roles/bootstrap-os/vars/flatcar.yml)
ok: [flatcar02] => (item=/tmp/kkk/kubespray/roles/bootstrap-os/vars/flatcar.yml)
ok: [flatcar04] => (item=/tmp/kkk/kubespray/roles/bootstrap-os/vars/flatcar.yml)
ok: [flatcar03] => (item=/tmp/kkk/kubespray/roles/bootstrap-os/vars/flatcar.yml)
ok: [flatcar05] => (item=/tmp/kkk/kubespray/roles/bootstrap-os/vars/flatcar.yml)
Wednesday 05 June 2024 09:11:38 +0000 (0:00:00.403) 0:00:03.897 ********
TASK [bootstrap-os : Include tasks] ***********************************************************************************************************************************************************************************************
included: /tmp/kkk/kubespray/roles/bootstrap-os/tasks/flatcar.yml for flatcar01, flatcar02, flatcar04, flatcar03, flatcar05 => (item=/tmp/kkk/kubespray/roles/bootstrap-os/tasks/flatcar.yml)
Wednesday 05 June 2024 09:11:38 +0000 (0:00:00.482) 0:00:04.380 ********
TASK [bootstrap-os : Check if bootstrap is needed] ********************************************************************************************************************************************************************************
ok: [flatcar01]
ok: [flatcar02]
ok: [flatcar03]
ok: [flatcar04]
ok: [flatcar05]
Wednesday 05 June 2024 09:11:39 +0000 (0:00:00.407) 0:00:04.787 ********
Wednesday 05 June 2024 09:11:39 +0000 (0:00:00.177) 0:00:04.965 ********
TASK [bootstrap-os : Make interpreter discovery works on Flatcar] *****************************************************************************************************************************************************************
fatal: [flatcar01]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'ansible_interpreter_python_fallback' is undefined. 'ansible_interpreter_python_fallback' is undefined\n\nThe error appears to be in '/tmp/kkk/kubespray/roles/bootstrap-os/tasks/flatcar.yml': line 24, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Make interpreter discovery works on Flatcar\n ^ here\n"}
fatal: [flatcar02]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'ansible_interpreter_python_fallback' is undefined. 'ansible_interpreter_python_fallback' is undefined\n\nThe error appears to be in '/tmp/kkk/kubespray/roles/bootstrap-os/tasks/flatcar.yml': line 24, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Make interpreter discovery works on Flatcar\n ^ here\n"}
fatal: [flatcar04]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'ansible_interpreter_python_fallback' is undefined. 'ansible_interpreter_python_fallback' is undefined\n\nThe error appears to be in '/tmp/kkk/kubespray/roles/bootstrap-os/tasks/flatcar.yml': line 24, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Make interpreter discovery works on Flatcar\n ^ here\n"}
fatal: [flatcar03]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'ansible_interpreter_python_fallback' is undefined. 'ansible_interpreter_python_fallback' is undefined\n\nThe error appears to be in '/tmp/kkk/kubespray/roles/bootstrap-os/tasks/flatcar.yml': line 24, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Make interpreter discovery works on Flatcar\n ^ here\n"}
fatal: [flatcar05]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'ansible_interpreter_python_fallback' is undefined. 'ansible_interpreter_python_fallback' is undefined\n\nThe error appears to be in '/tmp/kkk/kubespray/roles/bootstrap-os/tasks/flatcar.yml': line 24, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Make interpreter discovery works on Flatcar\n ^ here\n"}
NO MORE HOSTS LEFT ****************************************************************************************************************************************************************************************************************
PLAY RECAP ************************************************************************************************************************************************************************************************************************
flatcar01 : ok=7 changed=0 unreachable=0 failed=1 skipped=7 rescued=0 ignored=0
flatcar02 : ok=4 changed=0 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0
flatcar03 : ok=4 changed=0 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0
flatcar04 : ok=4 changed=0 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0
flatcar05 : ok=4 changed=0 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0
Wednesday 05 June 2024 09:11:39 +0000 (0:00:00.300) 0:00:05.265 ********
===============================================================================
Check that jinja is not too old (install via pip) -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1.15s
kubespray-defaults : Set `etcd_deployment_type` to "kubeadm" if `etcd_kubeadm_enabled` is true ----------------------------------------------------------------------------------------------------------------------------- 0.55s
bootstrap-os : Include tasks ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.48s
bootstrap-os : Check if bootstrap is needed -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.41s
bootstrap-os : Include vars ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.40s
kubespray-defaults : Set fallback_ips -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.30s
bootstrap-os : Make interpreter discovery works on Flatcar ----------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.30s
bootstrap-os : Fetch /etc/os-release --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.26s
kubespray-defaults : Gather ansible_default_ipv4 from all hosts ------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.24s
kubespray-defaults : Populates no_proxy to all hosts ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.20s
bootstrap-os : Run bootstrap.sh -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.18s
Check 2.16.4 <= Ansible version < 2.17.0 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.17s
Check that python netaddr is installed ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.11s
kubespray-defaults : Set no_proxy to all assigned cluster IPs and hostnames ------------------------------------------------------------------------------------------------------------------------------------------------ 0.08s
kubespray-defaults : Create fallback_ips_base ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.08s
(venv) olivier@SINGLE-HOST-DOCKER:/tmp/kkk/kubespray$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment