Created
October 30, 2017 15:04
-
-
Save guenhter/289ba384f2f35c050bf1c9f928f6514b to your computer and use it in GitHub Desktop.
k8s vagrant up output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bringing machine 'k8s-01' up with 'virtualbox' provider... | |
Bringing machine 'k8s-02' up with 'virtualbox' provider... | |
Bringing machine 'k8s-03' up with 'virtualbox' provider... | |
==> k8s-01: Checking if box 'bento/ubuntu-16.04' is up to date... | |
Bringing machine 'k8s-01' up with 'virtualbox' provider... | |
Bringing machine 'k8s-02' up with 'virtualbox' provider... | |
Bringing machine 'k8s-03' up with 'virtualbox' provider... | |
==> k8s-01: Importing base box 'bento/ubuntu-16.04'... | |
[KProgress: 20% | |
[KProgress: 30% | |
[KProgress: 40% | |
[KProgress: 50% | |
[KProgress: 60% | |
[KProgress: 70% | |
[KProgress: 80% | |
[KProgress: 90% | |
[K==> k8s-01: Matching MAC address for NAT networking... | |
==> k8s-01: Checking if box 'bento/ubuntu-16.04' is up to date... | |
==> k8s-01: Setting the name of the VM: kubespray_k8s-01_1509373882474_82146 | |
==> k8s-01: Clearing any previously set network interfaces... | |
==> k8s-01: Preparing network interfaces based on configuration... | |
k8s-01: Adapter 1: nat | |
k8s-01: Adapter 2: hostonly | |
==> k8s-01: Forwarding ports... | |
k8s-01: 22 (guest) => 2222 (host) (adapter 1) | |
==> k8s-01: Running 'pre-boot' VM customizations... | |
==> k8s-01: Booting VM... | |
==> k8s-01: Waiting for machine to boot. This may take a few minutes... | |
k8s-01: SSH address: 127.0.0.1:2222 | |
k8s-01: SSH username: vagrant | |
k8s-01: SSH auth method: private key | |
k8s-01: Warning: Connection reset. Retrying... | |
k8s-01: Warning: Remote connection disconnect. Retrying... | |
==> k8s-01: Machine booted and ready! | |
==> k8s-01: Checking for guest additions in VM... | |
==> k8s-01: Setting hostname... | |
==> k8s-01: Configuring and enabling network interfaces... | |
==> k8s-01: Mounting shared folders... | |
k8s-01: /vagrant => /home/guenthgr/workspaces/kubespray | |
==> k8s-01: Running provisioner: shell... | |
k8s-01: Running: inline script | |
==> k8s-02: Importing base box 'bento/ubuntu-16.04'... | |
[KProgress: 20% | |
[KProgress: 30% | |
[KProgress: 40% | |
[KProgress: 50% | |
[KProgress: 60% | |
[KProgress: 70% | |
[KProgress: 80% | |
[KProgress: 90% | |
[K==> k8s-02: Matching MAC address for NAT networking... | |
==> k8s-02: Checking if box 'bento/ubuntu-16.04' is up to date... | |
==> k8s-02: Setting the name of the VM: kubespray_k8s-02_1509373917242_53526 | |
==> k8s-02: Fixed port collision for 22 => 2222. Now on port 2200. | |
==> k8s-02: Clearing any previously set network interfaces... | |
==> k8s-02: Preparing network interfaces based on configuration... | |
k8s-02: Adapter 1: nat | |
k8s-02: Adapter 2: hostonly | |
==> k8s-02: Forwarding ports... | |
k8s-02: 22 (guest) => 2200 (host) (adapter 1) | |
==> k8s-02: Running 'pre-boot' VM customizations... | |
==> k8s-02: Booting VM... | |
==> k8s-02: Waiting for machine to boot. This may take a few minutes... | |
k8s-02: SSH address: 127.0.0.1:2200 | |
k8s-02: SSH username: vagrant | |
k8s-02: SSH auth method: private key | |
==> k8s-02: Machine booted and ready! | |
==> k8s-02: Checking for guest additions in VM... | |
==> k8s-02: Setting hostname... | |
==> k8s-02: Configuring and enabling network interfaces... | |
==> k8s-02: Mounting shared folders... | |
k8s-02: /vagrant => /home/guenthgr/workspaces/kubespray | |
==> k8s-02: Running provisioner: shell... | |
k8s-02: Running: inline script | |
==> k8s-03: Importing base box 'bento/ubuntu-16.04'... | |
[KProgress: 20% | |
[KProgress: 30% | |
[KProgress: 40% | |
[KProgress: 50% | |
[KProgress: 60% | |
[KProgress: 70% | |
[KProgress: 80% | |
[KProgress: 90% | |
[K==> k8s-03: Matching MAC address for NAT networking... | |
==> k8s-03: Checking if box 'bento/ubuntu-16.04' is up to date... | |
==> k8s-03: Setting the name of the VM: kubespray_k8s-03_1509373962055_27173 | |
==> k8s-03: Fixed port collision for 22 => 2222. Now on port 2201. | |
==> k8s-03: Clearing any previously set network interfaces... | |
==> k8s-03: Preparing network interfaces based on configuration... | |
k8s-03: Adapter 1: nat | |
k8s-03: Adapter 2: hostonly | |
==> k8s-03: Forwarding ports... | |
k8s-03: 22 (guest) => 2201 (host) (adapter 1) | |
==> k8s-03: Running 'pre-boot' VM customizations... | |
==> k8s-03: Booting VM... | |
==> k8s-03: Waiting for machine to boot. This may take a few minutes... | |
k8s-03: SSH address: 127.0.0.1:2201 | |
k8s-03: SSH username: vagrant | |
k8s-03: SSH auth method: private key | |
==> k8s-03: Machine booted and ready! | |
==> k8s-03: Checking for guest additions in VM... | |
==> k8s-03: Setting hostname... | |
==> k8s-03: Configuring and enabling network interfaces... | |
==> k8s-03: Mounting shared folders... | |
k8s-03: /vagrant => /home/guenthgr/workspaces/kubespray | |
==> 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.1.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... | |
PLAY [localhost] *************************************************************** | |
skipping: no hosts matched | |
[WARNING]: Could not match supplied host pattern, ignoring: calico-rr | |
PLAY [k8s-cluster:etcd:calico-rr] ********************************************** | |
TASK [download : Register docker images info] ********************************** | |
Monday 30 October 2017 15:33:18 +0100 (0:00:00.114) 0:00:00.114 ******** | |
TASK [download : container_download | Create dest directory for saved/loaded container images] *** | |
Monday 30 October 2017 15:33:18 +0100 (0:00:00.054) 0:00:00.168 ******** | |
TASK [download : container_download | create local directory for saved/loaded container images] *** | |
Monday 30 October 2017 15:33:18 +0100 (0:00:00.042) 0:00:00.210 ******** | |
TASK [download : Download items] *********************************************** | |
Monday 30 October 2017 15:33:18 +0100 (0:00:00.024) 0:00:00.235 ******** | |
TASK [download : Sync container] *********************************************** | |
Monday 30 October 2017 15:33:18 +0100 (0:00:00.136) 0:00:00.371 ******** | |
TASK [kubespray-defaults : Configure defaults] ********************************* | |
Monday 30 October 2017 15:33:19 +0100 (0:00:00.111) 0:00:00.482 ******** | |
ok: [k8s-01] => { | |
"msg": "Check roles/kubespray-defaults/defaults/main.yml" | |
} | |
ok: [k8s-03] => { | |
"msg": "Check roles/kubespray-defaults/defaults/main.yml" | |
} | |
ok: [k8s-02] => { | |
"msg": "Check roles/kubespray-defaults/defaults/main.yml" | |
} | |
TASK [bootstrap-os : Bootstrap | Check if bootstrap is needed] ***************** | |
Monday 30 October 2017 15:33:19 +0100 (0:00:00.177) 0:00:00.659 ******** | |
changed: [k8s-02] => (item=python) | |
changed: [k8s-01] => (item=python) | |
changed: [k8s-03] => (item=python) | |
changed: [k8s-02] => (item=pip) | |
changed: [k8s-01] => (item=pip) | |
changed: [k8s-03] => (item=pip) | |
changed: [k8s-02] => (item=dbus-daemon) | |
changed: [k8s-01] => (item=dbus-daemon) | |
changed: [k8s-03] => (item=dbus-daemon) | |
TASK [bootstrap-os : Bootstrap | Install python 2.x and pip] ******************* | |
Monday 30 October 2017 15:33:19 +0100 (0:00:00.623) 0:00:01.283 ******** | |
[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-02] | |
changed: [k8s-01] | |
TASK [bootstrap-os : set_fact] ************************************************* | |
Monday 30 October 2017 15:34:36 +0100 (0:01:16.385) 0:01:17.668 ******** | |
ok: [k8s-01] | |
ok: [k8s-03] | |
ok: [k8s-02] | |
TASK [bootstrap-os : Bootstrap | Check if bootstrap is needed] ***************** | |
Monday 30 October 2017 15:34:36 +0100 (0:00:00.087) 0:01:17.756 ******** | |
TASK [bootstrap-os : Bootstrap | Install python 2.x, pip, and dbus] ************ | |
Monday 30 October 2017 15:34:36 +0100 (0:00:00.055) 0:01:17.811 ******** | |
TASK [bootstrap-os : set_fact] ************************************************* | |
Monday 30 October 2017 15:34:36 +0100 (0:00:00.038) 0:01:17.850 ******** | |
TASK [bootstrap-os : Bootstrap | Check if bootstrap is needed] ***************** | |
Monday 30 October 2017 15:34:36 +0100 (0:00:00.037) 0:01:17.887 ******** | |
TASK [bootstrap-os : Bootstrap | Run bootstrap.sh] ***************************** | |
Monday 30 October 2017 15:34:36 +0100 (0:00:00.046) 0:01:17.933 ******** | |
TASK [bootstrap-os : set_fact] ************************************************* | |
Monday 30 October 2017 15:34:36 +0100 (0:00:00.041) 0:01:17.975 ******** | |
TASK [bootstrap-os : Bootstrap | Check if we need to install pip] ************** | |
Monday 30 October 2017 15:34:36 +0100 (0:00:00.041) 0:01:18.016 ******** | |
TASK [bootstrap-os : Bootstrap | Copy get-pip.py] ****************************** | |
Monday 30 October 2017 15:34:36 +0100 (0:00:00.040) 0:01:18.056 ******** | |
TASK [bootstrap-os : Bootstrap | Install pip] ********************************** | |
Monday 30 October 2017 15:34:36 +0100 (0:00:00.042) 0:01:18.099 ******** | |
TASK [bootstrap-os : Bootstrap | Remove get-pip.py] **************************** | |
Monday 30 October 2017 15:34:36 +0100 (0:00:00.043) 0:01:18.143 ******** | |
TASK [bootstrap-os : Bootstrap | Install pip launcher] ************************* | |
Monday 30 October 2017 15:34:36 +0100 (0:00:00.049) 0:01:18.192 ******** | |
TASK [bootstrap-os : Install required python modules] ************************** | |
Monday 30 October 2017 15:34:36 +0100 (0:00:00.043) 0:01:18.235 ******** | |
TASK [bootstrap-os : Check presence of fastestmirror.conf] ********************* | |
Monday 30 October 2017 15:34:36 +0100 (0:00:00.050) 0:01:18.286 ******** | |
TASK [bootstrap-os : Disable fastestmirror plugin] ***************************** | |
Monday 30 October 2017 15:34:36 +0100 (0:00:00.041) 0:01:18.327 ******** | |
TASK [bootstrap-os : Install packages requirements for bootstrap] ************** | |
Monday 30 October 2017 15:34:36 +0100 (0:00:00.037) 0:01:18.365 ******** | |
TASK [bootstrap-os : Remove require tty] *************************************** | |
Monday 30 October 2017 15:34:37 +0100 (0:00:00.039) 0:01:18.405 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [bootstrap-os : check if atomic host] ************************************* | |
Monday 30 October 2017 15:34:37 +0100 (0:00:00.549) 0:01:18.954 ******** | |
ok: [k8s-02] | |
ok: [k8s-03] | |
ok: [k8s-01] | |
TASK [bootstrap-os : set_fact] ************************************************* | |
Monday 30 October 2017 15:34:38 +0100 (0:00:00.566) 0:01:19.520 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [bootstrap-os : Gather nodes hostnames] *********************************** | |
Monday 30 October 2017 15:34:38 +0100 (0:00:00.084) 0:01:19.605 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [bootstrap-os : Assign inventory name to unconfigured hostnames (non-CoreOS)] *** | |
Monday 30 October 2017 15:34:39 +0100 (0:00:00.810) 0:01:20.415 ******** | |
ok: [k8s-02] | |
ok: [k8s-01] | |
ok: [k8s-03] | |
TASK [bootstrap-os : Assign inventory name to unconfigured hostnames (CoreOS only)] *** | |
Monday 30 October 2017 15:34:39 +0100 (0:00:00.766) 0:01:21.182 ******** | |
TASK [bootstrap-os : Update hostname fact (CoreOS only)] *********************** | |
Monday 30 October 2017 15:34:39 +0100 (0:00:00.038) 0:01:21.221 ******** | |
PLAY [k8s-cluster:etcd:calico-rr] ********************************************** | |
TASK [Gathering Facts] ********************************************************* | |
Monday 30 October 2017 15:34:39 +0100 (0:00:00.045) 0:01:21.266 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
PLAY [k8s-cluster:etcd:calico-rr] ********************************************** | |
TASK [download : Register docker images info] ********************************** | |
Monday 30 October 2017 15:34:40 +0100 (0:00:00.581) 0:01:21.848 ******** | |
TASK [download : container_download | Create dest directory for saved/loaded container images] *** | |
Monday 30 October 2017 15:34:40 +0100 (0:00:00.050) 0:01:21.899 ******** | |
TASK [download : container_download | create local directory for saved/loaded container images] *** | |
Monday 30 October 2017 15:34:40 +0100 (0:00:00.052) 0:01:21.952 ******** | |
TASK [download : Download items] *********************************************** | |
Monday 30 October 2017 15:34:40 +0100 (0:00:00.031) 0:01:21.983 ******** | |
TASK [download : Sync container] *********************************************** | |
Monday 30 October 2017 15:34:40 +0100 (0:00:00.296) 0:01:22.279 ******** | |
TASK [kubespray-defaults : Configure defaults] ********************************* | |
Monday 30 October 2017 15:34:41 +0100 (0:00:00.295) 0:01:22.575 ******** | |
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] ************************************** | |
Monday 30 October 2017 15:34:41 +0100 (0:00:00.093) 0:01:22.669 ******** | |
changed: [k8s-02] | |
changed: [k8s-03] | |
changed: [k8s-01] | |
TASK [adduser : User | Create User] ******************************************** | |
Monday 30 October 2017 15:34:41 +0100 (0:00:00.454) 0:01:23.123 ******** | |
changed: [k8s-02] | |
changed: [k8s-01] | |
changed: [k8s-03] | |
TASK [kubernetes/preinstall : Stop if ansible version is too low] ************** | |
Monday 30 October 2017 15:34:42 +0100 (0:00:00.546) 0:01:23.669 ******** | |
ok: [k8s-01] => { | |
"changed": false, | |
"failed": false, | |
"msg": "All assertions passed" | |
} | |
TASK [kubernetes/preinstall : Stop if non systemd OS type] ********************* | |
Monday 30 October 2017 15:34:42 +0100 (0:00:00.089) 0:01:23.759 ******** | |
ok: [k8s-01] => { | |
"changed": false, | |
"failed": false, | |
"msg": "All assertions passed" | |
} | |
ok: [k8s-02] => { | |
"changed": false, | |
"failed": false, | |
"msg": "All assertions passed" | |
} | |
ok: [k8s-03] => { | |
"changed": false, | |
"failed": false, | |
"msg": "All assertions passed" | |
} | |
TASK [kubernetes/preinstall : Stop if unknown OS] ****************************** | |
Monday 30 October 2017 15:34:42 +0100 (0:00:00.093) 0:01:23.852 ******** | |
ok: [k8s-01] => { | |
"changed": false, | |
"failed": false, | |
"msg": "All assertions passed" | |
} | |
ok: [k8s-02] => { | |
"changed": false, | |
"failed": false, | |
"msg": "All assertions passed" | |
} | |
ok: [k8s-03] => { | |
"changed": false, | |
"failed": false, | |
"msg": "All assertions passed" | |
} | |
TASK [kubernetes/preinstall : Stop if unknown network plugin] ****************** | |
Monday 30 October 2017 15:34:42 +0100 (0:00:00.109) 0:01:23.962 ******** | |
TASK [kubernetes/preinstall : Stop if incompatible network plugin and cloudprovider] *** | |
Monday 30 October 2017 15:34:42 +0100 (0:00:00.047) 0:01:24.010 ******** | |
TASK [kubernetes/preinstall : Stop if known booleans are set as strings (Use JSON format on CLI: -e "{'key': true }")] *** | |
Monday 30 October 2017 15:34:42 +0100 (0:00:00.046) 0:01:24.056 ******** | |
ok: [k8s-01] => (item=kubeadm_enabled) => { | |
"changed": false, | |
"failed": false, | |
"item": "kubeadm_enabled", | |
"msg": "All assertions passed" | |
} | |
ok: [k8s-01] => (item=download_run_once) => { | |
"changed": false, | |
"failed": false, | |
"item": "download_run_once", | |
"msg": "All assertions passed" | |
} | |
ok: [k8s-01] => (item=deploy_netchecker) => { | |
"changed": false, | |
"failed": false, | |
"item": "deploy_netchecker", | |
"msg": "All assertions passed" | |
} | |
ok: [k8s-01] => (item=download_always_pull) => { | |
"changed": false, | |
"failed": false, | |
"item": "download_always_pull", | |
"msg": "All assertions passed" | |
} | |
ok: [k8s-01] => (item=efk_enabled) => { | |
"changed": false, | |
"failed": false, | |
"item": "efk_enabled", | |
"msg": "All assertions passed" | |
} | |
ok: [k8s-01] => (item=helm_enabled) => { | |
"changed": false, | |
"failed": false, | |
"item": "helm_enabled", | |
"msg": "All assertions passed" | |
} | |
ok: [k8s-01] => (item=openstack_lbaas_enabled) => { | |
"changed": false, | |
"failed": false, | |
"item": "openstack_lbaas_enabled", | |
"msg": "All assertions passed" | |
} | |
failed: [k8s-01] (item=rbac_enabled) => { | |
"assertion": "vars[item]|type_debug == 'bool'", | |
"changed": false, | |
"evaluated_to": false, | |
"failed": true, | |
"item": "rbac_enabled", | |
"msg": "{{ 'RBAC' in authorization_modes or kubeadm_enabled }} isn't a bool" | |
} | |
...ignoring | |
TASK [kubernetes/preinstall : Stop if even number of etcd hosts] *************** | |
Monday 30 October 2017 15:34:43 +0100 (0:00:00.444) 0:01:24.501 ******** | |
ok: [k8s-01] => { | |
"changed": false, | |
"failed": false, | |
"msg": "All assertions passed" | |
} | |
ok: [k8s-02] => { | |
"changed": false, | |
"failed": false, | |
"msg": "All assertions passed" | |
} | |
ok: [k8s-03] => { | |
"changed": false, | |
"failed": false, | |
"msg": "All assertions passed" | |
} | |
TASK [kubernetes/preinstall : Stop if memory is too small for masters] ********* | |
Monday 30 October 2017 15:34:43 +0100 (0:00:00.095) 0:01:24.597 ******** | |
ok: [k8s-01] => { | |
"changed": false, | |
"failed": false, | |
"msg": "All assertions passed" | |
} | |
ok: [k8s-02] => { | |
"changed": false, | |
"failed": false, | |
"msg": "All assertions passed" | |
} | |
TASK [kubernetes/preinstall : Stop if memory is too small for nodes] *********** | |
Monday 30 October 2017 15:34:43 +0100 (0:00:00.080) 0:01:24.677 ******** | |
ok: [k8s-01] => { | |
"changed": false, | |
"failed": false, | |
"msg": "All assertions passed" | |
} | |
ok: [k8s-02] => { | |
"changed": false, | |
"failed": false, | |
"msg": "All assertions passed" | |
} | |
ok: [k8s-03] => { | |
"changed": false, | |
"failed": false, | |
"msg": "All assertions passed" | |
} | |
TASK [kubernetes/preinstall : Stop if ip var does not match local ips] ********* | |
Monday 30 October 2017 15:34:43 +0100 (0:00:00.096) 0:01:24.774 ******** | |
ok: [k8s-01] => { | |
"changed": false, | |
"failed": false, | |
"msg": "All assertions passed" | |
} | |
ok: [k8s-02] => { | |
"changed": false, | |
"failed": false, | |
"msg": "All assertions passed" | |
} | |
ok: [k8s-03] => { | |
"changed": false, | |
"failed": false, | |
"msg": "All assertions passed" | |
} | |
TASK [kubernetes/preinstall : Stop if access_ip is not pingable] *************** | |
Monday 30 October 2017 15:34:43 +0100 (0:00:00.089) 0:01:24.864 ******** | |
TASK [kubernetes/preinstall : Stop if swap enabled] **************************** | |
Monday 30 October 2017 15:34:43 +0100 (0:00:00.045) 0:01:24.909 ******** | |
ok: [k8s-01] => { | |
"changed": false, | |
"failed": false, | |
"msg": "All assertions passed" | |
} | |
ok: [k8s-02] => { | |
"changed": false, | |
"failed": false, | |
"msg": "All assertions passed" | |
} | |
ok: [k8s-03] => { | |
"changed": false, | |
"failed": false, | |
"msg": "All assertions passed" | |
} | |
TASK [kubernetes/preinstall : Force binaries directory for Container Linux by CoreOS] *** | |
Monday 30 October 2017 15:34:43 +0100 (0:00:00.093) 0:01:25.002 ******** | |
TASK [kubernetes/preinstall : check bin dir exists] **************************** | |
Monday 30 October 2017 15:34:43 +0100 (0:00:00.047) 0:01:25.050 ******** | |
ok: [k8s-03] | |
ok: [k8s-01] | |
ok: [k8s-02] | |
TASK [kubernetes/preinstall : check if atomic host] **************************** | |
Monday 30 October 2017 15:34:44 +0100 (0:00:00.424) 0:01:25.474 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/preinstall : set_fact] **************************************** | |
Monday 30 October 2017 15:34:44 +0100 (0:00:00.269) 0:01:25.744 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/preinstall : set_fact] **************************************** | |
Monday 30 October 2017 15:34:44 +0100 (0:00:00.094) 0:01:25.839 ******** | |
TASK [kubernetes/preinstall : check resolvconf] ******************************** | |
Monday 30 October 2017 15:34:44 +0100 (0:00:00.049) 0:01:25.889 ******** | |
ok: [k8s-02] | |
ok: [k8s-03] | |
ok: [k8s-01] | |
TASK [kubernetes/preinstall : set_fact] **************************************** | |
Monday 30 October 2017 15:34:44 +0100 (0:00:00.412) 0:01:26.301 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/preinstall : set_fact] **************************************** | |
Monday 30 October 2017 15:34:44 +0100 (0:00:00.092) 0:01:26.394 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/preinstall : check if kubelet is configured] ****************** | |
Monday 30 October 2017 15:34:45 +0100 (0:00:00.104) 0:01:26.498 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/preinstall : check if early DNS configuration stage] ********** | |
Monday 30 October 2017 15:34:45 +0100 (0:00:00.287) 0:01:26.785 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/preinstall : target resolv.conf files] ************************ | |
Monday 30 October 2017 15:34:45 +0100 (0:00:00.093) 0:01:26.879 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/preinstall : target temporary resolvconf cloud init file (Container Linux by CoreOS)] *** | |
Monday 30 October 2017 15:34:45 +0100 (0:00:00.098) 0:01:26.978 ******** | |
TASK [kubernetes/preinstall : check if /etc/dhclient.conf exists] ************** | |
Monday 30 October 2017 15:34:45 +0100 (0:00:00.056) 0:01:27.034 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/preinstall : target dhclient conf file for /etc/dhclient.conf] *** | |
Monday 30 October 2017 15:34:45 +0100 (0:00:00.274) 0:01:27.309 ******** | |
TASK [kubernetes/preinstall : check if /etc/dhcp/dhclient.conf exists] ********* | |
Monday 30 October 2017 15:34:45 +0100 (0:00:00.052) 0:01:27.362 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/preinstall : target dhclient conf file for /etc/dhcp/dhclient.conf] *** | |
Monday 30 October 2017 15:34:46 +0100 (0:00:00.287) 0:01:27.649 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/preinstall : target dhclient hook file for Red Hat family] **** | |
Monday 30 October 2017 15:34:46 +0100 (0:00:00.110) 0:01:27.759 ******** | |
TASK [kubernetes/preinstall : target dhclient hook file for Debian family] ***** | |
Monday 30 October 2017 15:34:46 +0100 (0:00:00.047) 0:01:27.807 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/preinstall : generate search domains to resolvconf] *********** | |
Monday 30 October 2017 15:34:46 +0100 (0:00:00.091) 0:01:27.899 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/preinstall : pick dnsmasq cluster IP or default resolver] ***** | |
Monday 30 October 2017 15:34:46 +0100 (0:00:00.097) 0:01:27.997 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/preinstall : generate nameservers to resolvconf] ************** | |
Monday 30 October 2017 15:34:46 +0100 (0:00:00.096) 0:01:28.093 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/preinstall : gather os specific variables] ******************** | |
Monday 30 October 2017 15:34:46 +0100 (0:00:00.104) 0:01:28.197 ******** | |
ok: [k8s-01] => (item=/home/guenthgr/workspaces/kubespray/roles/kubernetes/preinstall/vars/../vars/ubuntu.yml) | |
ok: [k8s-02] => (item=/home/guenthgr/workspaces/kubespray/roles/kubernetes/preinstall/vars/../vars/ubuntu.yml) | |
ok: [k8s-03] => (item=/home/guenthgr/workspaces/kubespray/roles/kubernetes/preinstall/vars/../vars/ubuntu.yml) | |
TASK [kubernetes/preinstall : Create kubernetes directories] ******************* | |
Monday 30 October 2017 15:34:46 +0100 (0:00:00.095) 0:01:28.293 ******** | |
changed: [k8s-01] => (item=/etc/kubernetes) | |
changed: [k8s-02] => (item=/etc/kubernetes) | |
changed: [k8s-03] => (item=/etc/kubernetes) | |
changed: [k8s-01] => (item=/etc/kubernetes/ssl) | |
changed: [k8s-02] => (item=/etc/kubernetes/ssl) | |
changed: [k8s-03] => (item=/etc/kubernetes/ssl) | |
changed: [k8s-01] => (item=/etc/kubernetes/manifests) | |
changed: [k8s-02] => (item=/etc/kubernetes/manifests) | |
changed: [k8s-03] => (item=/etc/kubernetes/manifests) | |
changed: [k8s-01] => (item=/usr/local/bin/kubernetes-scripts) | |
changed: [k8s-02] => (item=/usr/local/bin/kubernetes-scripts) | |
changed: [k8s-03] => (item=/usr/local/bin/kubernetes-scripts) | |
TASK [kubernetes/preinstall : check cloud_provider value] ********************** | |
Monday 30 October 2017 15:34:47 +0100 (0:00:01.048) 0:01:29.342 ******** | |
TASK [kubernetes/preinstall : include] ***************************************** | |
Monday 30 October 2017 15:34:47 +0100 (0:00:00.047) 0:01:29.389 ******** | |
TASK [kubernetes/preinstall : Create cni directories] ************************** | |
Monday 30 October 2017 15:34:48 +0100 (0:00:00.051) 0:01:29.441 ******** | |
changed: [k8s-01] => (item=/etc/cni/net.d) | |
changed: [k8s-02] => (item=/etc/cni/net.d) | |
changed: [k8s-03] => (item=/etc/cni/net.d) | |
changed: [k8s-01] => (item=/opt/cni/bin) | |
changed: [k8s-02] => (item=/opt/cni/bin) | |
changed: [k8s-03] => (item=/opt/cni/bin) | |
TASK [kubernetes/preinstall : create temporary resolveconf cloud init file] **** | |
Monday 30 October 2017 15:34:48 +0100 (0:00:00.504) 0:01:29.945 ******** | |
TASK [kubernetes/preinstall : Add domain/search/nameservers/options to resolv.conf] *** | |
Monday 30 October 2017 15:34:48 +0100 (0:00:00.054) 0:01:30.000 ******** | |
TASK [kubernetes/preinstall : Remove search/domain/nameserver options before block] *** | |
Monday 30 October 2017 15:34:48 +0100 (0:00:00.054) 0:01:30.054 ******** | |
TASK [kubernetes/preinstall : Remove search/domain/nameserver options after block] *** | |
Monday 30 October 2017 15:34:48 +0100 (0:00:00.140) 0:01:30.195 ******** | |
TASK [kubernetes/preinstall : get temporary resolveconf cloud init file content] *** | |
Monday 30 October 2017 15:34:48 +0100 (0:00:00.151) 0:01:30.346 ******** | |
TASK [kubernetes/preinstall : persist resolvconf cloud init file] ************** | |
Monday 30 October 2017 15:34:48 +0100 (0:00:00.050) 0:01:30.397 ******** | |
TASK [kubernetes/preinstall : Update package management cache (YUM)] *********** | |
Monday 30 October 2017 15:34:49 +0100 (0:00:00.054) 0:01:30.452 ******** | |
TASK [kubernetes/preinstall : Install latest version of python-apt for Debian distribs] *** | |
Monday 30 October 2017 15:34:49 +0100 (0:00:00.051) 0:01:30.504 ******** | |
ok: [k8s-03] | |
ok: [k8s-01] | |
ok: [k8s-02] | |
TASK [kubernetes/preinstall : Install python-dnf for latest RedHat versions] *** | |
Monday 30 October 2017 15:34:55 +0100 (0:00:06.148) 0:01:36.652 ******** | |
TASK [kubernetes/preinstall : Install epel-release on RedHat/CentOS] *********** | |
Monday 30 October 2017 15:34:55 +0100 (0:00:00.050) 0:01:36.703 ******** | |
TASK [kubernetes/preinstall : Install packages requirements] ******************* | |
Monday 30 October 2017 15:34:55 +0100 (0:00:00.059) 0:01:36.762 ******** | |
changed: [k8s-03] => (item=[u'python-apt', u'aufs-tools', u'apt-transport-https', u'software-properties-common', u'ebtables', u'python-httplib2', u'openssl', u'curl', u'rsync', u'bash-completion', u'socat', u'unzip']) | |
changed: [k8s-02] => (item=[u'python-apt', u'aufs-tools', u'apt-transport-https', u'software-properties-common', u'ebtables', u'python-httplib2', u'openssl', u'curl', u'rsync', u'bash-completion', u'socat', u'unzip']) | |
changed: [k8s-01] => (item=[u'python-apt', u'aufs-tools', u'apt-transport-https', u'software-properties-common', u'ebtables', u'python-httplib2', u'openssl', u'curl', u'rsync', u'bash-completion', u'socat', u'unzip']) | |
TASK [kubernetes/preinstall : Confirm selinux deployed] ************************ | |
Monday 30 October 2017 15:35:06 +0100 (0:00:11.406) 0:01:48.169 ******** | |
TASK [kubernetes/preinstall : Set selinux policy] ****************************** | |
Monday 30 October 2017 15:35:06 +0100 (0:00:00.047) 0:01:48.216 ******** | |
TASK [kubernetes/preinstall : Disable IPv6 DNS lookup] ************************* | |
Monday 30 October 2017 15:35:06 +0100 (0:00:00.046) 0:01:48.263 ******** | |
TASK [kubernetes/preinstall : set default sysctl file path] ******************** | |
Monday 30 October 2017 15:35:06 +0100 (0:00:00.045) 0:01:48.308 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/preinstall : Stat sysctl file configuration] ****************** | |
Monday 30 October 2017 15:35:07 +0100 (0:00:00.090) 0:01:48.399 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/preinstall : Change sysctl file path to link source if linked] *** | |
Monday 30 October 2017 15:35:07 +0100 (0:00:00.281) 0:01:48.681 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/preinstall : Enable ip forwarding] **************************** | |
Monday 30 October 2017 15:35:07 +0100 (0:00:00.099) 0:01:48.780 ******** | |
changed: [k8s-03] | |
changed: [k8s-02] | |
changed: [k8s-01] | |
TASK [kubernetes/preinstall : Write cloud-config] ****************************** | |
Monday 30 October 2017 15:35:07 +0100 (0:00:00.403) 0:01:49.184 ******** | |
TASK [kubernetes/preinstall : Hosts | populate inventory into hosts file] ****** | |
Monday 30 October 2017 15:35:07 +0100 (0:00:00.052) 0:01:49.237 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
changed: [k8s-03] | |
TASK [kubernetes/preinstall : Hosts | populate kubernetes loadbalancer address into hosts file] *** | |
Monday 30 October 2017 15:35:08 +0100 (0:00:00.490) 0:01:49.728 ******** | |
TASK [kubernetes/preinstall : Hosts | localhost ipv4 in hosts file] ************ | |
Monday 30 October 2017 15:35:08 +0100 (0:00:00.050) 0:01:49.779 ******** | |
changed: [k8s-02] | |
changed: [k8s-03] | |
changed: [k8s-01] | |
TASK [kubernetes/preinstall : Hosts | localhost ipv6 in hosts file] ************ | |
Monday 30 October 2017 15:35:08 +0100 (0:00:00.277) 0:01:50.057 ******** | |
changed: [k8s-02] | |
changed: [k8s-01] | |
changed: [k8s-03] | |
TASK [kubernetes/preinstall : Configure dhclient to supersede search/domain/nameservers] *** | |
Monday 30 October 2017 15:35:08 +0100 (0:00:00.267) 0:01:50.325 ******** | |
TASK [kubernetes/preinstall : Configue dhclient hooks for resolv.conf (non-RH)] *** | |
Monday 30 October 2017 15:35:08 +0100 (0:00:00.052) 0:01:50.377 ******** | |
TASK [kubernetes/preinstall : Configue dhclient hooks for resolv.conf (RH-only)] *** | |
Monday 30 October 2017 15:35:09 +0100 (0:00:00.060) 0:01:50.437 ******** | |
TASK [kubernetes/preinstall : Remove kubespray specific config from dhclient config] *** | |
Monday 30 October 2017 15:35:09 +0100 (0:00:00.054) 0:01:50.492 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/preinstall : Remove kubespray specific dhclient hook] ********* | |
Monday 30 October 2017 15:35:09 +0100 (0:00:00.280) 0:01:50.772 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/preinstall : Check if we are running inside a Azure VM] ******* | |
Monday 30 October 2017 15:35:09 +0100 (0:00:00.277) 0:01:51.049 ******** | |
ok: [k8s-02] | |
ok: [k8s-01] | |
ok: [k8s-03] | |
TASK [kubernetes/preinstall : install growpart] ******************************** | |
Monday 30 October 2017 15:35:09 +0100 (0:00:00.260) 0:01:51.310 ******** | |
TASK [kubernetes/preinstall : check if growpart needs to be run] *************** | |
Monday 30 October 2017 15:35:09 +0100 (0:00:00.052) 0:01:51.362 ******** | |
TASK [kubernetes/preinstall : check fs type] *********************************** | |
Monday 30 October 2017 15:35:10 +0100 (0:00:00.050) 0:01:51.413 ******** | |
TASK [kubernetes/preinstall : run growpart] ************************************ | |
Monday 30 October 2017 15:35:10 +0100 (0:00:00.053) 0:01:51.467 ******** | |
TASK [kubernetes/preinstall : run xfs_growfs] ********************************** | |
Monday 30 October 2017 15:35:10 +0100 (0:00:00.051) 0:01:51.518 ******** | |
TASK [docker/docker-storage : docker-storage-setup | install git and make] ***** | |
Monday 30 October 2017 15:35:10 +0100 (0:00:00.050) 0:01:51.569 ******** | |
TASK [docker/docker-storage : docker-storage-setup | docker-storage-setup sysconfig template] *** | |
Monday 30 October 2017 15:35:10 +0100 (0:00:00.055) 0:01:51.624 ******** | |
TASK [docker/docker-storage : docker-storage-override-directory | docker service storage-setup override dir] *** | |
Monday 30 October 2017 15:35:10 +0100 (0:00:00.050) 0:01:51.675 ******** | |
TASK [docker/docker-storage : docker-storage-override | docker service storage-setup override file] *** | |
Monday 30 October 2017 15:35:10 +0100 (0:00:00.049) 0:01:51.724 ******** | |
TASK [docker/docker-storage : docker-storage-setup | install and run container-storage-setup] *** | |
Monday 30 October 2017 15:35:10 +0100 (0:00:00.050) 0:01:51.774 ******** | |
TASK [docker : gather os specific variables] *********************************** | |
Monday 30 October 2017 15:35:10 +0100 (0:00:00.051) 0:01:51.826 ******** | |
ok: [k8s-02] => (item=/home/guenthgr/workspaces/kubespray/roles/docker/vars/../vars/ubuntu.yml) | |
ok: [k8s-01] => (item=/home/guenthgr/workspaces/kubespray/roles/docker/vars/../vars/ubuntu.yml) | |
ok: [k8s-03] => (item=/home/guenthgr/workspaces/kubespray/roles/docker/vars/../vars/ubuntu.yml) | |
TASK [docker : set dns server for docker] ************************************** | |
Monday 30 October 2017 15:35:10 +0100 (0:00:00.103) 0:01:51.930 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [docker : set base docker dns facts] ************************************** | |
Monday 30 October 2017 15:35:10 +0100 (0:00:00.096) 0:01:52.026 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [docker : add upstream dns servers (only when dnsmasq is not used)] ******* | |
Monday 30 October 2017 15:35:10 +0100 (0:00:00.098) 0:01:52.125 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [docker : add global searchdomains] *************************************** | |
Monday 30 October 2017 15:35:10 +0100 (0:00:00.096) 0:01:52.222 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [docker : check system nameservers] *************************************** | |
Monday 30 October 2017 15:35:10 +0100 (0:00:00.096) 0:01:52.318 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [docker : check system search domains] ************************************ | |
Monday 30 October 2017 15:35:11 +0100 (0:00:00.274) 0:01:52.593 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [docker : add system nameservers to docker options] *********************** | |
Monday 30 October 2017 15:35:11 +0100 (0:00:00.262) 0:01:52.856 ******** | |
ok: [k8s-02] | |
ok: [k8s-01] | |
ok: [k8s-03] | |
TASK [docker : add system search domains to docker options] ******************** | |
Monday 30 October 2017 15:35:11 +0100 (0:00:00.096) 0:01:52.952 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [docker : check number of nameservers] ************************************ | |
Monday 30 October 2017 15:35:11 +0100 (0:00:00.100) 0:01:53.053 ******** | |
TASK [docker : rtrim number of nameservers to 3] ******************************* | |
Monday 30 October 2017 15:35:11 +0100 (0:00:00.052) 0:01:53.106 ******** | |
TASK [docker : check number of search domains] ********************************* | |
Monday 30 October 2017 15:35:11 +0100 (0:00:00.052) 0:01:53.159 ******** | |
TASK [docker : check length of search domains] ********************************* | |
Monday 30 October 2017 15:35:11 +0100 (0:00:00.055) 0:01:53.214 ******** | |
TASK [docker : check for minimum kernel version] ******************************* | |
Monday 30 October 2017 15:35:11 +0100 (0:00:00.053) 0:01:53.268 ******** | |
TASK [docker : ensure docker repository public key is installed] *************** | |
Monday 30 October 2017 15:35:11 +0100 (0:00:00.049) 0:01:53.318 ******** | |
changed: [k8s-01] => (item=58118E89F3A912897C070ADBF76221572C52609D) | |
changed: [k8s-02] => (item=58118E89F3A912897C070ADBF76221572C52609D) | |
changed: [k8s-03] => (item=58118E89F3A912897C070ADBF76221572C52609D) | |
TASK [docker : ensure docker repository is enabled] **************************** | |
Monday 30 October 2017 15:37:12 +0100 (0:02:00.943) 0:03:54.261 ******** | |
changed: [k8s-03] => (item=deb https://apt.dockerproject.org/repo ubuntu-xenial main | |
) | |
changed: [k8s-01] => (item=deb https://apt.dockerproject.org/repo ubuntu-xenial main | |
) | |
changed: [k8s-02] => (item=deb https://apt.dockerproject.org/repo ubuntu-xenial main | |
) | |
TASK [docker : Configure docker repository on RedHat/CentOS] ******************* | |
Monday 30 October 2017 15:37:22 +0100 (0:00:09.544) 0:04:03.806 ******** | |
TASK [docker : ensure docker packages are installed] *************************** | |
Monday 30 October 2017 15:37:22 +0100 (0:00:00.054) 0:04:03.861 ******** | |
changed: [k8s-02] => (item={u'force': True, u'name': u'docker-engine=1.13.1-0~ubuntu-xenial'}) | |
changed: [k8s-01] => (item={u'force': True, u'name': u'docker-engine=1.13.1-0~ubuntu-xenial'}) | |
changed: [k8s-03] => (item={u'force': True, u'name': u'docker-engine=1.13.1-0~ubuntu-xenial'}) | |
TASK [docker : check minimum docker version for docker_dns mode. You need at least docker version >= 1.12 for resolvconf_mode=docker_dns] *** | |
Monday 30 October 2017 15:37:40 +0100 (0:00:18.122) 0:04:21.983 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [docker : Create docker service systemd directory if it doesn't exist] **** | |
Monday 30 October 2017 15:37:40 +0100 (0:00:00.301) 0:04:22.284 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
changed: [k8s-03] | |
TASK [docker : Write docker proxy drop-in] ************************************* | |
Monday 30 October 2017 15:37:41 +0100 (0:00:00.270) 0:04:22.555 ******** | |
TASK [docker : get systemd version] ******************************************** | |
Monday 30 October 2017 15:37:41 +0100 (0:00:00.052) 0:04:22.607 ******** | |
TASK [docker : Write docker.service systemd file] ****************************** | |
Monday 30 October 2017 15:37:41 +0100 (0:00:00.054) 0:04:22.662 ******** | |
changed: [k8s-02] | |
changed: [k8s-01] | |
changed: [k8s-03] | |
TASK [docker : Write docker options systemd drop-in] *************************** | |
Monday 30 October 2017 15:37:42 +0100 (0:00:00.835) 0:04:23.497 ******** | |
changed: [k8s-02] | |
changed: [k8s-01] | |
changed: [k8s-03] | |
TASK [docker : Write docker dns systemd drop-in] ******************************* | |
Monday 30 October 2017 15:37:42 +0100 (0:00:00.664) 0:04:24.161 ******** | |
changed: [k8s-02] | |
changed: [k8s-03] | |
changed: [k8s-01] | |
RUNNING HANDLER [docker : restart docker] ************************************** | |
Monday 30 October 2017 15:37:43 +0100 (0:00:00.699) 0:04:24.862 ******** | |
changed: [k8s-01] | |
changed: [k8s-03] | |
changed: [k8s-02] | |
RUNNING HANDLER [docker : Docker | reload systemd] ***************************** | |
Monday 30 October 2017 15:37:43 +0100 (0:00:00.479) 0:04:25.341 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
changed: [k8s-03] | |
RUNNING HANDLER [docker : Docker | reload docker.socket] *********************** | |
Monday 30 October 2017 15:37:44 +0100 (0:00:00.369) 0:04:25.711 ******** | |
RUNNING HANDLER [docker : Docker | reload docker] ****************************** | |
Monday 30 October 2017 15:37:44 +0100 (0:00:00.070) 0:04:25.782 ******** | |
changed: [k8s-02] | |
changed: [k8s-03] | |
changed: [k8s-01] | |
RUNNING HANDLER [docker : Docker | pause while Docker restarts] **************** | |
Monday 30 October 2017 15:37:47 +0100 (0:00:02.628) 0:04:28.410 ******** | |
Pausing for 10 seconds | |
(ctrl+C then 'C' = continue early, ctrl+C then 'A' = abort) | |
ok: [k8s-01] | |
RUNNING HANDLER [docker : Docker | wait for docker] **************************** | |
Monday 30 October 2017 15:37:57 +0100 (0:00:10.158) 0:04:38.568 ******** | |
changed: [k8s-01] | |
changed: [k8s-03] | |
changed: [k8s-02] | |
TASK [docker : ensure docker service is started and enabled] ******************* | |
Monday 30 October 2017 15:37:57 +0100 (0:00:00.287) 0:04:38.856 ******** | |
ok: [k8s-01] => (item=docker) | |
ok: [k8s-02] => (item=docker) | |
ok: [k8s-03] => (item=docker) | |
TASK [rkt : gather os specific variables for rkt] ****************************** | |
Monday 30 October 2017 15:37:57 +0100 (0:00:00.281) 0:04:39.138 ******** | |
TASK [rkt : install rkt pkg on ubuntu] ***************************************** | |
Monday 30 October 2017 15:37:57 +0100 (0:00:00.065) 0:04:39.203 ******** | |
TASK [rkt : install rkt pkg on centos] ***************************************** | |
Monday 30 October 2017 15:37:57 +0100 (0:00:00.057) 0:04:39.261 ******** | |
TASK [download : Register docker images info] ********************************** | |
Monday 30 October 2017 15:37:57 +0100 (0:00:00.053) 0:04:39.314 ******** | |
ok: [k8s-02] | |
ok: [k8s-03] | |
ok: [k8s-01] | |
TASK [download : container_download | Create dest directory for saved/loaded container images] *** | |
Monday 30 October 2017 15:37:58 +0100 (0:00:00.253) 0:04:39.568 ******** | |
ok: [k8s-01] | |
ok: [k8s-03] | |
ok: [k8s-02] | |
TASK [download : container_download | create local directory for saved/loaded container images] *** | |
Monday 30 October 2017 15:37:58 +0100 (0:00:00.359) 0:04:39.927 ******** | |
TASK [download : Download items] *********************************************** | |
Monday 30 October 2017 15:37:58 +0100 (0:00:00.030) 0:04:39.957 ******** | |
included: /home/guenthgr/workspaces/kubespray/roles/download/tasks/download_container.yml for k8s-01, k8s-02, k8s-03 | |
included: /home/guenthgr/workspaces/kubespray/roles/download/tasks/download_container.yml for k8s-01, k8s-02, k8s-03 | |
included: /home/guenthgr/workspaces/kubespray/roles/download/tasks/download_container.yml for k8s-01, k8s-02, k8s-03 | |
included: /home/guenthgr/workspaces/kubespray/roles/download/tasks/download_container.yml for k8s-01, k8s-02, k8s-03 | |
included: /home/guenthgr/workspaces/kubespray/roles/download/tasks/download_container.yml for k8s-01, k8s-02, k8s-03 | |
included: /home/guenthgr/workspaces/kubespray/roles/download/tasks/download_container.yml for k8s-01, k8s-02, k8s-03 | |
included: /home/guenthgr/workspaces/kubespray/roles/download/tasks/download_container.yml for k8s-01, k8s-02, k8s-03 | |
included: /home/guenthgr/workspaces/kubespray/roles/download/tasks/download_container.yml for k8s-01, k8s-02, k8s-03 | |
included: /home/guenthgr/workspaces/kubespray/roles/download/tasks/download_container.yml for k8s-01, k8s-02, k8s-03 | |
included: /home/guenthgr/workspaces/kubespray/roles/download/tasks/download_container.yml for k8s-01, k8s-02, k8s-03 | |
included: /home/guenthgr/workspaces/kubespray/roles/download/tasks/download_container.yml for k8s-01, k8s-02, k8s-03 | |
included: /home/guenthgr/workspaces/kubespray/roles/download/tasks/download_container.yml for k8s-01, k8s-02, k8s-03 | |
TASK [download : container_download | Make download decision if pull is required by tag or sha256] *** | |
Monday 30 October 2017 15:37:59 +0100 (0:00:00.868) 0:04:40.825 ******** | |
included: /home/guenthgr/workspaces/kubespray/roles/download/tasks/set_docker_image_facts.yml for k8s-01, k8s-02, k8s-03 | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:37:59 +0100 (0:00:00.165) 0:04:40.990 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:37:59 +0100 (0:00:00.235) 0:04:41.226 ******** | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : Register docker images info] ********************************** | |
Monday 30 October 2017 15:38:00 +0100 (0:00:00.207) 0:04:41.434 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:38:00 +0100 (0:00:00.246) 0:04:41.680 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : Check the local digest sha256 corresponds to the given image tag] *** | |
Monday 30 October 2017 15:38:00 +0100 (0:00:00.134) 0:04:41.815 ******** | |
TASK [download : container_download | Download containers if pull is required or told to always pull] *** | |
Monday 30 October 2017 15:38:00 +0100 (0:00:00.085) 0:04:41.900 ******** | |
changed: [k8s-02 -> 127.0.0.1] | |
changed: [k8s-01 -> 127.0.0.1] | |
changed: [k8s-03 -> 127.0.0.1] | |
TASK [download : container_download | Make download decision if pull is required by tag or sha256] *** | |
Monday 30 October 2017 15:38:39 +0100 (0:00:38.996) 0:05:20.897 ******** | |
included: /home/guenthgr/workspaces/kubespray/roles/download/tasks/set_docker_image_facts.yml for k8s-01, k8s-02, k8s-03 | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:38:39 +0100 (0:00:00.146) 0:05:21.043 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:38:39 +0100 (0:00:00.121) 0:05:21.165 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
TASK [download : Register docker images info] ********************************** | |
Monday 30 October 2017 15:38:39 +0100 (0:00:00.134) 0:05:21.299 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:38:40 +0100 (0:00:00.249) 0:05:21.549 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : Check the local digest sha256 corresponds to the given image tag] *** | |
Monday 30 October 2017 15:38:40 +0100 (0:00:00.142) 0:05:21.692 ******** | |
TASK [download : container_download | Download containers if pull is required or told to always pull] *** | |
Monday 30 October 2017 15:38:40 +0100 (0:00:00.077) 0:05:21.769 ******** | |
changed: [k8s-03 -> 127.0.0.1] | |
changed: [k8s-01 -> 127.0.0.1] | |
changed: [k8s-02 -> 127.0.0.1] | |
TASK [download : container_download | Make download decision if pull is required by tag or sha256] *** | |
Monday 30 October 2017 15:38:44 +0100 (0:00:03.673) 0:05:25.443 ******** | |
included: /home/guenthgr/workspaces/kubespray/roles/download/tasks/set_docker_image_facts.yml for k8s-01, k8s-02, k8s-03 | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:38:44 +0100 (0:00:00.148) 0:05:25.591 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:38:44 +0100 (0:00:00.130) 0:05:25.722 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : Register docker images info] ********************************** | |
Monday 30 October 2017 15:38:44 +0100 (0:00:00.129) 0:05:25.852 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:38:44 +0100 (0:00:00.242) 0:05:26.094 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : Check the local digest sha256 corresponds to the given image tag] *** | |
Monday 30 October 2017 15:38:44 +0100 (0:00:00.133) 0:05:26.227 ******** | |
TASK [download : container_download | Download containers if pull is required or told to always pull] *** | |
Monday 30 October 2017 15:38:44 +0100 (0:00:00.087) 0:05:26.314 ******** | |
changed: [k8s-01 -> 127.0.0.1] | |
changed: [k8s-03 -> 127.0.0.1] | |
changed: [k8s-02 -> 127.0.0.1] | |
TASK [download : container_download | Make download decision if pull is required by tag or sha256] *** | |
Monday 30 October 2017 15:38:46 +0100 (0:00:01.877) 0:05:28.191 ******** | |
included: /home/guenthgr/workspaces/kubespray/roles/download/tasks/set_docker_image_facts.yml for k8s-01, k8s-02, k8s-03 | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:38:46 +0100 (0:00:00.159) 0:05:28.351 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:38:47 +0100 (0:00:00.119) 0:05:28.470 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : Register docker images info] ********************************** | |
Monday 30 October 2017 15:38:47 +0100 (0:00:00.132) 0:05:28.603 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:38:47 +0100 (0:00:00.261) 0:05:28.865 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : Check the local digest sha256 corresponds to the given image tag] *** | |
Monday 30 October 2017 15:38:47 +0100 (0:00:00.138) 0:05:29.003 ******** | |
TASK [download : container_download | Download containers if pull is required or told to always pull] *** | |
Monday 30 October 2017 15:38:47 +0100 (0:00:00.077) 0:05:29.081 ******** | |
changed: [k8s-01 -> 127.0.0.1] | |
changed: [k8s-03 -> 127.0.0.1] | |
changed: [k8s-02 -> 127.0.0.1] | |
TASK [download : container_download | Make download decision if pull is required by tag or sha256] *** | |
Monday 30 October 2017 15:38:51 +0100 (0:00:03.429) 0:05:32.510 ******** | |
included: /home/guenthgr/workspaces/kubespray/roles/download/tasks/set_docker_image_facts.yml for k8s-01, k8s-02, k8s-03 | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:38:51 +0100 (0:00:00.146) 0:05:32.656 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:38:51 +0100 (0:00:00.135) 0:05:32.792 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : Register docker images info] ********************************** | |
Monday 30 October 2017 15:38:51 +0100 (0:00:00.131) 0:05:32.923 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:38:51 +0100 (0:00:00.283) 0:05:33.207 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : Check the local digest sha256 corresponds to the given image tag] *** | |
Monday 30 October 2017 15:38:51 +0100 (0:00:00.134) 0:05:33.342 ******** | |
TASK [download : container_download | Download containers if pull is required or told to always pull] *** | |
Monday 30 October 2017 15:38:52 +0100 (0:00:00.095) 0:05:33.438 ******** | |
changed: [k8s-03 -> 127.0.0.1] | |
changed: [k8s-02 -> 127.0.0.1] | |
changed: [k8s-01 -> 127.0.0.1] | |
TASK [download : container_download | Make download decision if pull is required by tag or sha256] *** | |
Monday 30 October 2017 15:38:57 +0100 (0:00:05.573) 0:05:39.011 ******** | |
included: /home/guenthgr/workspaces/kubespray/roles/download/tasks/set_docker_image_facts.yml for k8s-01, k8s-02, k8s-03 | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:38:57 +0100 (0:00:00.152) 0:05:39.163 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:38:57 +0100 (0:00:00.127) 0:05:39.291 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : Register docker images info] ********************************** | |
Monday 30 October 2017 15:38:58 +0100 (0:00:00.132) 0:05:39.423 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:38:58 +0100 (0:00:00.265) 0:05:39.689 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : Check the local digest sha256 corresponds to the given image tag] *** | |
Monday 30 October 2017 15:38:58 +0100 (0:00:00.133) 0:05:39.823 ******** | |
TASK [download : container_download | Download containers if pull is required or told to always pull] *** | |
Monday 30 October 2017 15:38:58 +0100 (0:00:00.081) 0:05:39.904 ******** | |
changed: [k8s-02 -> 127.0.0.1] | |
changed: [k8s-03 -> 127.0.0.1] | |
changed: [k8s-01 -> 127.0.0.1] | |
TASK [download : container_download | Make download decision if pull is required by tag or sha256] *** | |
Monday 30 October 2017 15:39:08 +0100 (0:00:09.873) 0:05:49.778 ******** | |
included: /home/guenthgr/workspaces/kubespray/roles/download/tasks/set_docker_image_facts.yml for k8s-01, k8s-02, k8s-03 | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:39:08 +0100 (0:00:00.146) 0:05:49.924 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:39:08 +0100 (0:00:00.137) 0:05:50.062 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : Register docker images info] ********************************** | |
Monday 30 October 2017 15:39:08 +0100 (0:00:00.126) 0:05:50.188 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:39:09 +0100 (0:00:00.290) 0:05:50.478 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : Check the local digest sha256 corresponds to the given image tag] *** | |
Monday 30 October 2017 15:39:09 +0100 (0:00:00.141) 0:05:50.620 ******** | |
TASK [download : container_download | Download containers if pull is required or told to always pull] *** | |
Monday 30 October 2017 15:39:09 +0100 (0:00:00.085) 0:05:50.705 ******** | |
changed: [k8s-03 -> 127.0.0.1] | |
changed: [k8s-02 -> 127.0.0.1] | |
changed: [k8s-01 -> 127.0.0.1] | |
TASK [download : container_download | Make download decision if pull is required by tag or sha256] *** | |
Monday 30 October 2017 15:39:23 +0100 (0:00:14.675) 0:06:05.381 ******** | |
included: /home/guenthgr/workspaces/kubespray/roles/download/tasks/set_docker_image_facts.yml for k8s-01, k8s-02, k8s-03 | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:39:24 +0100 (0:00:00.158) 0:06:05.540 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:39:24 +0100 (0:00:00.134) 0:06:05.674 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : Register docker images info] ********************************** | |
Monday 30 October 2017 15:39:24 +0100 (0:00:00.128) 0:06:05.802 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:39:24 +0100 (0:00:00.281) 0:06:06.084 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : Check the local digest sha256 corresponds to the given image tag] *** | |
Monday 30 October 2017 15:39:24 +0100 (0:00:00.153) 0:06:06.238 ******** | |
TASK [download : container_download | Download containers if pull is required or told to always pull] *** | |
Monday 30 October 2017 15:39:24 +0100 (0:00:00.079) 0:06:06.317 ******** | |
changed: [k8s-03 -> 127.0.0.1] | |
changed: [k8s-01 -> 127.0.0.1] | |
changed: [k8s-02 -> 127.0.0.1] | |
TASK [download : container_download | Make download decision if pull is required by tag or sha256] *** | |
Monday 30 October 2017 15:39:27 +0100 (0:00:03.059) 0:06:09.376 ******** | |
included: /home/guenthgr/workspaces/kubespray/roles/download/tasks/set_docker_image_facts.yml for k8s-01, k8s-02, k8s-03 | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:39:28 +0100 (0:00:00.163) 0:06:09.540 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:39:28 +0100 (0:00:00.126) 0:06:09.666 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : Register docker images info] ********************************** | |
Monday 30 October 2017 15:39:28 +0100 (0:00:00.173) 0:06:09.840 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:39:28 +0100 (0:00:00.295) 0:06:10.136 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : Check the local digest sha256 corresponds to the given image tag] *** | |
Monday 30 October 2017 15:39:28 +0100 (0:00:00.147) 0:06:10.283 ******** | |
TASK [download : container_download | Download containers if pull is required or told to always pull] *** | |
Monday 30 October 2017 15:39:28 +0100 (0:00:00.097) 0:06:10.380 ******** | |
changed: [k8s-01 -> 127.0.0.1] | |
changed: [k8s-02 -> 127.0.0.1] | |
changed: [k8s-03 -> 127.0.0.1] | |
TASK [download : container_download | Make download decision if pull is required by tag or sha256] *** | |
Monday 30 October 2017 15:39:35 +0100 (0:00:06.155) 0:06:16.536 ******** | |
included: /home/guenthgr/workspaces/kubespray/roles/download/tasks/set_docker_image_facts.yml for k8s-01, k8s-02, k8s-03 | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:39:35 +0100 (0:00:00.146) 0:06:16.683 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:39:35 +0100 (0:00:00.120) 0:06:16.804 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
TASK [download : Register docker images info] ********************************** | |
Monday 30 October 2017 15:39:35 +0100 (0:00:00.232) 0:06:17.036 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:39:36 +0100 (0:00:00.368) 0:06:17.405 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : Check the local digest sha256 corresponds to the given image tag] *** | |
Monday 30 October 2017 15:39:36 +0100 (0:00:00.134) 0:06:17.539 ******** | |
TASK [download : container_download | Download containers if pull is required or told to always pull] *** | |
Monday 30 October 2017 15:39:36 +0100 (0:00:00.082) 0:06:17.622 ******** | |
changed: [k8s-03 -> 127.0.0.1] | |
changed: [k8s-01 -> 127.0.0.1] | |
changed: [k8s-02 -> 127.0.0.1] | |
TASK [download : container_download | Make download decision if pull is required by tag or sha256] *** | |
Monday 30 October 2017 15:39:44 +0100 (0:00:08.159) 0:06:25.782 ******** | |
included: /home/guenthgr/workspaces/kubespray/roles/download/tasks/set_docker_image_facts.yml for k8s-01, k8s-02, k8s-03 | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:39:44 +0100 (0:00:00.146) 0:06:25.928 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:39:44 +0100 (0:00:00.122) 0:06:26.050 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : Register docker images info] ********************************** | |
Monday 30 October 2017 15:39:44 +0100 (0:00:00.137) 0:06:26.187 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:39:45 +0100 (0:00:00.295) 0:06:26.483 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : Check the local digest sha256 corresponds to the given image tag] *** | |
Monday 30 October 2017 15:39:45 +0100 (0:00:00.268) 0:06:26.752 ******** | |
TASK [download : container_download | Download containers if pull is required or told to always pull] *** | |
Monday 30 October 2017 15:39:45 +0100 (0:00:00.078) 0:06:26.830 ******** | |
changed: [k8s-03 -> 127.0.0.1] | |
changed: [k8s-01 -> 127.0.0.1] | |
changed: [k8s-02 -> 127.0.0.1] | |
TASK [download : container_download | Make download decision if pull is required by tag or sha256] *** | |
Monday 30 October 2017 15:40:07 +0100 (0:00:22.176) 0:06:49.007 ******** | |
included: /home/guenthgr/workspaces/kubespray/roles/download/tasks/set_docker_image_facts.yml for k8s-01, k8s-02, k8s-03 | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:40:07 +0100 (0:00:00.164) 0:06:49.171 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:40:08 +0100 (0:00:00.259) 0:06:49.430 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : Register docker images info] ********************************** | |
Monday 30 October 2017 15:40:08 +0100 (0:00:00.242) 0:06:49.673 ******** | |
ok: [k8s-03 -> 127.0.0.1] | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
TASK [download : set_fact] ***************************************************** | |
Monday 30 October 2017 15:40:08 +0100 (0:00:00.344) 0:06:50.018 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
ok: [k8s-03 -> 127.0.0.1] | |
TASK [download : Check the local digest sha256 corresponds to the given image tag] *** | |
Monday 30 October 2017 15:40:08 +0100 (0:00:00.139) 0:06:50.157 ******** | |
TASK [download : container_download | Download containers if pull is required or told to always pull] *** | |
Monday 30 October 2017 15:40:08 +0100 (0:00:00.089) 0:06:50.247 ******** | |
changed: [k8s-01 -> 127.0.0.1] | |
changed: [k8s-02 -> 127.0.0.1] | |
changed: [k8s-03 -> 127.0.0.1] | |
TASK [download : Sync container] *********************************************** | |
Monday 30 October 2017 15:40:15 +0100 (0:00:06.453) 0:06:56.700 ******** | |
[WARNING]: Could not match supplied host pattern, ignoring: vault | |
PLAY [etcd:k8s-cluster:vault] ************************************************** | |
TASK [download : Register docker images info] ********************************** | |
Monday 30 October 2017 15:40:15 +0100 (0:00:00.659) 0:06:57.360 ******** | |
TASK [download : container_download | Create dest directory for saved/loaded container images] *** | |
Monday 30 October 2017 15:40:16 +0100 (0:00:00.059) 0:06:57.419 ******** | |
TASK [download : container_download | create local directory for saved/loaded container images] *** | |
Monday 30 October 2017 15:40:16 +0100 (0:00:00.064) 0:06:57.484 ******** | |
TASK [download : Download items] *********************************************** | |
Monday 30 October 2017 15:40:16 +0100 (0:00:00.036) 0:06:57.521 ******** | |
TASK [download : Sync container] *********************************************** | |
Monday 30 October 2017 15:40:16 +0100 (0:00:00.310) 0:06:57.831 ******** | |
TASK [kubespray-defaults : Configure defaults] ********************************* | |
Monday 30 October 2017 15:40:16 +0100 (0:00:00.303) 0:06:58.134 ******** | |
TASK [adduser : User | Create User Group] ************************************** | |
Monday 30 October 2017 15:40:16 +0100 (0:00:00.055) 0:06:58.189 ******** | |
TASK [adduser : User | Create User] ******************************************** | |
Monday 30 October 2017 15:40:16 +0100 (0:00:00.054) 0:06:58.244 ******** | |
TASK [vault : stop vault-temp container] *************************************** | |
Monday 30 October 2017 15:40:16 +0100 (0:00:00.056) 0:06:58.300 ******** | |
TASK [vault : check_vault | Attempt to pull local https Vault health] ********** | |
Monday 30 October 2017 15:40:16 +0100 (0:00:00.064) 0:06:58.364 ******** | |
TASK [vault : check_vault | Set facts about local Vault health] **************** | |
Monday 30 October 2017 15:40:17 +0100 (0:00:00.057) 0:06:58.421 ******** | |
TASK [vault : check_vault | Set fact about the Vault cluster's initialization state] *** | |
Monday 30 October 2017 15:40:17 +0100 (0:00:00.056) 0:06:58.477 ******** | |
TASK [vault : include] ********************************************************* | |
Monday 30 October 2017 15:40:17 +0100 (0:00:00.032) 0:06:58.510 ******** | |
TASK [vault : bootstrap/sync_secrets | Set fact based on sync_file_results] **** | |
Monday 30 October 2017 15:40:17 +0100 (0:00:00.067) 0:06:58.578 ******** | |
TASK [vault : bootstrap/sync_secrets | Reset sync_file_results to avoid variable bleed] *** | |
Monday 30 October 2017 15:40:17 +0100 (0:00:00.054) 0:06:58.632 ******** | |
TASK [vault : bootstrap/sync_secrets | Print out warning message if secrets are not available and vault is initialized] *** | |
Monday 30 October 2017 15:40:17 +0100 (0:00:00.057) 0:06:58.690 ******** | |
TASK [vault : bootstrap/sync_secrets | Cat root_token from a vault host] ******* | |
Monday 30 October 2017 15:40:17 +0100 (0:00:00.031) 0:06:58.721 ******** | |
TASK [vault : bootstrap/sync_secrets | Cat unseal_keys from a vault host] ****** | |
Monday 30 October 2017 15:40:17 +0100 (0:00:00.062) 0:06:58.783 ******** | |
TASK [vault : bootstrap/sync_secrets | Set needed facts for Vault API interaction when Vault is already running] *** | |
Monday 30 October 2017 15:40:17 +0100 (0:00:00.061) 0:06:58.845 ******** | |
TASK [vault : bootstrap/sync_secrets | Update vault_headers if we have the root_token] *** | |
Monday 30 October 2017 15:40:17 +0100 (0:00:00.056) 0:06:58.901 ******** | |
TASK [vault : find_leader | Find the current http Vault leader] **************** | |
Monday 30 October 2017 15:40:17 +0100 (0:00:00.055) 0:06:58.957 ******** | |
TASK [vault : find_leader | Set fact for current http leader] ****************** | |
Monday 30 October 2017 15:40:17 +0100 (0:00:00.054) 0:06:59.012 ******** | |
TASK [vault : find_leader| show vault_leader_url] ****************************** | |
Monday 30 October 2017 15:40:17 +0100 (0:00:00.056) 0:06:59.068 ******** | |
TASK [vault : sync_file | Set facts for directory and file when sync_file_path is defined] *** | |
Monday 30 October 2017 15:40:17 +0100 (0:00:00.054) 0:06:59.123 ******** | |
TASK [vault : sync_file | Set fact for sync_file_path when undefined] ********** | |
Monday 30 October 2017 15:40:17 +0100 (0:00:00.062) 0:06:59.186 ******** | |
TASK [vault : sync_file | Set fact for key path name] ************************** | |
Monday 30 October 2017 15:40:17 +0100 (0:00:00.057) 0:06:59.244 ******** | |
TASK [vault : sync_file | Check if {{sync_file_path}} file exists] ************* | |
Monday 30 October 2017 15:40:17 +0100 (0:00:00.062) 0:06:59.306 ******** | |
TASK [vault : sync_file | Check if {{ sync_file_key_path }} key file exists] *** | |
Monday 30 October 2017 15:40:17 +0100 (0:00:00.059) 0:06:59.366 ******** | |
TASK [vault : sync_file | Combine all possible file sync sources] ************** | |
Monday 30 October 2017 15:40:18 +0100 (0:00:00.060) 0:06:59.426 ******** | |
TASK [vault : sync_file | Combine all possible key file sync sources] ********** | |
Monday 30 October 2017 15:40:18 +0100 (0:00:00.062) 0:06:59.489 ******** | |
TASK [vault : sync_file | Remove sync sources with files that do not match sync_file_srcs|first] *** | |
Monday 30 October 2017 15:40:18 +0100 (0:00:00.070) 0:06:59.559 ******** | |
TASK [vault : sync_file | Remove sync sources with keys that do not match sync_file_srcs|first] *** | |
Monday 30 October 2017 15:40:18 +0100 (0:00:00.061) 0:06:59.620 ******** | |
TASK [vault : sync_file | Consolidate file and key sources] ******************** | |
Monday 30 October 2017 15:40:18 +0100 (0:00:00.058) 0:06:59.678 ******** | |
TASK [vault : sync_file | Set facts for situations where sync is not needed] *** | |
Monday 30 October 2017 15:40:18 +0100 (0:00:00.060) 0:06:59.739 ******** | |
TASK [vault : sync_file | Set sync_file_result fact] *************************** | |
Monday 30 October 2017 15:40:18 +0100 (0:00:00.056) 0:06:59.796 ******** | |
TASK [vault : sync_file | Update sync_file_results fact] *********************** | |
Monday 30 October 2017 15:40:18 +0100 (0:00:00.052) 0:06:59.849 ******** | |
TASK [vault : sync_file | Cat the file] **************************************** | |
Monday 30 October 2017 15:40:18 +0100 (0:00:00.051) 0:06:59.901 ******** | |
TASK [vault : sync_file | Cat the key file] ************************************ | |
Monday 30 October 2017 15:40:18 +0100 (0:00:00.054) 0:06:59.956 ******** | |
TASK [vault : sync_file | Set facts for file contents] ************************* | |
Monday 30 October 2017 15:40:18 +0100 (0:00:00.060) 0:07:00.016 ******** | |
TASK [vault : sync_file | Set fact for key contents] *************************** | |
Monday 30 October 2017 15:40:18 +0100 (0:00:00.056) 0:07:00.073 ******** | |
TASK [vault : sync_file | Ensure the directory exists] ************************* | |
Monday 30 October 2017 15:40:18 +0100 (0:00:00.058) 0:07:00.131 ******** | |
TASK [vault : sync_file | Copy {{ sync_file_path }} to hosts that don't have it] *** | |
Monday 30 October 2017 15:40:18 +0100 (0:00:00.061) 0:07:00.193 ******** | |
TASK [vault : sync_file | Copy {{ sync_file_key_path }} to hosts that don't have it] *** | |
Monday 30 October 2017 15:40:18 +0100 (0:00:00.066) 0:07:00.260 ******** | |
TASK [vault : Unset local vars to avoid variable bleed into next iteration] **** | |
Monday 30 October 2017 15:40:18 +0100 (0:00:00.061) 0:07:00.321 ******** | |
TASK [vault : bootstrap/sync_vault_certs | Set facts for vault sync_file results] *** | |
Monday 30 October 2017 15:40:18 +0100 (0:00:00.057) 0:07:00.379 ******** | |
TASK [vault : bootstrap/sync_vault_certs | Unset sync_file_results after ca.pem sync] *** | |
Monday 30 October 2017 15:40:19 +0100 (0:00:00.058) 0:07:00.437 ******** | |
TASK [vault : sync_file | Set facts for directory and file when sync_file_path is defined] *** | |
Monday 30 October 2017 15:40:19 +0100 (0:00:00.062) 0:07:00.499 ******** | |
TASK [vault : sync_file | Set fact for sync_file_path when undefined] ********** | |
Monday 30 October 2017 15:40:19 +0100 (0:00:00.063) 0:07:00.562 ******** | |
TASK [vault : sync_file | Set fact for key path name] ************************** | |
Monday 30 October 2017 15:40:19 +0100 (0:00:00.060) 0:07:00.622 ******** | |
TASK [vault : sync_file | Check if {{sync_file_path}} file exists] ************* | |
Monday 30 October 2017 15:40:19 +0100 (0:00:00.061) 0:07:00.684 ******** | |
TASK [vault : sync_file | Check if {{ sync_file_key_path }} key file exists] *** | |
Monday 30 October 2017 15:40:19 +0100 (0:00:00.059) 0:07:00.744 ******** | |
TASK [vault : sync_file | Combine all possible file sync sources] ************** | |
Monday 30 October 2017 15:40:19 +0100 (0:00:00.055) 0:07:00.799 ******** | |
TASK [vault : sync_file | Combine all possible key file sync sources] ********** | |
Monday 30 October 2017 15:40:19 +0100 (0:00:00.061) 0:07:00.860 ******** | |
TASK [vault : sync_file | Remove sync sources with files that do not match sync_file_srcs|first] *** | |
Monday 30 October 2017 15:40:19 +0100 (0:00:00.055) 0:07:00.916 ******** | |
TASK [vault : sync_file | Remove sync sources with keys that do not match sync_file_srcs|first] *** | |
Monday 30 October 2017 15:40:19 +0100 (0:00:00.052) 0:07:00.968 ******** | |
TASK [vault : sync_file | Consolidate file and key sources] ******************** | |
Monday 30 October 2017 15:40:19 +0100 (0:00:00.051) 0:07:01.020 ******** | |
TASK [vault : sync_file | Set facts for situations where sync is not needed] *** | |
Monday 30 October 2017 15:40:19 +0100 (0:00:00.051) 0:07:01.072 ******** | |
TASK [vault : sync_file | Set sync_file_result fact] *************************** | |
Monday 30 October 2017 15:40:19 +0100 (0:00:00.053) 0:07:01.125 ******** | |
TASK [vault : sync_file | Update sync_file_results fact] *********************** | |
Monday 30 October 2017 15:40:19 +0100 (0:00:00.052) 0:07:01.177 ******** | |
TASK [vault : sync_file | Cat the file] **************************************** | |
Monday 30 October 2017 15:40:19 +0100 (0:00:00.054) 0:07:01.232 ******** | |
TASK [vault : sync_file | Cat the key file] ************************************ | |
Monday 30 October 2017 15:40:19 +0100 (0:00:00.061) 0:07:01.294 ******** | |
TASK [vault : sync_file | Set facts for file contents] ************************* | |
Monday 30 October 2017 15:40:19 +0100 (0:00:00.057) 0:07:01.351 ******** | |
TASK [vault : sync_file | Set fact for key contents] *************************** | |
Monday 30 October 2017 15:40:20 +0100 (0:00:00.058) 0:07:01.410 ******** | |
TASK [vault : sync_file | Ensure the directory exists] ************************* | |
Monday 30 October 2017 15:40:20 +0100 (0:00:00.063) 0:07:01.473 ******** | |
TASK [vault : sync_file | Copy {{ sync_file_path }} to hosts that don't have it] *** | |
Monday 30 October 2017 15:40:20 +0100 (0:00:00.063) 0:07:01.536 ******** | |
TASK [vault : sync_file | Copy {{ sync_file_key_path }} to hosts that don't have it] *** | |
Monday 30 October 2017 15:40:20 +0100 (0:00:00.064) 0:07:01.601 ******** | |
TASK [vault : Unset local vars to avoid variable bleed into next iteration] **** | |
Monday 30 October 2017 15:40:20 +0100 (0:00:00.064) 0:07:01.665 ******** | |
TASK [vault : bootstrap/sync_vault_certs | Set fact if Vault's API cert is needed] *** | |
Monday 30 October 2017 15:40:20 +0100 (0:00:00.060) 0:07:01.725 ******** | |
TASK [vault : bootstrap/sync_vault_certs | Unset sync_file_results after api.pem sync] *** | |
Monday 30 October 2017 15:40:20 +0100 (0:00:00.059) 0:07:01.785 ******** | |
TASK [vault : sync_file | Set facts for directory and file when sync_file_path is defined] *** | |
Monday 30 October 2017 15:40:20 +0100 (0:00:00.058) 0:07:01.843 ******** | |
TASK [vault : sync_file | Set fact for sync_file_path when undefined] ********** | |
Monday 30 October 2017 15:40:20 +0100 (0:00:00.057) 0:07:01.901 ******** | |
TASK [vault : sync_file | Set fact for key path name] ************************** | |
Monday 30 October 2017 15:40:20 +0100 (0:00:00.058) 0:07:01.960 ******** | |
TASK [vault : sync_file | Check if {{sync_file_path}} file exists] ************* | |
Monday 30 October 2017 15:40:20 +0100 (0:00:00.060) 0:07:02.020 ******** | |
TASK [vault : sync_file | Check if {{ sync_file_key_path }} key file exists] *** | |
Monday 30 October 2017 15:40:20 +0100 (0:00:00.060) 0:07:02.081 ******** | |
TASK [vault : sync_file | Combine all possible file sync sources] ************** | |
Monday 30 October 2017 15:40:20 +0100 (0:00:00.061) 0:07:02.143 ******** | |
TASK [vault : sync_file | Combine all possible key file sync sources] ********** | |
Monday 30 October 2017 15:40:20 +0100 (0:00:00.100) 0:07:02.243 ******** | |
TASK [vault : sync_file | Remove sync sources with files that do not match sync_file_srcs|first] *** | |
Monday 30 October 2017 15:40:20 +0100 (0:00:00.103) 0:07:02.346 ******** | |
TASK [vault : sync_file | Remove sync sources with keys that do not match sync_file_srcs|first] *** | |
Monday 30 October 2017 15:40:21 +0100 (0:00:00.053) 0:07:02.400 ******** | |
TASK [vault : sync_file | Consolidate file and key sources] ******************** | |
Monday 30 October 2017 15:40:21 +0100 (0:00:00.055) 0:07:02.455 ******** | |
TASK [vault : sync_file | Set facts for situations where sync is not needed] *** | |
Monday 30 October 2017 15:40:21 +0100 (0:00:00.052) 0:07:02.508 ******** | |
TASK [vault : sync_file | Set sync_file_result fact] *************************** | |
Monday 30 October 2017 15:40:21 +0100 (0:00:00.055) 0:07:02.564 ******** | |
TASK [vault : sync_file | Update sync_file_results fact] *********************** | |
Monday 30 October 2017 15:40:21 +0100 (0:00:00.052) 0:07:02.617 ******** | |
TASK [vault : sync_file | Cat the file] **************************************** | |
Monday 30 October 2017 15:40:21 +0100 (0:00:00.055) 0:07:02.673 ******** | |
TASK [vault : sync_file | Cat the key file] ************************************ | |
Monday 30 October 2017 15:40:21 +0100 (0:00:00.074) 0:07:02.747 ******** | |
TASK [vault : sync_file | Set facts for file contents] ************************* | |
Monday 30 October 2017 15:40:21 +0100 (0:00:00.062) 0:07:02.810 ******** | |
TASK [vault : sync_file | Set fact for key contents] *************************** | |
Monday 30 October 2017 15:40:21 +0100 (0:00:00.060) 0:07:02.871 ******** | |
TASK [vault : sync_file | Ensure the directory exists] ************************* | |
Monday 30 October 2017 15:40:21 +0100 (0:00:00.057) 0:07:02.928 ******** | |
TASK [vault : sync_file | Copy {{ sync_file_path }} to hosts that don't have it] *** | |
Monday 30 October 2017 15:40:21 +0100 (0:00:00.061) 0:07:02.990 ******** | |
TASK [vault : sync_file | Copy {{ sync_file_key_path }} to hosts that don't have it] *** | |
Monday 30 October 2017 15:40:21 +0100 (0:00:00.056) 0:07:03.047 ******** | |
TASK [vault : Unset local vars to avoid variable bleed into next iteration] **** | |
Monday 30 October 2017 15:40:21 +0100 (0:00:00.056) 0:07:03.103 ******** | |
TASK [vault : bootstrap/sync_etcd_certs | Set facts for etcd sync_file results] *** | |
Monday 30 October 2017 15:40:21 +0100 (0:00:00.053) 0:07:03.156 ******** | |
TASK [vault : bootstrap/sync_etcd_certs | Unset sync_file_results after ca.pem sync] *** | |
Monday 30 October 2017 15:40:21 +0100 (0:00:00.057) 0:07:03.213 ******** | |
TASK [vault : bootstrap/start_vault_temp | Ensure vault-temp isn't already running] *** | |
Monday 30 October 2017 15:40:21 +0100 (0:00:00.054) 0:07:03.268 ******** | |
TASK [vault : bootstrap/start_vault_temp | Start single node Vault with file backend] *** | |
Monday 30 October 2017 15:40:21 +0100 (0:00:00.056) 0:07:03.325 ******** | |
TASK [vault : bootstrap/start_vault_temp | Start again single node Vault with file backend] *** | |
Monday 30 October 2017 15:40:21 +0100 (0:00:00.049) 0:07:03.374 ******** | |
TASK [vault : bootstrap/start_vault_temp | Initialize vault-temp] ************** | |
Monday 30 October 2017 15:40:22 +0100 (0:00:00.054) 0:07:03.429 ******** | |
TASK [vault : bootstrap/start_vault_temp | Set needed vault facts] ************* | |
Monday 30 October 2017 15:40:22 +0100 (0:00:00.050) 0:07:03.480 ******** | |
TASK [vault : bootstrap/start_vault_temp | Unseal vault-temp] ****************** | |
Monday 30 October 2017 15:40:22 +0100 (0:00:00.051) 0:07:03.531 ******** | |
TASK [vault : vault | Set fact about vault leader url] ************************* | |
Monday 30 October 2017 15:40:22 +0100 (0:00:00.048) 0:07:03.580 ******** | |
TASK [vault : include] ********************************************************* | |
Monday 30 October 2017 15:40:22 +0100 (0:00:00.049) 0:07:03.630 ******** | |
TASK [vault : shared/auth_backend | Test if the auth backend exists] *********** | |
Monday 30 October 2017 15:40:22 +0100 (0:00:00.066) 0:07:03.696 ******** | |
TASK [vault : shared/auth_backend | Add the cert auth backend if needed] ******* | |
Monday 30 October 2017 15:40:22 +0100 (0:00:00.053) 0:07:03.749 ******** | |
TASK [vault : include] ********************************************************* | |
Monday 30 October 2017 15:40:22 +0100 (0:00:00.055) 0:07:03.804 ******** | |
TASK [vault : bootstrap/gen_ca | Ensure cert_dir /etc/vault/ssl exists] ******** | |
Monday 30 October 2017 15:40:22 +0100 (0:00:00.088) 0:07:03.893 ******** | |
TASK [vault : bootstrap/gen_ca | Generate vault root CA] *********************** | |
Monday 30 October 2017 15:40:22 +0100 (0:00:00.067) 0:07:03.960 ******** | |
TASK [vault : bootstrap/gen_ca | Copy vault root CA cert locally] ************** | |
Monday 30 October 2017 15:40:22 +0100 (0:00:00.047) 0:07:04.008 ******** | |
TASK [vault : bootstrap/gen_ca | Copy vault root CA key locally] *************** | |
Monday 30 October 2017 15:40:22 +0100 (0:00:00.066) 0:07:04.075 ******** | |
TASK [vault : bootstrap/gen_ca | Ensure cert_dir /etc/ssl/etcd/ssl exists] ***** | |
Monday 30 October 2017 15:40:22 +0100 (0:00:00.067) 0:07:04.143 ******** | |
TASK [vault : bootstrap/gen_ca | Generate etcd root CA] ************************ | |
Monday 30 October 2017 15:40:22 +0100 (0:00:00.073) 0:07:04.216 ******** | |
TASK [vault : bootstrap/gen_ca | Copy etcd root CA cert locally] *************** | |
Monday 30 October 2017 15:40:22 +0100 (0:00:00.040) 0:07:04.256 ******** | |
TASK [vault : bootstrap/gen_ca | Copy etcd root CA key locally] **************** | |
Monday 30 October 2017 15:40:22 +0100 (0:00:00.068) 0:07:04.325 ******** | |
TASK [vault : issue_cert | Ensure target directory exists] ********************* | |
Monday 30 October 2017 15:40:22 +0100 (0:00:00.057) 0:07:04.383 ******** | |
TASK [vault : issue_cert | Read in the local credentials] ********************** | |
Monday 30 October 2017 15:40:23 +0100 (0:00:00.062) 0:07:04.445 ******** | |
TASK [vault : gen_certs_vault | Set facts for read Vault Creds] **************** | |
Monday 30 October 2017 15:40:23 +0100 (0:00:00.041) 0:07:04.486 ******** | |
TASK [vault : gen_certs_vault | Log into Vault and obtain an token] ************ | |
Monday 30 October 2017 15:40:23 +0100 (0:00:00.036) 0:07:04.523 ******** | |
TASK [vault : gen_certs_vault | Set fact for vault_client_token] *************** | |
Monday 30 October 2017 15:40:23 +0100 (0:00:00.032) 0:07:04.556 ******** | |
TASK [vault : gen_certs_vault | Set fact for Vault API token] ****************** | |
Monday 30 October 2017 15:40:23 +0100 (0:00:00.033) 0:07:04.589 ******** | |
TASK [vault : issue_cert | Generate /etc/vault/ssl/api.pem for vault role] ***** | |
Monday 30 October 2017 15:40:23 +0100 (0:00:00.045) 0:07:04.635 ******** | |
TASK [vault : issue_cert | Copy /etc/vault/ssl/api.pem cert to all hosts] ****** | |
Monday 30 October 2017 15:40:23 +0100 (0:00:00.036) 0:07:04.672 ******** | |
TASK [vault : issue_cert | Copy key for /etc/vault/ssl/api.pem to all hosts] *** | |
Monday 30 October 2017 15:40:23 +0100 (0:00:00.061) 0:07:04.733 ******** | |
TASK [vault : issue_cert | Copy issuing CA cert] ******************************* | |
Monday 30 October 2017 15:40:23 +0100 (0:00:00.058) 0:07:04.792 ******** | |
TASK [vault : issue_cert | Copy certificate serial to all hosts] *************** | |
Monday 30 October 2017 15:40:23 +0100 (0:00:00.059) 0:07:04.851 ******** | |
TASK [vault : bootstrap/ca_trust | pull CA from cert from {{groups.vault|first}}] *** | |
Monday 30 October 2017 15:40:23 +0100 (0:00:00.063) 0:07:04.915 ******** | |
TASK [vault : bootstrap/ca_trust | target ca-certificate store file] *********** | |
Monday 30 October 2017 15:40:23 +0100 (0:00:00.069) 0:07:04.985 ******** | |
TASK [vault : bootstrap/ca_trust | add CA to trusted CA dir] ******************* | |
Monday 30 October 2017 15:40:23 +0100 (0:00:00.060) 0:07:05.045 ******** | |
TASK [vault : bootstrap/ca_trust | update ca-certificates (Debian/Ubuntu/CoreOS)] *** | |
Monday 30 October 2017 15:40:23 +0100 (0:00:00.056) 0:07:05.101 ******** | |
TASK [vault : bootstrap/ca_trust | update ca-certificates (RedHat)] ************ | |
Monday 30 October 2017 15:40:23 +0100 (0:00:00.058) 0:07:05.159 ******** | |
TASK [vault : stop vault-temp container] *************************************** | |
Monday 30 October 2017 15:40:23 +0100 (0:00:00.056) 0:07:05.216 ******** | |
TASK [vault : check_vault | Attempt to pull local https Vault health] ********** | |
Monday 30 October 2017 15:40:23 +0100 (0:00:00.057) 0:07:05.273 ******** | |
TASK [vault : check_vault | Set facts about local Vault health] **************** | |
Monday 30 October 2017 15:40:23 +0100 (0:00:00.058) 0:07:05.332 ******** | |
TASK [vault : check_vault | Set fact about the Vault cluster's initialization state] *** | |
Monday 30 October 2017 15:40:23 +0100 (0:00:00.065) 0:07:05.397 ******** | |
TASK [vault : check_etcd | Check if etcd is up and reachable] ****************** | |
Monday 30 October 2017 15:40:24 +0100 (0:00:00.035) 0:07:05.432 ******** | |
TASK [vault : check_etcd | Set fact based off the etcd_health_check response] *** | |
Monday 30 October 2017 15:40:24 +0100 (0:00:00.031) 0:07:05.464 ******** | |
TASK [vault : set_fact] ******************************************************** | |
Monday 30 October 2017 15:40:24 +0100 (0:00:00.060) 0:07:05.524 ******** | |
TASK [vault : check_etcd | Fail if etcd is not available and needed] *********** | |
Monday 30 October 2017 15:40:24 +0100 (0:00:00.060) 0:07:05.584 ******** | |
TASK [vault : cluster/configure | Ensure the vault/config directory exists] **** | |
Monday 30 October 2017 15:40:24 +0100 (0:00:00.057) 0:07:05.641 ******** | |
TASK [vault : cluster/configure | Lay down the configuration file] ************* | |
Monday 30 October 2017 15:40:24 +0100 (0:00:00.057) 0:07:05.699 ******** | |
TASK [vault : cluster/binary | Copy vault binary from downloaddir] ************* | |
Monday 30 October 2017 15:40:24 +0100 (0:00:00.055) 0:07:05.754 ******** | |
TASK [vault : cluster/systemd | Ensure mount points exist prior to vault.service startup] *** | |
Monday 30 October 2017 15:40:24 +0100 (0:00:00.055) 0:07:05.809 ******** | |
TASK [vault : cluster/systemd | Ensure the vault user has access to needed directories] *** | |
Monday 30 October 2017 15:40:24 +0100 (0:00:00.089) 0:07:05.899 ******** | |
TASK [vault : cluster/systemd | Copy down vault.service systemd file] ********** | |
Monday 30 October 2017 15:40:24 +0100 (0:00:00.082) 0:07:05.982 ******** | |
TASK [vault : cluster/systemd | Enable vault.service] ************************** | |
Monday 30 October 2017 15:40:24 +0100 (0:00:00.059) 0:07:06.041 ******** | |
TASK [vault : cluster/systemd | Query local vault until service is up] ********* | |
Monday 30 October 2017 15:40:24 +0100 (0:00:00.054) 0:07:06.096 ******** | |
TASK [vault : cluster/init | Initialize Vault] ********************************* | |
Monday 30 October 2017 15:40:24 +0100 (0:00:00.054) 0:07:06.150 ******** | |
TASK [vault : cluster/init | Set facts on the results of the initialization] *** | |
Monday 30 October 2017 15:40:24 +0100 (0:00:00.055) 0:07:06.206 ******** | |
TASK [vault : cluster/init | Ensure all hosts have these facts] **************** | |
Monday 30 October 2017 15:40:24 +0100 (0:00:00.055) 0:07:06.261 ******** | |
TASK [vault : cluster/init | Ensure the vault_secrets_dir exists] ************** | |
Monday 30 October 2017 15:40:24 +0100 (0:00:00.055) 0:07:06.316 ******** | |
TASK [vault : cluster/init | Ensure all in groups.vault have the unseal_keys locally] *** | |
Monday 30 October 2017 15:40:24 +0100 (0:00:00.056) 0:07:06.372 ******** | |
TASK [vault : cluster/init | Ensure all in groups.vault have the root_token locally] *** | |
Monday 30 October 2017 15:40:25 +0100 (0:00:00.057) 0:07:06.430 ******** | |
TASK [vault : cluster/init | Ensure vault_headers and vault statuses are updated] *** | |
Monday 30 October 2017 15:40:25 +0100 (0:00:00.057) 0:07:06.488 ******** | |
TASK [vault : cluster/unseal | Current sealed state] *************************** | |
Monday 30 October 2017 15:40:25 +0100 (0:00:00.057) 0:07:06.545 ******** | |
TASK [vault : cluster/unseal | Unseal Vault] *********************************** | |
Monday 30 October 2017 15:40:25 +0100 (0:00:00.058) 0:07:06.603 ******** | |
TASK [vault : cluster/unseal | Wait until server is ready] ********************* | |
Monday 30 October 2017 15:40:25 +0100 (0:00:00.053) 0:07:06.657 ******** | |
TASK [vault : find_leader | Find the current http Vault leader] **************** | |
Monday 30 October 2017 15:40:25 +0100 (0:00:00.054) 0:07:06.711 ******** | |
TASK [vault : find_leader | Set fact for current http leader] ****************** | |
Monday 30 October 2017 15:40:25 +0100 (0:00:00.048) 0:07:06.760 ******** | |
TASK [vault : find_leader| show vault_leader_url] ****************************** | |
Monday 30 October 2017 15:40:25 +0100 (0:00:00.053) 0:07:06.813 ******** | |
TASK [vault : include] ********************************************************* | |
Monday 30 October 2017 15:40:25 +0100 (0:00:00.055) 0:07:06.869 ******** | |
TASK [vault : bootstrap/gen_ca | Ensure cert_dir /etc/kubernetes/ssl exists] *** | |
Monday 30 October 2017 15:40:25 +0100 (0:00:00.102) 0:07:06.971 ******** | |
TASK [vault : bootstrap/gen_ca | Generate kube root CA] ************************ | |
Monday 30 October 2017 15:40:25 +0100 (0:00:00.074) 0:07:07.045 ******** | |
TASK [vault : bootstrap/gen_ca | Copy kube root CA cert locally] *************** | |
Monday 30 October 2017 15:40:25 +0100 (0:00:00.039) 0:07:07.084 ******** | |
TASK [vault : bootstrap/gen_ca | Copy kube root CA key locally] **************** | |
Monday 30 October 2017 15:40:25 +0100 (0:00:00.066) 0:07:07.151 ******** | |
TASK [vault : shared/auth_backend | Test if the auth backend exists] *********** | |
Monday 30 October 2017 15:40:25 +0100 (0:00:00.054) 0:07:07.206 ******** | |
TASK [vault : shared/auth_backend | Add the cert auth backend if needed] ******* | |
Monday 30 October 2017 15:40:25 +0100 (0:00:00.053) 0:07:07.260 ******** | |
TASK [vault : include] ********************************************************* | |
Monday 30 October 2017 15:40:25 +0100 (0:00:00.052) 0:07:07.313 ******** | |
PLAY [etcd] ******************************************************************** | |
TASK [download : Register docker images info] ********************************** | |
Monday 30 October 2017 15:40:26 +0100 (0:00:00.110) 0:07:07.423 ******** | |
TASK [download : container_download | Create dest directory for saved/loaded container images] *** | |
Monday 30 October 2017 15:40:26 +0100 (0:00:00.055) 0:07:07.479 ******** | |
TASK [download : container_download | create local directory for saved/loaded container images] *** | |
Monday 30 October 2017 15:40:26 +0100 (0:00:00.057) 0:07:07.536 ******** | |
TASK [download : Download items] *********************************************** | |
Monday 30 October 2017 15:40:26 +0100 (0:00:00.029) 0:07:07.566 ******** | |
TASK [download : Sync container] *********************************************** | |
Monday 30 October 2017 15:40:26 +0100 (0:00:00.308) 0:07:07.874 ******** | |
TASK [kubespray-defaults : Configure defaults] ********************************* | |
Monday 30 October 2017 15:40:26 +0100 (0:00:00.295) 0:07:08.170 ******** | |
ok: [k8s-01] => { | |
"msg": "Check roles/kubespray-defaults/defaults/main.yml" | |
} | |
ok: [k8s-03] => { | |
"msg": "Check roles/kubespray-defaults/defaults/main.yml" | |
} | |
ok: [k8s-02] => { | |
"msg": "Check roles/kubespray-defaults/defaults/main.yml" | |
} | |
TASK [adduser : User | Create User Group] ************************************** | |
Monday 30 October 2017 15:40:26 +0100 (0:00:00.096) 0:07:08.267 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
changed: [k8s-03] | |
TASK [adduser : User | Create User] ******************************************** | |
Monday 30 October 2017 15:40:27 +0100 (0:00:00.496) 0:07:08.764 ******** | |
changed: [k8s-02] | |
changed: [k8s-01] | |
changed: [k8s-03] | |
TASK [etcd : Check_certs | check if all certs have already been generated on first master] *** | |
Monday 30 October 2017 15:40:27 +0100 (0:00:00.338) 0:07:09.102 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
TASK [etcd : Check_certs | Set default value for 'sync_certs', 'gen_certs' and 'etcd_secret_changed' to false] *** | |
Monday 30 October 2017 15:40:28 +0100 (0:00:00.418) 0:07:09.521 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [etcd : Check certs | check if a cert already exists on node] ************* | |
Monday 30 October 2017 15:40:28 +0100 (0:00:00.105) 0:07:09.626 ******** | |
ok: [k8s-01] => (item=ca.pem) | |
ok: [k8s-02] => (item=ca.pem) | |
ok: [k8s-03] => (item=ca.pem) | |
ok: [k8s-01] => (item=node-k8s-01-key.pem) | |
ok: [k8s-02] => (item=node-k8s-02-key.pem) | |
ok: [k8s-03] => (item=node-k8s-03-key.pem) | |
TASK [etcd : Check_certs | Set 'gen_certs' to true] **************************** | |
Monday 30 October 2017 15:40:28 +0100 (0:00:00.574) 0:07:10.201 ******** | |
ok: [k8s-01] => (item=/etc/ssl/etcd/ssl/ca.pem) | |
ok: [k8s-01] => (item=/etc/ssl/etcd/ssl/node-k8s-01-key.pem) | |
ok: [k8s-01] => (item=/etc/ssl/etcd/ssl/node-k8s-02-key.pem) | |
ok: [k8s-01] => (item=/etc/ssl/etcd/ssl/node-k8s-03-key.pem) | |
TASK [etcd : Check_certs | Set 'gen_node_certs' to true] *********************** | |
Monday 30 October 2017 15:40:29 +0100 (0:00:00.318) 0:07:10.519 ******** | |
ok: [k8s-01] | |
TASK [etcd : Check_certs | Set 'sync_certs' to true] *************************** | |
Monday 30 October 2017 15:40:29 +0100 (0:00:00.083) 0:07:10.603 ******** | |
[WARNING]: when statements should not include jinja2 templating delimiters | |
such as {{ }} or {% %}. Found: {%- set certs = {'sync': False} -%} {% if | |
gen_node_certs[inventory_hostname] or (not | |
etcdcert_node.results[0].stat.exists|default(False)) or (not | |
etcdcert_node.results[1].stat.exists|default(False)) or | |
(etcdcert_node.results[1].stat.checksum|default('') != | |
etcdcert_master.files|selectattr("path", "equalto", etcdcert_node.results[1].st | |
at.path)|map(attribute="checksum")|first|default('')) -%} {%- set _ = | |
certs.update({'sync': True}) -%} {% endif %} {{ certs.sync }} | |
[WARNING]: when statements should not include jinja2 templating delimiters | |
such as {{ }} or {% %}. Found: {%- set certs = {'sync': False} -%} {% if | |
gen_node_certs[inventory_hostname] or (not | |
etcdcert_node.results[0].stat.exists|default(False)) or (not | |
etcdcert_node.results[1].stat.exists|default(False)) or | |
(etcdcert_node.results[1].stat.checksum|default('') != | |
etcdcert_master.files|selectattr("path", "equalto", etcdcert_node.results[1].st | |
at.path)|map(attribute="checksum")|first|default('')) -%} {%- set _ = | |
certs.update({'sync': True}) -%} {% endif %} {{ certs.sync }} | |
[WARNING]: when statements should not include jinja2 templating delimiters | |
such as {{ }} or {% %}. Found: {%- set certs = {'sync': False} -%} {% if | |
gen_node_certs[inventory_hostname] or (not | |
etcdcert_node.results[0].stat.exists|default(False)) or (not | |
etcdcert_node.results[1].stat.exists|default(False)) or | |
(etcdcert_node.results[1].stat.checksum|default('') != | |
etcdcert_master.files|selectattr("path", "equalto", etcdcert_node.results[1].st | |
at.path)|map(attribute="checksum")|first|default('')) -%} {%- set _ = | |
certs.update({'sync': True}) -%} {% endif %} {{ certs.sync }} | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [etcd : include] ********************************************************** | |
Monday 30 October 2017 15:40:29 +0100 (0:00:00.108) 0:07:10.712 ******** | |
included: /home/guenthgr/workspaces/kubespray/roles/etcd/tasks/gen_certs_script.yml for k8s-01, k8s-02, k8s-03 | |
TASK [etcd : Gen_certs | create etcd cert dir] ********************************* | |
Monday 30 October 2017 15:40:29 +0100 (0:00:00.128) 0:07:10.840 ******** | |
changed: [k8s-01] | |
changed: [k8s-03] | |
changed: [k8s-02] | |
TASK [etcd : Gen_certs | create etcd script dir (on k8s-01)] ******************* | |
Monday 30 October 2017 15:40:29 +0100 (0:00:00.271) 0:07:11.112 ******** | |
changed: [k8s-01 -> 127.0.0.1] | |
TASK [etcd : Gen_certs | create etcd cert dir (on k8s-01)] ********************* | |
Monday 30 October 2017 15:40:29 +0100 (0:00:00.271) 0:07:11.383 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
TASK [etcd : Gen_certs | write openssl config] ********************************* | |
Monday 30 October 2017 15:40:30 +0100 (0:00:00.267) 0:07:11.651 ******** | |
changed: [k8s-01 -> 127.0.0.1] | |
TASK [etcd : Gen_certs | copy certs generation script] ************************* | |
Monday 30 October 2017 15:40:31 +0100 (0:00:00.931) 0:07:12.583 ******** | |
changed: [k8s-01 -> 127.0.0.1] | |
TASK [etcd : Gen_certs | run cert generation script] *************************** | |
Monday 30 October 2017 15:40:31 +0100 (0:00:00.644) 0:07:13.227 ******** | |
changed: [k8s-01 -> 127.0.0.1] | |
TASK [etcd : set_fact] ********************************************************* | |
Monday 30 October 2017 15:40:33 +0100 (0:00:01.432) 0:07:14.659 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [etcd : Gen_certs | Gather etcd master certs] ***************************** | |
Monday 30 October 2017 15:40:33 +0100 (0:00:00.116) 0:07:14.776 ******** | |
[WARNING]: Consider using unarchive module rather than running tar | |
changed: [k8s-02 -> 127.0.0.1] | |
changed: [k8s-03 -> 127.0.0.1] | |
TASK [etcd : Gen_certs | Gather etcd node certs] ******************************* | |
Monday 30 October 2017 15:40:33 +0100 (0:00:00.375) 0:07:15.151 ******** | |
TASK [etcd : Gen_certs | Prepare tempfile for unpacking certs] ***************** | |
Monday 30 October 2017 15:40:33 +0100 (0:00:00.074) 0:07:15.226 ******** | |
changed: [k8s-02] | |
changed: [k8s-03] | |
TASK [etcd : Gen_certs | Write master certs to tempfile] *********************** | |
Monday 30 October 2017 15:40:34 +0100 (0:00:00.266) 0:07:15.492 ******** | |
changed: [k8s-02] | |
changed: [k8s-03] | |
TASK [etcd : Gen_certs | Unpack certs on masters] ****************************** | |
Monday 30 October 2017 15:40:34 +0100 (0:00:00.656) 0:07:16.149 ******** | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [etcd : Gen_certs | Cleanup tempfile] ************************************* | |
Monday 30 October 2017 15:40:35 +0100 (0:00:00.275) 0:07:16.424 ******** | |
changed: [k8s-02] | |
changed: [k8s-03] | |
TASK [etcd : Gen_certs | Copy certs on nodes] ********************************** | |
Monday 30 October 2017 15:40:35 +0100 (0:00:00.283) 0:07:16.708 ******** | |
TASK [etcd : Gen_certs | check certificate permissions] ************************ | |
Monday 30 October 2017 15:40:35 +0100 (0:00:00.051) 0:07:16.759 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
changed: [k8s-03] | |
TASK [etcd : Gen_certs | target ca-certificate store file] ********************* | |
Monday 30 October 2017 15:40:35 +0100 (0:00:00.286) 0:07:17.045 ******** | |
ok: [k8s-02] | |
ok: [k8s-01] | |
ok: [k8s-03] | |
TASK [etcd : Gen_certs | add CA to trusted CA dir] ***************************** | |
Monday 30 October 2017 15:40:35 +0100 (0:00:00.216) 0:07:17.262 ******** | |
changed: [k8s-03] | |
changed: [k8s-01] | |
changed: [k8s-02] | |
TASK [etcd : Gen_certs | update ca-certificates (Debian/Ubuntu/Container Linux by CoreOS)] *** | |
Monday 30 October 2017 15:40:36 +0100 (0:00:00.387) 0:07:17.649 ******** | |
changed: [k8s-02] | |
changed: [k8s-01] | |
changed: [k8s-03] | |
TASK [etcd : Gen_certs | update ca-certificates (RedHat)] ********************** | |
Monday 30 October 2017 15:40:38 +0100 (0:00:01.815) 0:07:19.465 ******** | |
TASK [etcd : Gen_certs | Get etcd certificate serials] ************************* | |
Monday 30 October 2017 15:40:38 +0100 (0:00:00.051) 0:07:19.516 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [etcd : Set etcd_client_cert_serial] ************************************** | |
Monday 30 October 2017 15:40:38 +0100 (0:00:00.409) 0:07:19.925 ******** | |
ok: [k8s-01] | |
ok: [k8s-03] | |
ok: [k8s-02] | |
TASK [etcd : include] ********************************************************** | |
Monday 30 October 2017 15:40:38 +0100 (0:00:00.107) 0:07:20.033 ******** | |
included: /home/guenthgr/workspaces/kubespray/roles/etcd/tasks/install_docker.yml for k8s-01, k8s-02, k8s-03 | |
TASK [etcd : Install | Copy etcdctl binary from docker container] ************** | |
Monday 30 October 2017 15:40:38 +0100 (0:00:00.118) 0:07:20.151 ******** | |
ok: [k8s-01] | |
ok: [k8s-03] | |
ok: [k8s-02] | |
TASK [etcd : Configure | Check if cluster is healthy] ************************** | |
Monday 30 October 2017 15:40:45 +0100 (0:00:06.720) 0:07:26.871 ******** | |
fatal: [k8s-01]: FAILED! => {"changed": false, "cmd": "/usr/local/bin/etcdctl --peers=https://172.17.8.101:2379,https://172.17.8.102:2379,https://172.17.8.103:2379 cluster-health | grep -q 'cluster is healthy'", "delta": "0:00:00.011921", "end": "2017-10-30 14:40:44.812261", "failed": true, "msg": "non-zero return code", "rc": 1, "start": "2017-10-30 14:40:44.800340", "stderr": "Error: client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.17.8.103:2379: getsockopt: connection refused\n; error #1: dial tcp 172.17.8.101:2379: getsockopt: connection refused\n; error #2: dial tcp 172.17.8.102:2379: getsockopt: connection refused\n\nerror #0: dial tcp 172.17.8.103:2379: getsockopt: connection refused\nerror #1: dial tcp 172.17.8.101:2379: getsockopt: connection refused\nerror #2: dial tcp 172.17.8.102:2379: getsockopt: connection refused", "stderr_lines": ["Error: client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.17.8.103:2379: getsockopt: connection refused", "; error #1: dial tcp 172.17.8.101:2379: getsockopt: connection refused", "; error #2: dial tcp 172.17.8.102:2379: getsockopt: connection refused", "", "error #0: dial tcp 172.17.8.103:2379: getsockopt: connection refused", "error #1: dial tcp 172.17.8.101:2379: getsockopt: connection refused", "error #2: dial tcp 172.17.8.102:2379: getsockopt: connection refused"], "stdout": "", "stdout_lines": []} | |
...ignoring | |
fatal: [k8s-02]: FAILED! => {"changed": false, "cmd": "/usr/local/bin/etcdctl --peers=https://172.17.8.101:2379,https://172.17.8.102:2379,https://172.17.8.103:2379 cluster-health | grep -q 'cluster is healthy'", "delta": "0:00:00.011842", "end": "2017-10-30 14:40:44.251449", "failed": true, "msg": "non-zero return code", "rc": 1, "start": "2017-10-30 14:40:44.239607", "stderr": "Error: client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.17.8.103:2379: getsockopt: connection refused\n; error #1: dial tcp 172.17.8.101:2379: getsockopt: connection refused\n; error #2: dial tcp 172.17.8.102:2379: getsockopt: connection refused\n\nerror #0: dial tcp 172.17.8.103:2379: getsockopt: connection refused\nerror #1: dial tcp 172.17.8.101:2379: getsockopt: connection refused\nerror #2: dial tcp 172.17.8.102:2379: getsockopt: connection refused", "stderr_lines": ["Error: client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.17.8.103:2379: getsockopt: connection refused", "; error #1: dial tcp 172.17.8.101:2379: getsockopt: connection refused", "; error #2: dial tcp 172.17.8.102:2379: getsockopt: connection refused", "", "error #0: dial tcp 172.17.8.103:2379: getsockopt: connection refused", "error #1: dial tcp 172.17.8.101:2379: getsockopt: connection refused", "error #2: dial tcp 172.17.8.102:2379: getsockopt: connection refused"], "stdout": "", "stdout_lines": []} | |
...ignoring | |
fatal: [k8s-03]: FAILED! => {"changed": false, "cmd": "/usr/local/bin/etcdctl --peers=https://172.17.8.101:2379,https://172.17.8.102:2379,https://172.17.8.103:2379 cluster-health | grep -q 'cluster is healthy'", "delta": "0:00:00.010679", "end": "2017-10-30 14:40:44.237478", "failed": true, "msg": "non-zero return code", "rc": 1, "start": "2017-10-30 14:40:44.226799", "stderr": "Error: client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.17.8.102:2379: getsockopt: connection refused\n; error #1: dial tcp 172.17.8.103:2379: getsockopt: connection refused\n; error #2: dial tcp 172.17.8.101:2379: getsockopt: connection refused\n\nerror #0: dial tcp 172.17.8.102:2379: getsockopt: connection refused\nerror #1: dial tcp 172.17.8.103:2379: getsockopt: connection refused\nerror #2: dial tcp 172.17.8.101:2379: getsockopt: connection refused", "stderr_lines": ["Error: client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.17.8.102:2379: getsockopt: connection refused", "; error #1: dial tcp 172.17.8.103:2379: getsockopt: connection refused", "; error #2: dial tcp 172.17.8.101:2379: getsockopt: connection refused", "", "error #0: dial tcp 172.17.8.102:2379: getsockopt: connection refused", "error #1: dial tcp 172.17.8.103:2379: getsockopt: connection refused", "error #2: dial tcp 172.17.8.101:2379: getsockopt: connection refused"], "stdout": "", "stdout_lines": []} | |
...ignoring | |
TASK [etcd : Configure | Check if member is in cluster] ************************ | |
Monday 30 October 2017 15:40:45 +0100 (0:00:00.410) 0:07:27.282 ******** | |
fatal: [k8s-02]: FAILED! => {"changed": false, "cmd": "/usr/local/bin/etcdctl --no-sync --peers=https://172.17.8.101:2379,https://172.17.8.102:2379,https://172.17.8.103:2379 member list | grep -q 172.17.8.102", "delta": "0:00:00.013403", "end": "2017-10-30 14:40:44.670773", "failed": true, "msg": "non-zero return code", "rc": 1, "start": "2017-10-30 14:40:44.657370", "stderr": "client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.17.8.101:2379: getsockopt: connection refused\n; error #1: dial tcp 172.17.8.103:2379: getsockopt: connection refused\n; error #2: dial tcp 172.17.8.102:2379: getsockopt: connection refused", "stderr_lines": ["client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.17.8.101:2379: getsockopt: connection refused", "; error #1: dial tcp 172.17.8.103:2379: getsockopt: connection refused", "; error #2: dial tcp 172.17.8.102:2379: getsockopt: connection refused"], "stdout": "", "stdout_lines": []} | |
...ignoring | |
fatal: [k8s-01]: FAILED! => {"changed": false, "cmd": "/usr/local/bin/etcdctl --no-sync --peers=https://172.17.8.101:2379,https://172.17.8.102:2379,https://172.17.8.103:2379 member list | grep -q 172.17.8.101", "delta": "0:00:00.011270", "end": "2017-10-30 14:40:45.251581", "failed": true, "msg": "non-zero return code", "rc": 1, "start": "2017-10-30 14:40:45.240311", "stderr": "client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.17.8.101:2379: getsockopt: connection refused\n; error #1: dial tcp 172.17.8.103:2379: getsockopt: connection refused\n; error #2: dial tcp 172.17.8.102:2379: getsockopt: connection refused", "stderr_lines": ["client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.17.8.101:2379: getsockopt: connection refused", "; error #1: dial tcp 172.17.8.103:2379: getsockopt: connection refused", "; error #2: dial tcp 172.17.8.102:2379: getsockopt: connection refused"], "stdout": "", "stdout_lines": []} | |
...ignoring | |
fatal: [k8s-03]: FAILED! => {"changed": false, "cmd": "/usr/local/bin/etcdctl --no-sync --peers=https://172.17.8.101:2379,https://172.17.8.102:2379,https://172.17.8.103:2379 member list | grep -q 172.17.8.103", "delta": "0:00:00.010862", "end": "2017-10-30 14:40:44.665198", "failed": true, "msg": "non-zero return code", "rc": 1, "start": "2017-10-30 14:40:44.654336", "stderr": "client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.17.8.102:2379: getsockopt: connection refused\n; error #1: dial tcp 172.17.8.103:2379: getsockopt: connection refused\n; error #2: dial tcp 172.17.8.101:2379: getsockopt: connection refused", "stderr_lines": ["client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.17.8.102:2379: getsockopt: connection refused", "; error #1: dial tcp 172.17.8.103:2379: getsockopt: connection refused", "; error #2: dial tcp 172.17.8.101:2379: getsockopt: connection refused"], "stdout": "", "stdout_lines": []} | |
...ignoring | |
TASK [etcd : Install etcd launch script] *************************************** | |
Monday 30 October 2017 15:40:46 +0100 (0:00:00.429) 0:07:27.712 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
changed: [k8s-03] | |
TASK [etcd : Configure | Copy etcd.service systemd file] *********************** | |
Monday 30 October 2017 15:40:47 +0100 (0:00:00.758) 0:07:28.471 ******** | |
changed: [k8s-01] | |
changed: [k8s-03] | |
changed: [k8s-02] | |
TASK [etcd : Configure | Join member(s) to cluster one at a time] ************** | |
Monday 30 October 2017 15:40:47 +0100 (0:00:00.756) 0:07:29.227 ******** | |
TASK [etcd : Refresh config | Create etcd config file] ************************* | |
Monday 30 October 2017 15:41:07 +0100 (0:00:20.125) 0:07:49.353 ******** | |
changed: [k8s-01] | |
changed: [k8s-03] | |
changed: [k8s-02] | |
TASK [etcd : Restart etcd if certs changed] ************************************ | |
Monday 30 October 2017 15:41:08 +0100 (0:00:00.843) 0:07:50.196 ******** | |
RUNNING HANDLER [etcd : restart etcd] ****************************************** | |
Monday 30 October 2017 15:41:08 +0100 (0:00:00.048) 0:07:50.245 ******** | |
changed: [k8s-01] | |
changed: [k8s-03] | |
changed: [k8s-02] | |
RUNNING HANDLER [etcd : Backup etcd data] ************************************** | |
Monday 30 October 2017 15:41:09 +0100 (0:00:00.364) 0:07:50.610 ******** | |
RUNNING HANDLER [etcd : etcd | reload systemd] ********************************* | |
Monday 30 October 2017 15:41:09 +0100 (0:00:00.050) 0:07:50.661 ******** | |
changed: [k8s-01] | |
changed: [k8s-03] | |
changed: [k8s-02] | |
RUNNING HANDLER [etcd : reload etcd] ******************************************* | |
Monday 30 October 2017 15:41:09 +0100 (0:00:00.357) 0:07:51.018 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
changed: [k8s-03] | |
RUNNING HANDLER [etcd : wait for etcd up] ************************************** | |
Monday 30 October 2017 15:41:09 +0100 (0:00:00.349) 0:07:51.367 ******** | |
ok: [k8s-02] | |
ok: [k8s-01] | |
ok: [k8s-03] | |
RUNNING HANDLER [etcd : set etcd_secret_changed] ******************************* | |
Monday 30 October 2017 15:41:11 +0100 (0:00:01.894) 0:07:53.262 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [etcd : Ensure etcd is running] ******************************************* | |
Monday 30 October 2017 15:41:11 +0100 (0:00:00.107) 0:07:53.370 ******** | |
changed: [k8s-02] | |
changed: [k8s-03] | |
changed: [k8s-01] | |
TASK [etcd : Configure | Check if cluster is healthy] ************************** | |
Monday 30 October 2017 15:41:12 +0100 (0:00:00.359) 0:07:53.729 ******** | |
ok: [k8s-02] | |
ok: [k8s-01] | |
ok: [k8s-03] | |
TASK [etcd : Refresh config | Create etcd config file] ************************* | |
Monday 30 October 2017 15:41:12 +0100 (0:00:00.529) 0:07:54.259 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
changed: [k8s-03] | |
RUNNING HANDLER [etcd : restart etcd] ****************************************** | |
Monday 30 October 2017 15:41:13 +0100 (0:00:00.841) 0:07:55.100 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
changed: [k8s-03] | |
RUNNING HANDLER [etcd : Backup etcd data] ************************************** | |
Monday 30 October 2017 15:41:14 +0100 (0:00:00.362) 0:07:55.462 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
changed: [k8s-03] | |
RUNNING HANDLER [etcd : Refresh Time Fact] ************************************* | |
Monday 30 October 2017 15:41:14 +0100 (0:00:00.399) 0:07:55.862 ******** | |
ok: [k8s-02] | |
ok: [k8s-01] | |
ok: [k8s-03] | |
RUNNING HANDLER [etcd : Set Backup Directory] ********************************** | |
Monday 30 October 2017 15:41:15 +0100 (0:00:00.598) 0:07:56.461 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
RUNNING HANDLER [etcd : Create Backup Directory] ******************************* | |
Monday 30 October 2017 15:41:15 +0100 (0:00:00.110) 0:07:56.571 ******** | |
changed: [k8s-02] | |
changed: [k8s-01] | |
changed: [k8s-03] | |
RUNNING HANDLER [etcd : Stat etcd v2 data directory] *************************** | |
Monday 30 October 2017 15:41:15 +0100 (0:00:00.300) 0:07:56.871 ******** | |
ok: [k8s-02] | |
ok: [k8s-01] | |
ok: [k8s-03] | |
RUNNING HANDLER [etcd : Backup etcd v2 data] *********************************** | |
Monday 30 October 2017 15:41:15 +0100 (0:00:00.291) 0:07:57.163 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
changed: [k8s-03] | |
RUNNING HANDLER [etcd : Backup etcd v3 data] *********************************** | |
Monday 30 October 2017 15:41:16 +0100 (0:00:00.306) 0:07:57.470 ******** | |
changed: [k8s-01] | |
changed: [k8s-03] | |
changed: [k8s-02] | |
RUNNING HANDLER [etcd : etcd | reload systemd] ********************************* | |
Monday 30 October 2017 15:41:16 +0100 (0:00:00.424) 0:07:57.894 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
changed: [k8s-03] | |
RUNNING HANDLER [etcd : reload etcd] ******************************************* | |
Monday 30 October 2017 15:41:16 +0100 (0:00:00.346) 0:07:58.241 ******** | |
changed: [k8s-01] | |
changed: [k8s-03] | |
changed: [k8s-02] | |
RUNNING HANDLER [etcd : wait for etcd up] ************************************** | |
Monday 30 October 2017 15:41:27 +0100 (0:00:10.450) 0:08:08.692 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
PLAY [k8s-cluster] ************************************************************* | |
TASK [download : Register docker images info] ********************************** | |
Monday 30 October 2017 15:41:35 +0100 (0:00:08.340) 0:08:17.032 ******** | |
TASK [download : container_download | Create dest directory for saved/loaded container images] *** | |
Monday 30 October 2017 15:41:35 +0100 (0:00:00.054) 0:08:17.087 ******** | |
TASK [download : container_download | create local directory for saved/loaded container images] *** | |
Monday 30 October 2017 15:41:35 +0100 (0:00:00.055) 0:08:17.143 ******** | |
TASK [download : Download items] *********************************************** | |
Monday 30 October 2017 15:41:35 +0100 (0:00:00.030) 0:08:17.173 ******** | |
TASK [download : Sync container] *********************************************** | |
Monday 30 October 2017 15:41:36 +0100 (0:00:00.295) 0:08:17.469 ******** | |
TASK [kubespray-defaults : Configure defaults] ********************************* | |
Monday 30 October 2017 15:41:36 +0100 (0:00:00.301) 0:08:17.770 ******** | |
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] ************************************** | |
Monday 30 October 2017 15:41:36 +0100 (0:00:00.098) 0:08:17.869 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [adduser : User | Create User] ******************************************** | |
Monday 30 October 2017 15:41:36 +0100 (0:00:00.279) 0:08:18.148 ******** | |
ok: [k8s-02] | |
ok: [k8s-01] | |
ok: [k8s-03] | |
TASK [etcd : Check_certs | check if all certs have already been generated on first master] *** | |
Monday 30 October 2017 15:41:37 +0100 (0:00:00.324) 0:08:18.473 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
TASK [etcd : Check_certs | Set default value for 'sync_certs', 'gen_certs' and 'etcd_secret_changed' to false] *** | |
Monday 30 October 2017 15:41:37 +0100 (0:00:00.266) 0:08:18.739 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [etcd : Check certs | check if a cert already exists on node] ************* | |
Monday 30 October 2017 15:41:37 +0100 (0:00:00.099) 0:08:18.839 ******** | |
ok: [k8s-01] => (item=ca.pem) | |
ok: [k8s-02] => (item=ca.pem) | |
ok: [k8s-03] => (item=ca.pem) | |
ok: [k8s-02] => (item=node-k8s-02-key.pem) | |
ok: [k8s-01] => (item=node-k8s-01-key.pem) | |
ok: [k8s-03] => (item=node-k8s-03-key.pem) | |
TASK [etcd : Check_certs | Set 'gen_certs' to true] **************************** | |
Monday 30 October 2017 15:41:37 +0100 (0:00:00.525) 0:08:19.365 ******** | |
TASK [etcd : Check_certs | Set 'gen_node_certs' to true] *********************** | |
Monday 30 October 2017 15:41:38 +0100 (0:00:00.063) 0:08:19.428 ******** | |
ok: [k8s-01] | |
TASK [etcd : Check_certs | Set 'sync_certs' to true] *************************** | |
Monday 30 October 2017 15:41:38 +0100 (0:00:00.081) 0:08:19.510 ******** | |
[WARNING]: when statements should not include jinja2 templating delimiters | |
such as {{ }} or {% %}. Found: {%- set certs = {'sync': False} -%} {% if | |
gen_node_certs[inventory_hostname] or (not | |
etcdcert_node.results[0].stat.exists|default(False)) or (not | |
etcdcert_node.results[1].stat.exists|default(False)) or | |
(etcdcert_node.results[1].stat.checksum|default('') != | |
etcdcert_master.files|selectattr("path", "equalto", etcdcert_node.results[1].st | |
at.path)|map(attribute="checksum")|first|default('')) -%} {%- set _ = | |
certs.update({'sync': True}) -%} {% endif %} {{ certs.sync }} | |
[WARNING]: when statements should not include jinja2 templating delimiters | |
such as {{ }} or {% %}. Found: {%- set certs = {'sync': False} -%} {% if | |
gen_node_certs[inventory_hostname] or (not | |
etcdcert_node.results[0].stat.exists|default(False)) or (not | |
etcdcert_node.results[1].stat.exists|default(False)) or | |
(etcdcert_node.results[1].stat.checksum|default('') != | |
etcdcert_master.files|selectattr("path", "equalto", etcdcert_node.results[1].st | |
at.path)|map(attribute="checksum")|first|default('')) -%} {%- set _ = | |
certs.update({'sync': True}) -%} {% endif %} {{ certs.sync }} | |
[WARNING]: when statements should not include jinja2 templating delimiters | |
such as {{ }} or {% %}. Found: {%- set certs = {'sync': False} -%} {% if | |
gen_node_certs[inventory_hostname] or (not | |
etcdcert_node.results[0].stat.exists|default(False)) or (not | |
etcdcert_node.results[1].stat.exists|default(False)) or | |
(etcdcert_node.results[1].stat.checksum|default('') != | |
etcdcert_master.files|selectattr("path", "equalto", etcdcert_node.results[1].st | |
at.path)|map(attribute="checksum")|first|default('')) -%} {%- set _ = | |
certs.update({'sync': True}) -%} {% endif %} {{ certs.sync }} | |
TASK [etcd : include] ********************************************************** | |
Monday 30 October 2017 15:41:38 +0100 (0:00:00.065) 0:08:19.576 ******** | |
included: /home/guenthgr/workspaces/kubespray/roles/etcd/tasks/gen_certs_script.yml for k8s-01, k8s-02, k8s-03 | |
TASK [etcd : Gen_certs | create etcd cert dir] ********************************* | |
Monday 30 October 2017 15:41:38 +0100 (0:00:00.119) 0:08:19.695 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
changed: [k8s-03] | |
TASK [etcd : Gen_certs | create etcd script dir (on k8s-01)] ******************* | |
Monday 30 October 2017 15:41:38 +0100 (0:00:00.276) 0:08:19.971 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
TASK [etcd : Gen_certs | create etcd cert dir (on k8s-01)] ********************* | |
Monday 30 October 2017 15:41:38 +0100 (0:00:00.285) 0:08:20.257 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
TASK [etcd : Gen_certs | write openssl config] ********************************* | |
Monday 30 October 2017 15:41:39 +0100 (0:00:00.253) 0:08:20.511 ******** | |
TASK [etcd : Gen_certs | copy certs generation script] ************************* | |
Monday 30 October 2017 15:41:39 +0100 (0:00:00.031) 0:08:20.542 ******** | |
TASK [etcd : Gen_certs | run cert generation script] *************************** | |
Monday 30 October 2017 15:41:39 +0100 (0:00:00.034) 0:08:20.577 ******** | |
TASK [etcd : set_fact] ********************************************************* | |
Monday 30 October 2017 15:41:39 +0100 (0:00:00.026) 0:08:20.604 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [etcd : Gen_certs | Gather etcd master certs] ***************************** | |
Monday 30 October 2017 15:41:39 +0100 (0:00:00.114) 0:08:20.718 ******** | |
TASK [etcd : Gen_certs | Gather etcd node certs] ******************************* | |
Monday 30 October 2017 15:41:39 +0100 (0:00:00.071) 0:08:20.789 ******** | |
TASK [etcd : Gen_certs | Prepare tempfile for unpacking certs] ***************** | |
Monday 30 October 2017 15:41:39 +0100 (0:00:00.067) 0:08:20.856 ******** | |
TASK [etcd : Gen_certs | Write master certs to tempfile] *********************** | |
Monday 30 October 2017 15:41:39 +0100 (0:00:00.050) 0:08:20.906 ******** | |
TASK [etcd : Gen_certs | Unpack certs on masters] ****************************** | |
Monday 30 October 2017 15:41:39 +0100 (0:00:00.052) 0:08:20.959 ******** | |
TASK [etcd : Gen_certs | Cleanup tempfile] ************************************* | |
Monday 30 October 2017 15:41:39 +0100 (0:00:00.049) 0:08:21.008 ******** | |
TASK [etcd : Gen_certs | Copy certs on nodes] ********************************** | |
Monday 30 October 2017 15:41:39 +0100 (0:00:00.047) 0:08:21.056 ******** | |
TASK [etcd : Gen_certs | check certificate permissions] ************************ | |
Monday 30 October 2017 15:41:39 +0100 (0:00:00.047) 0:08:21.104 ******** | |
ok: [k8s-02] | |
ok: [k8s-01] | |
ok: [k8s-03] | |
TASK [etcd : Gen_certs | target ca-certificate store file] ********************* | |
Monday 30 October 2017 15:41:39 +0100 (0:00:00.265) 0:08:21.370 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [etcd : Gen_certs | add CA to trusted CA dir] ***************************** | |
Monday 30 October 2017 15:41:40 +0100 (0:00:00.105) 0:08:21.475 ******** | |
ok: [k8s-01] | |
ok: [k8s-03] | |
ok: [k8s-02] | |
TASK [etcd : Gen_certs | update ca-certificates (Debian/Ubuntu/Container Linux by CoreOS)] *** | |
Monday 30 October 2017 15:41:40 +0100 (0:00:00.273) 0:08:21.748 ******** | |
TASK [etcd : Gen_certs | update ca-certificates (RedHat)] ********************** | |
Monday 30 October 2017 15:41:40 +0100 (0:00:00.053) 0:08:21.802 ******** | |
TASK [etcd : Gen_certs | Get etcd certificate serials] ************************* | |
Monday 30 October 2017 15:41:40 +0100 (0:00:00.063) 0:08:21.866 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [etcd : Set etcd_client_cert_serial] ************************************** | |
Monday 30 October 2017 15:41:40 +0100 (0:00:00.275) 0:08:22.141 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [etcd : include] ********************************************************** | |
Monday 30 October 2017 15:41:40 +0100 (0:00:00.102) 0:08:22.244 ******** | |
included: /home/guenthgr/workspaces/kubespray/roles/etcd/tasks/install_docker.yml for k8s-01, k8s-02, k8s-03 | |
TASK [etcd : Install | Copy etcdctl binary from docker container] ************** | |
Monday 30 October 2017 15:41:40 +0100 (0:00:00.117) 0:08:22.362 ******** | |
ok: [k8s-01] | |
ok: [k8s-03] | |
ok: [k8s-02] | |
TASK [etcd : Configure | Check if cluster is healthy] ************************** | |
Monday 30 October 2017 15:41:41 +0100 (0:00:00.556) 0:08:22.918 ******** | |
TASK [etcd : Configure | Check if member is in cluster] ************************ | |
Monday 30 October 2017 15:41:41 +0100 (0:00:00.056) 0:08:22.974 ******** | |
TASK [etcd : Install etcd launch script] *************************************** | |
Monday 30 October 2017 15:41:41 +0100 (0:00:00.054) 0:08:23.029 ******** | |
TASK [etcd : Configure | Copy etcd.service systemd file] *********************** | |
Monday 30 October 2017 15:41:41 +0100 (0:00:00.066) 0:08:23.095 ******** | |
TASK [etcd : Configure | Join member(s) to cluster one at a time] ************** | |
Monday 30 October 2017 15:41:41 +0100 (0:00:00.056) 0:08:23.152 ******** | |
TASK [etcd : Refresh config | Create etcd config file] ************************* | |
Monday 30 October 2017 15:42:01 +0100 (0:00:20.106) 0:08:43.258 ******** | |
TASK [etcd : Restart etcd if certs changed] ************************************ | |
Monday 30 October 2017 15:42:01 +0100 (0:00:00.056) 0:08:43.314 ******** | |
TASK [etcd : Ensure etcd is running] ******************************************* | |
Monday 30 October 2017 15:42:01 +0100 (0:00:00.055) 0:08:43.369 ******** | |
TASK [etcd : Configure | Check if cluster is healthy] ************************** | |
Monday 30 October 2017 15:42:02 +0100 (0:00:00.056) 0:08:43.425 ******** | |
TASK [etcd : Refresh config | Create etcd config file] ************************* | |
Monday 30 October 2017 15:42:02 +0100 (0:00:00.053) 0:08:43.479 ******** | |
PLAY [etcd:k8s-cluster:vault] ************************************************** | |
TASK [download : Register docker images info] ********************************** | |
Monday 30 October 2017 15:42:02 +0100 (0:00:00.256) 0:08:43.736 ******** | |
TASK [download : container_download | Create dest directory for saved/loaded container images] *** | |
Monday 30 October 2017 15:42:02 +0100 (0:00:00.055) 0:08:43.791 ******** | |
TASK [download : container_download | create local directory for saved/loaded container images] *** | |
Monday 30 October 2017 15:42:02 +0100 (0:00:00.059) 0:08:43.851 ******** | |
TASK [download : Download items] *********************************************** | |
Monday 30 October 2017 15:42:02 +0100 (0:00:00.030) 0:08:43.882 ******** | |
TASK [download : Sync container] *********************************************** | |
Monday 30 October 2017 15:42:02 +0100 (0:00:00.300) 0:08:44.183 ******** | |
TASK [kubespray-defaults : Configure defaults] ********************************* | |
Monday 30 October 2017 15:42:03 +0100 (0:00:00.309) 0:08:44.493 ******** | |
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] ************************************** | |
Monday 30 October 2017 15:42:03 +0100 (0:00:00.101) 0:08:44.595 ******** | |
TASK [adduser : User | Create User] ******************************************** | |
Monday 30 October 2017 15:42:03 +0100 (0:00:00.057) 0:08:44.652 ******** | |
TASK [vault : stop vault-temp container] *************************************** | |
Monday 30 October 2017 15:42:03 +0100 (0:00:00.055) 0:08:44.708 ******** | |
TASK [vault : check_vault | Attempt to pull local https Vault health] ********** | |
Monday 30 October 2017 15:42:03 +0100 (0:00:00.058) 0:08:44.766 ******** | |
TASK [vault : check_vault | Set facts about local Vault health] **************** | |
Monday 30 October 2017 15:42:03 +0100 (0:00:00.056) 0:08:44.823 ******** | |
TASK [vault : check_vault | Set fact about the Vault cluster's initialization state] *** | |
Monday 30 October 2017 15:42:03 +0100 (0:00:00.054) 0:08:44.877 ******** | |
TASK [vault : include] ********************************************************* | |
Monday 30 October 2017 15:42:03 +0100 (0:00:00.030) 0:08:44.908 ******** | |
TASK [vault : bootstrap/sync_secrets | Set fact based on sync_file_results] **** | |
Monday 30 October 2017 15:42:03 +0100 (0:00:00.065) 0:08:44.973 ******** | |
TASK [vault : bootstrap/sync_secrets | Reset sync_file_results to avoid variable bleed] *** | |
Monday 30 October 2017 15:42:03 +0100 (0:00:00.050) 0:08:45.024 ******** | |
TASK [vault : bootstrap/sync_secrets | Print out warning message if secrets are not available and vault is initialized] *** | |
Monday 30 October 2017 15:42:03 +0100 (0:00:00.052) 0:08:45.077 ******** | |
TASK [vault : bootstrap/sync_secrets | Cat root_token from a vault host] ******* | |
Monday 30 October 2017 15:42:03 +0100 (0:00:00.028) 0:08:45.105 ******** | |
TASK [vault : bootstrap/sync_secrets | Cat unseal_keys from a vault host] ****** | |
Monday 30 October 2017 15:42:03 +0100 (0:00:00.055) 0:08:45.160 ******** | |
TASK [vault : bootstrap/sync_secrets | Set needed facts for Vault API interaction when Vault is already running] *** | |
Monday 30 October 2017 15:42:03 +0100 (0:00:00.056) 0:08:45.217 ******** | |
TASK [vault : bootstrap/sync_secrets | Update vault_headers if we have the root_token] *** | |
Monday 30 October 2017 15:42:03 +0100 (0:00:00.057) 0:08:45.274 ******** | |
TASK [vault : find_leader | Find the current http Vault leader] **************** | |
Monday 30 October 2017 15:42:03 +0100 (0:00:00.053) 0:08:45.327 ******** | |
TASK [vault : find_leader | Set fact for current http leader] ****************** | |
Monday 30 October 2017 15:42:03 +0100 (0:00:00.051) 0:08:45.378 ******** | |
TASK [vault : find_leader| show vault_leader_url] ****************************** | |
Monday 30 October 2017 15:42:04 +0100 (0:00:00.052) 0:08:45.431 ******** | |
TASK [vault : sync_file | Set facts for directory and file when sync_file_path is defined] *** | |
Monday 30 October 2017 15:42:04 +0100 (0:00:00.053) 0:08:45.484 ******** | |
TASK [vault : sync_file | Set fact for sync_file_path when undefined] ********** | |
Monday 30 October 2017 15:42:04 +0100 (0:00:00.051) 0:08:45.536 ******** | |
TASK [vault : sync_file | Set fact for key path name] ************************** | |
Monday 30 October 2017 15:42:04 +0100 (0:00:00.056) 0:08:45.593 ******** | |
TASK [vault : sync_file | Check if {{sync_file_path}} file exists] ************* | |
Monday 30 October 2017 15:42:04 +0100 (0:00:00.056) 0:08:45.649 ******** | |
TASK [vault : sync_file | Check if {{ sync_file_key_path }} key file exists] *** | |
Monday 30 October 2017 15:42:04 +0100 (0:00:00.055) 0:08:45.705 ******** | |
TASK [vault : sync_file | Combine all possible file sync sources] ************** | |
Monday 30 October 2017 15:42:04 +0100 (0:00:00.058) 0:08:45.763 ******** | |
TASK [vault : sync_file | Combine all possible key file sync sources] ********** | |
Monday 30 October 2017 15:42:04 +0100 (0:00:00.058) 0:08:45.822 ******** | |
TASK [vault : sync_file | Remove sync sources with files that do not match sync_file_srcs|first] *** | |
Monday 30 October 2017 15:42:04 +0100 (0:00:00.058) 0:08:45.881 ******** | |
TASK [vault : sync_file | Remove sync sources with keys that do not match sync_file_srcs|first] *** | |
Monday 30 October 2017 15:42:04 +0100 (0:00:00.057) 0:08:45.938 ******** | |
TASK [vault : sync_file | Consolidate file and key sources] ******************** | |
Monday 30 October 2017 15:42:04 +0100 (0:00:00.057) 0:08:45.995 ******** | |
TASK [vault : sync_file | Set facts for situations where sync is not needed] *** | |
Monday 30 October 2017 15:42:04 +0100 (0:00:00.064) 0:08:46.059 ******** | |
TASK [vault : sync_file | Set sync_file_result fact] *************************** | |
Monday 30 October 2017 15:42:04 +0100 (0:00:00.056) 0:08:46.116 ******** | |
TASK [vault : sync_file | Update sync_file_results fact] *********************** | |
Monday 30 October 2017 15:42:04 +0100 (0:00:00.055) 0:08:46.171 ******** | |
TASK [vault : sync_file | Cat the file] **************************************** | |
Monday 30 October 2017 15:42:04 +0100 (0:00:00.057) 0:08:46.229 ******** | |
TASK [vault : sync_file | Cat the key file] ************************************ | |
Monday 30 October 2017 15:42:04 +0100 (0:00:00.056) 0:08:46.285 ******** | |
TASK [vault : sync_file | Set facts for file contents] ************************* | |
Monday 30 October 2017 15:42:04 +0100 (0:00:00.059) 0:08:46.345 ******** | |
TASK [vault : sync_file | Set fact for key contents] *************************** | |
Monday 30 October 2017 15:42:05 +0100 (0:00:00.058) 0:08:46.404 ******** | |
TASK [vault : sync_file | Ensure the directory exists] ************************* | |
Monday 30 October 2017 15:42:05 +0100 (0:00:00.063) 0:08:46.467 ******** | |
TASK [vault : sync_file | Copy {{ sync_file_path }} to hosts that don't have it] *** | |
Monday 30 October 2017 15:42:05 +0100 (0:00:00.060) 0:08:46.528 ******** | |
TASK [vault : sync_file | Copy {{ sync_file_key_path }} to hosts that don't have it] *** | |
Monday 30 October 2017 15:42:05 +0100 (0:00:00.064) 0:08:46.592 ******** | |
TASK [vault : Unset local vars to avoid variable bleed into next iteration] **** | |
Monday 30 October 2017 15:42:05 +0100 (0:00:00.061) 0:08:46.653 ******** | |
TASK [vault : bootstrap/sync_vault_certs | Set facts for vault sync_file results] *** | |
Monday 30 October 2017 15:42:05 +0100 (0:00:00.056) 0:08:46.710 ******** | |
TASK [vault : bootstrap/sync_vault_certs | Unset sync_file_results after ca.pem sync] *** | |
Monday 30 October 2017 15:42:05 +0100 (0:00:00.057) 0:08:46.767 ******** | |
TASK [vault : sync_file | Set facts for directory and file when sync_file_path is defined] *** | |
Monday 30 October 2017 15:42:05 +0100 (0:00:00.054) 0:08:46.821 ******** | |
TASK [vault : sync_file | Set fact for sync_file_path when undefined] ********** | |
Monday 30 October 2017 15:42:05 +0100 (0:00:00.055) 0:08:46.877 ******** | |
TASK [vault : sync_file | Set fact for key path name] ************************** | |
Monday 30 October 2017 15:42:05 +0100 (0:00:00.056) 0:08:46.934 ******** | |
TASK [vault : sync_file | Check if {{sync_file_path}} file exists] ************* | |
Monday 30 October 2017 15:42:05 +0100 (0:00:00.061) 0:08:46.995 ******** | |
TASK [vault : sync_file | Check if {{ sync_file_key_path }} key file exists] *** | |
Monday 30 October 2017 15:42:05 +0100 (0:00:00.054) 0:08:47.050 ******** | |
TASK [vault : sync_file | Combine all possible file sync sources] ************** | |
Monday 30 October 2017 15:42:05 +0100 (0:00:00.054) 0:08:47.105 ******** | |
TASK [vault : sync_file | Combine all possible key file sync sources] ********** | |
Monday 30 October 2017 15:42:05 +0100 (0:00:00.062) 0:08:47.168 ******** | |
TASK [vault : sync_file | Remove sync sources with files that do not match sync_file_srcs|first] *** | |
Monday 30 October 2017 15:42:05 +0100 (0:00:00.067) 0:08:47.235 ******** | |
TASK [vault : sync_file | Remove sync sources with keys that do not match sync_file_srcs|first] *** | |
Monday 30 October 2017 15:42:05 +0100 (0:00:00.059) 0:08:47.294 ******** | |
TASK [vault : sync_file | Consolidate file and key sources] ******************** | |
Monday 30 October 2017 15:42:05 +0100 (0:00:00.062) 0:08:47.357 ******** | |
TASK [vault : sync_file | Set facts for situations where sync is not needed] *** | |
Monday 30 October 2017 15:42:06 +0100 (0:00:00.058) 0:08:47.416 ******** | |
TASK [vault : sync_file | Set sync_file_result fact] *************************** | |
Monday 30 October 2017 15:42:06 +0100 (0:00:00.061) 0:08:47.477 ******** | |
TASK [vault : sync_file | Update sync_file_results fact] *********************** | |
Monday 30 October 2017 15:42:06 +0100 (0:00:00.060) 0:08:47.537 ******** | |
TASK [vault : sync_file | Cat the file] **************************************** | |
Monday 30 October 2017 15:42:06 +0100 (0:00:00.059) 0:08:47.597 ******** | |
TASK [vault : sync_file | Cat the key file] ************************************ | |
Monday 30 October 2017 15:42:06 +0100 (0:00:00.062) 0:08:47.660 ******** | |
TASK [vault : sync_file | Set facts for file contents] ************************* | |
Monday 30 October 2017 15:42:06 +0100 (0:00:00.059) 0:08:47.719 ******** | |
TASK [vault : sync_file | Set fact for key contents] *************************** | |
Monday 30 October 2017 15:42:06 +0100 (0:00:00.062) 0:08:47.782 ******** | |
TASK [vault : sync_file | Ensure the directory exists] ************************* | |
Monday 30 October 2017 15:42:06 +0100 (0:00:00.058) 0:08:47.840 ******** | |
TASK [vault : sync_file | Copy {{ sync_file_path }} to hosts that don't have it] *** | |
Monday 30 October 2017 15:42:06 +0100 (0:00:00.060) 0:08:47.901 ******** | |
TASK [vault : sync_file | Copy {{ sync_file_key_path }} to hosts that don't have it] *** | |
Monday 30 October 2017 15:42:06 +0100 (0:00:00.061) 0:08:47.962 ******** | |
TASK [vault : Unset local vars to avoid variable bleed into next iteration] **** | |
Monday 30 October 2017 15:42:06 +0100 (0:00:00.064) 0:08:48.026 ******** | |
TASK [vault : bootstrap/sync_vault_certs | Set fact if Vault's API cert is needed] *** | |
Monday 30 October 2017 15:42:06 +0100 (0:00:00.061) 0:08:48.088 ******** | |
TASK [vault : bootstrap/sync_vault_certs | Unset sync_file_results after api.pem sync] *** | |
Monday 30 October 2017 15:42:06 +0100 (0:00:00.056) 0:08:48.145 ******** | |
TASK [vault : sync_file | Set facts for directory and file when sync_file_path is defined] *** | |
Monday 30 October 2017 15:42:06 +0100 (0:00:00.061) 0:08:48.206 ******** | |
TASK [vault : sync_file | Set fact for sync_file_path when undefined] ********** | |
Monday 30 October 2017 15:42:06 +0100 (0:00:00.065) 0:08:48.272 ******** | |
TASK [vault : sync_file | Set fact for key path name] ************************** | |
Monday 30 October 2017 15:42:06 +0100 (0:00:00.064) 0:08:48.337 ******** | |
TASK [vault : sync_file | Check if {{sync_file_path}} file exists] ************* | |
Monday 30 October 2017 15:42:07 +0100 (0:00:00.059) 0:08:48.396 ******** | |
TASK [vault : sync_file | Check if {{ sync_file_key_path }} key file exists] *** | |
Monday 30 October 2017 15:42:07 +0100 (0:00:00.059) 0:08:48.456 ******** | |
TASK [vault : sync_file | Combine all possible file sync sources] ************** | |
Monday 30 October 2017 15:42:07 +0100 (0:00:00.059) 0:08:48.516 ******** | |
TASK [vault : sync_file | Combine all possible key file sync sources] ********** | |
Monday 30 October 2017 15:42:07 +0100 (0:00:00.096) 0:08:48.612 ******** | |
TASK [vault : sync_file | Remove sync sources with files that do not match sync_file_srcs|first] *** | |
Monday 30 October 2017 15:42:07 +0100 (0:00:00.094) 0:08:48.707 ******** | |
TASK [vault : sync_file | Remove sync sources with keys that do not match sync_file_srcs|first] *** | |
Monday 30 October 2017 15:42:07 +0100 (0:00:00.056) 0:08:48.764 ******** | |
TASK [vault : sync_file | Consolidate file and key sources] ******************** | |
Monday 30 October 2017 15:42:07 +0100 (0:00:00.063) 0:08:48.827 ******** | |
TASK [vault : sync_file | Set facts for situations where sync is not needed] *** | |
Monday 30 October 2017 15:42:07 +0100 (0:00:00.054) 0:08:48.881 ******** | |
TASK [vault : sync_file | Set sync_file_result fact] *************************** | |
Monday 30 October 2017 15:42:07 +0100 (0:00:00.061) 0:08:48.943 ******** | |
TASK [vault : sync_file | Update sync_file_results fact] *********************** | |
Monday 30 October 2017 15:42:07 +0100 (0:00:00.058) 0:08:49.001 ******** | |
TASK [vault : sync_file | Cat the file] **************************************** | |
Monday 30 October 2017 15:42:07 +0100 (0:00:00.061) 0:08:49.063 ******** | |
TASK [vault : sync_file | Cat the key file] ************************************ | |
Monday 30 October 2017 15:42:07 +0100 (0:00:00.062) 0:08:49.125 ******** | |
TASK [vault : sync_file | Set facts for file contents] ************************* | |
Monday 30 October 2017 15:42:07 +0100 (0:00:00.064) 0:08:49.190 ******** | |
TASK [vault : sync_file | Set fact for key contents] *************************** | |
Monday 30 October 2017 15:42:07 +0100 (0:00:00.060) 0:08:49.250 ******** | |
TASK [vault : sync_file | Ensure the directory exists] ************************* | |
Monday 30 October 2017 15:42:07 +0100 (0:00:00.063) 0:08:49.314 ******** | |
TASK [vault : sync_file | Copy {{ sync_file_path }} to hosts that don't have it] *** | |
Monday 30 October 2017 15:42:07 +0100 (0:00:00.063) 0:08:49.377 ******** | |
TASK [vault : sync_file | Copy {{ sync_file_key_path }} to hosts that don't have it] *** | |
Monday 30 October 2017 15:42:08 +0100 (0:00:00.063) 0:08:49.441 ******** | |
TASK [vault : Unset local vars to avoid variable bleed into next iteration] **** | |
Monday 30 October 2017 15:42:08 +0100 (0:00:00.059) 0:08:49.500 ******** | |
TASK [vault : bootstrap/sync_etcd_certs | Set facts for etcd sync_file results] *** | |
Monday 30 October 2017 15:42:08 +0100 (0:00:00.060) 0:08:49.561 ******** | |
TASK [vault : bootstrap/sync_etcd_certs | Unset sync_file_results after ca.pem sync] *** | |
Monday 30 October 2017 15:42:08 +0100 (0:00:00.055) 0:08:49.616 ******** | |
TASK [vault : bootstrap/start_vault_temp | Ensure vault-temp isn't already running] *** | |
Monday 30 October 2017 15:42:08 +0100 (0:00:00.052) 0:08:49.669 ******** | |
TASK [vault : bootstrap/start_vault_temp | Start single node Vault with file backend] *** | |
Monday 30 October 2017 15:42:08 +0100 (0:00:00.053) 0:08:49.722 ******** | |
TASK [vault : bootstrap/start_vault_temp | Start again single node Vault with file backend] *** | |
Monday 30 October 2017 15:42:08 +0100 (0:00:00.052) 0:08:49.775 ******** | |
TASK [vault : bootstrap/start_vault_temp | Initialize vault-temp] ************** | |
Monday 30 October 2017 15:42:08 +0100 (0:00:00.052) 0:08:49.828 ******** | |
TASK [vault : bootstrap/start_vault_temp | Set needed vault facts] ************* | |
Monday 30 October 2017 15:42:08 +0100 (0:00:00.053) 0:08:49.881 ******** | |
TASK [vault : bootstrap/start_vault_temp | Unseal vault-temp] ****************** | |
Monday 30 October 2017 15:42:08 +0100 (0:00:00.051) 0:08:49.933 ******** | |
TASK [vault : vault | Set fact about vault leader url] ************************* | |
Monday 30 October 2017 15:42:08 +0100 (0:00:00.054) 0:08:49.987 ******** | |
TASK [vault : include] ********************************************************* | |
Monday 30 October 2017 15:42:08 +0100 (0:00:00.054) 0:08:50.041 ******** | |
TASK [vault : shared/auth_backend | Test if the auth backend exists] *********** | |
Monday 30 October 2017 15:42:08 +0100 (0:00:00.064) 0:08:50.106 ******** | |
TASK [vault : shared/auth_backend | Add the cert auth backend if needed] ******* | |
Monday 30 October 2017 15:42:08 +0100 (0:00:00.051) 0:08:50.158 ******** | |
TASK [vault : include] ********************************************************* | |
Monday 30 October 2017 15:42:08 +0100 (0:00:00.053) 0:08:50.211 ******** | |
TASK [vault : bootstrap/gen_ca | Ensure cert_dir /etc/vault/ssl exists] ******** | |
Monday 30 October 2017 15:42:08 +0100 (0:00:00.084) 0:08:50.296 ******** | |
TASK [vault : bootstrap/gen_ca | Generate vault root CA] *********************** | |
Monday 30 October 2017 15:42:08 +0100 (0:00:00.063) 0:08:50.359 ******** | |
TASK [vault : bootstrap/gen_ca | Copy vault root CA cert locally] ************** | |
Monday 30 October 2017 15:42:09 +0100 (0:00:00.035) 0:08:50.394 ******** | |
TASK [vault : bootstrap/gen_ca | Copy vault root CA key locally] *************** | |
Monday 30 October 2017 15:42:09 +0100 (0:00:00.062) 0:08:50.457 ******** | |
TASK [vault : bootstrap/gen_ca | Ensure cert_dir /etc/ssl/etcd/ssl exists] ***** | |
Monday 30 October 2017 15:42:09 +0100 (0:00:00.069) 0:08:50.527 ******** | |
TASK [vault : bootstrap/gen_ca | Generate etcd root CA] ************************ | |
Monday 30 October 2017 15:42:09 +0100 (0:00:00.068) 0:08:50.595 ******** | |
TASK [vault : bootstrap/gen_ca | Copy etcd root CA cert locally] *************** | |
Monday 30 October 2017 15:42:09 +0100 (0:00:00.038) 0:08:50.633 ******** | |
TASK [vault : bootstrap/gen_ca | Copy etcd root CA key locally] **************** | |
Monday 30 October 2017 15:42:09 +0100 (0:00:00.074) 0:08:50.707 ******** | |
TASK [vault : issue_cert | Ensure target directory exists] ********************* | |
Monday 30 October 2017 15:42:09 +0100 (0:00:00.054) 0:08:50.762 ******** | |
TASK [vault : issue_cert | Read in the local credentials] ********************** | |
Monday 30 October 2017 15:42:09 +0100 (0:00:00.058) 0:08:50.821 ******** | |
TASK [vault : gen_certs_vault | Set facts for read Vault Creds] **************** | |
Monday 30 October 2017 15:42:09 +0100 (0:00:00.033) 0:08:50.855 ******** | |
TASK [vault : gen_certs_vault | Log into Vault and obtain an token] ************ | |
Monday 30 October 2017 15:42:09 +0100 (0:00:00.032) 0:08:50.887 ******** | |
TASK [vault : gen_certs_vault | Set fact for vault_client_token] *************** | |
Monday 30 October 2017 15:42:09 +0100 (0:00:00.030) 0:08:50.917 ******** | |
TASK [vault : gen_certs_vault | Set fact for Vault API token] ****************** | |
Monday 30 October 2017 15:42:09 +0100 (0:00:00.032) 0:08:50.949 ******** | |
TASK [vault : issue_cert | Generate /etc/vault/ssl/api.pem for vault role] ***** | |
Monday 30 October 2017 15:42:09 +0100 (0:00:00.042) 0:08:50.992 ******** | |
TASK [vault : issue_cert | Copy /etc/vault/ssl/api.pem cert to all hosts] ****** | |
Monday 30 October 2017 15:42:09 +0100 (0:00:00.034) 0:08:51.026 ******** | |
TASK [vault : issue_cert | Copy key for /etc/vault/ssl/api.pem to all hosts] *** | |
Monday 30 October 2017 15:42:09 +0100 (0:00:00.058) 0:08:51.085 ******** | |
TASK [vault : issue_cert | Copy issuing CA cert] ******************************* | |
Monday 30 October 2017 15:42:09 +0100 (0:00:00.054) 0:08:51.139 ******** | |
TASK [vault : issue_cert | Copy certificate serial to all hosts] *************** | |
Monday 30 October 2017 15:42:09 +0100 (0:00:00.052) 0:08:51.192 ******** | |
TASK [vault : bootstrap/ca_trust | pull CA from cert from {{groups.vault|first}}] *** | |
Monday 30 October 2017 15:42:09 +0100 (0:00:00.056) 0:08:51.248 ******** | |
TASK [vault : bootstrap/ca_trust | target ca-certificate store file] *********** | |
Monday 30 October 2017 15:42:09 +0100 (0:00:00.060) 0:08:51.308 ******** | |
TASK [vault : bootstrap/ca_trust | add CA to trusted CA dir] ******************* | |
Monday 30 October 2017 15:42:09 +0100 (0:00:00.051) 0:08:51.359 ******** | |
TASK [vault : bootstrap/ca_trust | update ca-certificates (Debian/Ubuntu/CoreOS)] *** | |
Monday 30 October 2017 15:42:10 +0100 (0:00:00.059) 0:08:51.419 ******** | |
TASK [vault : bootstrap/ca_trust | update ca-certificates (RedHat)] ************ | |
Monday 30 October 2017 15:42:10 +0100 (0:00:00.057) 0:08:51.477 ******** | |
TASK [vault : stop vault-temp container] *************************************** | |
Monday 30 October 2017 15:42:10 +0100 (0:00:00.058) 0:08:51.536 ******** | |
TASK [vault : check_vault | Attempt to pull local https Vault health] ********** | |
Monday 30 October 2017 15:42:10 +0100 (0:00:00.052) 0:08:51.588 ******** | |
TASK [vault : check_vault | Set facts about local Vault health] **************** | |
Monday 30 October 2017 15:42:10 +0100 (0:00:00.053) 0:08:51.641 ******** | |
TASK [vault : check_vault | Set fact about the Vault cluster's initialization state] *** | |
Monday 30 October 2017 15:42:10 +0100 (0:00:00.053) 0:08:51.695 ******** | |
TASK [vault : check_etcd | Check if etcd is up and reachable] ****************** | |
Monday 30 October 2017 15:42:10 +0100 (0:00:00.033) 0:08:51.729 ******** | |
TASK [vault : check_etcd | Set fact based off the etcd_health_check response] *** | |
Monday 30 October 2017 15:42:10 +0100 (0:00:00.028) 0:08:51.758 ******** | |
TASK [vault : set_fact] ******************************************************** | |
Monday 30 October 2017 15:42:10 +0100 (0:00:00.059) 0:08:51.817 ******** | |
TASK [vault : check_etcd | Fail if etcd is not available and needed] *********** | |
Monday 30 October 2017 15:42:10 +0100 (0:00:00.050) 0:08:51.867 ******** | |
TASK [vault : cluster/configure | Ensure the vault/config directory exists] **** | |
Monday 30 October 2017 15:42:10 +0100 (0:00:00.053) 0:08:51.921 ******** | |
TASK [vault : cluster/configure | Lay down the configuration file] ************* | |
Monday 30 October 2017 15:42:10 +0100 (0:00:00.052) 0:08:51.973 ******** | |
TASK [vault : cluster/binary | Copy vault binary from downloaddir] ************* | |
Monday 30 October 2017 15:42:10 +0100 (0:00:00.051) 0:08:52.025 ******** | |
TASK [vault : cluster/systemd | Ensure mount points exist prior to vault.service startup] *** | |
Monday 30 October 2017 15:42:10 +0100 (0:00:00.051) 0:08:52.076 ******** | |
TASK [vault : cluster/systemd | Ensure the vault user has access to needed directories] *** | |
Monday 30 October 2017 15:42:10 +0100 (0:00:00.078) 0:08:52.154 ******** | |
TASK [vault : cluster/systemd | Copy down vault.service systemd file] ********** | |
Monday 30 October 2017 15:42:10 +0100 (0:00:00.068) 0:08:52.223 ******** | |
TASK [vault : cluster/systemd | Enable vault.service] ************************** | |
Monday 30 October 2017 15:42:10 +0100 (0:00:00.051) 0:08:52.274 ******** | |
TASK [vault : cluster/systemd | Query local vault until service is up] ********* | |
Monday 30 October 2017 15:42:10 +0100 (0:00:00.054) 0:08:52.328 ******** | |
TASK [vault : cluster/init | Initialize Vault] ********************************* | |
Monday 30 October 2017 15:42:10 +0100 (0:00:00.051) 0:08:52.380 ******** | |
TASK [vault : cluster/init | Set facts on the results of the initialization] *** | |
Monday 30 October 2017 15:42:11 +0100 (0:00:00.054) 0:08:52.434 ******** | |
TASK [vault : cluster/init | Ensure all hosts have these facts] **************** | |
Monday 30 October 2017 15:42:11 +0100 (0:00:00.055) 0:08:52.489 ******** | |
TASK [vault : cluster/init | Ensure the vault_secrets_dir exists] ************** | |
Monday 30 October 2017 15:42:11 +0100 (0:00:00.056) 0:08:52.546 ******** | |
TASK [vault : cluster/init | Ensure all in groups.vault have the unseal_keys locally] *** | |
Monday 30 October 2017 15:42:11 +0100 (0:00:00.054) 0:08:52.601 ******** | |
TASK [vault : cluster/init | Ensure all in groups.vault have the root_token locally] *** | |
Monday 30 October 2017 15:42:11 +0100 (0:00:00.050) 0:08:52.652 ******** | |
TASK [vault : cluster/init | Ensure vault_headers and vault statuses are updated] *** | |
Monday 30 October 2017 15:42:11 +0100 (0:00:00.050) 0:08:52.702 ******** | |
TASK [vault : cluster/unseal | Current sealed state] *************************** | |
Monday 30 October 2017 15:42:11 +0100 (0:00:00.051) 0:08:52.753 ******** | |
TASK [vault : cluster/unseal | Unseal Vault] *********************************** | |
Monday 30 October 2017 15:42:11 +0100 (0:00:00.054) 0:08:52.808 ******** | |
TASK [vault : cluster/unseal | Wait until server is ready] ********************* | |
Monday 30 October 2017 15:42:11 +0100 (0:00:00.046) 0:08:52.854 ******** | |
TASK [vault : find_leader | Find the current http Vault leader] **************** | |
Monday 30 October 2017 15:42:11 +0100 (0:00:00.057) 0:08:52.912 ******** | |
TASK [vault : find_leader | Set fact for current http leader] ****************** | |
Monday 30 October 2017 15:42:11 +0100 (0:00:00.059) 0:08:52.972 ******** | |
TASK [vault : find_leader| show vault_leader_url] ****************************** | |
Monday 30 October 2017 15:42:11 +0100 (0:00:00.059) 0:08:53.032 ******** | |
TASK [vault : include] ********************************************************* | |
Monday 30 October 2017 15:42:11 +0100 (0:00:00.067) 0:08:53.099 ******** | |
TASK [vault : bootstrap/gen_ca | Ensure cert_dir /etc/kubernetes/ssl exists] *** | |
Monday 30 October 2017 15:42:11 +0100 (0:00:00.100) 0:08:53.200 ******** | |
TASK [vault : bootstrap/gen_ca | Generate kube root CA] ************************ | |
Monday 30 October 2017 15:42:11 +0100 (0:00:00.076) 0:08:53.277 ******** | |
TASK [vault : bootstrap/gen_ca | Copy kube root CA cert locally] *************** | |
Monday 30 October 2017 15:42:11 +0100 (0:00:00.045) 0:08:53.322 ******** | |
TASK [vault : bootstrap/gen_ca | Copy kube root CA key locally] **************** | |
Monday 30 October 2017 15:42:12 +0100 (0:00:00.073) 0:08:53.396 ******** | |
TASK [vault : shared/auth_backend | Test if the auth backend exists] *********** | |
Monday 30 October 2017 15:42:12 +0100 (0:00:00.055) 0:08:53.451 ******** | |
TASK [vault : shared/auth_backend | Add the cert auth backend if needed] ******* | |
Monday 30 October 2017 15:42:12 +0100 (0:00:00.054) 0:08:53.506 ******** | |
TASK [vault : include] ********************************************************* | |
Monday 30 October 2017 15:42:12 +0100 (0:00:00.052) 0:08:53.558 ******** | |
PLAY [k8s-cluster] ************************************************************* | |
TASK [download : Register docker images info] ********************************** | |
Monday 30 October 2017 15:42:12 +0100 (0:00:00.129) 0:08:53.688 ******** | |
TASK [download : container_download | Create dest directory for saved/loaded container images] *** | |
Monday 30 October 2017 15:42:12 +0100 (0:00:00.053) 0:08:53.741 ******** | |
TASK [download : container_download | create local directory for saved/loaded container images] *** | |
Monday 30 October 2017 15:42:12 +0100 (0:00:00.056) 0:08:53.798 ******** | |
TASK [download : Download items] *********************************************** | |
Monday 30 October 2017 15:42:12 +0100 (0:00:00.031) 0:08:53.830 ******** | |
TASK [download : Sync container] *********************************************** | |
Monday 30 October 2017 15:42:12 +0100 (0:00:00.306) 0:08:54.137 ******** | |
TASK [kubespray-defaults : Configure defaults] ********************************* | |
Monday 30 October 2017 15:42:13 +0100 (0:00:00.292) 0:08:54.430 ******** | |
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 [kubernetes/secrets : Check_certs | check if the certs have already been generated on first master] *** | |
Monday 30 October 2017 15:42:13 +0100 (0:00:00.098) 0:08:54.528 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
TASK [kubernetes/secrets : Check_certs | Set default value for 'sync_certs', 'gen_certs', and 'secret_changed' to false] *** | |
Monday 30 October 2017 15:42:13 +0100 (0:00:00.253) 0:08:54.781 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/secrets : Check certs | check if a cert already exists on node] *** | |
Monday 30 October 2017 15:42:13 +0100 (0:00:00.109) 0:08:54.891 ******** | |
ok: [k8s-02] => (item=ca.pem) | |
ok: [k8s-03] => (item=ca.pem) | |
ok: [k8s-01] => (item=ca.pem) | |
ok: [k8s-02] => (item=apiserver.pem) | |
ok: [k8s-03] => (item=apiserver.pem) | |
ok: [k8s-01] => (item=apiserver.pem) | |
ok: [k8s-02] => (item=apiserver-key.pem) | |
ok: [k8s-01] => (item=apiserver-key.pem) | |
ok: [k8s-03] => (item=apiserver-key.pem) | |
ok: [k8s-02] => (item=kube-scheduler.pem) | |
ok: [k8s-01] => (item=kube-scheduler.pem) | |
ok: [k8s-03] => (item=kube-scheduler.pem) | |
ok: [k8s-02] => (item=kube-scheduler-key.pem) | |
ok: [k8s-01] => (item=kube-scheduler-key.pem) | |
ok: [k8s-03] => (item=kube-scheduler-key.pem) | |
ok: [k8s-02] => (item=kube-controller-manager.pem) | |
ok: [k8s-01] => (item=kube-controller-manager.pem) | |
ok: [k8s-03] => (item=kube-controller-manager.pem) | |
ok: [k8s-02] => (item=kube-controller-manager-key.pem) | |
ok: [k8s-01] => (item=kube-controller-manager-key.pem) | |
ok: [k8s-03] => (item=kube-controller-manager-key.pem) | |
ok: [k8s-02] => (item=admin-k8s-02.pem) | |
ok: [k8s-01] => (item=admin-k8s-01.pem) | |
ok: [k8s-03] => (item=admin-k8s-03.pem) | |
ok: [k8s-01] => (item=admin-k8s-01-key.pem) | |
ok: [k8s-02] => (item=admin-k8s-02-key.pem) | |
ok: [k8s-03] => (item=admin-k8s-03-key.pem) | |
ok: [k8s-01] => (item=node-k8s-01.pem) | |
ok: [k8s-02] => (item=node-k8s-02.pem) | |
ok: [k8s-03] => (item=node-k8s-03.pem) | |
ok: [k8s-01] => (item=node-k8s-01-key.pem) | |
ok: [k8s-02] => (item=node-k8s-02-key.pem) | |
ok: [k8s-03] => (item=node-k8s-03-key.pem) | |
ok: [k8s-01] => (item=kube-proxy-k8s-01.pem) | |
ok: [k8s-02] => (item=kube-proxy-k8s-02.pem) | |
ok: [k8s-03] => (item=kube-proxy-k8s-03.pem) | |
ok: [k8s-01] => (item=kube-proxy-k8s-01-key.pem) | |
ok: [k8s-02] => (item=kube-proxy-k8s-02-key.pem) | |
ok: [k8s-03] => (item=kube-proxy-k8s-03-key.pem) | |
TASK [kubernetes/secrets : Check_certs | Set 'gen_certs' to true] ************** | |
Monday 30 October 2017 15:42:16 +0100 (0:00:03.182) 0:08:58.074 ******** | |
ok: [k8s-01] => (item=['/etc/kubernetes/ssl/ca.pem', '/etc/kubernetes/ssl/apiserver.pem', '/etc/kubernetes/ssl/apiserver-key.pem', '/etc/kubernetes/ssl/kube-scheduler.pem', '/etc/kubernetes/ssl/kube-scheduler-key.pem', '/etc/kubernetes/ssl/kube-controller-manager.pem', '/etc/kubernetes/ssl/kube-controller-manager-key.pem', '/etc/kubernetes/ssl/admin-k8s-01.pem' '/etc/kubernetes/ssl/admin-k8s-01-key.pem' , '/etc/kubernetes/ssl/admin-k8s-02.pem' '/etc/kubernetes/ssl/admin-k8s-02-key.pem' ] '/etc/kubernetes/ssl/node-k8s-01.pem' '/etc/kubernetes/ssl/node-k8s-01-key.pem' '/etc/kubernetes/ssl/kube-proxy-k8s-01.pem' '/etc/kubernetes/ssl/kube-proxy-k8s-01-key.pem' , '/etc/kubernetes/ssl/node-k8s-02.pem' '/etc/kubernetes/ssl/node-k8s-02-key.pem' '/etc/kubernetes/ssl/kube-proxy-k8s-02.pem' '/etc/kubernetes/ssl/kube-proxy-k8s-02-key.pem' , '/etc/kubernetes/ssl/node-k8s-03.pem' '/etc/kubernetes/ssl/node-k8s-03-key.pem' '/etc/kubernetes/ssl/kube-proxy-k8s-03.pem' '/etc/kubernetes/ssl/kube-proxy-k8s-03-key.pem' ]) | |
TASK [kubernetes/secrets : Check_certs | Set 'gen_master_certs' to true] ******* | |
Monday 30 October 2017 15:42:16 +0100 (0:00:00.084) 0:08:58.158 ******** | |
ok: [k8s-01] | |
TASK [kubernetes/secrets : Check_certs | Set 'gen_node_certs' to true] ********* | |
Monday 30 October 2017 15:42:16 +0100 (0:00:00.075) 0:08:58.233 ******** | |
ok: [k8s-01] | |
TASK [kubernetes/secrets : Check_certs | Set 'sync_certs' to true] ************* | |
Monday 30 October 2017 15:42:16 +0100 (0:00:00.093) 0:08:58.326 ******** | |
[WARNING]: when statements should not include jinja2 templating delimiters | |
such as {{ }} or {% %}. Found: {%- set certs = {'sync': False} -%} {% if | |
gen_node_certs[inventory_hostname] or (not | |
kubecert_node.results[0].stat.exists|default(False)) or (not | |
kubecert_node.results[10].stat.exists|default(False)) or | |
(kubecert_node.results[10].stat.checksum|default('') != | |
kubecert_master.files|selectattr("path", "equalto", kubecert_node.results[10].s | |
tat.path)|map(attribute="checksum")|first|default('')) -%} {%- set _ = | |
certs.update({'sync': True}) -%} {% endif %} {{ certs.sync }} | |
[WARNING]: when statements should not include jinja2 templating delimiters | |
such as {{ }} or {% %}. Found: {%- set certs = {'sync': False} -%} {% if | |
gen_node_certs[inventory_hostname] or (not | |
kubecert_node.results[0].stat.exists|default(False)) or (not | |
kubecert_node.results[10].stat.exists|default(False)) or | |
(kubecert_node.results[10].stat.checksum|default('') != | |
kubecert_master.files|selectattr("path", "equalto", kubecert_node.results[10].s | |
tat.path)|map(attribute="checksum")|first|default('')) -%} {%- set _ = | |
certs.update({'sync': True}) -%} {% endif %} {{ certs.sync }} | |
[WARNING]: when statements should not include jinja2 templating delimiters | |
such as {{ }} or {% %}. Found: {%- set certs = {'sync': False} -%} {% if | |
gen_node_certs[inventory_hostname] or (not | |
kubecert_node.results[0].stat.exists|default(False)) or (not | |
kubecert_node.results[10].stat.exists|default(False)) or | |
(kubecert_node.results[10].stat.checksum|default('') != | |
kubecert_master.files|selectattr("path", "equalto", kubecert_node.results[10].s | |
tat.path)|map(attribute="checksum")|first|default('')) -%} {%- set _ = | |
certs.update({'sync': True}) -%} {% endif %} {{ certs.sync }} | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/secrets : Check_tokens | check if the tokens have already been generated on first master] *** | |
Monday 30 October 2017 15:42:17 +0100 (0:00:00.123) 0:08:58.450 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
TASK [kubernetes/secrets : Check_tokens | Set default value for 'sync_tokens' and 'gen_tokens' to false] *** | |
Monday 30 October 2017 15:42:17 +0100 (0:00:00.252) 0:08:58.702 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/secrets : Check_tokens | Set 'sync_tokens' and 'gen_tokens' to true] *** | |
Monday 30 October 2017 15:42:17 +0100 (0:00:00.100) 0:08:58.802 ******** | |
ok: [k8s-01] | |
TASK [kubernetes/secrets : Check tokens | check if a cert already exists] ****** | |
Monday 30 October 2017 15:42:17 +0100 (0:00:00.080) 0:08:58.883 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/secrets : Check_tokens | Set 'sync_tokens' to true] *********** | |
Monday 30 October 2017 15:42:17 +0100 (0:00:00.290) 0:08:59.173 ******** | |
[WARNING]: when statements should not include jinja2 templating delimiters | |
such as {{ }} or {% %}. Found: {%- set tokens = {'sync': False} -%} {%- for | |
server in groups['kube-master'] | intersect(ansible_play_batch) if (not | |
hostvars[server].known_tokens.stat.exists) or | |
(hostvars[server].known_tokens.stat.checksum|default('') != | |
known_tokens_master.stat.checksum|default('')) -%} {%- set _ = | |
tokens.update({'sync': True}) -%} {%- endfor -%} {{ tokens.sync }} | |
ok: [k8s-01] | |
TASK [kubernetes/secrets : Make sure the certificate directory exits] ********** | |
Monday 30 October 2017 15:42:17 +0100 (0:00:00.159) 0:08:59.333 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
changed: [k8s-03] | |
TASK [kubernetes/secrets : Make sure the tokens directory exits] *************** | |
Monday 30 October 2017 15:42:18 +0100 (0:00:00.268) 0:08:59.602 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
changed: [k8s-03] | |
TASK [kubernetes/secrets : Gen_certs | Create kubernetes config directory (on k8s-01)] *** | |
Monday 30 October 2017 15:42:18 +0100 (0:00:00.292) 0:08:59.894 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
TASK [kubernetes/secrets : Gen_certs | Create kubernetes script directory (on k8s-01)] *** | |
Monday 30 October 2017 15:42:18 +0100 (0:00:00.290) 0:09:00.184 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
TASK [kubernetes/secrets : Get_tokens | Make sure the tokens directory exits (on k8s-01)] *** | |
Monday 30 October 2017 15:42:19 +0100 (0:00:00.269) 0:09:00.454 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
TASK [kubernetes/secrets : include] ******************************************** | |
Monday 30 October 2017 15:42:19 +0100 (0:00:00.254) 0:09:00.708 ******** | |
included: /home/guenthgr/workspaces/kubespray/roles/kubernetes/secrets/tasks/gen_certs_script.yml for k8s-01, k8s-02, k8s-03 | |
TASK [kubernetes/secrets : Gen_certs | Create kubernetes config directory (on k8s-01)] *** | |
Monday 30 October 2017 15:42:19 +0100 (0:00:00.159) 0:09:00.868 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
TASK [kubernetes/secrets : Gen_certs | Create kubernetes script directory (on k8s-01)] *** | |
Monday 30 October 2017 15:42:19 +0100 (0:00:00.261) 0:09:01.129 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
TASK [kubernetes/secrets : Gen_certs | write openssl config] ******************* | |
Monday 30 October 2017 15:42:19 +0100 (0:00:00.256) 0:09:01.386 ******** | |
changed: [k8s-01 -> 127.0.0.1] | |
TASK [kubernetes/secrets : Gen_certs | copy certs generation script] *********** | |
Monday 30 October 2017 15:42:20 +0100 (0:00:00.856) 0:09:02.243 ******** | |
changed: [k8s-01 -> 127.0.0.1] | |
TASK [kubernetes/secrets : Gen_certs | run cert generation script] ************* | |
Monday 30 October 2017 15:42:21 +0100 (0:00:00.608) 0:09:02.851 ******** | |
changed: [k8s-01 -> 127.0.0.1] | |
TASK [kubernetes/secrets : set_fact] ******************************************* | |
Monday 30 October 2017 15:42:22 +0100 (0:00:01.387) 0:09:04.238 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/secrets : Gen_certs | Gather master certs] ******************** | |
Monday 30 October 2017 15:42:22 +0100 (0:00:00.111) 0:09:04.350 ******** | |
changed: [k8s-02 -> 127.0.0.1] | |
TASK [kubernetes/secrets : Gen_certs | Gather node certs] ********************** | |
Monday 30 October 2017 15:42:23 +0100 (0:00:00.281) 0:09:04.632 ******** | |
changed: [k8s-03 -> 127.0.0.1] | |
changed: [k8s-02 -> 127.0.0.1] | |
TASK [kubernetes/secrets : Gen_certs | Prepare tempfile for unpacking certs] *** | |
Monday 30 October 2017 15:42:23 +0100 (0:00:00.330) 0:09:04.962 ******** | |
changed: [k8s-02] | |
TASK [kubernetes/secrets : Gen_certs | Write master certs to tempfile] ********* | |
Monday 30 October 2017 15:42:23 +0100 (0:00:00.255) 0:09:05.218 ******** | |
changed: [k8s-02] | |
TASK [kubernetes/secrets : Gen_certs | Unpack certs on masters] **************** | |
Monday 30 October 2017 15:42:24 +0100 (0:00:00.607) 0:09:05.826 ******** | |
ok: [k8s-02] | |
TASK [kubernetes/secrets : Gen_certs | Cleanup tempfile] *********************** | |
Monday 30 October 2017 15:42:24 +0100 (0:00:00.259) 0:09:06.085 ******** | |
changed: [k8s-02] | |
TASK [kubernetes/secrets : Gen_certs | Copy certs on nodes] ******************** | |
Monday 30 October 2017 15:42:24 +0100 (0:00:00.243) 0:09:06.329 ******** | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/secrets : Gen_certs | check certificate permissions] ********** | |
Monday 30 October 2017 15:42:25 +0100 (0:00:00.324) 0:09:06.653 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
changed: [k8s-03] | |
TASK [kubernetes/secrets : Gen_certs | target ca-certificates path] ************ | |
Monday 30 October 2017 15:42:25 +0100 (0:00:00.275) 0:09:06.929 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/secrets : Gen_certs | add CA to trusted CA dir] *************** | |
Monday 30 October 2017 15:42:25 +0100 (0:00:00.096) 0:09:07.026 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
changed: [k8s-03] | |
TASK [kubernetes/secrets : Gen_certs | update ca-certificates (Debian/Ubuntu/Container Linux by CoreOS)] *** | |
Monday 30 October 2017 15:42:25 +0100 (0:00:00.275) 0:09:07.301 ******** | |
changed: [k8s-03] | |
changed: [k8s-01] | |
changed: [k8s-02] | |
TASK [kubernetes/secrets : Gen_certs | update ca-certificates (RedHat)] ******** | |
Monday 30 October 2017 15:42:27 +0100 (0:00:01.772) 0:09:09.074 ******** | |
TASK [kubernetes/secrets : Gen_certs | Get certificate serials on kube masters] *** | |
Monday 30 October 2017 15:42:27 +0100 (0:00:00.064) 0:09:09.138 ******** | |
changed: [k8s-01] => (item=admin-k8s-01.pem) | |
changed: [k8s-02] => (item=admin-k8s-02.pem) | |
changed: [k8s-01] => (item=apiserver.pem) | |
changed: [k8s-02] => (item=apiserver.pem) | |
changed: [k8s-01] => (item=kube-controller-manager.pem) | |
changed: [k8s-02] => (item=kube-controller-manager.pem) | |
changed: [k8s-01] => (item=kube-scheduler.pem) | |
changed: [k8s-02] => (item=kube-scheduler.pem) | |
TASK [kubernetes/secrets : Gen_certs | set kube master certificate serial facts] *** | |
Monday 30 October 2017 15:42:28 +0100 (0:00:01.102) 0:09:10.240 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
TASK [kubernetes/secrets : Gen_certs | Get certificate serials on kube nodes] *** | |
Monday 30 October 2017 15:42:28 +0100 (0:00:00.103) 0:09:10.344 ******** | |
changed: [k8s-01] => (item=node-k8s-01.pem) | |
changed: [k8s-02] => (item=node-k8s-02.pem) | |
changed: [k8s-03] => (item=node-k8s-03.pem) | |
changed: [k8s-02] => (item=kube-proxy-k8s-02.pem) | |
changed: [k8s-01] => (item=kube-proxy-k8s-01.pem) | |
changed: [k8s-03] => (item=kube-proxy-k8s-03.pem) | |
TASK [kubernetes/secrets : Gen_certs | set kube node certificate serial facts] *** | |
Monday 30 October 2017 15:42:29 +0100 (0:00:00.717) 0:09:11.061 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/secrets : Gen_tokens | copy tokens generation script] ********* | |
Monday 30 October 2017 15:42:29 +0100 (0:00:00.109) 0:09:11.170 ******** | |
changed: [k8s-01 -> 127.0.0.1] | |
TASK [kubernetes/secrets : Gen_tokens | generate tokens for master components] *** | |
Monday 30 October 2017 15:42:30 +0100 (0:00:00.611) 0:09:11.782 ******** | |
changed: [k8s-01 -> 127.0.0.1] => (item=[u'system:kubectl', u'k8s-01']) | |
changed: [k8s-01 -> 127.0.0.1] => (item=[u'system:kubectl', u'k8s-02']) | |
TASK [kubernetes/secrets : Gen_tokens | generate tokens for node components] *** | |
Monday 30 October 2017 15:42:31 +0100 (0:00:00.642) 0:09:12.424 ******** | |
changed: [k8s-01 -> 127.0.0.1] => (item=[u'system:kubelet', u'k8s-01']) | |
changed: [k8s-01 -> 127.0.0.1] => (item=[u'system:kubelet', u'k8s-02']) | |
changed: [k8s-01 -> 127.0.0.1] => (item=[u'system:kubelet', u'k8s-03']) | |
TASK [kubernetes/secrets : Gen_tokens | Get list of tokens from first master] *** | |
Monday 30 October 2017 15:42:31 +0100 (0:00:00.850) 0:09:13.274 ******** | |
changed: [k8s-01 -> 127.0.0.1] | |
TASK [kubernetes/secrets : Gen_tokens | Gather tokens] ************************* | |
Monday 30 October 2017 15:42:32 +0100 (0:00:00.254) 0:09:13.529 ******** | |
changed: [k8s-01 -> 127.0.0.1] | |
TASK [kubernetes/secrets : Gen_tokens | Copy tokens on masters] **************** | |
Monday 30 October 2017 15:42:32 +0100 (0:00:00.256) 0:09:13.786 ******** | |
changed: [k8s-02] | |
TASK [kubernetes/node : look up docker cgroup driver] ************************** | |
Monday 30 October 2017 15:42:32 +0100 (0:00:00.394) 0:09:14.181 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/node : set_fact] ********************************************** | |
Monday 30 October 2017 15:42:33 +0100 (0:00:00.306) 0:09:14.487 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/node : Pre-upgrade | copy /var/lib/cni from kubelet] ********** | |
Monday 30 October 2017 15:42:33 +0100 (0:00:00.128) 0:09:14.615 ******** | |
changed: [k8s-01] | |
changed: [k8s-03] | |
changed: [k8s-02] | |
TASK [kubernetes/node : Pre-upgrade | ensure kubelet container is stopped if using host deployment] *** | |
Monday 30 October 2017 15:42:33 +0100 (0:00:00.277) 0:09:14.893 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/node : Ensure /var/lib/cni exists] **************************** | |
Monday 30 October 2017 15:42:33 +0100 (0:00:00.285) 0:09:15.178 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
changed: [k8s-03] | |
TASK [kubernetes/node : install | Set SSL CA directories] ********************** | |
Monday 30 October 2017 15:42:34 +0100 (0:00:00.271) 0:09:15.450 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/node : Set kubelet deployment to host if kubeadm is enabled] *** | |
Monday 30 October 2017 15:42:34 +0100 (0:00:00.098) 0:09:15.548 ******** | |
TASK [kubernetes/node : install | Copy kubeadm binary from download dir] ******* | |
Monday 30 October 2017 15:42:34 +0100 (0:00:00.053) 0:09:15.602 ******** | |
TASK [kubernetes/node : install | Set kubeadm binary permissions] ************** | |
Monday 30 October 2017 15:42:34 +0100 (0:00:00.055) 0:09:15.657 ******** | |
TASK [kubernetes/node : include] *********************************************** | |
Monday 30 October 2017 15:42:34 +0100 (0:00:00.052) 0:09:15.710 ******** | |
included: /home/guenthgr/workspaces/kubespray/roles/kubernetes/node/tasks/install_host.yml for k8s-01, k8s-02, k8s-03 | |
TASK [kubernetes/node : install | Compare host kubelet with hyperkube container] *** | |
Monday 30 October 2017 15:42:34 +0100 (0:00:00.107) 0:09:15.818 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [kubernetes/node : install | Copy kubelet from hyperkube container] ******* | |
Monday 30 October 2017 15:43:38 +0100 (0:01:03.919) 0:10:19.737 ******** | |
changed: [k8s-03] | |
changed: [k8s-02] | |
changed: [k8s-01] | |
TASK [kubernetes/node : install | Copy socat wrapper for Container Linux] ****** | |
Monday 30 October 2017 15:43:53 +0100 (0:00:15.405) 0:10:35.143 ******** | |
TASK [kubernetes/node : install | Write kubelet systemd init file] ************* | |
Monday 30 October 2017 15:43:53 +0100 (0:00:00.058) 0:10:35.201 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
changed: [k8s-03] | |
TASK [kubernetes/node : nginx-proxy | Write static pod] ************************ | |
Monday 30 October 2017 15:43:54 +0100 (0:00:00.800) 0:10:36.002 ******** | |
changed: [k8s-03] | |
TASK [kubernetes/node : nginx-proxy | Make nginx directory] ******************** | |
Monday 30 October 2017 15:43:55 +0100 (0:00:00.822) 0:10:36.825 ******** | |
changed: [k8s-03] | |
TASK [kubernetes/node : nginx-proxy | Write nginx-proxy configuration] ********* | |
Monday 30 October 2017 15:43:55 +0100 (0:00:00.400) 0:10:37.225 ******** | |
changed: [k8s-03] | |
TASK [kubernetes/node : Write kubelet config file (non-kubeadm)] *************** | |
Monday 30 October 2017 15:43:56 +0100 (0:00:00.871) 0:10:38.096 ******** | |
changed: [k8s-02] | |
changed: [k8s-03] | |
changed: [k8s-01] | |
TASK [kubernetes/node : Write kubelet config file (kubeadm)] ******************* | |
Monday 30 October 2017 15:43:57 +0100 (0:00:00.826) 0:10:38.923 ******** | |
TASK [kubernetes/node : write the kubecfg (auth) file for kubelet] ************* | |
Monday 30 October 2017 15:43:57 +0100 (0:00:00.058) 0:10:38.981 ******** | |
changed: [k8s-01] => (item=node) | |
changed: [k8s-02] => (item=node) | |
changed: [k8s-03] => (item=node) | |
changed: [k8s-01] => (item=kube-proxy) | |
changed: [k8s-02] => (item=kube-proxy) | |
changed: [k8s-03] => (item=kube-proxy) | |
TASK [kubernetes/node : Ensure nodePort range is reserved] ********************* | |
Monday 30 October 2017 15:43:59 +0100 (0:00:01.516) 0:10:40.498 ******** | |
changed: [k8s-02] | |
changed: [k8s-01] | |
changed: [k8s-03] | |
TASK [kubernetes/node : Verify if br_netfilter module exists] ****************** | |
Monday 30 October 2017 15:43:59 +0100 (0:00:00.438) 0:10:40.936 ******** | |
ok: [k8s-02] | |
ok: [k8s-03] | |
ok: [k8s-01] | |
TASK [kubernetes/node : Enable br_netfilter module] **************************** | |
Monday 30 October 2017 15:43:59 +0100 (0:00:00.408) 0:10:41.345 ******** | |
ok: [k8s-02] | |
ok: [k8s-03] | |
ok: [k8s-01] | |
TASK [kubernetes/node : Persist br_netfilter module] *************************** | |
Monday 30 October 2017 15:44:00 +0100 (0:00:00.495) 0:10:41.841 ******** | |
changed: [k8s-02] | |
changed: [k8s-01] | |
changed: [k8s-03] | |
TASK [kubernetes/node : Check if bridge-nf-call-iptables key exists] *********** | |
Monday 30 October 2017 15:44:01 +0100 (0:00:00.795) 0:10:42.636 ******** | |
ok: [k8s-02] | |
ok: [k8s-01] | |
ok: [k8s-03] | |
TASK [kubernetes/node : Enable bridge-nf-call tables] ************************** | |
Monday 30 October 2017 15:44:01 +0100 (0:00:00.421) 0:10:43.058 ******** | |
TASK [kubernetes/node : Write proxy manifest] ********************************** | |
Monday 30 October 2017 15:44:01 +0100 (0:00:00.068) 0:10:43.126 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
changed: [k8s-03] | |
TASK [kubernetes/node : Purge proxy manifest for kubeadm] ********************** | |
Monday 30 October 2017 15:44:02 +0100 (0:00:00.790) 0:10:43.917 ******** | |
RUNNING HANDLER [kubernetes/secrets : set secret_changed] ********************** | |
Monday 30 October 2017 15:44:02 +0100 (0:00:00.044) 0:10:43.962 ******** | |
changed: [k8s-01] | |
RUNNING HANDLER [kubernetes/secrets : set secret_changed to true] ************** | |
Monday 30 October 2017 15:44:02 +0100 (0:00:00.393) 0:10:44.355 ******** | |
ok: [k8s-01] | |
RUNNING HANDLER [kubernetes/secrets : clear kubeconfig for root user] ********** | |
Monday 30 October 2017 15:44:03 +0100 (0:00:00.210) 0:10:44.566 ******** | |
ok: [k8s-01] | |
RUNNING HANDLER [kubernetes/node : restart kubelet] **************************** | |
Monday 30 October 2017 15:44:03 +0100 (0:00:00.400) 0:10:44.967 ******** | |
changed: [k8s-03] | |
changed: [k8s-02] | |
changed: [k8s-01] | |
RUNNING HANDLER [kubernetes/node : Kubelet | reload systemd] ******************* | |
Monday 30 October 2017 15:44:04 +0100 (0:00:00.458) 0:10:45.425 ******** | |
changed: [k8s-03] | |
changed: [k8s-02] | |
changed: [k8s-01] | |
RUNNING HANDLER [kubernetes/node : Kubelet | reload kubelet] ******************* | |
Monday 30 October 2017 15:44:04 +0100 (0:00:00.513) 0:10:45.939 ******** | |
changed: [k8s-03] | |
changed: [k8s-02] | |
changed: [k8s-01] | |
TASK [kubernetes/node : Enable kubelet] **************************************** | |
Monday 30 October 2017 15:44:05 +0100 (0:00:00.487) 0:10:46.426 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
changed: [k8s-03] | |
PLAY [kube-master] ************************************************************* | |
TASK [download : Register docker images info] ********************************** | |
Monday 30 October 2017 15:44:05 +0100 (0:00:00.865) 0:10:47.291 ******** | |
TASK [download : container_download | Create dest directory for saved/loaded container images] *** | |
Monday 30 October 2017 15:44:05 +0100 (0:00:00.050) 0:10:47.342 ******** | |
TASK [download : container_download | create local directory for saved/loaded container images] *** | |
Monday 30 October 2017 15:44:05 +0100 (0:00:00.050) 0:10:47.392 ******** | |
TASK [download : Download items] *********************************************** | |
Monday 30 October 2017 15:44:06 +0100 (0:00:00.033) 0:10:47.425 ******** | |
TASK [download : Sync container] *********************************************** | |
Monday 30 October 2017 15:44:06 +0100 (0:00:00.306) 0:10:47.732 ******** | |
TASK [kubespray-defaults : Configure defaults] ********************************* | |
Monday 30 October 2017 15:44:06 +0100 (0:00:00.282) 0:10:48.014 ******** | |
ok: [k8s-01] => { | |
"msg": "Check roles/kubespray-defaults/defaults/main.yml" | |
} | |
ok: [k8s-02] => { | |
"msg": "Check roles/kubespray-defaults/defaults/main.yml" | |
} | |
TASK [kubernetes/master : Pre-upgrade | etcd3 upgrade | see if old config exists] *** | |
Monday 30 October 2017 15:44:06 +0100 (0:00:00.101) 0:10:48.115 ******** | |
ok: [k8s-01 -> 127.0.0.1] | |
ok: [k8s-02 -> 127.0.0.1] | |
TASK [kubernetes/master : Pre-upgrade | etcd3 upgrade | use etcd2 unless forced to etcd3] *** | |
Monday 30 October 2017 15:44:07 +0100 (0:00:00.516) 0:10:48.631 ******** | |
TASK [kubernetes/master : Pre-upgrade | Delete master manifests] *************** | |
Monday 30 October 2017 15:44:07 +0100 (0:00:00.047) 0:10:48.679 ******** | |
ok: [k8s-01] => (item=kube-apiserver) | |
ok: [k8s-01] => (item=kube-controller-manager) | |
ok: [k8s-01] => (item=kube-scheduler) | |
TASK [kubernetes/master : Pre-upgrade | Delete master containers forcefully] *** | |
Monday 30 October 2017 15:44:07 +0100 (0:00:00.701) 0:10:49.381 ******** | |
TASK [kubernetes/master : Disable kube_basic_auth until kubeadm/441 is fixed] *** | |
Monday 30 October 2017 15:44:08 +0100 (0:00:00.067) 0:10:49.449 ******** | |
TASK [kubernetes/master : Make sure the users directory exits] ***************** | |
Monday 30 October 2017 15:44:08 +0100 (0:00:00.041) 0:10:49.491 ******** | |
TASK [kubernetes/master : Populate users for basic auth in API] **************** | |
Monday 30 October 2017 15:44:08 +0100 (0:00:00.044) 0:10:49.535 ******** | |
TASK [kubernetes/master : Compare host kubectl with hyperkube container] ******* | |
Monday 30 October 2017 15:44:08 +0100 (0:00:00.045) 0:10:49.581 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
TASK [kubernetes/master : Copy kubectl from hyperkube container] *************** | |
Monday 30 October 2017 15:44:08 +0100 (0:00:00.700) 0:10:50.281 ******** | |
ok: [k8s-02] | |
ok: [k8s-01] | |
TASK [kubernetes/master : Install kubectl bash completion] ********************* | |
Monday 30 October 2017 15:44:13 +0100 (0:00:04.846) 0:10:55.128 ******** | |
changed: [k8s-02] | |
changed: [k8s-01] | |
TASK [kubernetes/master : Set kubectl bash completion file] ******************** | |
Monday 30 October 2017 15:44:14 +0100 (0:00:00.870) 0:10:55.999 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
TASK [kubernetes/master : kubeadm | Check if old apiserver cert exists on host] *** | |
Monday 30 October 2017 15:44:14 +0100 (0:00:00.318) 0:10:56.317 ******** | |
TASK [kubernetes/master : kubeadm | Check service account key] ***************** | |
Monday 30 October 2017 15:44:14 +0100 (0:00:00.038) 0:10:56.356 ******** | |
TASK [kubernetes/master : kubeadm | Check if kubeadm has already run] ********** | |
Monday 30 October 2017 15:44:14 +0100 (0:00:00.032) 0:10:56.389 ******** | |
TASK [kubernetes/master : kubeadm | Delete old admin.conf] ********************* | |
Monday 30 October 2017 15:44:15 +0100 (0:00:00.044) 0:10:56.433 ******** | |
TASK [kubernetes/master : kubeadm | Delete old static pods] ******************** | |
Monday 30 October 2017 15:44:15 +0100 (0:00:00.042) 0:10:56.475 ******** | |
TASK [kubernetes/master : kubeadm | Forcefully delete old static pods] ********* | |
Monday 30 October 2017 15:44:15 +0100 (0:00:00.091) 0:10:56.567 ******** | |
TASK [kubernetes/master : kubeadm | aggregate all SANs] ************************ | |
Monday 30 October 2017 15:44:15 +0100 (0:00:00.068) 0:10:56.635 ******** | |
TASK [kubernetes/master : kubeadm | Copy etcd cert dir under k8s cert dir] ***** | |
Monday 30 October 2017 15:44:15 +0100 (0:00:00.052) 0:10:56.688 ******** | |
TASK [kubernetes/master : kubeadm | Create kubeadm config] ********************* | |
Monday 30 October 2017 15:44:15 +0100 (0:00:00.046) 0:10:56.734 ******** | |
TASK [kubernetes/master : kubeadm | Initialize first master] ******************* | |
Monday 30 October 2017 15:44:15 +0100 (0:00:00.047) 0:10:56.782 ******** | |
TASK [kubernetes/master : kubeadm | Upgrade first master] ********************** | |
Monday 30 October 2017 15:44:15 +0100 (0:00:00.045) 0:10:56.827 ******** | |
TASK [kubernetes/master : kubeadm | Enable kube-proxy] ************************* | |
Monday 30 October 2017 15:44:15 +0100 (0:00:00.046) 0:10:56.874 ******** | |
TASK [kubernetes/master : slurp kubeadm certs] ********************************* | |
Monday 30 October 2017 15:44:15 +0100 (0:00:00.071) 0:10:56.945 ******** | |
TASK [kubernetes/master : kubeadm | write out kubeadm certs] ******************* | |
Monday 30 October 2017 15:44:15 +0100 (0:00:00.113) 0:10:57.058 ******** | |
TASK [kubernetes/master : kubeadm | Init other uninitialized masters] ********** | |
Monday 30 October 2017 15:44:15 +0100 (0:00:00.126) 0:10:57.185 ******** | |
TASK [kubernetes/master : kubeadm | Upgrade other masters] ********************* | |
Monday 30 October 2017 15:44:15 +0100 (0:00:00.047) 0:10:57.232 ******** | |
TASK [kubernetes/master : kubeadm | Check service account key again] *********** | |
Monday 30 October 2017 15:44:15 +0100 (0:00:00.060) 0:10:57.292 ******** | |
TASK [kubernetes/master : kubeadm | Set secret_changed if service account key was updated] *** | |
Monday 30 October 2017 15:44:15 +0100 (0:00:00.035) 0:10:57.328 ******** | |
TASK [kubernetes/master : kubeadm | Purge old certs] *************************** | |
Monday 30 October 2017 15:44:15 +0100 (0:00:00.045) 0:10:57.374 ******** | |
TASK [kubernetes/master : Write kube-apiserver manifest] *********************** | |
Monday 30 October 2017 15:44:16 +0100 (0:00:00.050) 0:10:57.424 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
RUNNING HANDLER [kubernetes/master : Master | wait for the apiserver to be running] *** | |
Monday 30 October 2017 15:44:18 +0100 (0:00:02.547) 0:10:59.971 ******** | |
FAILED - RETRYING: Master | wait for the apiserver to be running (20 retries left). | |
FAILED - RETRYING: Master | wait for the apiserver to be running (20 retries left). | |
FAILED - RETRYING: Master | wait for the apiserver to be running (19 retries left). | |
FAILED - RETRYING: Master | wait for the apiserver to be running (19 retries left). | |
ok: [k8s-02] | |
ok: [k8s-01] | |
TASK [kubernetes/master : Write kube-scheduler kubeconfig] ********************* | |
Monday 30 October 2017 15:44:34 +0100 (0:00:15.625) 0:11:15.597 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
TASK [kubernetes/master : Write kube-scheduler manifest] *********************** | |
Monday 30 October 2017 15:44:34 +0100 (0:00:00.773) 0:11:16.370 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
TASK [kubernetes/master : Write kube-controller-manager kubeconfig] ************ | |
Monday 30 October 2017 15:44:35 +0100 (0:00:00.735) 0:11:17.106 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
TASK [kubernetes/master : Write kube-controller-manager manifest] ************** | |
Monday 30 October 2017 15:44:36 +0100 (0:00:01.060) 0:11:18.166 ******** | |
changed: [k8s-02] | |
changed: [k8s-01] | |
TASK [kubernetes/client : Set first kube master] ******************************* | |
Monday 30 October 2017 15:44:37 +0100 (0:00:00.926) 0:11:19.092 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
TASK [kubernetes/client : Set external kube-apiserver endpoint] **************** | |
Monday 30 October 2017 15:44:37 +0100 (0:00:00.148) 0:11:19.240 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
TASK [kubernetes/client : Gather certs for admin kubeconfig] ******************* | |
Monday 30 October 2017 15:44:37 +0100 (0:00:00.102) 0:11:19.343 ******** | |
ok: [k8s-02] => (item=/etc/kubernetes/ssl/ca.pem) | |
ok: [k8s-01] => (item=/etc/kubernetes/ssl/ca.pem) | |
ok: [k8s-02] => (item=/etc/kubernetes/ssl/admin-k8s-02.pem) | |
ok: [k8s-01] => (item=/etc/kubernetes/ssl/admin-k8s-01.pem) | |
ok: [k8s-02] => (item=/etc/kubernetes/ssl/admin-k8s-02-key.pem) | |
ok: [k8s-01] => (item=/etc/kubernetes/ssl/admin-k8s-01-key.pem) | |
TASK [kubernetes/client : Write admin kubeconfig] ****************************** | |
Monday 30 October 2017 15:44:39 +0100 (0:00:01.320) 0:11:20.663 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
TASK [kubernetes/client : Create kube config dir] ****************************** | |
Monday 30 October 2017 15:44:40 +0100 (0:00:00.806) 0:11:21.469 ******** | |
changed: [k8s-01] | |
changed: [k8s-02] | |
TASK [kubernetes/client : Copy admin kubeconfig to root user home] ************* | |
Monday 30 October 2017 15:44:40 +0100 (0:00:00.300) 0:11:21.770 ******** | |
changed: [k8s-02] | |
changed: [k8s-01] | |
TASK [kubernetes/client : Copy admin kubeconfig to ansible host] *************** | |
Monday 30 October 2017 15:44:40 +0100 (0:00:00.287) 0:11:22.058 ******** | |
TASK [kubernetes/client : Copy kubectl binary to ansible host] ***************** | |
Monday 30 October 2017 15:44:40 +0100 (0:00:00.032) 0:11:22.091 ******** | |
TASK [kubernetes-apps/cluster_roles : Kubernetes Apps | Wait for kube-apiserver] *** | |
Monday 30 October 2017 15:44:40 +0100 (0:00:00.033) 0:11:22.124 ******** | |
ok: [k8s-01] | |
TASK [kubernetes-apps/cluster_roles : Kubernetes Apps | Add ClusterRoleBinding to admit nodes] *** | |
Monday 30 October 2017 15:44:41 +0100 (0:00:00.338) 0:11:22.463 ******** | |
changed: [k8s-02] | |
changed: [k8s-01] | |
TASK [kubernetes-apps/cluster_roles : Apply workaround to allow all nodes with cert O=system:nodes to register] *** | |
Monday 30 October 2017 15:44:41 +0100 (0:00:00.730) 0:11:23.193 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
TASK [kubernetes-apps/cluster_roles : Write kube system namespace manifest] **** | |
Monday 30 October 2017 15:44:43 +0100 (0:00:01.856) 0:11:25.050 ******** | |
changed: [k8s-01] | |
TASK [kubernetes-apps/cluster_roles : Check if kube system namespace exists] *** | |
Monday 30 October 2017 15:44:44 +0100 (0:00:00.652) 0:11:25.702 ******** | |
ok: [k8s-01] | |
TASK [kubernetes-apps/cluster_roles : Create kube system namespace] ************ | |
Monday 30 October 2017 15:44:44 +0100 (0:00:00.499) 0:11:26.201 ******** | |
RUNNING HANDLER [kubernetes/master : Master | wait for kube-scheduler] ********* | |
Monday 30 October 2017 15:44:44 +0100 (0:00:00.035) 0:11:26.237 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
RUNNING HANDLER [kubernetes/master : Master | wait for kube-controller-manager] *** | |
Monday 30 October 2017 15:44:45 +0100 (0:00:00.325) 0:11:26.563 ******** | |
ok: [k8s-02] | |
ok: [k8s-01] | |
PLAY [k8s-cluster] ************************************************************* | |
TASK [download : Register docker images info] ********************************** | |
Monday 30 October 2017 15:44:45 +0100 (0:00:00.348) 0:11:26.911 ******** | |
TASK [download : container_download | Create dest directory for saved/loaded container images] *** | |
Monday 30 October 2017 15:44:45 +0100 (0:00:00.056) 0:11:26.968 ******** | |
TASK [download : container_download | create local directory for saved/loaded container images] *** | |
Monday 30 October 2017 15:44:45 +0100 (0:00:00.058) 0:11:27.026 ******** | |
TASK [download : Download items] *********************************************** | |
Monday 30 October 2017 15:44:45 +0100 (0:00:00.032) 0:11:27.059 ******** | |
TASK [download : Sync container] *********************************************** | |
Monday 30 October 2017 15:44:45 +0100 (0:00:00.311) 0:11:27.370 ******** | |
TASK [kubespray-defaults : Configure defaults] ********************************* | |
Monday 30 October 2017 15:44:46 +0100 (0:00:00.308) 0:11:27.679 ******** | |
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 [kubernetes/kubeadm : Set kubeadm_discovery_address] ********************** | |
Monday 30 October 2017 15:44:46 +0100 (0:00:00.102) 0:11:27.781 ******** | |
TASK [kubernetes/kubeadm : Check if kubelet.conf exists] *********************** | |
Monday 30 October 2017 15:44:46 +0100 (0:00:00.052) 0:11:27.834 ******** | |
TASK [kubernetes/kubeadm : Create kubeadm client config] *********************** | |
Monday 30 October 2017 15:44:46 +0100 (0:00:00.054) 0:11:27.889 ******** | |
TASK [kubernetes/kubeadm : Join to cluster if needed] ************************** | |
Monday 30 October 2017 15:44:46 +0100 (0:00:00.057) 0:11:27.946 ******** | |
TASK [kubernetes/kubeadm : Wait for kubelet bootstrap to create config] ******** | |
Monday 30 October 2017 15:44:46 +0100 (0:00:00.066) 0:11:28.013 ******** | |
TASK [kubernetes/kubeadm : Update server field in kubelet kubeconfig] ********** | |
Monday 30 October 2017 15:44:46 +0100 (0:00:00.060) 0:11:28.074 ******** | |
TASK [kubernetes/kubeadm : Symlink kubelet kubeconfig for calico/canal] ******** | |
Monday 30 October 2017 15:44:46 +0100 (0:00:00.056) 0:11:28.130 ******** | |
TASK [network_plugin/calico : Calico | Disable calico-node service if it exists] *** | |
Monday 30 October 2017 15:44:46 +0100 (0:00:00.057) 0:11:28.187 ******** | |
TASK [network_plugin/calico : Calico | Get kubelet hostname] ******************* | |
Monday 30 October 2017 15:44:46 +0100 (0:00:00.064) 0:11:28.252 ******** | |
TASK [network_plugin/calico : Calico | Write Calico cni config] **************** | |
Monday 30 October 2017 15:44:46 +0100 (0:00:00.069) 0:11:28.322 ******** | |
TASK [network_plugin/calico : Calico | Create calico certs directory] ********** | |
Monday 30 October 2017 15:44:46 +0100 (0:00:00.057) 0:11:28.379 ******** | |
TASK [network_plugin/calico : Calico | Link etcd certificates for calico-node] *** | |
Monday 30 October 2017 15:44:47 +0100 (0:00:00.057) 0:11:28.436 ******** | |
TASK [network_plugin/calico : Calico | Install calicoctl container script] ***** | |
Monday 30 October 2017 15:44:47 +0100 (0:00:00.080) 0:11:28.517 ******** | |
TASK [network_plugin/calico : Calico | Copy cni plugins from hyperkube] ******** | |
Monday 30 October 2017 15:44:47 +0100 (0:00:00.064) 0:11:28.582 ******** | |
TASK [network_plugin/calico : Calico | Copy cni plugins from calico/cni container] *** | |
Monday 30 October 2017 15:44:47 +0100 (0:00:00.063) 0:11:28.645 ******** | |
TASK [network_plugin/calico : Calico | Set cni directory permissions] ********** | |
Monday 30 October 2017 15:44:47 +0100 (0:00:00.064) 0:11:28.709 ******** | |
TASK [network_plugin/calico : Calico | wait for etcd] ************************** | |
Monday 30 October 2017 15:44:47 +0100 (0:00:00.061) 0:11:28.771 ******** | |
TASK [network_plugin/calico : Calico | Check if calico network pool has already been configured] *** | |
Monday 30 October 2017 15:44:47 +0100 (0:00:00.038) 0:11:28.809 ******** | |
TASK [network_plugin/calico : Calico | Configure calico network pool] ********** | |
Monday 30 October 2017 15:44:47 +0100 (0:00:00.037) 0:11:28.847 ******** | |
TASK [network_plugin/calico : Calico | Get calico configuration from etcd] ***** | |
Monday 30 October 2017 15:44:47 +0100 (0:00:00.041) 0:11:28.888 ******** | |
TASK [network_plugin/calico : set_fact] **************************************** | |
Monday 30 October 2017 15:44:47 +0100 (0:00:00.033) 0:11:28.922 ******** | |
TASK [network_plugin/calico : Calico | Check if calico pool is properly configured] *** | |
Monday 30 October 2017 15:44:47 +0100 (0:00:00.032) 0:11:28.954 ******** | |
TASK [network_plugin/calico : Calico | Set global as_num] ********************** | |
Monday 30 October 2017 15:44:47 +0100 (0:00:00.034) 0:11:28.989 ******** | |
TASK [network_plugin/calico : Calico | Disable node mesh] ********************** | |
Monday 30 October 2017 15:44:47 +0100 (0:00:00.032) 0:11:29.021 ******** | |
TASK [network_plugin/calico : Calico | Configure peering with router(s)] ******* | |
Monday 30 October 2017 15:44:47 +0100 (0:00:00.029) 0:11:29.050 ******** | |
TASK [network_plugin/calico : Calico | Configure peering with route reflectors] *** | |
Monday 30 October 2017 15:44:47 +0100 (0:00:00.060) 0:11:29.111 ******** | |
TASK [network_plugin/calico : Calico | Create calico manifests] **************** | |
Monday 30 October 2017 15:44:47 +0100 (0:00:00.057) 0:11:29.169 ******** | |
TASK [network_plugin/flannel : Flannel pre-upgrade | Purge legacy flannel systemd unit file] *** | |
Monday 30 October 2017 15:44:47 +0100 (0:00:00.082) 0:11:29.251 ******** | |
ok: [k8s-02] | |
ok: [k8s-01] | |
ok: [k8s-03] | |
TASK [network_plugin/flannel : Flannel pre-upgrade | Purge legacy Flannel static pod manifest] *** | |
Monday 30 October 2017 15:44:48 +0100 (0:00:00.321) 0:11:29.573 ******** | |
ok: [k8s-01] | |
ok: [k8s-03] | |
ok: [k8s-02] | |
TASK [network_plugin/flannel : Flannel pre-upgrade | Remove Flannel's certificate directory not required by CNI] *** | |
Monday 30 October 2017 15:44:48 +0100 (0:00:00.285) 0:11:29.858 ******** | |
ok: [k8s-01] | |
ok: [k8s-02] | |
ok: [k8s-03] | |
TASK [network_plugin/flannel : Flannel | Create cni-flannel-rbac manifest] ***** | |
Monday 30 October 2017 15:44:48 +0100 (0:00:00.307) 0:11:30.165 ******** | |
changed: [k8s-01] | |
TASK [network_plugin/flannel : Flannel | Create cni-flannel manifest] ********** | |
Monday 30 October 2017 15:44:49 +0100 (0:00:00.688) 0:11:30.854 ******** | |
changed: [k8s-01] | |
TASK [network_plugin/weave : Weave seed | Set seed if first time] ************** | |
Monday 30 October 2017 15:44:50 +0100 (0:00:00.671) 0:11:31.526 ******** | |
TASK [network_plugin/weave : Weave seed | Set seed if not first time] ********** | |
Monday 30 October 2017 15:44:50 +0100 (0:00:00.031) 0:11:31.557 ******** | |
TASK [network_plugin/weave : Weave seed | Set peers if fist time] ************** | |
Monday 30 October 2017 15:44:50 +0100 (0:00:00.033) 0:11:31.590 ******** | |
TASK [network_plugin/weave : Weave seed | Set peers if existing peers] ********* | |
Monday 30 October 2017 15:44:50 +0100 (0:00:00.031) 0:11:31.622 ******** | |
TASK [network_plugin/weave : Weave seed | Save seed] *************************** | |
Monday 30 October 2017 15:44:50 +0100 (0:00:00.035) 0:11:31.658 ******** | |
TASK [network_plugin/weave : Weave seed | Save peers] ************************** | |
Monday 30 October 2017 15:44:50 +0100 (0:00:00.040) 0:11:31.699 ******** | |
TASK [network_plugin/weave : Weave | Copy cni plugins from hyperkube] ********** | |
Monday 30 October 2017 15:44:50 +0100 (0:00:00.038) 0:11:31.737 ******** | |
TASK [network_plugin/weave : Weave | Create weave-net manifest] **************** | |
Monday 30 October 2017 15:44:50 +0100 (0:00:00.057) 0:11:31.794 ******** | |
TASK [network_plugin/canal : Canal | Write Canal cni config] ******************* | |
Monday 30 October 2017 15:44:50 +0100 (0:00:00.061) 0:11:31.856 ******** | |
TASK [network_plugin/canal : Canal | Create canal certs directory] ************* | |
Monday 30 October 2017 15:44:50 +0100 (0:00:00.056) 0:11:31.913 ******** | |
TASK [network_plugin/canal : Canal | Link etcd certificates for canal-node] **** | |
Monday 30 October 2017 15:44:50 +0100 (0:00:00.054) 0:11:31.968 ******** | |
TASK [network_plugin/canal : Canal | Set Flannel etcd configuration] *********** | |
Monday 30 October 2017 15:44:50 +0100 (0:00:00.077) 0:11:32.046 ******** | |
TASK [network_plugin/canal : Canal | Create canal node manifests] ************** | |
Monday 30 October 2017 15:44:50 +0100 (0:00:00.032) 0:11:32.078 ******** | |
TASK [network_plugin/canal : Canal | Copy cni plugins from hyperkube] ********** | |
Monday 30 October 2017 15:44:50 +0100 (0:00:00.087) 0:11:32.166 ******** | |
TASK [network_plugin/canal : Canal | Copy cni plugins from calico/cni] ********* | |
Monday 30 October 2017 15:44:50 +0100 (0:00:00.064) 0:11:32.230 ******** | |
TASK [network_plugin/canal : Canal | Set cni directory permissions] ************ | |
Monday 30 October 2017 15:44:50 +0100 (0:00:00.067) 0:11:32.298 ******** | |
TASK [network_plugin/canal : Canal | Install calicoctl container script] ******* | |
Monday 30 October 2017 15:44:50 +0100 (0:00:00.063) 0:11:32.361 ******** | |
TASK [network_plugin/canal : Canal | Create network policy directory] ********** | |
Monday 30 October 2017 15:44:51 +0100 (0:00:00.061) 0:11:32.423 ******** | |
TASK [network_plugin/cloud : Cloud | Copy cni plugins from hyperkube] ********** | |
Monday 30 October 2017 15:44:51 +0100 (0:00:00.058) 0:11:32.482 ******** | |
TASK [network_plugin/cloud : Cloud | Set cni directory permissions] ************ | |
Monday 30 October 2017 15:44:51 +0100 (0:00:00.058) 0:11:32.540 ******** | |
PLAY [kube-master] ************************************************************* | |
TASK [download : Register docker images info] ********************************** | |
Monday 30 October 2017 15:44:51 +0100 (0:00:00.077) 0:11:32.618 ******** | |
TASK [download : container_download | Create dest directory for saved/loaded container images] *** | |
Monday 30 October 2017 15:44:51 +0100 (0:00:00.044) 0:11:32.663 ******** | |
TASK [download : container_download | create local directory for saved/loaded container images] *** | |
Monday 30 October 2017 15:44:51 +0100 (0:00:00.046) 0:11:32.710 ******** | |
TASK [download : Download items] *********************************************** | |
Monday 30 October 2017 15:44:51 +0100 (0:00:00.032) 0:11:32.742 ******** | |
TASK [download : Sync container] *********************************************** | |
Monday 30 October 2017 15:44:51 +0100 (0:00:00.296) 0:11:33.039 ******** | |
TASK [kubespray-defaults : Configure defaults] ********************************* | |
Monday 30 October 2017 15:44:51 +0100 (0:00:00.293) 0:11:33.332 ******** | |
ok: [k8s-01] => { | |
"msg": "Check roles/kubespray-defaults/defaults/main.yml" | |
} | |
ok: [k8s-02] => { | |
"msg": "Check roles/kubespray-defaults/defaults/main.yml" | |
} | |
TASK [kubernetes-apps/rotate_tokens : Rotate Tokens | Get default token name] *** | |
Monday 30 October 2017 15:44:52 +0100 (0:00:00.090) 0:11:33.423 ******** | |
fatal: [k8s-01]: FAILED! => {"changed": true, "cmd": "/usr/local/bin/kubectl get secrets -o custom-columns=name:{.metadata.name} --no-headers | grep -m1 default-token", "delta": "0:00:00.332860", "end": "2017-10-30 14:44:51.717376", "failed": true, "msg": "non-zero return code", "rc": 1, "start": "2017-10-30 14:44:51.384516", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} | |
NO MORE HOSTS LEFT ************************************************************* | |
to retry, use: --limit @/home/guenthgr/workspaces/kubespray/cluster.retry | |
PLAY RECAP ********************************************************************* | |
k8s-01 : ok=327 changed=103 unreachable=0 failed=1 | |
k8s-02 : ok=296 changed=97 unreachable=0 failed=0 | |
k8s-03 : ok=267 changed=83 unreachable=0 failed=0 | |
Monday 30 October 2017 15:44:52 +0100 (0:00:00.609) 0:11:34.032 ******** | |
=============================================================================== | |
docker : ensure docker repository public key is installed ------------- 120.94s | |
bootstrap-os : Bootstrap | Install python 2.x and pip ------------------ 76.39s | |
kubernetes/node : install | Compare host kubelet with hyperkube container -- 63.92s | |
download : container_download | Download containers if pull is required or told to always pull -- 39.00s | |
download : container_download | Download containers if pull is required or told to always pull -- 22.18s | |
etcd : Configure | Join member(s) to cluster one at a time ------------- 20.13s | |
etcd : Configure | Join member(s) to cluster one at a time ------------- 20.11s | |
docker : ensure docker packages are installed -------------------------- 18.12s | |
kubernetes/master : Master | wait for the apiserver to be running ------ 15.63s | |
kubernetes/node : install | Copy kubelet from hyperkube container ------ 15.41s | |
download : container_download | Download containers if pull is required or told to always pull -- 14.68s | |
kubernetes/preinstall : Install packages requirements ------------------ 11.41s | |
etcd : reload etcd ----------------------------------------------------- 10.45s | |
docker : Docker | pause while Docker restarts -------------------------- 10.16s | |
download : container_download | Download containers if pull is required or told to always pull --- 9.87s | |
docker : ensure docker repository is enabled ---------------------------- 9.54s | |
etcd : wait for etcd up ------------------------------------------------- 8.34s | |
download : container_download | Download containers if pull is required or told to always pull --- 8.16s | |
etcd : Install | Copy etcdctl binary from docker container -------------- 6.72s | |
download : container_download | Download containers if pull is required or told to always pull --- 6.45s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment