Skip to content

Instantly share code, notes, and snippets.

@qcho
Created March 6, 2018 20:17
Show Gist options
  • Save qcho/e02281a1d240d42b55990da2c078cb25 to your computer and use it in GitHub Desktop.
Save qcho/e02281a1d240d42b55990da2c078cb25 to your computer and use it in GitHub Desktop.
vagrant up error on kubespray
DEPRECATION: The 'sudo' option for the Ansible provisioner is deprecated.
Please use the 'become' option instead.
The 'sudo' option will be removed in a future release of Vagrant.
Bringing machine 'k8s-01' up with 'vmware_fusion' provider...
Bringing machine 'k8s-02' up with 'vmware_fusion' provider...
Bringing machine 'k8s-03' up with 'vmware_fusion' provider...
==> k8s-01: Cloning VMware VM: 'bento/ubuntu-16.04'. This can take some time...
==> k8s-01: Checking if box 'bento/ubuntu-16.04' is up to date...
==> k8s-01: Verifying vmnet devices are healthy...
==> k8s-01: Preparing network adapters...
==> k8s-01: Fixed port collision for 22 => 2222. Now on port 2220.
==> k8s-01: Starting the VMware VM...
==> k8s-01: Waiting for the VM to receive an address...
==> k8s-01: Forwarding ports...
k8s-01: -- 22 => 2220
==> k8s-01: Waiting for machine to boot. This may take a few minutes...
k8s-01: SSH address: 127.0.0.1:2220
k8s-01: SSH username: vagrant
k8s-01: SSH auth method: private key
==> k8s-01: Machine booted and ready!
==> k8s-01: Setting hostname...
==> k8s-01: Configuring network adapters within the VM...
==> k8s-01: Waiting for HGFS to become available...
==> k8s-01: Enabling and configuring shared folders...
k8s-01: -- /Users/cucho/Code/kubespray: /vagrant
==> k8s-01: Running provisioner: shell...
k8s-01: Running: inline script
==> k8s-02: Cloning VMware VM: 'bento/ubuntu-16.04'. This can take some time...
==> k8s-02: Checking if box 'bento/ubuntu-16.04' is up to date...
==> k8s-02: Verifying vmnet devices are healthy...
==> k8s-02: Preparing network adapters...
==> k8s-02: Fixed port collision for 22 => 2222. Now on port 2220.
==> k8s-02: Starting the VMware VM...
==> k8s-02: Waiting for the VM to receive an address...
==> k8s-02: Forwarding ports...
k8s-02: -- 22 => 2220
==> k8s-02: Waiting for machine to boot. This may take a few minutes...
k8s-02: SSH address: 127.0.0.1:2220
k8s-02: SSH username: vagrant
k8s-02: SSH auth method: private key
==> k8s-02: Machine booted and ready!
==> k8s-02: Setting hostname...
==> k8s-02: Configuring network adapters within the VM...
==> k8s-02: Waiting for HGFS to become available...
==> k8s-02: Enabling and configuring shared folders...
k8s-02: -- /Users/cucho/Code/kubespray: /vagrant
==> k8s-02: Running provisioner: shell...
k8s-02: Running: inline script
==> k8s-03: Cloning VMware VM: 'bento/ubuntu-16.04'. This can take some time...
==> k8s-03: Checking if box 'bento/ubuntu-16.04' is up to date...
==> k8s-03: Verifying vmnet devices are healthy...
==> k8s-03: Preparing network adapters...
==> k8s-03: Fixed port collision for 22 => 2222. Now on port 2220.
==> k8s-03: Starting the VMware VM...
==> k8s-03: Waiting for the VM to receive an address...
==> k8s-03: Forwarding ports...
k8s-03: -- 22 => 2220
==> k8s-03: Waiting for machine to boot. This may take a few minutes...
k8s-03: SSH address: 127.0.0.1:2220
k8s-03: SSH username: vagrant
k8s-03: SSH auth method: private key
==> k8s-03: Machine booted and ready!
==> k8s-03: Setting hostname...
==> k8s-03: Configuring network adapters within the VM...
==> k8s-03: Waiting for HGFS to become available...
==> k8s-03: Enabling and configuring shared folders...
k8s-03: -- /Users/cucho/Code/kubespray: /vagrant
==> k8s-03: Running provisioner: shell...
k8s-03: Running: inline script
==> k8s-03: Running provisioner: ansible...
Vagrant has automatically selected the compatibility mode '2.0'
according to the Ansible version installed (2.4.3.0).
Alternatively, the compatibility mode can be specified in your Vagrantfile:
https://www.vagrantup.com/docs/provisioning/ansible_common.html#compatibility_mode
==> k8s-03: Vagrant has detected a host range pattern in the `groups` option.
==> k8s-03: Vagrant doesn't fully check the validity of these parameters!
==> k8s-03:
==> k8s-03: Please check https://docs.ansible.com/ansible/intro_inventory.html#hosts-and-groups
==> k8s-03: for more information.
k8s-03: Running ansible-playbook...
[WARNING]: Unable to parse
/Users/cucho/Code/kubespray/.vagrant/provisioners/ansible/inventory/local as an
inventory source
[WARNING]: Unable to parse
/Users/cucho/Code/kubespray/.vagrant/provisioners/ansible/inventory/sample as
an inventory source
__________________
< PLAY [localhost] >
------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
skipping: no hosts matched
[WARNING]: Could not match supplied host pattern, ignoring: calico-rr
___________________________________
< PLAY [k8s-cluster:etcd:calico-rr] >
-----------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
_________________________________
< TASK [download : include_tasks] >
---------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:14:09 -0300 (0:00:00.233) 0:00:00.233 *********
__________________________________
< TASK [download : Download items] >
----------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:14:09 -0300 (0:00:00.073) 0:00:00.307 *********
__________________________________
< TASK [download : Sync container] >
----------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:14:09 -0300 (0:00:00.141) 0:00:00.448 *********
________________________________________________
< TASK [kubespray-defaults : Configure defaults] >
------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:14:09 -0300 (0:00:00.142) 0:00:00.591 *********
ok: [k8s-01] => {
"msg": "Check roles/kubespray-defaults/defaults/main.yml"
}
ok: [k8s-02] => {
"msg": "Check roles/kubespray-defaults/defaults/main.yml"
}
ok: [k8s-03] => {
"msg": "Check roles/kubespray-defaults/defaults/main.yml"
}
________________________________________________________
/ TASK [bootstrap-os : Bootstrap | Check if bootstrap is \
\ needed] /
--------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:14:09 -0300 (0:00:00.105) 0:00:00.696 *********
ok: [k8s-03] => (item=python)
ok: [k8s-02] => (item=python)
ok: [k8s-03] => (item=pip)
ok: [k8s-01] => (item=python)
ok: [k8s-02] => (item=pip)
ok: [k8s-01] => (item=pip)
ok: [k8s-03] => (item=dbus-daemon)
ok: [k8s-02] => (item=dbus-daemon)
ok: [k8s-01] => (item=dbus-daemon)
_________________________________________________________
/ TASK [bootstrap-os : Bootstrap | Install python 2.x and \
\ pip] /
---------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:14:10 -0300 (0:00:00.490) 0:00:01.187 *********
[WARNING]: when statements should not include jinja2 templating delimiters
such as {{ }} or {% %}. Found: {{ need_bootstrap.results | map(attribute='rc')
| sort | last | bool }}
[WARNING]: when statements should not include jinja2 templating delimiters
such as {{ }} or {% %}. Found: {{ need_bootstrap.results | map(attribute='rc')
| sort | last | bool }}
[WARNING]: when statements should not include jinja2 templating delimiters
such as {{ }} or {% %}. Found: {{ need_bootstrap.results | map(attribute='rc')
| sort | last | bool }}
changed: [k8s-03]
changed: [k8s-01]
changed: [k8s-02]
________________________________
< TASK [bootstrap-os : set_fact] >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:22 -0300 (0:01:11.880) 0:01:13.067 *********
ok: [k8s-01]
ok: [k8s-02]
ok: [k8s-03]
________________________________________________________
/ TASK [bootstrap-os : Bootstrap | Check if bootstrap is \
\ needed] /
--------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:22 -0300 (0:00:00.130) 0:01:13.197 *********
___________________________________________________________
/ TASK [bootstrap-os : Bootstrap | Install python 2.x, pip, \
\ and dbus] /
-----------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:22 -0300 (0:00:00.117) 0:01:13.315 *********
________________________________
< TASK [bootstrap-os : set_fact] >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:22 -0300 (0:00:00.103) 0:01:13.418 *********
________________________________________________________
/ TASK [bootstrap-os : Bootstrap | Check if bootstrap is \
\ needed] /
--------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:22 -0300 (0:00:00.101) 0:01:13.520 *********
____________________________________________________
< TASK [bootstrap-os : Bootstrap | Run bootstrap.sh] >
----------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:22 -0300 (0:00:00.103) 0:01:13.623 *********
________________________________
< TASK [bootstrap-os : set_fact] >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:22 -0300 (0:00:00.106) 0:01:13.729 *********
______________________________________________________
/ TASK [bootstrap-os : Bootstrap | Check if we need to \
\ install pip] /
------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:22 -0300 (0:00:00.100) 0:01:13.830 *********
___________________________________________________
< TASK [bootstrap-os : Bootstrap | Copy get-pip.py] >
---------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:22 -0300 (0:00:00.103) 0:01:13.933 *********
_______________________________________________
< TASK [bootstrap-os : Bootstrap | Install pip] >
-----------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:23 -0300 (0:00:00.100) 0:01:14.034 *********
_____________________________________________________
< TASK [bootstrap-os : Bootstrap | Remove get-pip.py] >
-----------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:23 -0300 (0:00:00.101) 0:01:14.135 *********
________________________________________________________
< TASK [bootstrap-os : Bootstrap | Install pip launcher] >
--------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:23 -0300 (0:00:00.117) 0:01:14.253 *********
_______________________________________________________
< TASK [bootstrap-os : Install required python modules] >
-------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:23 -0300 (0:00:00.101) 0:01:14.354 *********
____________________________________________________________
< TASK [bootstrap-os : Check presence of fastestmirror.conf] >
------------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:23 -0300 (0:00:00.117) 0:01:14.472 *********
____________________________________________________
< TASK [bootstrap-os : Disable fastestmirror plugin] >
----------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:23 -0300 (0:00:00.097) 0:01:14.569 *********
________________________________________________________
/ TASK [bootstrap-os : Install packages requirements for \
\ bootstrap] /
--------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:23 -0300 (0:00:00.096) 0:01:14.666 *********
__________________________________________
< TASK [bootstrap-os : Remove require tty] >
------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:23 -0300 (0:00:00.097) 0:01:14.764 *********
ok: [k8s-01]
ok: [k8s-03]
ok: [k8s-02]
____________________________________________
< TASK [bootstrap-os : check if atomic host] >
--------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:24 -0300 (0:00:00.611) 0:01:15.376 *********
ok: [k8s-01]
ok: [k8s-02]
ok: [k8s-03]
________________________________
< TASK [bootstrap-os : set_fact] >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:25 -0300 (0:00:00.671) 0:01:16.047 *********
ok: [k8s-01]
ok: [k8s-02]
ok: [k8s-03]
______________________________________________
< TASK [bootstrap-os : Gather nodes hostnames] >
----------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:25 -0300 (0:00:00.162) 0:01:16.210 *********
ok: [k8s-02]
ok: [k8s-01]
ok: [k8s-03]
____________________________________________________________
/ TASK [bootstrap-os : Assign inventory name to unconfigured \
\ hostnames (non-CoreOS)] /
------------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:26 -0300 (0:00:01.024) 0:01:17.234 *********
ok: [k8s-02]
ok: [k8s-01]
ok: [k8s-03]
____________________________________________________________
/ TASK [bootstrap-os : Assign inventory name to unconfigured \
\ hostnames (CoreOS only)] /
------------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:27 -0300 (0:00:00.782) 0:01:18.017 *********
__________________________________________________________
< TASK [bootstrap-os : Update hostname fact (CoreOS only)] >
----------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:27 -0300 (0:00:00.084) 0:01:18.102 *********
___________________________________
< PLAY [k8s-cluster:etcd:calico-rr] >
-----------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
________________________
< TASK [Gathering Facts] >
------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:27 -0300 (0:00:00.145) 0:01:18.247 *********
ok: [k8s-01]
ok: [k8s-02]
ok: [k8s-03]
________________________________________
< TASK [gather facts from all instances] >
----------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:27 -0300 (0:00:00.607) 0:01:18.855 *********
ok: [k8s-01 -> 172.17.8.101] => (item=k8s-01)
ok: [k8s-02 -> 172.17.8.101] => (item=k8s-01)
ok: [k8s-03 -> 172.17.8.101] => (item=k8s-01)
ok: [k8s-01 -> 172.17.8.102] => (item=k8s-02)
ok: [k8s-02 -> 172.17.8.102] => (item=k8s-02)
ok: [k8s-03 -> 172.17.8.102] => (item=k8s-02)
ok: [k8s-01 -> 127.0.0.1] => (item=k8s-03)
ok: [k8s-02 -> 127.0.0.1] => (item=k8s-03)
ok: [k8s-03 -> 127.0.0.1] => (item=k8s-03)
ok: [k8s-03 -> 172.17.8.101] => (item=k8s-01)
ok: [k8s-01 -> 172.17.8.101] => (item=k8s-01)
ok: [k8s-02 -> 172.17.8.101] => (item=k8s-01)
ok: [k8s-01 -> 172.17.8.102] => (item=k8s-02)
ok: [k8s-02 -> 172.17.8.102] => (item=k8s-02)
ok: [k8s-03 -> 172.17.8.102] => (item=k8s-02)
ok: [k8s-01 -> 127.0.0.1] => (item=k8s-03)
ok: [k8s-02 -> 127.0.0.1] => (item=k8s-03)
ok: [k8s-03 -> 127.0.0.1] => (item=k8s-03)
___________________________________
< PLAY [k8s-cluster:etcd:calico-rr] >
-----------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
_________________________________
< TASK [download : include_tasks] >
---------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:33 -0300 (0:00:05.800) 0:01:24.655 *********
__________________________________
< TASK [download : Download items] >
----------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:33 -0300 (0:00:00.115) 0:01:24.771 *********
__________________________________
< TASK [download : Sync container] >
----------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:34 -0300 (0:00:00.551) 0:01:25.323 *********
________________________________________________
< TASK [kubespray-defaults : Configure defaults] >
------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:34 -0300 (0:00:00.530) 0:01:25.854 *********
ok: [k8s-01] => {
"msg": "Check roles/kubespray-defaults/defaults/main.yml"
}
ok: [k8s-02] => {
"msg": "Check roles/kubespray-defaults/defaults/main.yml"
}
ok: [k8s-03] => {
"msg": "Check roles/kubespray-defaults/defaults/main.yml"
}
___________________________________________
< TASK [adduser : User | Create User Group] >
-------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:35 -0300 (0:00:00.232) 0:01:26.086 *********
changed: [k8s-01]
changed: [k8s-03]
changed: [k8s-02]
_____________________________________
< TASK [adduser : User | Create User] >
-------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:35 -0300 (0:00:00.506) 0:01:26.593 *********
changed: [k8s-02]
changed: [k8s-01]
changed: [k8s-03]
__________________________________________________________
/ TASK [kubernetes/preinstall : Stop if ansible version is \
\ too low] /
----------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:36 -0300 (0:00:00.577) 0:01:27.171 *********
ok: [k8s-01] => {
"changed": false,
"msg": "All assertions passed"
}
____________________________________________________________
< TASK [kubernetes/preinstall : Stop if non systemd OS type] >
------------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:36 -0300 (0:00:00.187) 0:01:27.359 *********
ok: [k8s-01] => {
"changed": false,
"msg": "All assertions passed"
}
ok: [k8s-02] => {
"changed": false,
"msg": "All assertions passed"
}
ok: [k8s-03] => {
"changed": false,
"msg": "All assertions passed"
}
___________________________________________________
< TASK [kubernetes/preinstall : Stop if unknown OS] >
---------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:36 -0300 (0:00:00.245) 0:01:27.604 *********
ok: [k8s-01] => {
"changed": false,
"msg": "All assertions passed"
}
ok: [k8s-02] => {
"changed": false,
"msg": "All assertions passed"
}
ok: [k8s-03] => {
"changed": false,
"msg": "All assertions passed"
}
_______________________________________________________
/ TASK [kubernetes/preinstall : Stop if unknown network \
\ plugin] /
-------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:36 -0300 (0:00:00.267) 0:01:27.872 *********
____________________________________________________________
/ TASK [kubernetes/preinstall : Stop if incompatible network \
\ plugin and cloudprovider] /
------------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:37 -0300 (0:00:00.143) 0:01:28.016 *********
__________________________________________________________
/ TASK [kubernetes/preinstall : Stop if known booleans are \
| set as strings (Use JSON format on CLI: -e "{'key': true |
\ }")] /
----------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:37 -0300 (0:00:00.134) 0:01:28.151 *********
ok: [k8s-01] => (item={u'name': u'kubeadm_enabled', u'value': False}) => {
"changed": false,
"item": {
"name": "kubeadm_enabled",
"value": false
},
"msg": "All assertions passed"
}
ok: [k8s-01] => (item={u'name': u'download_run_once', u'value': False}) => {
"changed": false,
"item": {
"name": "download_run_once",
"value": false
},
"msg": "All assertions passed"
}
ok: [k8s-01] => (item={u'name': u'deploy_netchecker', u'value': False}) => {
"changed": false,
"item": {
"name": "deploy_netchecker",
"value": false
},
"msg": "All assertions passed"
}
ok: [k8s-01] => (item={u'name': u'download_always_pull', u'value': False}) => {
"changed": false,
"item": {
"name": "download_always_pull",
"value": false
},
"msg": "All assertions passed"
}
ok: [k8s-01] => (item={u'name': u'efk_enabled', u'value': False}) => {
"changed": false,
"item": {
"name": "efk_enabled",
"value": false
},
"msg": "All assertions passed"
}
ok: [k8s-01] => (item={u'name': u'helm_enabled', u'value': False}) => {
"changed": false,
"item": {
"name": "helm_enabled",
"value": false
},
"msg": "All assertions passed"
}
ok: [k8s-01] => (item={u'name': u'openstack_lbaas_enabled', u'value': False}) => {
"changed": false,
"item": {
"name": "openstack_lbaas_enabled",
"value": false
},
"msg": "All assertions passed"
}
___________________________________________________________
/ TASK [kubernetes/preinstall : Stop if even number of etcd \
\ hosts] /
-----------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:37 -0300 (0:00:00.793) 0:01:28.944 *********
ok: [k8s-01] => {
"changed": false,
"msg": "All assertions passed"
}
ok: [k8s-02] => {
"changed": false,
"msg": "All assertions passed"
}
ok: [k8s-03] => {
"changed": false,
"msg": "All assertions passed"
}
___________________________________________________________
/ TASK [kubernetes/preinstall : Stop if memory is too small \
\ for masters] /
-----------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:38 -0300 (0:00:00.252) 0:01:29.197 *********
ok: [k8s-01] => {
"changed": false,
"msg": "All assertions passed"
}
ok: [k8s-02] => {
"changed": false,
"msg": "All assertions passed"
}
___________________________________________________________
/ TASK [kubernetes/preinstall : Stop if memory is too small \
\ for nodes] /
-----------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:38 -0300 (0:00:00.186) 0:01:29.384 *********
ok: [k8s-01] => {
"changed": false,
"msg": "All assertions passed"
}
ok: [k8s-02] => {
"changed": false,
"msg": "All assertions passed"
}
ok: [k8s-03] => {
"changed": false,
"msg": "All assertions passed"
}
_____________________________________________________________
/ TASK [kubernetes/preinstall : Stop if ip var does not match \
\ local ips] /
-------------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:38 -0300 (0:00:00.203) 0:01:29.588 *********
ok: [k8s-01] => {
"changed": false,
"msg": "All assertions passed"
}
ok: [k8s-02] => {
"changed": false,
"msg": "All assertions passed"
}
ok: [k8s-03] => {
"changed": false,
"msg": "All assertions passed"
}
________________________________________________________
/ TASK [kubernetes/preinstall : Stop if access_ip is not \
\ pingable] /
--------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:38 -0300 (0:00:00.217) 0:01:29.805 *********
_____________________________________________________
< TASK [kubernetes/preinstall : Stop if swap enabled] >
-----------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:38 -0300 (0:00:00.096) 0:01:29.902 *********
ok: [k8s-01] => {
"changed": false,
"msg": "All assertions passed"
}
ok: [k8s-02] => {
"changed": false,
"msg": "All assertions passed"
}
ok: [k8s-03] => {
"changed": false,
"msg": "All assertions passed"
}
___________________________________________________________
/ TASK [kubernetes/preinstall : Stop if RBAC is not enabled \
\ when dashboard is enabled] /
-----------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:39 -0300 (0:00:00.262) 0:01:30.164 *********
ok: [k8s-01] => {
"changed": false,
"msg": "All assertions passed"
}
ok: [k8s-02] => {
"changed": false,
"msg": "All assertions passed"
}
ok: [k8s-03] => {
"changed": false,
"msg": "All assertions passed"
}
______________________________________________________
/ TASK [kubernetes/preinstall : Stop if RBAC and \
| anonymous-auth are not enabled when insecure port is |
\ disabled] /
------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:39 -0300 (0:00:00.219) 0:01:30.384 *********
_____________________________________________________________
/ TASK [kubernetes/preinstall : Stop if kernel version is too \
\ low] /
-------------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:39 -0300 (0:00:00.092) 0:01:30.477 *********
____________________________________________________________
/ TASK [kubernetes/preinstall : Force binaries directory for \
\ Container Linux by CoreOS] /
------------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:39 -0300 (0:00:00.094) 0:01:30.571 *********
_____________________________________________________
< TASK [kubernetes/preinstall : check bin dir exists] >
-----------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:39 -0300 (0:00:00.095) 0:01:30.666 *********
ok: [k8s-01]
ok: [k8s-03]
ok: [k8s-02]
_____________________________________________________
< TASK [kubernetes/preinstall : check if atomic host] >
-----------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:40 -0300 (0:00:00.437) 0:01:31.104 *********
ok: [k8s-01]
ok: [k8s-02]
ok: [k8s-03]
_________________________________________
< TASK [kubernetes/preinstall : set_fact] >
-----------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:40 -0300 (0:00:00.314) 0:01:31.418 *********
ok: [k8s-01]
ok: [k8s-02]
ok: [k8s-03]
_________________________________________
< TASK [kubernetes/preinstall : set_fact] >
-----------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:40 -0300 (0:00:00.192) 0:01:31.611 *********
_________________________________________________
< TASK [kubernetes/preinstall : check resolvconf] >
-------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:40 -0300 (0:00:00.093) 0:01:31.704 *********
ok: [k8s-01]
ok: [k8s-02]
ok: [k8s-03]
_________________________________________
< TASK [kubernetes/preinstall : set_fact] >
-----------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:41 -0300 (0:00:00.394) 0:01:32.098 *********
ok: [k8s-01]
ok: [k8s-02]
ok: [k8s-03]
_________________________________________
< TASK [kubernetes/preinstall : set_fact] >
-----------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:41 -0300 (0:00:00.196) 0:01:32.295 *********
ok: [k8s-01]
ok: [k8s-02]
ok: [k8s-03]
___________________________________________________
/ TASK [kubernetes/preinstall : check if kubelet is \
\ configured] /
---------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:41 -0300 (0:00:00.197) 0:01:32.493 *********
ok: [k8s-01]
ok: [k8s-02]
ok: [k8s-03]
__________________________________________________
/ TASK [kubernetes/preinstall : check if early DNS \
\ configuration stage] /
--------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:41 -0300 (0:00:00.294) 0:01:32.788 *********
ok: [k8s-01]
ok: [k8s-02]
ok: [k8s-03]
_________________________________________________________
< TASK [kubernetes/preinstall : target resolv.conf files] >
---------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:42 -0300 (0:00:00.213) 0:01:33.001 *********
ok: [k8s-01]
ok: [k8s-02]
ok: [k8s-03]
___________________________________________________________
/ TASK [kubernetes/preinstall : target temporary resolvconf \
\ cloud init file (Container Linux by CoreOS)] /
-----------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:42 -0300 (0:00:00.293) 0:01:33.295 *********
___________________________________________________________
/ TASK [kubernetes/preinstall : check if /etc/dhclient.conf \
\ exists] /
-----------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:42 -0300 (0:00:00.140) 0:01:33.436 *********
ok: [k8s-01]
ok: [k8s-02]
ok: [k8s-03]
_____________________________________________________________
/ TASK [kubernetes/preinstall : target dhclient conf file for \
\ /etc/dhclient.conf] /
-------------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:42 -0300 (0:00:00.391) 0:01:33.827 *********
________________________________________
/ TASK [kubernetes/preinstall : check if \
\ /etc/dhcp/dhclient.conf exists] /
----------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:42 -0300 (0:00:00.111) 0:01:33.938 *********
ok: [k8s-01]
ok: [k8s-02]
ok: [k8s-03]
_____________________________________________________________
/ TASK [kubernetes/preinstall : target dhclient conf file for \
\ /etc/dhcp/dhclient.conf] /
-------------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:43 -0300 (0:00:00.569) 0:01:34.508 *********
ok: [k8s-01]
ok: [k8s-02]
ok: [k8s-03]
_____________________________________________________________
/ TASK [kubernetes/preinstall : target dhclient hook file for \
\ Red Hat family] /
-------------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:43 -0300 (0:00:00.275) 0:01:34.784 *********
_____________________________________________________________
/ TASK [kubernetes/preinstall : target dhclient hook file for \
\ Debian family] /
-------------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:43 -0300 (0:00:00.097) 0:01:34.882 *********
ok: [k8s-01]
ok: [k8s-02]
ok: [k8s-03]
__________________________________________________________
/ TASK [kubernetes/preinstall : generate search domains to \
\ resolvconf] /
----------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:44 -0300 (0:00:00.225) 0:01:35.108 *********
ok: [k8s-01]
ok: [k8s-02]
ok: [k8s-03]
__________________________________________________________
/ TASK [kubernetes/preinstall : pick dnsmasq cluster IP or \
\ default resolver] /
----------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:44 -0300 (0:00:00.221) 0:01:35.330 *********
ok: [k8s-01]
ok: [k8s-02]
ok: [k8s-03]
_______________________________________________________
/ TASK [kubernetes/preinstall : generate nameservers to \
\ resolvconf] /
-------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:44 -0300 (0:00:00.209) 0:01:35.540 *********
ok: [k8s-01]
ok: [k8s-02]
ok: [k8s-03]
_____________________________________________________________
< TASK [kubernetes/preinstall : gather os specific variables] >
-------------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:44 -0300 (0:00:00.217) 0:01:35.757 *********
ok: [k8s-01] => (item=/Users/cucho/Code/kubespray/roles/kubernetes/preinstall/vars/../vars/ubuntu.yml)
ok: [k8s-02] => (item=/Users/cucho/Code/kubespray/roles/kubernetes/preinstall/vars/../vars/ubuntu.yml)
ok: [k8s-03] => (item=/Users/cucho/Code/kubespray/roles/kubernetes/preinstall/vars/../vars/ubuntu.yml)
_________________________________________________
/ TASK [kubernetes/preinstall : Create kubernetes \
\ directories] /
-------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Tuesday 06 March 2018 17:15:44 -0300 (0:00:00.222) 0:01:35.979 *********
fatal: [k8s-01]: FAILED! => {"msg": "'local_volume_provisioner_base_dir' is undefined"}
fatal: [k8s-02]: FAILED! => {"msg": "'local_volume_provisioner_base_dir' is undefined"}
fatal: [k8s-03]: FAILED! => {"msg": "'local_volume_provisioner_base_dir' is undefined"}
____________________
< NO MORE HOSTS LEFT >
--------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
to retry, use: --limit @/Users/cucho/Code/kubespray/cluster.retry
____________
< PLAY RECAP >
------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
k8s-01 : ok=41 changed=3 unreachable=0 failed=1
k8s-02 : ok=39 changed=3 unreachable=0 failed=1
k8s-03 : ok=38 changed=3 unreachable=0 failed=1
Tuesday 06 March 2018 17:15:45 -0300 (0:00:00.124) 0:01:36.103 *********
===============================================================================
bootstrap-os : Bootstrap | Install python 2.x and pip ------------------ 71.88s
gather facts from all instances ----------------------------------------- 5.80s
bootstrap-os : Gather nodes hostnames ----------------------------------- 1.02s
kubernetes/preinstall : Stop if known booleans are set as strings (Use JSON format on CLI: -e "{'key': true }") --- 0.79s
bootstrap-os : Assign inventory name to unconfigured hostnames (non-CoreOS) --- 0.78s
bootstrap-os : check if atomic host ------------------------------------- 0.67s
bootstrap-os : Remove require tty --------------------------------------- 0.61s
Gathering Facts --------------------------------------------------------- 0.61s
adduser : User | Create User -------------------------------------------- 0.58s
kubernetes/preinstall : check if /etc/dhcp/dhclient.conf exists --------- 0.57s
download : Download items ----------------------------------------------- 0.55s
download : Sync container ----------------------------------------------- 0.53s
adduser : User | Create User Group -------------------------------------- 0.51s
bootstrap-os : Bootstrap | Check if bootstrap is needed ----------------- 0.49s
kubernetes/preinstall : check bin dir exists ---------------------------- 0.44s
kubernetes/preinstall : check resolvconf -------------------------------- 0.39s
kubernetes/preinstall : check if /etc/dhclient.conf exists -------------- 0.39s
kubernetes/preinstall : check if atomic host ---------------------------- 0.31s
kubernetes/preinstall : check if kubelet is configured ------------------ 0.30s
kubernetes/preinstall : target resolv.conf files ------------------------ 0.29s
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment