Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save upolymorph/abbf9a1465ae9987e998e19adc4caf84 to your computer and use it in GitHub Desktop.
Save upolymorph/abbf9a1465ae9987e998e19adc4caf84 to your computer and use it in GitHub Desktop.
arnaud@acer:~/workspace/atlascloud-containers$ vagrant up
Bringing machine 'k8sceph-01' up with 'virtualbox' provider...
Bringing machine 'k8sceph-02' up with 'virtualbox' provider...
Bringing machine 'k8sceph-03' up with 'virtualbox' provider...
==> k8sceph-01: Importing base box 'bento/ubuntu-16.04'...
==> k8sceph-01: Matching MAC address for NAT networking...
==> k8sceph-01: Checking if box 'bento/ubuntu-16.04' is up to date...
==> k8sceph-01: Setting the name of the VM: atlascloud-containers_k8sceph-01_1527573345571_93150
==> k8sceph-01: Clearing any previously set network interfaces...
==> k8sceph-01: Preparing network interfaces based on configuration...
k8sceph-01: Adapter 1: nat
k8sceph-01: Adapter 2: hostonly
==> k8sceph-01: Forwarding ports...
k8sceph-01: 22 (guest) => 2222 (host) (adapter 1)
==> k8sceph-01: Running 'pre-boot' VM customizations...
==> k8sceph-01: Booting VM...
==> k8sceph-01: Waiting for machine to boot. This may take a few minutes...
k8sceph-01: SSH address: 127.0.0.1:2222
k8sceph-01: SSH username: vagrant
k8sceph-01: SSH auth method: private key
k8sceph-01:
k8sceph-01: Vagrant insecure key detected. Vagrant will automatically replace
k8sceph-01: this with a newly generated keypair for better security.
k8sceph-01:
k8sceph-01: Inserting generated public key within guest...
k8sceph-01: Removing insecure key from the guest if it's present...
k8sceph-01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> k8sceph-01: Machine booted and ready!
==> k8sceph-01: Checking for guest additions in VM...
k8sceph-01: The guest additions on this VM do not match the installed version of
k8sceph-01: VirtualBox! In most cases this is fine, but in rare cases it can
k8sceph-01: prevent things such as shared folders from working properly. If you see
k8sceph-01: shared folder errors, please make sure the guest additions within the
k8sceph-01: virtual machine match the version of VirtualBox you have installed on
k8sceph-01: your host and reload your VM.
k8sceph-01:
k8sceph-01: Guest Additions Version: 5.2.6
k8sceph-01: VirtualBox Version: 5.1
==> k8sceph-01: Setting hostname...
==> k8sceph-01: Configuring and enabling network interfaces...
==> k8sceph-01: Mounting shared folders...
k8sceph-01: /vagrant => /home/arnaud/workspace/atlascloud-containers
==> k8sceph-02: Importing base box 'bento/ubuntu-16.04'...
==> k8sceph-02: Matching MAC address for NAT networking...
==> k8sceph-02: Checking if box 'bento/ubuntu-16.04' is up to date...
==> k8sceph-02: Setting the name of the VM: atlascloud-containers_k8sceph-02_1527573385120_6384
==> k8sceph-02: Fixed port collision for 22 => 2222. Now on port 2200.
==> k8sceph-02: Clearing any previously set network interfaces...
==> k8sceph-02: Preparing network interfaces based on configuration...
k8sceph-02: Adapter 1: nat
k8sceph-02: Adapter 2: hostonly
==> k8sceph-02: Forwarding ports...
k8sceph-02: 22 (guest) => 2200 (host) (adapter 1)
==> k8sceph-02: Running 'pre-boot' VM customizations...
==> k8sceph-02: Booting VM...
==> k8sceph-02: Waiting for machine to boot. This may take a few minutes...
k8sceph-02: SSH address: 127.0.0.1:2200
k8sceph-02: SSH username: vagrant
k8sceph-02: SSH auth method: private key
k8sceph-02:
k8sceph-02: Vagrant insecure key detected. Vagrant will automatically replace
k8sceph-02: this with a newly generated keypair for better security.
k8sceph-02:
k8sceph-02: Inserting generated public key within guest...
k8sceph-02: Removing insecure key from the guest if it's present...
k8sceph-02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> k8sceph-02: Machine booted and ready!
==> k8sceph-02: Checking for guest additions in VM...
k8sceph-02: The guest additions on this VM do not match the installed version of
k8sceph-02: VirtualBox! In most cases this is fine, but in rare cases it can
k8sceph-02: prevent things such as shared folders from working properly. If you see
k8sceph-02: shared folder errors, please make sure the guest additions within the
k8sceph-02: virtual machine match the version of VirtualBox you have installed on
k8sceph-02: your host and reload your VM.
k8sceph-02:
k8sceph-02: Guest Additions Version: 5.2.6
k8sceph-02: VirtualBox Version: 5.1
==> k8sceph-02: Setting hostname...
==> k8sceph-02: Configuring and enabling network interfaces...
==> k8sceph-02: Mounting shared folders...
k8sceph-02: /vagrant => /home/arnaud/workspace/atlascloud-containers
==> k8sceph-03: Importing base box 'bento/ubuntu-16.04'...
==> k8sceph-03: Matching MAC address for NAT networking...
==> k8sceph-03: Checking if box 'bento/ubuntu-16.04' is up to date...
==> k8sceph-03: Setting the name of the VM: atlascloud-containers_k8sceph-03_1527573424921_94975
==> k8sceph-03: Fixed port collision for 22 => 2222. Now on port 2201.
==> k8sceph-03: Clearing any previously set network interfaces...
==> k8sceph-03: Preparing network interfaces based on configuration...
k8sceph-03: Adapter 1: nat
k8sceph-03: Adapter 2: hostonly
==> k8sceph-03: Forwarding ports...
k8sceph-03: 22 (guest) => 2201 (host) (adapter 1)
==> k8sceph-03: Running 'pre-boot' VM customizations...
==> k8sceph-03: Booting VM...
==> k8sceph-03: Waiting for machine to boot. This may take a few minutes...
k8sceph-03: SSH address: 127.0.0.1:2201
k8sceph-03: SSH username: vagrant
k8sceph-03: SSH auth method: private key
k8sceph-03:
k8sceph-03: Vagrant insecure key detected. Vagrant will automatically replace
k8sceph-03: this with a newly generated keypair for better security.
k8sceph-03:
k8sceph-03: Inserting generated public key within guest...
k8sceph-03: Removing insecure key from the guest if it's present...
k8sceph-03: Key inserted! Disconnecting and reconnecting using new SSH key...
==> k8sceph-03: Machine booted and ready!
==> k8sceph-03: Checking for guest additions in VM...
k8sceph-03: The guest additions on this VM do not match the installed version of
k8sceph-03: VirtualBox! In most cases this is fine, but in rare cases it can
k8sceph-03: prevent things such as shared folders from working properly. If you see
k8sceph-03: shared folder errors, please make sure the guest additions within the
k8sceph-03: virtual machine match the version of VirtualBox you have installed on
k8sceph-03: your host and reload your VM.
k8sceph-03:
k8sceph-03: Guest Additions Version: 5.2.6
k8sceph-03: VirtualBox Version: 5.1
==> k8sceph-03: Setting hostname...
==> k8sceph-03: Configuring and enabling network interfaces...
==> k8sceph-03: Mounting shared folders...
k8sceph-03: /vagrant => /home/arnaud/workspace/atlascloud-containers
==> k8sceph-03: Running provisioner: ansible...
Vagrant has automatically selected the compatibility mode '2.0'
according to the Ansible version installed (2.5.3).
Alternatively, the compatibility mode can be specified in your Vagrantfile:
https://www.vagrantup.com/docs/provisioning/ansible_common.html#compatibility_mode
==> k8sceph-03: Vagrant has detected a host range pattern in the `groups` option.
==> k8sceph-03: Vagrant doesn't fully check the validity of these parameters!
==> k8sceph-03:
==> k8sceph-03: Please check https://docs.ansible.com/ansible/intro_inventory.html#hosts-and-groups
==> k8sceph-03: for more information.
k8sceph-03: Running ansible-playbook...
PYTHONUNBUFFERED=1 ANSIBLE_FORCE_COLOR=true ANSIBLE_HOST_KEY_CHECKING=false ANSIBLE_SSH_ARGS='-o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -o ControlMaster=auto -o ControlPersist=60s' ansible-playbook --connection=ssh --timeout=30 --limit="all" --inventory-file=/home/arnaud/workspace/atlascloud-containers/.vagrant/provisioners/ansible/inventory -v -b --become-user=root site.yml
Using /etc/ansible/ansible.cfg as config file
PLAY [all] *********************************************************************
TASK [Install python2 for Ansible (usually required on ubuntu, which defaults to python3)] ***
ok: [k8sceph-02] => {"changed": false, "rc": 0, "stderr": "Warning: Permanently added '[127.0.0.1]:2200' (ECDSA) to the list of known hosts.\r\nShared connection to 127.0.0.1 closed.\r\n", "stdout": "", "stdout_lines": []}
ok: [k8sceph-03] => {"changed": false, "rc": 0, "stderr": "Warning: Permanently added '[127.0.0.1]:2201' (ECDSA) to the list of known hosts.\r\nShared connection to 127.0.0.1 closed.\r\n", "stdout": "", "stdout_lines": []}
ok: [k8sceph-01] => {"changed": false, "rc": 0, "stderr": "Warning: Permanently added '[127.0.0.1]:2222' (ECDSA) to the list of known hosts.\r\nShared connection to 127.0.0.1 closed.\r\n", "stdout": "", "stdout_lines": []}
TASK [setup] *******************************************************************
ok: [k8sceph-02]
ok: [k8sceph-03]
ok: [k8sceph-01]
TASK [test min. vars (group_vars/all) are set (kubeadm_master_config and k8s_network_addons_urls)] ***
skipping: [k8sceph-01] => {"skip_reason": "Conditional result was False"}
skipping: [k8sceph-02] => {"skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => {"skip_reason": "Conditional result was False"}
PLAY [master] ******************************************************************
TASK [helm : include] **********************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/helm/tasks/helm_reset.yml for k8sceph-01
TASK [helm : set_fact] *********************************************************
ok: [k8sceph-01] => {"ansible_facts": {"env_kc": {"KUBECONFIG": "/etc/kubernetes/admin.conf", "PATH": "/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin"}}, "changed": false}
TASK [helm : helm list all apps] ***********************************************
ok: [k8sceph-01] => {"changed": false, "cmd": "helm list | tail -n +2 | awk '{print $1}'", "delta": "0:00:00.006054", "end": "2018-05-29 05:57:37.748640", "rc": 0, "start": "2018-05-29 05:57:37.742586", "stderr": "/bin/sh: 1: helm: not found", "stderr_lines": ["/bin/sh: 1: helm: not found"], "stdout": "", "stdout_lines": []}
TASK [helm : helm delete purge all apps] ***************************************
TASK [helm : wait till all helm apps are deleted/purged] ***********************
ok: [k8sceph-01] => {"attempts": 1, "changed": false, "cmd": "helm list | tail -n +2", "delta": "0:00:00.001622", "end": "2018-05-29 05:57:38.235024", "rc": 0, "start": "2018-05-29 05:57:38.233402", "stderr": "/bin/sh: 1: helm: not found", "stderr_lines": ["/bin/sh: 1: helm: not found"], "stdout": "", "stdout_lines": []}
TASK [helm : helm remove/cleanup] **********************************************
fatal: [k8sceph-01]: FAILED! => {"changed": true, "cmd": "( helm reset || true ) && ( kubectl delete deployment --namespace=kube-system tiller-deploy || true ) && ( kubectl delete service --namespace=kube-system tiller-deploy || true ) && ( kubectl delete clusterrolebinding tiller || true ) && ( kubectl delete --namespace=kube-system sa tiller )", "delta": "0:00:00.001735", "end": "2018-05-29 05:57:38.691519", "msg": "non-zero return code", "rc": 127, "start": "2018-05-29 05:57:38.689784", "stderr": "/bin/sh: 1: helm: not found\n/bin/sh: 1: kubectl: not found\n/bin/sh: 1: kubectl: not found\n/bin/sh: 1: kubectl: not found\n/bin/sh: 1: kubectl: not found", "stderr_lines": ["/bin/sh: 1: helm: not found", "/bin/sh: 1: kubectl: not found", "/bin/sh: 1: kubectl: not found", "/bin/sh: 1: kubectl: not found", "/bin/sh: 1: kubectl: not found"], "stdout": "", "stdout_lines": []}
...ignoring
TASK [storage : include] *******************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/storage/tasks/remove_pvs.yml for k8sceph-01
TASK [storage : get all pvcs] **************************************************
ok: [k8sceph-01] => {"changed": false, "cmd": "kubectl get --all-namespaces pvc --no-headers -- | awk '{print \"--namespace \" $1 \" pvc/\" $2}'", "delta": "0:00:00.002068", "end": "2018-05-29 05:57:39.189169", "rc": 0, "start": "2018-05-29 05:57:39.187101", "stderr": "/bin/sh: 1: kubectl: not found", "stderr_lines": ["/bin/sh: 1: kubectl: not found"], "stdout": "", "stdout_lines": []}
TASK [storage : delete all pvcs] ***********************************************
TASK [storage : wait till all pvcs are removed/cleaned] ************************
ok: [k8sceph-01] => {"attempts": 1, "changed": false, "cmd": "kubectl get pvc --no-headers -- || true", "delta": "0:00:00.001149", "end": "2018-05-29 05:57:39.669530", "rc": 0, "start": "2018-05-29 05:57:39.668381", "stderr": "/bin/sh: 1: kubectl: not found", "stderr_lines": ["/bin/sh: 1: kubectl: not found"], "stdout": "", "stdout_lines": []}
TASK [storage : wait till all pvs are removed/cleaned] *************************
ok: [k8sceph-01] => {"attempts": 1, "changed": false, "cmd": "kubectl get pv --no-headers -- || true", "delta": "0:00:00.001141", "end": "2018-05-29 05:57:40.127851", "rc": 0, "start": "2018-05-29 05:57:40.126710", "stderr": "/bin/sh: 1: kubectl: not found", "stderr_lines": ["/bin/sh: 1: kubectl: not found"], "stdout": "", "stdout_lines": []}
TASK [storage : include] *******************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/storage/tasks/nfs_reset.yml for k8sceph-01
TASK [storage : set_fact] ******************************************************
ok: [k8sceph-01] => {"ansible_facts": {"env_kc": {"KUBECONFIG": "/etc/kubernetes/admin.conf", "PATH": "/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin"}}, "changed": false}
TASK [storage : delete old nfs provisioner] ************************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [storage : wipe nfs host_path] ********************************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [storage : include] *******************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/storage/tasks/rook_reset.yml for k8sceph-01
TASK [storage : set_fact] ******************************************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [storage : deploy rook operator (using helm chart) - prefered method] *****
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [storage : clean install rook operator] ***********************************
skipping: [k8sceph-01] => (item=-n rook po/rook-client) => {"changed": false, "item": "-n rook po/rook-client", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-01] => (item=-n rook po/rook-tools) => {"changed": false, "item": "-n rook po/rook-tools", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-01] => (item=-n rook cm/rook-config-override) => {"changed": false, "item": "-n rook cm/rook-config-override", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-01] => (item=-n rook deploy/rook-api) => {"changed": false, "item": "-n rook deploy/rook-api", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-01] => (item=-n rook ds/osd) => {"changed": false, "item": "-n rook ds/osd", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-01] => (item=-n rook cluster rook) => {"changed": false, "item": "-n rook cluster rook", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-01] => (item=-n rook serviceaccount rook-api) => {"changed": false, "item": "-n rook serviceaccount rook-api", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-01] => (item=clusterrole rook-api) => {"changed": false, "item": "clusterrole rook-api", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-01] => (item=clusterrolebinding rook-api) => {"changed": false, "item": "clusterrolebinding rook-api", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-01] => (item=thirdpartyresources cluster.rook.io pool.rook.io) => {"changed": false, "item": "thirdpartyresources cluster.rook.io pool.rook.io", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-01] => (item=secret rook-rook-user) => {"changed": false, "item": "secret rook-rook-user", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-01] => (item=namespace rook) => {"changed": false, "item": "namespace rook", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-01] => (item=sc rook-block) => {"changed": false, "item": "sc rook-block", "skip_reason": "Conditional result was False"}
TASK [storage : clean install rook operator] ***********************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [storage : clean install rook secrets from all rook.allowed_consumer_namespaces] ***
skipping: [k8sceph-01] => (item=kube-system) => {"changed": false, "item": "kube-system", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-01] => (item=default) => {"changed": false, "item": "default", "skip_reason": "Conditional result was False"}
TASK [storage : rook post cleanup/reset sanity] ********************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [storage : clean rook ceph persistant storage directories] ****************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [tools : include] *********************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/tools/tasks/reset_drain.yml for k8sceph-01
TASK [tools : get nodes] *******************************************************
ok: [k8sceph-01] => {"changed": false, "cmd": "kubectl get nodes --no-headers -- | cut -f 1 -d ' '", "delta": "0:00:00.001497", "end": "2018-05-29 05:57:41.098822", "rc": 0, "start": "2018-05-29 05:57:41.097325", "stderr": "/bin/sh: 1: kubectl: not found", "stderr_lines": ["/bin/sh: 1: kubectl: not found"], "stdout": "", "stdout_lines": []}
TASK [tools : drain nodes] *****************************************************
skipping: [k8sceph-01] => (item=groups.node) => {"changed": false, "item": "groups.node", "skip_reason": "Conditional result was False"}
TASK [tools : delete nodes] ****************************************************
skipping: [k8sceph-01] => (item=groups.node) => {"changed": false, "item": "groups.node", "skip_reason": "Conditional result was False"}
TASK [tools : kubectl get nodes must be empty by now] **************************
ok: [k8sceph-01] => {"attempts": 1, "changed": false, "cmd": "kubectl get nodes --no-headers | grep -v 'node-role.kubernetes.io/master' | grep -v -w 'Ready' || true", "delta": "0:00:00.002157", "end": "2018-05-29 05:57:41.603664", "rc": 0, "start": "2018-05-29 05:57:41.601507", "stderr": "/bin/sh: 1: kubectl: not found", "stderr_lines": ["/bin/sh: 1: kubectl: not found"], "stdout": "", "stdout_lines": []}
PLAY [node] ********************************************************************
TASK [node_reset] **************************************************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [tools : Reset weave network] *********************************************
fatal: [k8sceph-02]: FAILED! => {"changed": true, "cmd": "/usr/local/bin/weave reset --force", "delta": "0:00:00.001451", "end": "2018-05-29 05:57:41.540593", "msg": "non-zero return code", "rc": 127, "start": "2018-05-29 05:57:41.539142", "stderr": "/bin/sh: 1: /usr/local/bin/weave: not found", "stderr_lines": ["/bin/sh: 1: /usr/local/bin/weave: not found"], "stdout": "", "stdout_lines": []}
...ignoring
fatal: [k8sceph-03]: FAILED! => {"changed": true, "cmd": "/usr/local/bin/weave reset --force", "delta": "0:00:00.001460", "end": "2018-05-29 05:57:41.621695", "msg": "non-zero return code", "rc": 127, "start": "2018-05-29 05:57:41.620235", "stderr": "/bin/sh: 1: /usr/local/bin/weave: not found", "stderr_lines": ["/bin/sh: 1: /usr/local/bin/weave: not found"], "stdout": "", "stdout_lines": []}
...ignoring
TASK [tools : remove pods NFS mount leftovers; Note you have to collect them from the remote storage (e.g. vsphere datastore) also] ***
fatal: [k8sceph-02]: FAILED! => {"changed": true, "cmd": "umount -f $(mount | grep '/kubelet/pods/' | grep '/volumes/kubernetes.io~nfs' | awk '{print $3}')", "delta": "0:00:00.008743", "end": "2018-05-29 05:57:42.036250", "msg": "non-zero return code", "rc": 1, "start": "2018-05-29 05:57:42.027507", "stderr": "\nUsage:\n umount [-hV]\n umount -a [options]\n umount [options] <source> | <directory>\n\nUnmount filesystems.\n\nOptions:\n -a, --all unmount all filesystems\n -A, --all-targets unmount all mountpoints for the given device in the\n current namespace\n -c, --no-canonicalize don't canonicalize paths\n -d, --detach-loop if mounted loop device, also free this loop device\n --fake dry run; skip the umount(2) syscall\n -f, --force force unmount (in case of an unreachable NFS system)\n -i, --internal-only don't call the umount.<type> helpers\n -n, --no-mtab don't write to /etc/mtab\n -l, --lazy detach the filesystem now, clean up things later\n -O, --test-opts <list> limit the set of filesystems (use with -a)\n -R, --recursive recursively unmount a target with all its children\n -r, --read-only in case unmounting fails, try to remount read-only\n -t, --types <list> limit the set of filesystem types\n -v, --verbose say what is being done\n\n -h, --help display this help and exit\n -V, --version output version information and exit\n\nFor more details see umount(8).", "stderr_lines": ["", "Usage:", " umount [-hV]", " umount -a [options]", " umount [options] <source> | <directory>", "", "Unmount filesystems.", "", "Options:", " -a, --all unmount all filesystems", " -A, --all-targets unmount all mountpoints for the given device in the", " current namespace", " -c, --no-canonicalize don't canonicalize paths", " -d, --detach-loop if mounted loop device, also free this loop device", " --fake dry run; skip the umount(2) syscall", " -f, --force force unmount (in case of an unreachable NFS system)", " -i, --internal-only don't call the umount.<type> helpers", " -n, --no-mtab don't write to /etc/mtab", " -l, --lazy detach the filesystem now, clean up things later", " -O, --test-opts <list> limit the set of filesystems (use with -a)", " -R, --recursive recursively unmount a target with all its children", " -r, --read-only in case unmounting fails, try to remount read-only", " -t, --types <list> limit the set of filesystem types", " -v, --verbose say what is being done", "", " -h, --help display this help and exit", " -V, --version output version information and exit", "", "For more details see umount(8)."], "stdout": "", "stdout_lines": []}
...ignoring
fatal: [k8sceph-03]: FAILED! => {"changed": true, "cmd": "umount -f $(mount | grep '/kubelet/pods/' | grep '/volumes/kubernetes.io~nfs' | awk '{print $3}')", "delta": "0:00:00.007540", "end": "2018-05-29 05:57:42.117115", "msg": "non-zero return code", "rc": 1, "start": "2018-05-29 05:57:42.109575", "stderr": "\nUsage:\n umount [-hV]\n umount -a [options]\n umount [options] <source> | <directory>\n\nUnmount filesystems.\n\nOptions:\n -a, --all unmount all filesystems\n -A, --all-targets unmount all mountpoints for the given device in the\n current namespace\n -c, --no-canonicalize don't canonicalize paths\n -d, --detach-loop if mounted loop device, also free this loop device\n --fake dry run; skip the umount(2) syscall\n -f, --force force unmount (in case of an unreachable NFS system)\n -i, --internal-only don't call the umount.<type> helpers\n -n, --no-mtab don't write to /etc/mtab\n -l, --lazy detach the filesystem now, clean up things later\n -O, --test-opts <list> limit the set of filesystems (use with -a)\n -R, --recursive recursively unmount a target with all its children\n -r, --read-only in case unmounting fails, try to remount read-only\n -t, --types <list> limit the set of filesystem types\n -v, --verbose say what is being done\n\n -h, --help display this help and exit\n -V, --version output version information and exit\n\nFor more details see umount(8).", "stderr_lines": ["", "Usage:", " umount [-hV]", " umount -a [options]", " umount [options] <source> | <directory>", "", "Unmount filesystems.", "", "Options:", " -a, --all unmount all filesystems", " -A, --all-targets unmount all mountpoints for the given device in the", " current namespace", " -c, --no-canonicalize don't canonicalize paths", " -d, --detach-loop if mounted loop device, also free this loop device", " --fake dry run; skip the umount(2) syscall", " -f, --force force unmount (in case of an unreachable NFS system)", " -i, --internal-only don't call the umount.<type> helpers", " -n, --no-mtab don't write to /etc/mtab", " -l, --lazy detach the filesystem now, clean up things later", " -O, --test-opts <list> limit the set of filesystems (use with -a)", " -R, --recursive recursively unmount a target with all its children", " -r, --read-only in case unmounting fails, try to remount read-only", " -t, --types <list> limit the set of filesystem types", " -v, --verbose say what is being done", "", " -h, --help display this help and exit", " -V, --version output version information and exit", "", "For more details see umount(8)."], "stdout": "", "stdout_lines": []}
...ignoring
TASK [tools : Reset cluster] ***************************************************
fatal: [k8sceph-03]: FAILED! => {"changed": false, "cmd": "/usr/bin/kubeadm reset", "msg": "[Errno 2] No such file or directory", "rc": 2}
...ignoring
fatal: [k8sceph-02]: FAILED! => {"changed": false, "cmd": "/usr/bin/kubeadm reset", "msg": "[Errno 2] No such file or directory", "rc": 2}
...ignoring
TASK [tools : ensure old kubeadm config files were removed] ********************
ok: [k8sceph-03] => (item=/etc/kubernetes/) => {"changed": false, "item": "/etc/kubernetes/", "path": "/etc/kubernetes/", "state": "absent"}
ok: [k8sceph-02] => (item=/etc/kubernetes/) => {"changed": false, "item": "/etc/kubernetes/", "path": "/etc/kubernetes/", "state": "absent"}
TASK [tools : ensure old /var/lib/etcd is removed] *****************************
ok: [k8sceph-02] => (item=/var/lib/etcd) => {"changed": false, "item": "/var/lib/etcd", "path": "/var/lib/etcd", "state": "absent"}
ok: [k8sceph-03] => (item=/var/lib/etcd) => {"changed": false, "item": "/var/lib/etcd", "path": "/var/lib/etcd", "state": "absent"}
TASK [tools : systemctl stop kube*.*.slice] ************************************
changed: [k8sceph-02] => {"changed": true, "cmd": "for i in $(systemctl list-unit-files --no-legend --no-pager -l | grep --color=never -o kube.*\\.slice );do echo $i; systemctl stop $i ; done", "delta": "0:00:00.066265", "end": "2018-05-29 05:57:44.154583", "rc": 0, "start": "2018-05-29 05:57:44.088318", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
changed: [k8sceph-03] => {"changed": true, "cmd": "for i in $(systemctl list-unit-files --no-legend --no-pager -l | grep --color=never -o kube.*\\.slice );do echo $i; systemctl stop $i ; done", "delta": "0:00:00.062716", "end": "2018-05-29 05:57:44.237807", "rc": 0, "start": "2018-05-29 05:57:44.175091", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
TASK [tools : Remove before reinstall packages] ********************************
ok: [k8sceph-02] => (item=kubelet) => {"changed": false, "item": "kubelet"}
ok: [k8sceph-03] => (item=kubelet) => {"changed": false, "item": "kubelet"}
ok: [k8sceph-02] => (item=kubeadm) => {"changed": false, "item": "kubeadm"}
ok: [k8sceph-03] => (item=kubeadm) => {"changed": false, "item": "kubeadm"}
ok: [k8sceph-02] => (item=kubectl) => {"changed": false, "item": "kubectl"}
ok: [k8sceph-03] => (item=kubectl) => {"changed": false, "item": "kubectl"}
ok: [k8sceph-02] => (item=kubernetes-cni) => {"changed": false, "item": "kubernetes-cni"}
ok: [k8sceph-03] => (item=kubernetes-cni) => {"changed": false, "item": "kubernetes-cni"}
TASK [tools : stop kubelet for cleanup activities] *****************************
failed: [k8sceph-02] (item=kubelet) => {"changed": false, "item": "kubelet", "msg": "Could not find the requested service kubelet: host"}
failed: [k8sceph-03] (item=kubelet) => {"changed": false, "item": "kubelet", "msg": "Could not find the requested service kubelet: host"}
...ignoring
...ignoring
TASK [tools : remove plugins mount leftovers; Note you have to collect them from the remote storage (e.g. vsphere datastore) also] ***
fatal: [k8sceph-02]: FAILED! => {"changed": true, "cmd": "umount -f $(mount | grep '/kubelet/plugins/kubernetes.io/' | awk '{print $3}')", "delta": "0:00:00.004847", "end": "2018-05-29 05:57:58.262322", "msg": "non-zero return code", "rc": 1, "start": "2018-05-29 05:57:58.257475", "stderr": "\nUsage:\n umount [-hV]\n umount -a [options]\n umount [options] <source> | <directory>\n\nUnmount filesystems.\n\nOptions:\n -a, --all unmount all filesystems\n -A, --all-targets unmount all mountpoints for the given device in the\n current namespace\n -c, --no-canonicalize don't canonicalize paths\n -d, --detach-loop if mounted loop device, also free this loop device\n --fake dry run; skip the umount(2) syscall\n -f, --force force unmount (in case of an unreachable NFS system)\n -i, --internal-only don't call the umount.<type> helpers\n -n, --no-mtab don't write to /etc/mtab\n -l, --lazy detach the filesystem now, clean up things later\n -O, --test-opts <list> limit the set of filesystems (use with -a)\n -R, --recursive recursively unmount a target with all its children\n -r, --read-only in case unmounting fails, try to remount read-only\n -t, --types <list> limit the set of filesystem types\n -v, --verbose say what is being done\n\n -h, --help display this help and exit\n -V, --version output version information and exit\n\nFor more details see umount(8).", "stderr_lines": ["", "Usage:", " umount [-hV]", " umount -a [options]", " umount [options] <source> | <directory>", "", "Unmount filesystems.", "", "Options:", " -a, --all unmount all filesystems", " -A, --all-targets unmount all mountpoints for the given device in the", " current namespace", " -c, --no-canonicalize don't canonicalize paths", " -d, --detach-loop if mounted loop device, also free this loop device", " --fake dry run; skip the umount(2) syscall", " -f, --force force unmount (in case of an unreachable NFS system)", " -i, --internal-only don't call the umount.<type> helpers", " -n, --no-mtab don't write to /etc/mtab", " -l, --lazy detach the filesystem now, clean up things later", " -O, --test-opts <list> limit the set of filesystems (use with -a)", " -R, --recursive recursively unmount a target with all its children", " -r, --read-only in case unmounting fails, try to remount read-only", " -t, --types <list> limit the set of filesystem types", " -v, --verbose say what is being done", "", " -h, --help display this help and exit", " -V, --version output version information and exit", "", "For more details see umount(8)."], "stdout": "", "stdout_lines": []}
...ignoring
fatal: [k8sceph-03]: FAILED! => {"changed": true, "cmd": "umount -f $(mount | grep '/kubelet/plugins/kubernetes.io/' | awk '{print $3}')", "delta": "0:00:00.004118", "end": "2018-05-29 05:57:58.392084", "msg": "non-zero return code", "rc": 1, "start": "2018-05-29 05:57:58.387966", "stderr": "\nUsage:\n umount [-hV]\n umount -a [options]\n umount [options] <source> | <directory>\n\nUnmount filesystems.\n\nOptions:\n -a, --all unmount all filesystems\n -A, --all-targets unmount all mountpoints for the given device in the\n current namespace\n -c, --no-canonicalize don't canonicalize paths\n -d, --detach-loop if mounted loop device, also free this loop device\n --fake dry run; skip the umount(2) syscall\n -f, --force force unmount (in case of an unreachable NFS system)\n -i, --internal-only don't call the umount.<type> helpers\n -n, --no-mtab don't write to /etc/mtab\n -l, --lazy detach the filesystem now, clean up things later\n -O, --test-opts <list> limit the set of filesystems (use with -a)\n -R, --recursive recursively unmount a target with all its children\n -r, --read-only in case unmounting fails, try to remount read-only\n -t, --types <list> limit the set of filesystem types\n -v, --verbose say what is being done\n\n -h, --help display this help and exit\n -V, --version output version information and exit\n\nFor more details see umount(8).", "stderr_lines": ["", "Usage:", " umount [-hV]", " umount -a [options]", " umount [options] <source> | <directory>", "", "Unmount filesystems.", "", "Options:", " -a, --all unmount all filesystems", " -A, --all-targets unmount all mountpoints for the given device in the", " current namespace", " -c, --no-canonicalize don't canonicalize paths", " -d, --detach-loop if mounted loop device, also free this loop device", " --fake dry run; skip the umount(2) syscall", " -f, --force force unmount (in case of an unreachable NFS system)", " -i, --internal-only don't call the umount.<type> helpers", " -n, --no-mtab don't write to /etc/mtab", " -l, --lazy detach the filesystem now, clean up things later", " -O, --test-opts <list> limit the set of filesystems (use with -a)", " -R, --recursive recursively unmount a target with all its children", " -r, --read-only in case unmounting fails, try to remount read-only", " -t, --types <list> limit the set of filesystem types", " -v, --verbose say what is being done", "", " -h, --help display this help and exit", " -V, --version output version information and exit", "", "For more details see umount(8)."], "stdout": "", "stdout_lines": []}
...ignoring
TASK [tools : remove pods mount leftovers; Note you have to collect them from the remote storage (e.g. vsphere datastore) also] ***
fatal: [k8sceph-02]: FAILED! => {"changed": true, "cmd": "umount -f $(mount | grep '/kubelet/pods/' | grep '/volumes/kubernetes.io~' | awk '{print $3}')", "delta": "0:00:00.005767", "end": "2018-05-29 05:57:58.840642", "msg": "non-zero return code", "rc": 1, "start": "2018-05-29 05:57:58.834875", "stderr": "\nUsage:\n umount [-hV]\n umount -a [options]\n umount [options] <source> | <directory>\n\nUnmount filesystems.\n\nOptions:\n -a, --all unmount all filesystems\n -A, --all-targets unmount all mountpoints for the given device in the\n current namespace\n -c, --no-canonicalize don't canonicalize paths\n -d, --detach-loop if mounted loop device, also free this loop device\n --fake dry run; skip the umount(2) syscall\n -f, --force force unmount (in case of an unreachable NFS system)\n -i, --internal-only don't call the umount.<type> helpers\n -n, --no-mtab don't write to /etc/mtab\n -l, --lazy detach the filesystem now, clean up things later\n -O, --test-opts <list> limit the set of filesystems (use with -a)\n -R, --recursive recursively unmount a target with all its children\n -r, --read-only in case unmounting fails, try to remount read-only\n -t, --types <list> limit the set of filesystem types\n -v, --verbose say what is being done\n\n -h, --help display this help and exit\n -V, --version output version information and exit\n\nFor more details see umount(8).", "stderr_lines": ["", "Usage:", " umount [-hV]", " umount -a [options]", " umount [options] <source> | <directory>", "", "Unmount filesystems.", "", "Options:", " -a, --all unmount all filesystems", " -A, --all-targets unmount all mountpoints for the given device in the", " current namespace", " -c, --no-canonicalize don't canonicalize paths", " -d, --detach-loop if mounted loop device, also free this loop device", " --fake dry run; skip the umount(2) syscall", " -f, --force force unmount (in case of an unreachable NFS system)", " -i, --internal-only don't call the umount.<type> helpers", " -n, --no-mtab don't write to /etc/mtab", " -l, --lazy detach the filesystem now, clean up things later", " -O, --test-opts <list> limit the set of filesystems (use with -a)", " -R, --recursive recursively unmount a target with all its children", " -r, --read-only in case unmounting fails, try to remount read-only", " -t, --types <list> limit the set of filesystem types", " -v, --verbose say what is being done", "", " -h, --help display this help and exit", " -V, --version output version information and exit", "", "For more details see umount(8)."], "stdout": "", "stdout_lines": []}
...ignoring
fatal: [k8sceph-03]: FAILED! => {"changed": true, "cmd": "umount -f $(mount | grep '/kubelet/pods/' | grep '/volumes/kubernetes.io~' | awk '{print $3}')", "delta": "0:00:00.005782", "end": "2018-05-29 05:57:58.919828", "msg": "non-zero return code", "rc": 1, "start": "2018-05-29 05:57:58.914046", "stderr": "\nUsage:\n umount [-hV]\n umount -a [options]\n umount [options] <source> | <directory>\n\nUnmount filesystems.\n\nOptions:\n -a, --all unmount all filesystems\n -A, --all-targets unmount all mountpoints for the given device in the\n current namespace\n -c, --no-canonicalize don't canonicalize paths\n -d, --detach-loop if mounted loop device, also free this loop device\n --fake dry run; skip the umount(2) syscall\n -f, --force force unmount (in case of an unreachable NFS system)\n -i, --internal-only don't call the umount.<type> helpers\n -n, --no-mtab don't write to /etc/mtab\n -l, --lazy detach the filesystem now, clean up things later\n -O, --test-opts <list> limit the set of filesystems (use with -a)\n -R, --recursive recursively unmount a target with all its children\n -r, --read-only in case unmounting fails, try to remount read-only\n -t, --types <list> limit the set of filesystem types\n -v, --verbose say what is being done\n\n -h, --help display this help and exit\n -V, --version output version information and exit\n\nFor more details see umount(8).", "stderr_lines": ["", "Usage:", " umount [-hV]", " umount -a [options]", " umount [options] <source> | <directory>", "", "Unmount filesystems.", "", "Options:", " -a, --all unmount all filesystems", " -A, --all-targets unmount all mountpoints for the given device in the", " current namespace", " -c, --no-canonicalize don't canonicalize paths", " -d, --detach-loop if mounted loop device, also free this loop device", " --fake dry run; skip the umount(2) syscall", " -f, --force force unmount (in case of an unreachable NFS system)", " -i, --internal-only don't call the umount.<type> helpers", " -n, --no-mtab don't write to /etc/mtab", " -l, --lazy detach the filesystem now, clean up things later", " -O, --test-opts <list> limit the set of filesystems (use with -a)", " -R, --recursive recursively unmount a target with all its children", " -r, --read-only in case unmounting fails, try to remount read-only", " -t, --types <list> limit the set of filesystem types", " -v, --verbose say what is being done", "", " -h, --help display this help and exit", " -V, --version output version information and exit", "", "For more details see umount(8)."], "stdout": "", "stdout_lines": []}
...ignoring
TASK [tools : cni0/cbr0 IP alloction issue] ************************************
[WARNING]: Consider using the file module with state=absent rather than
running rm. If you need to use command because file is insufficient you can
add warn=False to this command task or set command_warnings=False in
ansible.cfg to get rid of this message.
fatal: [k8sceph-02]: FAILED! => {"changed": true, "cmd": "rm -rf /var/lib/cni/ /var/lib/kubelet/* /etc/cni/ ; ip link delete cni0; ip link delete cbr0 ; ip link delete flannel.1; ip link delete weave", "delta": "0:00:00.010730", "end": "2018-05-29 05:57:59.355056", "msg": "non-zero return code", "rc": 1, "start": "2018-05-29 05:57:59.344326", "stderr": "Cannot find device \"cni0\"\nCannot find device \"cbr0\"\nCannot find device \"flannel.1\"\nCannot find device \"weave\"", "stderr_lines": ["Cannot find device \"cni0\"", "Cannot find device \"cbr0\"", "Cannot find device \"flannel.1\"", "Cannot find device \"weave\""], "stdout": "", "stdout_lines": []}
...ignoring
fatal: [k8sceph-03]: FAILED! => {"changed": true, "cmd": "rm -rf /var/lib/cni/ /var/lib/kubelet/* /etc/cni/ ; ip link delete cni0; ip link delete cbr0 ; ip link delete flannel.1; ip link delete weave", "delta": "0:00:00.010430", "end": "2018-05-29 05:57:59.440464", "msg": "non-zero return code", "rc": 1, "start": "2018-05-29 05:57:59.430034", "stderr": "Cannot find device \"cni0\"\nCannot find device \"cbr0\"\nCannot find device \"flannel.1\"\nCannot find device \"weave\"", "stderr_lines": ["Cannot find device \"cni0\"", "Cannot find device \"cbr0\"", "Cannot find device \"flannel.1\"", "Cannot find device \"weave\""], "stdout": "", "stdout_lines": []}
...ignoring
TASK [tools : Reset iptables rules] ********************************************
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [weave_reset] *************************************************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [tools : Reset weave] *****************************************************
fatal: [k8sceph-02]: FAILED! => {"changed": true, "cmd": "/usr/local/bin/weave reset", "delta": "0:00:00.001495", "end": "2018-05-29 05:57:59.946275", "msg": "non-zero return code", "rc": 127, "start": "2018-05-29 05:57:59.944780", "stderr": "/bin/sh: 1: /usr/local/bin/weave: not found", "stderr_lines": ["/bin/sh: 1: /usr/local/bin/weave: not found"], "stdout": "", "stdout_lines": []}
...ignoring
fatal: [k8sceph-03]: FAILED! => {"changed": true, "cmd": "/usr/local/bin/weave reset", "delta": "0:00:00.001528", "end": "2018-05-29 05:58:00.031960", "msg": "non-zero return code", "rc": 127, "start": "2018-05-29 05:58:00.030432", "stderr": "/bin/sh: 1: /usr/local/bin/weave: not found", "stderr_lines": ["/bin/sh: 1: /usr/local/bin/weave: not found"], "stdout": "", "stdout_lines": []}
...ignoring
TASK [node_reset] **************************************************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : Disable selinux] ************************************************
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : trigger Reboot when required] ***********************************
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : Pause till machine is up again] *********************************
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : Wait for server come back from restart (if selinux required it)] ***
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : Gather facts for first time after restart] **********************
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : Install apt-transport-https] ************************************
ok: [k8sceph-03] => (item=apt-transport-https) => {"cache_update_time": 1527573466, "cache_updated": false, "changed": false, "deprecations": [{"msg": "State 'installed' is deprecated. Using state 'present' instead.", "version": "2.9"}], "item": "apt-transport-https"}
[DEPRECATION WARNING]: State 'installed' is deprecated. Using state 'present'
instead.. This feature will be removed in version 2.9. Deprecation warnings can
be disabled by setting deprecation_warnings=False in ansible.cfg.
ok: [k8sceph-02] => (item=apt-transport-https) => {"cache_update_time": 1527573466, "cache_updated": false, "changed": false, "deprecations": [{"msg": "State 'installed' is deprecated. Using state 'present' instead.", "version": "2.9"}], "item": "apt-transport-https"}
TASK [common : apt_key] ********************************************************
changed: [k8sceph-03] => {"changed": true}
changed: [k8sceph-02] => {"changed": true}
TASK [common : apt_repository] *************************************************
changed: [k8sceph-02] => {"changed": true, "repo": "deb http://apt.kubernetes.io/ kubernetes-xenial main", "state": "present"}
changed: [k8sceph-03] => {"changed": true, "repo": "deb http://apt.kubernetes.io/ kubernetes-xenial main", "state": "present"}
TASK [common : Create kubernetes yum repository] *******************************
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : add proxy for the repo] *****************************************
skipping: [k8sceph-02] => (item=kubernetes) => {"changed": false, "item": "kubernetes", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => (item=kubernetes) => {"changed": false, "item": "kubernetes", "skip_reason": "Conditional result was False"}
TASK [common : Clean yum metadata] *********************************************
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : apt-get clean metadata] *****************************************
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : Install socat from centos/rhel/ubuntu repo] *********************
changed: [k8sceph-02] => (item=socat) => {"cache_update_time": 1527573486, "cache_updated": false, "changed": true, "deprecations": [{"msg": "State 'installed' is deprecated. Using state 'present' instead.", "version": "2.9"}], "item": "socat", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following NEW packages will be installed:\n socat\n0 upgraded, 1 newly installed, 0 to remove and 51 not upgraded.\nNeed to get 321 kB of archives.\nAfter this operation, 941 kB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 socat amd64 1.7.3.1-1 [321 kB]\nFetched 321 kB in 0s (1307 kB/s)\nSelecting previously unselected package socat.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 38208 files and directories currently installed.)\r\nPreparing to unpack .../socat_1.7.3.1-1_amd64.deb ...\r\nUnpacking socat (1.7.3.1-1) ...\r\nProcessing triggers for man-db (2.7.5-1) ...\r\nSetting up socat (1.7.3.1-1) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following NEW packages will be installed:", " socat", "0 upgraded, 1 newly installed, 0 to remove and 51 not upgraded.", "Need to get 321 kB of archives.", "After this operation, 941 kB of additional disk space will be used.", "Get:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 socat amd64 1.7.3.1-1 [321 kB]", "Fetched 321 kB in 0s (1307 kB/s)", "Selecting previously unselected package socat.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 38208 files and directories currently installed.)", "Preparing to unpack .../socat_1.7.3.1-1_amd64.deb ...", "Unpacking socat (1.7.3.1-1) ...", "Processing triggers for man-db (2.7.5-1) ...", "Setting up socat (1.7.3.1-1) ..."]}
changed: [k8sceph-03] => (item=socat) => {"cache_update_time": 1527573486, "cache_updated": false, "changed": true, "deprecations": [{"msg": "State 'installed' is deprecated. Using state 'present' instead.", "version": "2.9"}], "item": "socat", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following NEW packages will be installed:\n socat\n0 upgraded, 1 newly installed, 0 to remove and 51 not upgraded.\nNeed to get 321 kB of archives.\nAfter this operation, 941 kB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 socat amd64 1.7.3.1-1 [321 kB]\nFetched 321 kB in 0s (1304 kB/s)\nSelecting previously unselected package socat.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 38208 files and directories currently installed.)\r\nPreparing to unpack .../socat_1.7.3.1-1_amd64.deb ...\r\nUnpacking socat (1.7.3.1-1) ...\r\nProcessing triggers for man-db (2.7.5-1) ...\r\nSetting up socat (1.7.3.1-1) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following NEW packages will be installed:", " socat", "0 upgraded, 1 newly installed, 0 to remove and 51 not upgraded.", "Need to get 321 kB of archives.", "After this operation, 941 kB of additional disk space will be used.", "Get:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 socat amd64 1.7.3.1-1 [321 kB]", "Fetched 321 kB in 0s (1304 kB/s)", "Selecting previously unselected package socat.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 38208 files and directories currently installed.)", "Preparing to unpack .../socat_1.7.3.1-1_amd64.deb ...", "Unpacking socat (1.7.3.1-1) ...", "Processing triggers for man-db (2.7.5-1) ...", "Setting up socat (1.7.3.1-1) ..."]}
TASK [common : Install kubelet] ************************************************
skipping: [k8sceph-02] => (item=kubelet) => {"changed": false, "item": "kubelet", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => (item=kubelet) => {"changed": false, "item": "kubelet", "skip_reason": "Conditional result was False"}
TASK [common : Install kubelet] ************************************************
changed: [k8sceph-02] => (item=kubelet) => {"cache_update_time": 1527573486, "cache_updated": false, "changed": true, "deprecations": [{"msg": "State 'installed' is deprecated. Using state 'present' instead.", "version": "2.9"}], "item": "kubelet", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following additional packages will be installed:\n ebtables kubernetes-cni\nThe following NEW packages will be installed:\n ebtables kubelet kubernetes-cni\n0 upgraded, 3 newly installed, 0 to remove and 51 not upgraded.\nNeed to get 26.4 MB of archives.\nAfter this operation, 194 MB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ebtables amd64 2.0.10.4-3.4ubuntu2.16.04.1 [79.6 kB]\nGet:2 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubernetes-cni amd64 0.6.0-00 [5910 kB]\nGet:3 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubelet amd64 1.9.8-00 [20.4 MB]\nFetched 26.4 MB in 4s (5737 kB/s)\nSelecting previously unselected package ebtables.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 38248 files and directories currently installed.)\r\nPreparing to unpack .../ebtables_2.0.10.4-3.4ubuntu2.16.04.1_amd64.deb ...\r\nUnpacking ebtables (2.0.10.4-3.4ubuntu2.16.04.1) ...\r\nSelecting previously unselected package kubernetes-cni.\r\nPreparing to unpack .../kubernetes-cni_0.6.0-00_amd64.deb ...\r\nUnpacking kubernetes-cni (0.6.0-00) ...\r\nSelecting previously unselected package kubelet.\r\nPreparing to unpack .../kubelet_1.9.8-00_amd64.deb ...\r\nUnpacking kubelet (1.9.8-00) ...\r\nProcessing triggers for man-db (2.7.5-1) ...\r\nProcessing triggers for systemd (229-4ubuntu21.2) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\nSetting up ebtables (2.0.10.4-3.4ubuntu2.16.04.1) ...\r\nupdate-rc.d: warning: start and stop actions are no longer supported; falling back to defaults\r\nSetting up kubernetes-cni (0.6.0-00) ...\r\nSetting up kubelet (1.9.8-00) ...\r\nProcessing triggers for systemd (229-4ubuntu21.2) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following additional packages will be installed:", " ebtables kubernetes-cni", "The following NEW packages will be installed:", " ebtables kubelet kubernetes-cni", "0 upgraded, 3 newly installed, 0 to remove and 51 not upgraded.", "Need to get 26.4 MB of archives.", "After this operation, 194 MB of additional disk space will be used.", "Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ebtables amd64 2.0.10.4-3.4ubuntu2.16.04.1 [79.6 kB]", "Get:2 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubernetes-cni amd64 0.6.0-00 [5910 kB]", "Get:3 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubelet amd64 1.9.8-00 [20.4 MB]", "Fetched 26.4 MB in 4s (5737 kB/s)", "Selecting previously unselected package ebtables.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 38248 files and directories currently installed.)", "Preparing to unpack .../ebtables_2.0.10.4-3.4ubuntu2.16.04.1_amd64.deb ...", "Unpacking ebtables (2.0.10.4-3.4ubuntu2.16.04.1) ...", "Selecting previously unselected package kubernetes-cni.", "Preparing to unpack .../kubernetes-cni_0.6.0-00_amd64.deb ...", "Unpacking kubernetes-cni (0.6.0-00) ...", "Selecting previously unselected package kubelet.", "Preparing to unpack .../kubelet_1.9.8-00_amd64.deb ...", "Unpacking kubelet (1.9.8-00) ...", "Processing triggers for man-db (2.7.5-1) ...", "Processing triggers for systemd (229-4ubuntu21.2) ...", "Processing triggers for ureadahead (0.100.0-19) ...", "Setting up ebtables (2.0.10.4-3.4ubuntu2.16.04.1) ...", "update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults", "Setting up kubernetes-cni (0.6.0-00) ...", "Setting up kubelet (1.9.8-00) ...", "Processing triggers for systemd (229-4ubuntu21.2) ...", "Processing triggers for ureadahead (0.100.0-19) ..."]}
changed: [k8sceph-03] => (item=kubelet) => {"cache_update_time": 1527573486, "cache_updated": false, "changed": true, "deprecations": [{"msg": "State 'installed' is deprecated. Using state 'present' instead.", "version": "2.9"}], "item": "kubelet", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following additional packages will be installed:\n ebtables kubernetes-cni\nThe following NEW packages will be installed:\n ebtables kubelet kubernetes-cni\n0 upgraded, 3 newly installed, 0 to remove and 51 not upgraded.\nNeed to get 26.4 MB of archives.\nAfter this operation, 194 MB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ebtables amd64 2.0.10.4-3.4ubuntu2.16.04.1 [79.6 kB]\nGet:2 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubernetes-cni amd64 0.6.0-00 [5910 kB]\nGet:3 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubelet amd64 1.9.8-00 [20.4 MB]\nFetched 26.4 MB in 5s (4982 kB/s)\nSelecting previously unselected package ebtables.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 38248 files and directories currently installed.)\r\nPreparing to unpack .../ebtables_2.0.10.4-3.4ubuntu2.16.04.1_amd64.deb ...\r\nUnpacking ebtables (2.0.10.4-3.4ubuntu2.16.04.1) ...\r\nSelecting previously unselected package kubernetes-cni.\r\nPreparing to unpack .../kubernetes-cni_0.6.0-00_amd64.deb ...\r\nUnpacking kubernetes-cni (0.6.0-00) ...\r\nSelecting previously unselected package kubelet.\r\nPreparing to unpack .../kubelet_1.9.8-00_amd64.deb ...\r\nUnpacking kubelet (1.9.8-00) ...\r\nProcessing triggers for man-db (2.7.5-1) ...\r\nProcessing triggers for systemd (229-4ubuntu21.2) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\nSetting up ebtables (2.0.10.4-3.4ubuntu2.16.04.1) ...\r\nupdate-rc.d: warning: start and stop actions are no longer supported; falling back to defaults\r\nSetting up kubernetes-cni (0.6.0-00) ...\r\nSetting up kubelet (1.9.8-00) ...\r\nProcessing triggers for systemd (229-4ubuntu21.2) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following additional packages will be installed:", " ebtables kubernetes-cni", "The following NEW packages will be installed:", " ebtables kubelet kubernetes-cni", "0 upgraded, 3 newly installed, 0 to remove and 51 not upgraded.", "Need to get 26.4 MB of archives.", "After this operation, 194 MB of additional disk space will be used.", "Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ebtables amd64 2.0.10.4-3.4ubuntu2.16.04.1 [79.6 kB]", "Get:2 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubernetes-cni amd64 0.6.0-00 [5910 kB]", "Get:3 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubelet amd64 1.9.8-00 [20.4 MB]", "Fetched 26.4 MB in 5s (4982 kB/s)", "Selecting previously unselected package ebtables.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 38248 files and directories currently installed.)", "Preparing to unpack .../ebtables_2.0.10.4-3.4ubuntu2.16.04.1_amd64.deb ...", "Unpacking ebtables (2.0.10.4-3.4ubuntu2.16.04.1) ...", "Selecting previously unselected package kubernetes-cni.", "Preparing to unpack .../kubernetes-cni_0.6.0-00_amd64.deb ...", "Unpacking kubernetes-cni (0.6.0-00) ...", "Selecting previously unselected package kubelet.", "Preparing to unpack .../kubelet_1.9.8-00_amd64.deb ...", "Unpacking kubelet (1.9.8-00) ...", "Processing triggers for man-db (2.7.5-1) ...", "Processing triggers for systemd (229-4ubuntu21.2) ...", "Processing triggers for ureadahead (0.100.0-19) ...", "Setting up ebtables (2.0.10.4-3.4ubuntu2.16.04.1) ...", "update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults", "Setting up kubernetes-cni (0.6.0-00) ...", "Setting up kubelet (1.9.8-00) ...", "Processing triggers for systemd (229-4ubuntu21.2) ...", "Processing triggers for ureadahead (0.100.0-19) ..."]}
TASK [common : Install kubelet] ************************************************
skipping: [k8sceph-02] => (item=kubelet) => {"changed": false, "item": "kubelet", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => (item=kubelet) => {"changed": false, "item": "kubelet", "skip_reason": "Conditional result was False"}
TASK [common : Install kubelet] ************************************************
skipping: [k8sceph-02] => (item=kubelet) => {"changed": false, "item": "kubelet", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => (item=kubelet) => {"changed": false, "item": "kubelet", "skip_reason": "Conditional result was False"}
TASK [common : Install kubectl] ************************************************
skipping: [k8sceph-02] => (item=kubectl) => {"changed": false, "item": "kubectl", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => (item=kubectl) => {"changed": false, "item": "kubectl", "skip_reason": "Conditional result was False"}
TASK [common : Install kubectl] ************************************************
changed: [k8sceph-03] => (item=kubectl) => {"cache_update_time": 1527573486, "cache_updated": false, "changed": true, "deprecations": [{"msg": "State 'installed' is deprecated. Using state 'present' instead.", "version": "2.9"}], "item": "kubectl", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following NEW packages will be installed:\n kubectl\n0 upgraded, 1 newly installed, 0 to remove and 52 not upgraded.\nNeed to get 10.5 MB of archives.\nAfter this operation, 67.6 MB of additional disk space will be used.\nGet:1 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubectl amd64 1.9.8-00 [10.5 MB]\nFetched 10.5 MB in 2s (4332 kB/s)\nSelecting previously unselected package kubectl.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 38299 files and directories currently installed.)\r\nPreparing to unpack .../kubectl_1.9.8-00_amd64.deb ...\r\nUnpacking kubectl (1.9.8-00) ...\r\nSetting up kubectl (1.9.8-00) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following NEW packages will be installed:", " kubectl", "0 upgraded, 1 newly installed, 0 to remove and 52 not upgraded.", "Need to get 10.5 MB of archives.", "After this operation, 67.6 MB of additional disk space will be used.", "Get:1 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubectl amd64 1.9.8-00 [10.5 MB]", "Fetched 10.5 MB in 2s (4332 kB/s)", "Selecting previously unselected package kubectl.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 38299 files and directories currently installed.)", "Preparing to unpack .../kubectl_1.9.8-00_amd64.deb ...", "Unpacking kubectl (1.9.8-00) ...", "Setting up kubectl (1.9.8-00) ..."]}
changed: [k8sceph-02] => (item=kubectl) => {"cache_update_time": 1527573486, "cache_updated": false, "changed": true, "deprecations": [{"msg": "State 'installed' is deprecated. Using state 'present' instead.", "version": "2.9"}], "item": "kubectl", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following NEW packages will be installed:\n kubectl\n0 upgraded, 1 newly installed, 0 to remove and 52 not upgraded.\nNeed to get 10.5 MB of archives.\nAfter this operation, 67.6 MB of additional disk space will be used.\nGet:1 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubectl amd64 1.9.8-00 [10.5 MB]\nFetched 10.5 MB in 2s (4548 kB/s)\nSelecting previously unselected package kubectl.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 38299 files and directories currently installed.)\r\nPreparing to unpack .../kubectl_1.9.8-00_amd64.deb ...\r\nUnpacking kubectl (1.9.8-00) ...\r\nSetting up kubectl (1.9.8-00) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following NEW packages will be installed:", " kubectl", "0 upgraded, 1 newly installed, 0 to remove and 52 not upgraded.", "Need to get 10.5 MB of archives.", "After this operation, 67.6 MB of additional disk space will be used.", "Get:1 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubectl amd64 1.9.8-00 [10.5 MB]", "Fetched 10.5 MB in 2s (4548 kB/s)", "Selecting previously unselected package kubectl.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 38299 files and directories currently installed.)", "Preparing to unpack .../kubectl_1.9.8-00_amd64.deb ...", "Unpacking kubectl (1.9.8-00) ...", "Setting up kubectl (1.9.8-00) ..."]}
TASK [common : Install kubectl] ************************************************
skipping: [k8sceph-02] => (item=kubectl) => {"changed": false, "item": "kubectl", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => (item=kubectl) => {"changed": false, "item": "kubectl", "skip_reason": "Conditional result was False"}
TASK [common : Install kubectl] ************************************************
skipping: [k8sceph-02] => (item=kubectl) => {"changed": false, "item": "kubectl", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => (item=kubectl) => {"changed": false, "item": "kubectl", "skip_reason": "Conditional result was False"}
TASK [common : Install kubeadm] ************************************************
skipping: [k8sceph-02] => (item=kubeadm) => {"changed": false, "item": "kubeadm", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => (item=kubeadm) => {"changed": false, "item": "kubeadm", "skip_reason": "Conditional result was False"}
TASK [common : Install kubeadm] ************************************************
changed: [k8sceph-02] => (item=kubeadm) => {"cache_update_time": 1527573486, "cache_updated": false, "changed": true, "deprecations": [{"msg": "State 'installed' is deprecated. Using state 'present' instead.", "version": "2.9"}], "item": "kubeadm", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following NEW packages will be installed:\n kubeadm\n0 upgraded, 1 newly installed, 0 to remove and 53 not upgraded.\nNeed to get 20.2 MB of archives.\nAfter this operation, 152 MB of additional disk space will be used.\nGet:1 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubeadm amd64 1.9.8-00 [20.2 MB]\nFetched 20.2 MB in 3s (6152 kB/s)\nSelecting previously unselected package kubeadm.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 38300 files and directories currently installed.)\r\nPreparing to unpack .../kubeadm_1.9.8-00_amd64.deb ...\r\nUnpacking kubeadm (1.9.8-00) ...\r\nSetting up kubeadm (1.9.8-00) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following NEW packages will be installed:", " kubeadm", "0 upgraded, 1 newly installed, 0 to remove and 53 not upgraded.", "Need to get 20.2 MB of archives.", "After this operation, 152 MB of additional disk space will be used.", "Get:1 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubeadm amd64 1.9.8-00 [20.2 MB]", "Fetched 20.2 MB in 3s (6152 kB/s)", "Selecting previously unselected package kubeadm.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 38300 files and directories currently installed.)", "Preparing to unpack .../kubeadm_1.9.8-00_amd64.deb ...", "Unpacking kubeadm (1.9.8-00) ...", "Setting up kubeadm (1.9.8-00) ..."]}
changed: [k8sceph-03] => (item=kubeadm) => {"cache_update_time": 1527573486, "cache_updated": false, "changed": true, "deprecations": [{"msg": "State 'installed' is deprecated. Using state 'present' instead.", "version": "2.9"}], "item": "kubeadm", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following NEW packages will be installed:\n kubeadm\n0 upgraded, 1 newly installed, 0 to remove and 53 not upgraded.\nNeed to get 20.2 MB of archives.\nAfter this operation, 152 MB of additional disk space will be used.\nGet:1 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubeadm amd64 1.9.8-00 [20.2 MB]\nFetched 20.2 MB in 3s (5055 kB/s)\nSelecting previously unselected package kubeadm.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 38300 files and directories currently installed.)\r\nPreparing to unpack .../kubeadm_1.9.8-00_amd64.deb ...\r\nUnpacking kubeadm (1.9.8-00) ...\r\nSetting up kubeadm (1.9.8-00) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following NEW packages will be installed:", " kubeadm", "0 upgraded, 1 newly installed, 0 to remove and 53 not upgraded.", "Need to get 20.2 MB of archives.", "After this operation, 152 MB of additional disk space will be used.", "Get:1 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubeadm amd64 1.9.8-00 [20.2 MB]", "Fetched 20.2 MB in 3s (5055 kB/s)", "Selecting previously unselected package kubeadm.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 38300 files and directories currently installed.)", "Preparing to unpack .../kubeadm_1.9.8-00_amd64.deb ...", "Unpacking kubeadm (1.9.8-00) ...", "Setting up kubeadm (1.9.8-00) ..."]}
TASK [common : Install kubeadm] ************************************************
skipping: [k8sceph-02] => (item=kubeadm) => {"changed": false, "item": "kubeadm", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => (item=kubeadm) => {"changed": false, "item": "kubeadm", "skip_reason": "Conditional result was False"}
TASK [common : Install kubeadm] ************************************************
skipping: [k8sceph-02] => (item=kubeadm) => {"changed": false, "item": "kubeadm", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => (item=kubeadm) => {"changed": false, "item": "kubeadm", "skip_reason": "Conditional result was False"}
TASK [common : check docker hello world - test 1/2] ****************************
fatal: [k8sceph-02]: FAILED! => {"changed": false, "cmd": "docker run -i hello-world", "delta": "0:00:00.001258", "end": "2018-05-29 05:58:58.044672", "msg": "non-zero return code", "rc": 127, "start": "2018-05-29 05:58:58.043414", "stderr": "/bin/sh: 1: docker: not found", "stderr_lines": ["/bin/sh: 1: docker: not found"], "stdout": "", "stdout_lines": []}
...ignoring
fatal: [k8sceph-03]: FAILED! => {"changed": false, "cmd": "docker run -i hello-world", "delta": "0:00:00.001376", "end": "2018-05-29 05:58:58.174089", "msg": "non-zero return code", "rc": 127, "start": "2018-05-29 05:58:58.172713", "stderr": "/bin/sh: 1: docker: not found", "stderr_lines": ["/bin/sh: 1: docker: not found"], "stdout": "", "stdout_lines": []}
...ignoring
TASK [common : Install in CentOS/RHEL docker (if does not exist)] **************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-02] => (item=docker) => {"changed": false, "item": "docker", "skip_reason": "Conditional result was False"}
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-03] => (item=docker) => {"changed": false, "item": "docker", "skip_reason": "Conditional result was False"}
TASK [common : Install in debian docker (if does not exist)] *******************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
changed: [k8sceph-03] => (item=docker.io) => {"cache_update_time": 1527573486, "cache_updated": false, "changed": true, "deprecations": [{"msg": "State 'installed' is deprecated. Using state 'present' instead.", "version": "2.9"}], "item": "docker.io", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following additional packages will be installed:\n bridge-utils cgroupfs-mount containerd runc ubuntu-fan\nSuggested packages:\n mountall aufs-tools debootstrap docker-doc rinse zfs-fuse | zfsutils\nThe following NEW packages will be installed:\n bridge-utils cgroupfs-mount containerd docker.io runc ubuntu-fan\n0 upgraded, 6 newly installed, 0 to remove and 54 not upgraded.\nNeed to get 17.5 MB of archives.\nAfter this operation, 90.5 MB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 bridge-utils amd64 1.5-9ubuntu1 [28.6 kB]\nGet:2 http://archive.ubuntu.com/ubuntu xenial/universe amd64 cgroupfs-mount all 1.2 [4970 B]\nGet:3 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 runc amd64 1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1 [1488 kB]\nGet:4 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 containerd amd64 0.2.5-0ubuntu1~16.04.1 [4041 kB]\nGet:5 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 docker.io amd64 1.13.1-0ubuntu1~16.04.2 [11.9 MB]\nGet:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ubuntu-fan all 0.12.8~16.04.2 [35.6 kB]\nFetched 17.5 MB in 2s (7697 kB/s)\nSelecting previously unselected package bridge-utils.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 38303 files and directories currently installed.)\r\nPreparing to unpack .../bridge-utils_1.5-9ubuntu1_amd64.deb ...\r\nUnpacking bridge-utils (1.5-9ubuntu1) ...\r\nSelecting previously unselected package cgroupfs-mount.\r\nPreparing to unpack .../cgroupfs-mount_1.2_all.deb ...\r\nUnpacking cgroupfs-mount (1.2) ...\r\nSelecting previously unselected package runc.\r\nPreparing to unpack .../runc_1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1_amd64.deb ...\r\nUnpacking runc (1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1) ...\r\nSelecting previously unselected package containerd.\r\nPreparing to unpack .../containerd_0.2.5-0ubuntu1~16.04.1_amd64.deb ...\r\nUnpacking containerd (0.2.5-0ubuntu1~16.04.1) ...\r\nSelecting previously unselected package docker.io.\r\nPreparing to unpack .../docker.io_1.13.1-0ubuntu1~16.04.2_amd64.deb ...\r\nUnpacking docker.io (1.13.1-0ubuntu1~16.04.2) ...\r\nSelecting previously unselected package ubuntu-fan.\r\nPreparing to unpack .../ubuntu-fan_0.12.8~16.04.2_all.deb ...\r\nUnpacking ubuntu-fan (0.12.8~16.04.2) ...\r\nProcessing triggers for man-db (2.7.5-1) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\nProcessing triggers for systemd (229-4ubuntu21.2) ...\r\nSetting up bridge-utils (1.5-9ubuntu1) ...\r\nSetting up cgroupfs-mount (1.2) ...\r\nSetting up runc (1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1) ...\r\nSetting up containerd (0.2.5-0ubuntu1~16.04.1) ...\r\nSetting up docker.io (1.13.1-0ubuntu1~16.04.2) ...\r\nAdding group `docker' (GID 117) ...\r\nDone.\r\nSetting up ubuntu-fan (0.12.8~16.04.2) ...\r\nProcessing triggers for systemd (229-4ubuntu21.2) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following additional packages will be installed:", " bridge-utils cgroupfs-mount containerd runc ubuntu-fan", "Suggested packages:", " mountall aufs-tools debootstrap docker-doc rinse zfs-fuse | zfsutils", "The following NEW packages will be installed:", " bridge-utils cgroupfs-mount containerd docker.io runc ubuntu-fan", "0 upgraded, 6 newly installed, 0 to remove and 54 not upgraded.", "Need to get 17.5 MB of archives.", "After this operation, 90.5 MB of additional disk space will be used.", "Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 bridge-utils amd64 1.5-9ubuntu1 [28.6 kB]", "Get:2 http://archive.ubuntu.com/ubuntu xenial/universe amd64 cgroupfs-mount all 1.2 [4970 B]", "Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 runc amd64 1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1 [1488 kB]", "Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 containerd amd64 0.2.5-0ubuntu1~16.04.1 [4041 kB]", "Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 docker.io amd64 1.13.1-0ubuntu1~16.04.2 [11.9 MB]", "Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ubuntu-fan all 0.12.8~16.04.2 [35.6 kB]", "Fetched 17.5 MB in 2s (7697 kB/s)", "Selecting previously unselected package bridge-utils.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 38303 files and directories currently installed.)", "Preparing to unpack .../bridge-utils_1.5-9ubuntu1_amd64.deb ...", "Unpacking bridge-utils (1.5-9ubuntu1) ...", "Selecting previously unselected package cgroupfs-mount.", "Preparing to unpack .../cgroupfs-mount_1.2_all.deb ...", "Unpacking cgroupfs-mount (1.2) ...", "Selecting previously unselected package runc.", "Preparing to unpack .../runc_1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1_amd64.deb ...", "Unpacking runc (1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1) ...", "Selecting previously unselected package containerd.", "Preparing to unpack .../containerd_0.2.5-0ubuntu1~16.04.1_amd64.deb ...", "Unpacking containerd (0.2.5-0ubuntu1~16.04.1) ...", "Selecting previously unselected package docker.io.", "Preparing to unpack .../docker.io_1.13.1-0ubuntu1~16.04.2_amd64.deb ...", "Unpacking docker.io (1.13.1-0ubuntu1~16.04.2) ...", "Selecting previously unselected package ubuntu-fan.", "Preparing to unpack .../ubuntu-fan_0.12.8~16.04.2_all.deb ...", "Unpacking ubuntu-fan (0.12.8~16.04.2) ...", "Processing triggers for man-db (2.7.5-1) ...", "Processing triggers for ureadahead (0.100.0-19) ...", "Processing triggers for systemd (229-4ubuntu21.2) ...", "Setting up bridge-utils (1.5-9ubuntu1) ...", "Setting up cgroupfs-mount (1.2) ...", "Setting up runc (1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1) ...", "Setting up containerd (0.2.5-0ubuntu1~16.04.1) ...", "Setting up docker.io (1.13.1-0ubuntu1~16.04.2) ...", "Adding group `docker' (GID 117) ...", "Done.", "Setting up ubuntu-fan (0.12.8~16.04.2) ...", "Processing triggers for systemd (229-4ubuntu21.2) ...", "Processing triggers for ureadahead (0.100.0-19) ..."]}
changed: [k8sceph-02] => (item=docker.io) => {"cache_update_time": 1527573486, "cache_updated": false, "changed": true, "deprecations": [{"msg": "State 'installed' is deprecated. Using state 'present' instead.", "version": "2.9"}], "item": "docker.io", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following additional packages will be installed:\n bridge-utils cgroupfs-mount containerd runc ubuntu-fan\nSuggested packages:\n mountall aufs-tools debootstrap docker-doc rinse zfs-fuse | zfsutils\nThe following NEW packages will be installed:\n bridge-utils cgroupfs-mount containerd docker.io runc ubuntu-fan\n0 upgraded, 6 newly installed, 0 to remove and 54 not upgraded.\nNeed to get 17.5 MB of archives.\nAfter this operation, 90.5 MB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 bridge-utils amd64 1.5-9ubuntu1 [28.6 kB]\nGet:2 http://archive.ubuntu.com/ubuntu xenial/universe amd64 cgroupfs-mount all 1.2 [4970 B]\nGet:3 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 runc amd64 1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1 [1488 kB]\nGet:4 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 containerd amd64 0.2.5-0ubuntu1~16.04.1 [4041 kB]\nGet:5 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 docker.io amd64 1.13.1-0ubuntu1~16.04.2 [11.9 MB]\nGet:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ubuntu-fan all 0.12.8~16.04.2 [35.6 kB]\nFetched 17.5 MB in 3s (4882 kB/s)\nSelecting previously unselected package bridge-utils.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 38303 files and directories currently installed.)\r\nPreparing to unpack .../bridge-utils_1.5-9ubuntu1_amd64.deb ...\r\nUnpacking bridge-utils (1.5-9ubuntu1) ...\r\nSelecting previously unselected package cgroupfs-mount.\r\nPreparing to unpack .../cgroupfs-mount_1.2_all.deb ...\r\nUnpacking cgroupfs-mount (1.2) ...\r\nSelecting previously unselected package runc.\r\nPreparing to unpack .../runc_1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1_amd64.deb ...\r\nUnpacking runc (1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1) ...\r\nSelecting previously unselected package containerd.\r\nPreparing to unpack .../containerd_0.2.5-0ubuntu1~16.04.1_amd64.deb ...\r\nUnpacking containerd (0.2.5-0ubuntu1~16.04.1) ...\r\nSelecting previously unselected package docker.io.\r\nPreparing to unpack .../docker.io_1.13.1-0ubuntu1~16.04.2_amd64.deb ...\r\nUnpacking docker.io (1.13.1-0ubuntu1~16.04.2) ...\r\nSelecting previously unselected package ubuntu-fan.\r\nPreparing to unpack .../ubuntu-fan_0.12.8~16.04.2_all.deb ...\r\nUnpacking ubuntu-fan (0.12.8~16.04.2) ...\r\nProcessing triggers for man-db (2.7.5-1) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\nProcessing triggers for systemd (229-4ubuntu21.2) ...\r\nSetting up bridge-utils (1.5-9ubuntu1) ...\r\nSetting up cgroupfs-mount (1.2) ...\r\nSetting up runc (1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1) ...\r\nSetting up containerd (0.2.5-0ubuntu1~16.04.1) ...\r\nSetting up docker.io (1.13.1-0ubuntu1~16.04.2) ...\r\nAdding group `docker' (GID 117) ...\r\nDone.\r\nSetting up ubuntu-fan (0.12.8~16.04.2) ...\r\nProcessing triggers for systemd (229-4ubuntu21.2) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following additional packages will be installed:", " bridge-utils cgroupfs-mount containerd runc ubuntu-fan", "Suggested packages:", " mountall aufs-tools debootstrap docker-doc rinse zfs-fuse | zfsutils", "The following NEW packages will be installed:", " bridge-utils cgroupfs-mount containerd docker.io runc ubuntu-fan", "0 upgraded, 6 newly installed, 0 to remove and 54 not upgraded.", "Need to get 17.5 MB of archives.", "After this operation, 90.5 MB of additional disk space will be used.", "Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 bridge-utils amd64 1.5-9ubuntu1 [28.6 kB]", "Get:2 http://archive.ubuntu.com/ubuntu xenial/universe amd64 cgroupfs-mount all 1.2 [4970 B]", "Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 runc amd64 1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1 [1488 kB]", "Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 containerd amd64 0.2.5-0ubuntu1~16.04.1 [4041 kB]", "Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 docker.io amd64 1.13.1-0ubuntu1~16.04.2 [11.9 MB]", "Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ubuntu-fan all 0.12.8~16.04.2 [35.6 kB]", "Fetched 17.5 MB in 3s (4882 kB/s)", "Selecting previously unselected package bridge-utils.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 38303 files and directories currently installed.)", "Preparing to unpack .../bridge-utils_1.5-9ubuntu1_amd64.deb ...", "Unpacking bridge-utils (1.5-9ubuntu1) ...", "Selecting previously unselected package cgroupfs-mount.", "Preparing to unpack .../cgroupfs-mount_1.2_all.deb ...", "Unpacking cgroupfs-mount (1.2) ...", "Selecting previously unselected package runc.", "Preparing to unpack .../runc_1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1_amd64.deb ...", "Unpacking runc (1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1) ...", "Selecting previously unselected package containerd.", "Preparing to unpack .../containerd_0.2.5-0ubuntu1~16.04.1_amd64.deb ...", "Unpacking containerd (0.2.5-0ubuntu1~16.04.1) ...", "Selecting previously unselected package docker.io.", "Preparing to unpack .../docker.io_1.13.1-0ubuntu1~16.04.2_amd64.deb ...", "Unpacking docker.io (1.13.1-0ubuntu1~16.04.2) ...", "Selecting previously unselected package ubuntu-fan.", "Preparing to unpack .../ubuntu-fan_0.12.8~16.04.2_all.deb ...", "Unpacking ubuntu-fan (0.12.8~16.04.2) ...", "Processing triggers for man-db (2.7.5-1) ...", "Processing triggers for ureadahead (0.100.0-19) ...", "Processing triggers for systemd (229-4ubuntu21.2) ...", "Setting up bridge-utils (1.5-9ubuntu1) ...", "Setting up cgroupfs-mount (1.2) ...", "Setting up runc (1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1) ...", "Setting up containerd (0.2.5-0ubuntu1~16.04.1) ...", "Setting up docker.io (1.13.1-0ubuntu1~16.04.2) ...", "Adding group `docker' (GID 117) ...", "Done.", "Setting up ubuntu-fan (0.12.8~16.04.2) ...", "Processing triggers for systemd (229-4ubuntu21.2) ...", "Processing triggers for ureadahead (0.100.0-19) ..."]}
TASK [common : set docker storage to overlay2 (Debian) - overlay2 works only with ubuntu's official docker distribution (docker.io)] ***
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
changed: [k8sceph-03] => {"changed": true, "checksum": "4c7fc7b39d60d1048c63874ec3d4b862aba04fc3", "dest": "/etc/docker/daemon.json", "gid": 0, "group": "root", "md5sum": "e7e7751660b5048cc529675d6fe0ed06", "mode": "0644", "owner": "root", "size": 35, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1527573551.7159777-32705305798672/source", "state": "file", "uid": 0}
changed: [k8sceph-02] => {"changed": true, "checksum": "4c7fc7b39d60d1048c63874ec3d4b862aba04fc3", "dest": "/etc/docker/daemon.json", "gid": 0, "group": "root", "md5sum": "e7e7751660b5048cc529675d6fe0ed06", "mode": "0644", "owner": "root", "size": 35, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1527573551.7015579-47652332117258/source", "state": "file", "uid": 0}
TASK [common : prepare docker-storage-setup (CentOS/RHEL)] *********************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : remove previous /etc/sysconfig/docker-storage (CentOS/RHEL)] ****
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : Restart docker-storage-setup (CentOS/RHEL)] ********************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : set https proxy in docker (CentOS/RHEL)] ************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : set http proxy in docker (CentOS/RHEL)] *************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : set no_proxy in docker (CentOS/RHEL)] ***************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : set https_proxy in docker (Debian)] *****************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : set http_proxy in docker (Debian)] ******************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : set no_proxy in docker (Debian)] ********************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : Add docker insecure registry] ***********************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
RUNNING HANDLER [common : Restart docker] **************************************
changed: [k8sceph-03] => {"changed": true, "enabled": true, "name": "docker", "state": "started", "status": {"ActiveEnterTimestamp": "Tue 2018-05-29 05:59:06 UTC", "ActiveEnterTimestampMonotonic": "117616087", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket docker.socket firewalld.service sysinit.target system.slice network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2018-05-29 05:59:06 UTC", "AssertTimestampMonotonic": "117330738", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CPUUsageNSec": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2018-05-29 05:59:06 UTC", "ConditionTimestampMonotonic": "117330738", "Conflicts": "shutdown.target", "ConsistsOf": "docker.socket", "ControlGroup": "/system.slice/docker.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "yes", "Description": "Docker Application Container Engine", "DevicePolicy": "auto", "Documentation": "https://docs.docker.com", "EnvironmentFile": "/etc/default/docker (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "15375", "ExecMainStartTimestamp": "Tue 2018-05-29 05:59:06 UTC", "ExecMainStartTimestampMonotonic": "117331268", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -s HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/dockerd ; argv[]=/usr/bin/dockerd -H fd:// $DOCKER_OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/lib/systemd/system/docker.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "docker.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2018-05-29 05:59:06 UTC", "InactiveExitTimestampMonotonic": "117331298", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitASSoft": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCORESoft": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitCPUSoft": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitDATASoft": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitFSIZESoft": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitLOCKSSoft": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "1048576", "LimitNOFILESoft": "1048576", "LimitNPROC": "18446744073709551615", "LimitNPROCSoft": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRSSSoft": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "18446744073709551615", "LimitRTTIMESoft": "18446744073709551615", "LimitSIGPENDING": "7843", "LimitSIGPENDINGSoft": "7843", "LimitSTACK": "18446744073709551615", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "MainPID": "15375", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NFileDescriptorStore": "0", "Names": "docker.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "docker.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StateChangeTimestamp": "Tue 2018-05-29 05:59:06 UTC", "StateChangeTimestampMonotonic": "117616087", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "TriggeredBy": "docker.socket", "Type": "notify", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2018-05-29 05:59:06 UTC", "WatchdogTimestampMonotonic": "117616086", "WatchdogUSec": "0"}}
changed: [k8sceph-02] => {"changed": true, "enabled": true, "name": "docker", "state": "started", "status": {"ActiveEnterTimestamp": "Tue 2018-05-29 05:59:07 UTC", "ActiveEnterTimestampMonotonic": "158970212", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "firewalld.service systemd-journald.socket sysinit.target network.target docker.socket basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2018-05-29 05:59:07 UTC", "AssertTimestampMonotonic": "158694387", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CPUUsageNSec": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2018-05-29 05:59:07 UTC", "ConditionTimestampMonotonic": "158694387", "Conflicts": "shutdown.target", "ConsistsOf": "docker.socket", "ControlGroup": "/system.slice/docker.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "yes", "Description": "Docker Application Container Engine", "DevicePolicy": "auto", "Documentation": "https://docs.docker.com", "EnvironmentFile": "/etc/default/docker (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "15370", "ExecMainStartTimestamp": "Tue 2018-05-29 05:59:07 UTC", "ExecMainStartTimestampMonotonic": "158694879", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -s HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/dockerd ; argv[]=/usr/bin/dockerd -H fd:// $DOCKER_OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/lib/systemd/system/docker.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "docker.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2018-05-29 05:59:07 UTC", "InactiveExitTimestampMonotonic": "158694900", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitASSoft": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCORESoft": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitCPUSoft": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitDATASoft": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitFSIZESoft": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitLOCKSSoft": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "1048576", "LimitNOFILESoft": "1048576", "LimitNPROC": "18446744073709551615", "LimitNPROCSoft": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRSSSoft": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "18446744073709551615", "LimitRTTIMESoft": "18446744073709551615", "LimitSIGPENDING": "7843", "LimitSIGPENDINGSoft": "7843", "LimitSTACK": "18446744073709551615", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "MainPID": "15370", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NFileDescriptorStore": "0", "Names": "docker.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice docker.socket sysinit.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StateChangeTimestamp": "Tue 2018-05-29 05:59:07 UTC", "StateChangeTimestampMonotonic": "158970212", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "TriggeredBy": "docker.socket", "Type": "notify", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2018-05-29 05:59:07 UTC", "WatchdogTimestampMonotonic": "158970211", "WatchdogUSec": "0"}}
TASK [common : check docker is running] ****************************************
ok: [k8sceph-02] => {"changed": false, "cmd": ["docker", "info"], "delta": "0:00:00.026199", "end": "2018-05-29 05:59:13.668991", "rc": 0, "start": "2018-05-29 05:59:13.642792", "stderr": "WARNING: No swap limit support", "stderr_lines": ["WARNING: No swap limit support"], "stdout": "Containers: 0\n Running: 0\n Paused: 0\n Stopped: 0\nImages: 0\nServer Version: 1.13.1\nStorage Driver: overlay2\n Backing Filesystem: extfs\n Supports d_type: true\n Native Overlay Diff: true\nLogging Driver: json-file\nCgroup Driver: cgroupfs\nPlugins: \n Volume: local\n Network: bridge host macvlan null overlay\nSwarm: inactive\nRuntimes: runc\nDefault Runtime: runc\nInit Binary: docker-init\ncontainerd version: (expected: aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1)\nrunc version: N/A (expected: 9df8b306d01f59d3a8029be411de015b7304dd8f)\ninit version: N/A (expected: 949e6facb77383876aeff8a6944dde66b3089574)\nSecurity Options:\n apparmor\n seccomp\n Profile: default\nKernel Version: 4.4.0-87-generic\nOperating System: Ubuntu 16.04.4 LTS\nOSType: linux\nArchitecture: x86_64\nCPUs: 1\nTotal Memory: 1.953 GiB\nName: k8sceph-02\nID: 6OAK:3ZKJ:LEUX:RJ32:TQSV:LVVN:KP4S:LTJU:FQCL:SFVG:DRME:5DIK\nDocker Root Dir: /var/lib/docker\nDebug Mode (client): false\nDebug Mode (server): false\nRegistry: https://index.docker.io/v1/\nExperimental: false\nInsecure Registries:\n 127.0.0.0/8\nLive Restore Enabled: false", "stdout_lines": ["Containers: 0", " Running: 0", " Paused: 0", " Stopped: 0", "Images: 0", "Server Version: 1.13.1", "Storage Driver: overlay2", " Backing Filesystem: extfs", " Supports d_type: true", " Native Overlay Diff: true", "Logging Driver: json-file", "Cgroup Driver: cgroupfs", "Plugins: ", " Volume: local", " Network: bridge host macvlan null overlay", "Swarm: inactive", "Runtimes: runc", "Default Runtime: runc", "Init Binary: docker-init", "containerd version: (expected: aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1)", "runc version: N/A (expected: 9df8b306d01f59d3a8029be411de015b7304dd8f)", "init version: N/A (expected: 949e6facb77383876aeff8a6944dde66b3089574)", "Security Options:", " apparmor", " seccomp", " Profile: default", "Kernel Version: 4.4.0-87-generic", "Operating System: Ubuntu 16.04.4 LTS", "OSType: linux", "Architecture: x86_64", "CPUs: 1", "Total Memory: 1.953 GiB", "Name: k8sceph-02", "ID: 6OAK:3ZKJ:LEUX:RJ32:TQSV:LVVN:KP4S:LTJU:FQCL:SFVG:DRME:5DIK", "Docker Root Dir: /var/lib/docker", "Debug Mode (client): false", "Debug Mode (server): false", "Registry: https://index.docker.io/v1/", "Experimental: false", "Insecure Registries:", " 127.0.0.0/8", "Live Restore Enabled: false"]}
ok: [k8sceph-03] => {"changed": false, "cmd": ["docker", "info"], "delta": "0:00:00.026828", "end": "2018-05-29 05:59:13.753233", "rc": 0, "start": "2018-05-29 05:59:13.726405", "stderr": "WARNING: No swap limit support", "stderr_lines": ["WARNING: No swap limit support"], "stdout": "Containers: 0\n Running: 0\n Paused: 0\n Stopped: 0\nImages: 0\nServer Version: 1.13.1\nStorage Driver: overlay2\n Backing Filesystem: extfs\n Supports d_type: true\n Native Overlay Diff: true\nLogging Driver: json-file\nCgroup Driver: cgroupfs\nPlugins: \n Volume: local\n Network: bridge host macvlan null overlay\nSwarm: inactive\nRuntimes: runc\nDefault Runtime: runc\nInit Binary: docker-init\ncontainerd version: (expected: aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1)\nrunc version: N/A (expected: 9df8b306d01f59d3a8029be411de015b7304dd8f)\ninit version: N/A (expected: 949e6facb77383876aeff8a6944dde66b3089574)\nSecurity Options:\n apparmor\n seccomp\n Profile: default\nKernel Version: 4.4.0-87-generic\nOperating System: Ubuntu 16.04.4 LTS\nOSType: linux\nArchitecture: x86_64\nCPUs: 1\nTotal Memory: 1.953 GiB\nName: k8sceph-03\nID: XSW5:4CD3:N2ZO:KGH2:OLQX:HZYT:6TV7:FLWC:MYWC:PGBM:KXAV:UQU3\nDocker Root Dir: /var/lib/docker\nDebug Mode (client): false\nDebug Mode (server): false\nRegistry: https://index.docker.io/v1/\nExperimental: false\nInsecure Registries:\n 127.0.0.0/8\nLive Restore Enabled: false", "stdout_lines": ["Containers: 0", " Running: 0", " Paused: 0", " Stopped: 0", "Images: 0", "Server Version: 1.13.1", "Storage Driver: overlay2", " Backing Filesystem: extfs", " Supports d_type: true", " Native Overlay Diff: true", "Logging Driver: json-file", "Cgroup Driver: cgroupfs", "Plugins: ", " Volume: local", " Network: bridge host macvlan null overlay", "Swarm: inactive", "Runtimes: runc", "Default Runtime: runc", "Init Binary: docker-init", "containerd version: (expected: aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1)", "runc version: N/A (expected: 9df8b306d01f59d3a8029be411de015b7304dd8f)", "init version: N/A (expected: 949e6facb77383876aeff8a6944dde66b3089574)", "Security Options:", " apparmor", " seccomp", " Profile: default", "Kernel Version: 4.4.0-87-generic", "Operating System: Ubuntu 16.04.4 LTS", "OSType: linux", "Architecture: x86_64", "CPUs: 1", "Total Memory: 1.953 GiB", "Name: k8sceph-03", "ID: XSW5:4CD3:N2ZO:KGH2:OLQX:HZYT:6TV7:FLWC:MYWC:PGBM:KXAV:UQU3", "Docker Root Dir: /var/lib/docker", "Debug Mode (client): false", "Debug Mode (server): false", "Registry: https://index.docker.io/v1/", "Experimental: false", "Insecure Registries:", " 127.0.0.0/8", "Live Restore Enabled: false"]}
TASK [common : check docker hello world - test 2/2] ****************************
ok: [k8sceph-03] => {"changed": false, "cmd": "docker run -i hello-world | awk '/Hello/ {print $1}'", "delta": "0:00:03.643646", "end": "2018-05-29 05:59:17.902290", "failed_when_result": false, "rc": 0, "start": "2018-05-29 05:59:14.258644", "stderr": "Unable to find image 'hello-world:latest' locally\nlatest: Pulling from library/hello-world\n9bb5a5d4561a: Pulling fs layer\n9bb5a5d4561a: Verifying Checksum\n9bb5a5d4561a: Download complete\n9bb5a5d4561a: Pull complete\nDigest: sha256:f5233545e43561214ca4891fd1157e1c3c563316ed8e237750d59bde73361e77\nStatus: Downloaded newer image for hello-world:latest", "stderr_lines": ["Unable to find image 'hello-world:latest' locally", "latest: Pulling from library/hello-world", "9bb5a5d4561a: Pulling fs layer", "9bb5a5d4561a: Verifying Checksum", "9bb5a5d4561a: Download complete", "9bb5a5d4561a: Pull complete", "Digest: sha256:f5233545e43561214ca4891fd1157e1c3c563316ed8e237750d59bde73361e77", "Status: Downloaded newer image for hello-world:latest"], "stdout": "Hello", "stdout_lines": ["Hello"]}
ok: [k8sceph-02] => {"changed": false, "cmd": "docker run -i hello-world | awk '/Hello/ {print $1}'", "delta": "0:00:03.692044", "end": "2018-05-29 05:59:17.862066", "failed_when_result": false, "rc": 0, "start": "2018-05-29 05:59:14.170022", "stderr": "Unable to find image 'hello-world:latest' locally\nlatest: Pulling from library/hello-world\n9bb5a5d4561a: Pulling fs layer\n9bb5a5d4561a: Verifying Checksum\n9bb5a5d4561a: Download complete\n9bb5a5d4561a: Pull complete\nDigest: sha256:f5233545e43561214ca4891fd1157e1c3c563316ed8e237750d59bde73361e77\nStatus: Downloaded newer image for hello-world:latest", "stderr_lines": ["Unable to find image 'hello-world:latest' locally", "latest: Pulling from library/hello-world", "9bb5a5d4561a: Pulling fs layer", "9bb5a5d4561a: Verifying Checksum", "9bb5a5d4561a: Download complete", "9bb5a5d4561a: Pull complete", "Digest: sha256:f5233545e43561214ca4891fd1157e1c3c563316ed8e237750d59bde73361e77", "Status: Downloaded newer image for hello-world:latest"], "stdout": "Hello", "stdout_lines": ["Hello"]}
TASK [common : Disable firewalld (CentOS/RHEL)] ********************************
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : Install iptables-services (if does not exist) - RedHat/CentOS] ***
skipping: [k8sceph-02] => (item=iptables-services) => {"changed": false, "item": "iptables-services", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => (item=iptables-services) => {"changed": false, "item": "iptables-services", "skip_reason": "Conditional result was False"}
TASK [common : Install netfilter-persistent required for saving iptables rule - Debian] ***
changed: [k8sceph-03] => (item=netfilter-persistent) => {"cache_update_time": 1527573486, "cache_updated": false, "changed": true, "deprecations": [{"msg": "State 'installed' is deprecated. Using state 'present' instead.", "version": "2.9"}], "item": "netfilter-persistent", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nSuggested packages:\n iptables-persistent\nThe following NEW packages will be installed:\n netfilter-persistent\n0 upgraded, 1 newly installed, 0 to remove and 54 not upgraded.\nNeed to get 6786 B of archives.\nAfter this operation, 36.9 kB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 netfilter-persistent all 1.0.4 [6786 B]\nFetched 6786 B in 0s (75.0 kB/s)\nSelecting previously unselected package netfilter-persistent.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 38496 files and directories currently installed.)\r\nPreparing to unpack .../netfilter-persistent_1.0.4_all.deb ...\r\nUnpacking netfilter-persistent (1.0.4) ...\r\nProcessing triggers for man-db (2.7.5-1) ...\r\nProcessing triggers for systemd (229-4ubuntu21.2) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\nSetting up netfilter-persistent (1.0.4) ...\r\nupdate-rc.d: warning: start and stop actions are no longer supported; falling back to defaults\r\nProcessing triggers for systemd (229-4ubuntu21.2) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "Suggested packages:", " iptables-persistent", "The following NEW packages will be installed:", " netfilter-persistent", "0 upgraded, 1 newly installed, 0 to remove and 54 not upgraded.", "Need to get 6786 B of archives.", "After this operation, 36.9 kB of additional disk space will be used.", "Get:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 netfilter-persistent all 1.0.4 [6786 B]", "Fetched 6786 B in 0s (75.0 kB/s)", "Selecting previously unselected package netfilter-persistent.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 38496 files and directories currently installed.)", "Preparing to unpack .../netfilter-persistent_1.0.4_all.deb ...", "Unpacking netfilter-persistent (1.0.4) ...", "Processing triggers for man-db (2.7.5-1) ...", "Processing triggers for systemd (229-4ubuntu21.2) ...", "Processing triggers for ureadahead (0.100.0-19) ...", "Setting up netfilter-persistent (1.0.4) ...", "update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults", "Processing triggers for systemd (229-4ubuntu21.2) ...", "Processing triggers for ureadahead (0.100.0-19) ..."]}
changed: [k8sceph-02] => (item=netfilter-persistent) => {"cache_update_time": 1527573486, "cache_updated": false, "changed": true, "deprecations": [{"msg": "State 'installed' is deprecated. Using state 'present' instead.", "version": "2.9"}], "item": "netfilter-persistent", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nSuggested packages:\n iptables-persistent\nThe following NEW packages will be installed:\n netfilter-persistent\n0 upgraded, 1 newly installed, 0 to remove and 54 not upgraded.\nNeed to get 6786 B of archives.\nAfter this operation, 36.9 kB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 netfilter-persistent all 1.0.4 [6786 B]\nFetched 6786 B in 0s (72.6 kB/s)\nSelecting previously unselected package netfilter-persistent.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 38496 files and directories currently installed.)\r\nPreparing to unpack .../netfilter-persistent_1.0.4_all.deb ...\r\nUnpacking netfilter-persistent (1.0.4) ...\r\nProcessing triggers for man-db (2.7.5-1) ...\r\nProcessing triggers for systemd (229-4ubuntu21.2) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\nSetting up netfilter-persistent (1.0.4) ...\r\nupdate-rc.d: warning: start and stop actions are no longer supported; falling back to defaults\r\nProcessing triggers for systemd (229-4ubuntu21.2) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "Suggested packages:", " iptables-persistent", "The following NEW packages will be installed:", " netfilter-persistent", "0 upgraded, 1 newly installed, 0 to remove and 54 not upgraded.", "Need to get 6786 B of archives.", "After this operation, 36.9 kB of additional disk space will be used.", "Get:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 netfilter-persistent all 1.0.4 [6786 B]", "Fetched 6786 B in 0s (72.6 kB/s)", "Selecting previously unselected package netfilter-persistent.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 38496 files and directories currently installed.)", "Preparing to unpack .../netfilter-persistent_1.0.4_all.deb ...", "Unpacking netfilter-persistent (1.0.4) ...", "Processing triggers for man-db (2.7.5-1) ...", "Processing triggers for systemd (229-4ubuntu21.2) ...", "Processing triggers for ureadahead (0.100.0-19) ...", "Setting up netfilter-persistent (1.0.4) ...", "update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults", "Processing triggers for systemd (229-4ubuntu21.2) ...", "Processing triggers for ureadahead (0.100.0-19) ..."]}
TASK [common : iptables default policies need to be ACCEPT on all chains] ******
ok: [k8sceph-02] => (item=INPUT) => {"chain": "INPUT", "changed": false, "flush": false, "ip_version": "ipv4", "item": "INPUT", "rule": "", "state": "present", "table": "filter"}
ok: [k8sceph-03] => (item=INPUT) => {"chain": "INPUT", "changed": false, "flush": false, "ip_version": "ipv4", "item": "INPUT", "rule": "", "state": "present", "table": "filter"}
changed: [k8sceph-03] => (item=FORWARD) => {"chain": "FORWARD", "changed": true, "flush": false, "ip_version": "ipv4", "item": "FORWARD", "rule": "", "state": "present", "table": "filter"}
changed: [k8sceph-02] => (item=FORWARD) => {"chain": "FORWARD", "changed": true, "flush": false, "ip_version": "ipv4", "item": "FORWARD", "rule": "", "state": "present", "table": "filter"}
ok: [k8sceph-03] => (item=OUTPUT) => {"chain": "OUTPUT", "changed": false, "flush": false, "ip_version": "ipv4", "item": "OUTPUT", "rule": "", "state": "present", "table": "filter"}
ok: [k8sceph-02] => (item=OUTPUT) => {"chain": "OUTPUT", "changed": false, "flush": false, "ip_version": "ipv4", "item": "OUTPUT", "rule": "", "state": "present", "table": "filter"}
TASK [common : remove the REJECT rules on all chains] **************************
ok: [k8sceph-02] => (item=INPUT) => {"chain": "INPUT", "changed": false, "flush": false, "ip_version": "ipv4", "item": "INPUT", "rule": "-j REJECT --reject-with icmp-host-prohibited", "state": "absent", "table": "filter"}
ok: [k8sceph-03] => (item=INPUT) => {"chain": "INPUT", "changed": false, "flush": false, "ip_version": "ipv4", "item": "INPUT", "rule": "-j REJECT --reject-with icmp-host-prohibited", "state": "absent", "table": "filter"}
ok: [k8sceph-03] => (item=FORWARD) => {"chain": "FORWARD", "changed": false, "flush": false, "ip_version": "ipv4", "item": "FORWARD", "rule": "-j REJECT --reject-with icmp-host-prohibited", "state": "absent", "table": "filter"}
ok: [k8sceph-02] => (item=FORWARD) => {"chain": "FORWARD", "changed": false, "flush": false, "ip_version": "ipv4", "item": "FORWARD", "rule": "-j REJECT --reject-with icmp-host-prohibited", "state": "absent", "table": "filter"}
ok: [k8sceph-03] => (item=OUTPUT) => {"chain": "OUTPUT", "changed": false, "flush": false, "ip_version": "ipv4", "item": "OUTPUT", "rule": "-j REJECT --reject-with icmp-host-prohibited", "state": "absent", "table": "filter"}
ok: [k8sceph-02] => (item=OUTPUT) => {"chain": "OUTPUT", "changed": false, "flush": false, "ip_version": "ipv4", "item": "OUTPUT", "rule": "-j REJECT --reject-with icmp-host-prohibited", "state": "absent", "table": "filter"}
TASK [common : remove the REJECT rules on all chains from the /etc/sysconfig/iptables (persisting the change) on RH/CentOS] ***
skipping: [k8sceph-02] => (item=-A INPUT -j REJECT --reject-with icmp-host-prohibited) => {"changed": false, "item": "-A INPUT -j REJECT --reject-with icmp-host-prohibited", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-02] => (item=-A FORWARD -j REJECT --reject-with icmp-host-prohibited) => {"changed": false, "item": "-A FORWARD -j REJECT --reject-with icmp-host-prohibited", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => (item=-A INPUT -j REJECT --reject-with icmp-host-prohibited) => {"changed": false, "item": "-A INPUT -j REJECT --reject-with icmp-host-prohibited", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => (item=-A FORWARD -j REJECT --reject-with icmp-host-prohibited) => {"changed": false, "item": "-A FORWARD -j REJECT --reject-with icmp-host-prohibited", "skip_reason": "Conditional result was False"}
TASK [common : save iptables rules (Debian)] ***********************************
changed: [k8sceph-03] => {"changed": true, "cmd": "netfilter-persistent save", "delta": "0:00:00.002365", "end": "2018-05-29 05:59:25.535213", "rc": 0, "start": "2018-05-29 05:59:25.532848", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
changed: [k8sceph-02] => {"changed": true, "cmd": "netfilter-persistent save", "delta": "0:00:00.002641", "end": "2018-05-29 05:59:25.449059", "rc": 0, "start": "2018-05-29 05:59:25.446418", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
TASK [common : Disable firewalld (CentOS/RHEL)] ********************************
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : prepare cloud-config file for cloudProvider {{kubeadm_master_config.cloudProvider}}] ***
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : Make sure folder /etc/kubernetes/ exists] ***********************
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : prepare cloud-config file] **************************************
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : Replace {{kubeadm_master_config.networking.dnsDomain}} under cluster-domain in kubelet.service.d/10-kubeadm.conf] ***
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : Create kubeadm sysctl file] *************************************
changed: [k8sceph-02] => {"changed": true, "checksum": "7029a67b5d709c258878699f240647c110b5cfe1", "dest": "/etc/sysctl.d/90-kubeadm.conf", "gid": 0, "group": "root", "md5sum": "6d2ff89629d95b42abbf6d237023f049", "mode": "0644", "owner": "root", "size": 79, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1527573567.1677256-23595134043651/source", "state": "file", "uid": 0}
changed: [k8sceph-03] => {"changed": true, "checksum": "7029a67b5d709c258878699f240647c110b5cfe1", "dest": "/etc/sysctl.d/90-kubeadm.conf", "gid": 0, "group": "root", "md5sum": "6d2ff89629d95b42abbf6d237023f049", "mode": "0644", "owner": "root", "size": 79, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1527573567.179546-146730607672871/source", "state": "file", "uid": 0}
TASK [common : Set sysctl settings] ********************************************
changed: [k8sceph-02] => {"changed": true, "cmd": ["sysctl", "--system"], "delta": "0:00:00.004928", "end": "2018-05-29 05:59:26.880945", "rc": 0, "start": "2018-05-29 05:59:26.876017", "stderr": "", "stderr_lines": [], "stdout": "* Applying /etc/sysctl.d/10-console-messages.conf ...\nkernel.printk = 4 4 1 7\n* Applying /etc/sysctl.d/10-ipv6-privacy.conf ...\nnet.ipv6.conf.all.use_tempaddr = 2\nnet.ipv6.conf.default.use_tempaddr = 2\n* Applying /etc/sysctl.d/10-kernel-hardening.conf ...\nkernel.kptr_restrict = 1\n* Applying /etc/sysctl.d/10-link-restrictions.conf ...\nfs.protected_hardlinks = 1\nfs.protected_symlinks = 1\n* Applying /etc/sysctl.d/10-lxd-inotify.conf ...\nfs.inotify.max_user_instances = 1024\n* Applying /etc/sysctl.d/10-magic-sysrq.conf ...\nkernel.sysrq = 176\n* Applying /etc/sysctl.d/10-network-security.conf ...\nnet.ipv4.conf.default.rp_filter = 1\nnet.ipv4.conf.all.rp_filter = 1\nnet.ipv4.tcp_syncookies = 1\n* Applying /etc/sysctl.d/10-ptrace.conf ...\nkernel.yama.ptrace_scope = 1\n* Applying /etc/sysctl.d/10-zeropage.conf ...\nvm.mmap_min_addr = 65536\n* Applying /etc/sysctl.d/90-kubeadm.conf ...\nnet.bridge.bridge-nf-call-iptables = 1\nnet.bridge.bridge-nf-call-ip6tables = 1\n* Applying /etc/sysctl.d/99-sysctl.conf ...\n* Applying /etc/sysctl.conf ...", "stdout_lines": ["* Applying /etc/sysctl.d/10-console-messages.conf ...", "kernel.printk = 4 4 1 7", "* Applying /etc/sysctl.d/10-ipv6-privacy.conf ...", "net.ipv6.conf.all.use_tempaddr = 2", "net.ipv6.conf.default.use_tempaddr = 2", "* Applying /etc/sysctl.d/10-kernel-hardening.conf ...", "kernel.kptr_restrict = 1", "* Applying /etc/sysctl.d/10-link-restrictions.conf ...", "fs.protected_hardlinks = 1", "fs.protected_symlinks = 1", "* Applying /etc/sysctl.d/10-lxd-inotify.conf ...", "fs.inotify.max_user_instances = 1024", "* Applying /etc/sysctl.d/10-magic-sysrq.conf ...", "kernel.sysrq = 176", "* Applying /etc/sysctl.d/10-network-security.conf ...", "net.ipv4.conf.default.rp_filter = 1", "net.ipv4.conf.all.rp_filter = 1", "net.ipv4.tcp_syncookies = 1", "* Applying /etc/sysctl.d/10-ptrace.conf ...", "kernel.yama.ptrace_scope = 1", "* Applying /etc/sysctl.d/10-zeropage.conf ...", "vm.mmap_min_addr = 65536", "* Applying /etc/sysctl.d/90-kubeadm.conf ...", "net.bridge.bridge-nf-call-iptables = 1", "net.bridge.bridge-nf-call-ip6tables = 1", "* Applying /etc/sysctl.d/99-sysctl.conf ...", "* Applying /etc/sysctl.conf ..."]}
changed: [k8sceph-03] => {"changed": true, "cmd": ["sysctl", "--system"], "delta": "0:00:00.002626", "end": "2018-05-29 05:59:26.965229", "rc": 0, "start": "2018-05-29 05:59:26.962603", "stderr": "", "stderr_lines": [], "stdout": "* Applying /etc/sysctl.d/10-console-messages.conf ...\nkernel.printk = 4 4 1 7\n* Applying /etc/sysctl.d/10-ipv6-privacy.conf ...\nnet.ipv6.conf.all.use_tempaddr = 2\nnet.ipv6.conf.default.use_tempaddr = 2\n* Applying /etc/sysctl.d/10-kernel-hardening.conf ...\nkernel.kptr_restrict = 1\n* Applying /etc/sysctl.d/10-link-restrictions.conf ...\nfs.protected_hardlinks = 1\nfs.protected_symlinks = 1\n* Applying /etc/sysctl.d/10-lxd-inotify.conf ...\nfs.inotify.max_user_instances = 1024\n* Applying /etc/sysctl.d/10-magic-sysrq.conf ...\nkernel.sysrq = 176\n* Applying /etc/sysctl.d/10-network-security.conf ...\nnet.ipv4.conf.default.rp_filter = 1\nnet.ipv4.conf.all.rp_filter = 1\nnet.ipv4.tcp_syncookies = 1\n* Applying /etc/sysctl.d/10-ptrace.conf ...\nkernel.yama.ptrace_scope = 1\n* Applying /etc/sysctl.d/10-zeropage.conf ...\nvm.mmap_min_addr = 65536\n* Applying /etc/sysctl.d/90-kubeadm.conf ...\nnet.bridge.bridge-nf-call-iptables = 1\nnet.bridge.bridge-nf-call-ip6tables = 1\n* Applying /etc/sysctl.d/99-sysctl.conf ...\n* Applying /etc/sysctl.conf ...", "stdout_lines": ["* Applying /etc/sysctl.d/10-console-messages.conf ...", "kernel.printk = 4 4 1 7", "* Applying /etc/sysctl.d/10-ipv6-privacy.conf ...", "net.ipv6.conf.all.use_tempaddr = 2", "net.ipv6.conf.default.use_tempaddr = 2", "* Applying /etc/sysctl.d/10-kernel-hardening.conf ...", "kernel.kptr_restrict = 1", "* Applying /etc/sysctl.d/10-link-restrictions.conf ...", "fs.protected_hardlinks = 1", "fs.protected_symlinks = 1", "* Applying /etc/sysctl.d/10-lxd-inotify.conf ...", "fs.inotify.max_user_instances = 1024", "* Applying /etc/sysctl.d/10-magic-sysrq.conf ...", "kernel.sysrq = 176", "* Applying /etc/sysctl.d/10-network-security.conf ...", "net.ipv4.conf.default.rp_filter = 1", "net.ipv4.conf.all.rp_filter = 1", "net.ipv4.tcp_syncookies = 1", "* Applying /etc/sysctl.d/10-ptrace.conf ...", "kernel.yama.ptrace_scope = 1", "* Applying /etc/sysctl.d/10-zeropage.conf ...", "vm.mmap_min_addr = 65536", "* Applying /etc/sysctl.d/90-kubeadm.conf ...", "net.bridge.bridge-nf-call-iptables = 1", "net.bridge.bridge-nf-call-ip6tables = 1", "* Applying /etc/sysctl.d/99-sysctl.conf ...", "* Applying /etc/sysctl.conf ..."]}
TASK [common : Remove existing kubelet args from drop-in unit] *****************
ok: [k8sceph-03] => {"backup": "", "changed": false, "found": 0, "msg": ""}
ok: [k8sceph-02] => {"backup": "", "changed": false, "found": 0, "msg": ""}
TASK [common : detect docker's cgroup-driver] **********************************
ok: [k8sceph-02] => {"changed": false, "cmd": "docker info 2>/dev/null |grep -i cgroup | cut -d\":\" -f2 | tr -d \" \"", "delta": "0:00:00.019167", "end": "2018-05-29 05:59:27.966700", "rc": 0, "start": "2018-05-29 05:59:27.947533", "stderr": "", "stderr_lines": [], "stdout": "cgroupfs", "stdout_lines": ["cgroupfs"]}
ok: [k8sceph-03] => {"changed": false, "cmd": "docker info 2>/dev/null |grep -i cgroup | cut -d\":\" -f2 | tr -d \" \"", "delta": "0:00:00.018909", "end": "2018-05-29 05:59:28.047123", "rc": 0, "start": "2018-05-29 05:59:28.028214", "stderr": "", "stderr_lines": [], "stdout": "cgroupfs", "stdout_lines": ["cgroupfs"]}
TASK [common : INFO message] ***************************************************
ok: [k8sceph-02] => {
"msg": "detect docker's cgroup-driver is cgroupfs. (Usually RH/CentOS is systemd, Ubuntu cgroupfs"
}
ok: [k8sceph-03] => {
"msg": "detect docker's cgroup-driver is cgroupfs. (Usually RH/CentOS is systemd, Ubuntu cgroupfs"
}
TASK [common : determine version of the installed kubelet] *********************
ok: [k8sceph-02] => {"changed": false, "cmd": "kubelet --version | cut -d\" \" -f2 | cut -d\"v\" -f2", "delta": "0:00:00.088940", "end": "2018-05-29 05:59:28.602732", "rc": 0, "start": "2018-05-29 05:59:28.513792", "stderr": "", "stderr_lines": [], "stdout": "1.9.8", "stdout_lines": ["1.9.8"]}
ok: [k8sceph-03] => {"changed": false, "cmd": "kubelet --version | cut -d\" \" -f2 | cut -d\"v\" -f2", "delta": "0:00:00.089142", "end": "2018-05-29 05:59:28.699277", "rc": 0, "start": "2018-05-29 05:59:28.610135", "stderr": "", "stderr_lines": [], "stdout": "1.9.8", "stdout_lines": ["1.9.8"]}
TASK [common : Use systemd kubelet cgroup driver] ******************************
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : swapoff (prereq k8s 1.8)] ***************************************
changed: [k8sceph-02] => {"changed": true, "cmd": ["swapoff", "--all"], "delta": "0:00:00.011552", "end": "2018-05-29 05:59:29.135037", "rc": 0, "start": "2018-05-29 05:59:29.123485", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
changed: [k8sceph-03] => {"changed": true, "cmd": ["swapoff", "--all"], "delta": "0:00:00.010977", "end": "2018-05-29 05:59:29.216026", "rc": 0, "start": "2018-05-29 05:59:29.205049", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
TASK [common : Remove swap from /etc/fstab (when named swap)] ******************
ok: [k8sceph-02] => {"changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "name": "swap", "opts": "defaults", "passno": "0"}
ok: [k8sceph-03] => {"changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "name": "swap", "opts": "defaults", "passno": "0"}
TASK [common : Remove swap from /etc/fstab (when named none)] ******************
changed: [k8sceph-03] => {"changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "name": "none", "opts": "defaults", "passno": "0"}
changed: [k8sceph-02] => {"changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "name": "none", "opts": "defaults", "passno": "0"}
TASK [common : ntpd and ntpdate | it is mandatory to have the time from all machines in sync] ***
changed: [k8sceph-02] => (item=ntp) => {"cache_update_time": 1527573486, "cache_updated": false, "changed": true, "deprecations": [{"msg": "State 'installed' is deprecated. Using state 'present' instead.", "version": "2.9"}], "item": "ntp", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following additional packages will be installed:\n libopts25\nSuggested packages:\n ntp-doc\nThe following NEW packages will be installed:\n libopts25 ntp\n0 upgraded, 2 newly installed, 0 to remove and 54 not upgraded.\nNeed to get 576 kB of archives.\nAfter this operation, 1792 kB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libopts25 amd64 1:5.18.7-3 [57.8 kB]\nGet:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ntp amd64 1:4.2.8p4+dfsg-3ubuntu5.8 [518 kB]\nFetched 576 kB in 0s (2002 kB/s)\nSelecting previously unselected package libopts25:amd64.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 38507 files and directories currently installed.)\r\nPreparing to unpack .../libopts25_1%3a5.18.7-3_amd64.deb ...\r\nUnpacking libopts25:amd64 (1:5.18.7-3) ...\r\nSelecting previously unselected package ntp.\r\nPreparing to unpack .../ntp_1%3a4.2.8p4+dfsg-3ubuntu5.8_amd64.deb ...\r\nUnpacking ntp (1:4.2.8p4+dfsg-3ubuntu5.8) ...\r\nProcessing triggers for libc-bin (2.23-0ubuntu10) ...\r\nProcessing triggers for systemd (229-4ubuntu21.2) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\nProcessing triggers for man-db (2.7.5-1) ...\r\nSetting up libopts25:amd64 (1:5.18.7-3) ...\r\nSetting up ntp (1:4.2.8p4+dfsg-3ubuntu5.8) ...\r\nProcessing triggers for libc-bin (2.23-0ubuntu10) ...\r\nProcessing triggers for systemd (229-4ubuntu21.2) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following additional packages will be installed:", " libopts25", "Suggested packages:", " ntp-doc", "The following NEW packages will be installed:", " libopts25 ntp", "0 upgraded, 2 newly installed, 0 to remove and 54 not upgraded.", "Need to get 576 kB of archives.", "After this operation, 1792 kB of additional disk space will be used.", "Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libopts25 amd64 1:5.18.7-3 [57.8 kB]", "Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ntp amd64 1:4.2.8p4+dfsg-3ubuntu5.8 [518 kB]", "Fetched 576 kB in 0s (2002 kB/s)", "Selecting previously unselected package libopts25:amd64.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 38507 files and directories currently installed.)", "Preparing to unpack .../libopts25_1%3a5.18.7-3_amd64.deb ...", "Unpacking libopts25:amd64 (1:5.18.7-3) ...", "Selecting previously unselected package ntp.", "Preparing to unpack .../ntp_1%3a4.2.8p4+dfsg-3ubuntu5.8_amd64.deb ...", "Unpacking ntp (1:4.2.8p4+dfsg-3ubuntu5.8) ...", "Processing triggers for libc-bin (2.23-0ubuntu10) ...", "Processing triggers for systemd (229-4ubuntu21.2) ...", "Processing triggers for ureadahead (0.100.0-19) ...", "Processing triggers for man-db (2.7.5-1) ...", "Setting up libopts25:amd64 (1:5.18.7-3) ...", "Setting up ntp (1:4.2.8p4+dfsg-3ubuntu5.8) ...", "Processing triggers for libc-bin (2.23-0ubuntu10) ...", "Processing triggers for systemd (229-4ubuntu21.2) ...", "Processing triggers for ureadahead (0.100.0-19) ..."]}
changed: [k8sceph-03] => (item=ntp) => {"cache_update_time": 1527573486, "cache_updated": false, "changed": true, "deprecations": [{"msg": "State 'installed' is deprecated. Using state 'present' instead.", "version": "2.9"}], "item": "ntp", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following additional packages will be installed:\n libopts25\nSuggested packages:\n ntp-doc\nThe following NEW packages will be installed:\n libopts25 ntp\n0 upgraded, 2 newly installed, 0 to remove and 54 not upgraded.\nNeed to get 576 kB of archives.\nAfter this operation, 1792 kB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libopts25 amd64 1:5.18.7-3 [57.8 kB]\nGet:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ntp amd64 1:4.2.8p4+dfsg-3ubuntu5.8 [518 kB]\nFetched 576 kB in 0s (1856 kB/s)\nSelecting previously unselected package libopts25:amd64.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 38507 files and directories currently installed.)\r\nPreparing to unpack .../libopts25_1%3a5.18.7-3_amd64.deb ...\r\nUnpacking libopts25:amd64 (1:5.18.7-3) ...\r\nSelecting previously unselected package ntp.\r\nPreparing to unpack .../ntp_1%3a4.2.8p4+dfsg-3ubuntu5.8_amd64.deb ...\r\nUnpacking ntp (1:4.2.8p4+dfsg-3ubuntu5.8) ...\r\nProcessing triggers for libc-bin (2.23-0ubuntu10) ...\r\nProcessing triggers for systemd (229-4ubuntu21.2) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\nProcessing triggers for man-db (2.7.5-1) ...\r\nSetting up libopts25:amd64 (1:5.18.7-3) ...\r\nSetting up ntp (1:4.2.8p4+dfsg-3ubuntu5.8) ...\r\nProcessing triggers for libc-bin (2.23-0ubuntu10) ...\r\nProcessing triggers for systemd (229-4ubuntu21.2) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following additional packages will be installed:", " libopts25", "Suggested packages:", " ntp-doc", "The following NEW packages will be installed:", " libopts25 ntp", "0 upgraded, 2 newly installed, 0 to remove and 54 not upgraded.", "Need to get 576 kB of archives.", "After this operation, 1792 kB of additional disk space will be used.", "Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libopts25 amd64 1:5.18.7-3 [57.8 kB]", "Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ntp amd64 1:4.2.8p4+dfsg-3ubuntu5.8 [518 kB]", "Fetched 576 kB in 0s (1856 kB/s)", "Selecting previously unselected package libopts25:amd64.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 38507 files and directories currently installed.)", "Preparing to unpack .../libopts25_1%3a5.18.7-3_amd64.deb ...", "Unpacking libopts25:amd64 (1:5.18.7-3) ...", "Selecting previously unselected package ntp.", "Preparing to unpack .../ntp_1%3a4.2.8p4+dfsg-3ubuntu5.8_amd64.deb ...", "Unpacking ntp (1:4.2.8p4+dfsg-3ubuntu5.8) ...", "Processing triggers for libc-bin (2.23-0ubuntu10) ...", "Processing triggers for systemd (229-4ubuntu21.2) ...", "Processing triggers for ureadahead (0.100.0-19) ...", "Processing triggers for man-db (2.7.5-1) ...", "Setting up libopts25:amd64 (1:5.18.7-3) ...", "Setting up ntp (1:4.2.8p4+dfsg-3ubuntu5.8) ...", "Processing triggers for libc-bin (2.23-0ubuntu10) ...", "Processing triggers for systemd (229-4ubuntu21.2) ...", "Processing triggers for ureadahead (0.100.0-19) ..."]}
TASK [common : ntpd configuration] *********************************************
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : Restart ntpd - RedHat/CentOS] ***********************************
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : Restart ntp - Debian] *******************************************
changed: [k8sceph-02] => {"changed": true, "enabled": true, "name": "ntp", "state": "started", "status": {"ActiveEnterTimestamp": "Tue 2018-05-29 05:59:33 UTC", "ActiveEnterTimestampMonotonic": "184047477", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "remote-fs.target sysinit.target system.slice basic.target systemd-journald.socket network-online.target systemd-journald-dev-log.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2018-05-29 05:59:32 UTC", "AssertTimestampMonotonic": "184022074", "Before": "shutdown.target multi-user.target graphical.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CPUUsageNSec": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2018-05-29 05:59:32 UTC", "ConditionTimestampMonotonic": "184022073", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/ntp.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "LSB: Start NTP daemon", "DevicePolicy": "auto", "Documentation": "man:systemd-sysv-generator(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/etc/init.d/ntp ; argv[]=/etc/init.d/ntp start ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/etc/init.d/ntp ; argv[]=/etc/init.d/ntp stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/run/systemd/generator.late/ntp.service", "GuessMainPID": "no", "IOScheduling": "0", "Id": "ntp.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2018-05-29 05:59:32 UTC", "InactiveExitTimestampMonotonic": "184022666", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitASSoft": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCORESoft": "0", "LimitCPU": "18446744073709551615", "LimitCPUSoft": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitDATASoft": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitFSIZESoft": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitLOCKSSoft": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "4096", "LimitNOFILESoft": "1024", "LimitNPROC": "7843", "LimitNPROCSoft": "7843", "LimitRSS": "18446744073709551615", "LimitRSSSoft": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "18446744073709551615", "LimitRTTIMESoft": "18446744073709551615", "LimitSIGPENDING": "7843", "LimitSIGPENDINGSoft": "7843", "LimitSTACK": "18446744073709551615", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NFileDescriptorStore": "0", "Names": "ntp.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SourcePath": "/etc/init.d/ntp", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StateChangeTimestamp": "Tue 2018-05-29 05:59:33 UTC", "StateChangeTimestampMonotonic": "184047477", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "5min", "TimeoutStopUSec": "5min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "bad", "UtmpMode": "init", "WantedBy": "multi-user.target graphical.target", "Wants": "network-online.target", "WatchdogTimestamp": "Tue 2018-05-29 05:59:33 UTC", "WatchdogTimestampMonotonic": "184047466", "WatchdogUSec": "0"}}
changed: [k8sceph-03] => {"changed": true, "enabled": true, "name": "ntp", "state": "started", "status": {"ActiveEnterTimestamp": "Tue 2018-05-29 05:59:33 UTC", "ActiveEnterTimestampMonotonic": "144132227", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "remote-fs.target basic.target system.slice sysinit.target systemd-journald-dev-log.socket network-online.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2018-05-29 05:59:33 UTC", "AssertTimestampMonotonic": "144108440", "Before": "multi-user.target shutdown.target graphical.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CPUUsageNSec": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2018-05-29 05:59:33 UTC", "ConditionTimestampMonotonic": "144108440", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/ntp.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "LSB: Start NTP daemon", "DevicePolicy": "auto", "Documentation": "man:systemd-sysv-generator(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/etc/init.d/ntp ; argv[]=/etc/init.d/ntp start ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/etc/init.d/ntp ; argv[]=/etc/init.d/ntp stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/run/systemd/generator.late/ntp.service", "GuessMainPID": "no", "IOScheduling": "0", "Id": "ntp.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2018-05-29 05:59:33 UTC", "InactiveExitTimestampMonotonic": "144109000", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitASSoft": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCORESoft": "0", "LimitCPU": "18446744073709551615", "LimitCPUSoft": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitDATASoft": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitFSIZESoft": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitLOCKSSoft": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "4096", "LimitNOFILESoft": "1024", "LimitNPROC": "7843", "LimitNPROCSoft": "7843", "LimitRSS": "18446744073709551615", "LimitRSSSoft": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "18446744073709551615", "LimitRTTIMESoft": "18446744073709551615", "LimitSIGPENDING": "7843", "LimitSIGPENDINGSoft": "7843", "LimitSTACK": "18446744073709551615", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NFileDescriptorStore": "0", "Names": "ntp.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SourcePath": "/etc/init.d/ntp", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StateChangeTimestamp": "Tue 2018-05-29 05:59:33 UTC", "StateChangeTimestampMonotonic": "144132227", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "5min", "TimeoutStopUSec": "5min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "bad", "UtmpMode": "init", "WantedBy": "multi-user.target graphical.target", "Wants": "network-online.target", "WatchdogTimestamp": "Tue 2018-05-29 05:59:33 UTC", "WatchdogTimestampMonotonic": "144132217", "WatchdogUSec": "0"}}
TASK [common : Install packages required by rook (ceph) storage] ***************
skipping: [k8sceph-02] => (item=ceph-common) => {"changed": false, "item": "ceph-common", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => (item=ceph-common) => {"changed": false, "item": "ceph-common", "skip_reason": "Conditional result was False"}
TASK [common : Install packages required by rook (ceph) storage setup (usually required only on masters)] ***
skipping: [k8sceph-02] => (item=jq) => {"changed": false, "item": "jq", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => (item=jq) => {"changed": false, "item": "jq", "skip_reason": "Conditional result was False"}
TASK [common : set hostname with fqdn] *****************************************
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : set hostname with fqdn - sol2] **********************************
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : create dir /var/log/journal (so node-problem-detector finds any issues with the nodes, should there be any)] ***
changed: [k8sceph-02] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/var/log/journal", "size": 4096, "state": "directory", "uid": 0}
changed: [k8sceph-03] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/var/log/journal", "size": 4096, "state": "directory", "uid": 0}
TASK [common : Pull images on node (e.g. kube-proxy)] **************************
changed: [k8sceph-02] => (item=gcr.io/google_containers/kube-proxy-amd64) => {"changed": true, "cmd": ["/usr/bin/docker", "pull", "gcr.io/google_containers/kube-proxy-amd64:v1.9.3"], "delta": "0:00:08.667984", "end": "2018-05-29 05:59:45.510308", "item": "gcr.io/google_containers/kube-proxy-amd64", "rc": 0, "start": "2018-05-29 05:59:36.842324", "stderr": "", "stderr_lines": [], "stdout": "v1.9.3: Pulling from google_containers/kube-proxy-amd64\nd0c199d1a37e: Pulling fs layer\n743a743e06dd: Pulling fs layer\nc02b5f41d32f: Pulling fs layer\n743a743e06dd: Verifying Checksum\n743a743e06dd: Download complete\nd0c199d1a37e: Verifying Checksum\nd0c199d1a37e: Download complete\nd0c199d1a37e: Pull complete\n743a743e06dd: Pull complete\nc02b5f41d32f: Verifying Checksum\nc02b5f41d32f: Download complete\nc02b5f41d32f: Pull complete\nDigest: sha256:19277373ca983423c3ff82dbb14f079a2f37b84926a4c569375314fa39a4ee96\nStatus: Downloaded newer image for gcr.io/google_containers/kube-proxy-amd64:v1.9.3", "stdout_lines": ["v1.9.3: Pulling from google_containers/kube-proxy-amd64", "d0c199d1a37e: Pulling fs layer", "743a743e06dd: Pulling fs layer", "c02b5f41d32f: Pulling fs layer", "743a743e06dd: Verifying Checksum", "743a743e06dd: Download complete", "d0c199d1a37e: Verifying Checksum", "d0c199d1a37e: Download complete", "d0c199d1a37e: Pull complete", "743a743e06dd: Pull complete", "c02b5f41d32f: Verifying Checksum", "c02b5f41d32f: Download complete", "c02b5f41d32f: Pull complete", "Digest: sha256:19277373ca983423c3ff82dbb14f079a2f37b84926a4c569375314fa39a4ee96", "Status: Downloaded newer image for gcr.io/google_containers/kube-proxy-amd64:v1.9.3"]}
changed: [k8sceph-03] => (item=gcr.io/google_containers/kube-proxy-amd64) => {"changed": true, "cmd": ["/usr/bin/docker", "pull", "gcr.io/google_containers/kube-proxy-amd64:v1.9.3"], "delta": "0:00:10.825082", "end": "2018-05-29 05:59:47.798384", "item": "gcr.io/google_containers/kube-proxy-amd64", "rc": 0, "start": "2018-05-29 05:59:36.973302", "stderr": "", "stderr_lines": [], "stdout": "v1.9.3: Pulling from google_containers/kube-proxy-amd64\nd0c199d1a37e: Pulling fs layer\n743a743e06dd: Pulling fs layer\nc02b5f41d32f: Pulling fs layer\n743a743e06dd: Verifying Checksum\n743a743e06dd: Download complete\nc02b5f41d32f: Verifying Checksum\nc02b5f41d32f: Download complete\nd0c199d1a37e: Verifying Checksum\nd0c199d1a37e: Download complete\nd0c199d1a37e: Pull complete\n743a743e06dd: Pull complete\nc02b5f41d32f: Pull complete\nDigest: sha256:19277373ca983423c3ff82dbb14f079a2f37b84926a4c569375314fa39a4ee96\nStatus: Downloaded newer image for gcr.io/google_containers/kube-proxy-amd64:v1.9.3", "stdout_lines": ["v1.9.3: Pulling from google_containers/kube-proxy-amd64", "d0c199d1a37e: Pulling fs layer", "743a743e06dd: Pulling fs layer", "c02b5f41d32f: Pulling fs layer", "743a743e06dd: Verifying Checksum", "743a743e06dd: Download complete", "c02b5f41d32f: Verifying Checksum", "c02b5f41d32f: Download complete", "d0c199d1a37e: Verifying Checksum", "d0c199d1a37e: Download complete", "d0c199d1a37e: Pull complete", "743a743e06dd: Pull complete", "c02b5f41d32f: Pull complete", "Digest: sha256:19277373ca983423c3ff82dbb14f079a2f37b84926a4c569375314fa39a4ee96", "Status: Downloaded newer image for gcr.io/google_containers/kube-proxy-amd64:v1.9.3"]}
TASK [common : kubectl aliases to ~/.bashrc] ***********************************
changed: [k8sceph-02] => (item=alias watch='watch ' ) => {"backup": "", "changed": true, "item": "alias watch='watch ' ", "msg": "line added"}
changed: [k8sceph-03] => (item=alias watch='watch ' ) => {"backup": "", "changed": true, "item": "alias watch='watch ' ", "msg": "line added"}
changed: [k8sceph-02] => (item=alias k='kubectl ' ) => {"backup": "", "changed": true, "item": "alias k='kubectl ' ", "msg": "line added"}
changed: [k8sceph-03] => (item=alias k='kubectl ' ) => {"backup": "", "changed": true, "item": "alias k='kubectl ' ", "msg": "line added"}
changed: [k8sceph-03] => (item=alias ks='kubectl -n kube-system ' ) => {"backup": "", "changed": true, "item": "alias ks='kubectl -n kube-system ' ", "msg": "line added"}
changed: [k8sceph-02] => (item=alias ks='kubectl -n kube-system ' ) => {"backup": "", "changed": true, "item": "alias ks='kubectl -n kube-system ' ", "msg": "line added"}
changed: [k8sceph-02] => (item=alias kg='kubectl get --all-namespaces -o wide ') => {"backup": "", "changed": true, "item": "alias kg='kubectl get --all-namespaces -o wide '", "msg": "line added"}
changed: [k8sceph-03] => (item=alias kg='kubectl get --all-namespaces -o wide ') => {"backup": "", "changed": true, "item": "alias kg='kubectl get --all-namespaces -o wide '", "msg": "line added"}
changed: [k8sceph-02] => (item=alias wp='watch kg po ') => {"backup": "", "changed": true, "item": "alias wp='watch kg po '", "msg": "line added"}
changed: [k8sceph-03] => (item=alias wp='watch kg po ') => {"backup": "", "changed": true, "item": "alias wp='watch kg po '", "msg": "line added"}
changed: [k8sceph-03] => (item=alias wipt='watch -n1 iptables -vnL ' ) => {"backup": "", "changed": true, "item": "alias wipt='watch -n1 iptables -vnL ' ", "msg": "line added"}
changed: [k8sceph-02] => (item=alias wipt='watch -n1 iptables -vnL ' ) => {"backup": "", "changed": true, "item": "alias wipt='watch -n1 iptables -vnL ' ", "msg": "line added"}
TASK [common : Install optional packages like bash-completion] *****************
changed: [k8sceph-02] => (item=bash-completion) => {"cache_update_time": 1527573486, "cache_updated": false, "changed": true, "deprecations": [{"msg": "State 'installed' is deprecated. Using state 'present' instead.", "version": "2.9"}], "item": "bash-completion", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following NEW packages will be installed:\n bash-completion\n0 upgraded, 1 newly installed, 0 to remove and 54 not upgraded.\nNeed to get 152 kB of archives.\nAfter this operation, 1256 kB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 bash-completion all 1:2.1-4.2ubuntu1.1 [152 kB]\nFetched 152 kB in 0s (722 kB/s)\nSelecting previously unselected package bash-completion.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 38569 files and directories currently installed.)\r\nPreparing to unpack .../bash-completion_1%3a2.1-4.2ubuntu1.1_all.deb ...\r\nUnpacking bash-completion (1:2.1-4.2ubuntu1.1) ...\r\nReplaced by files in installed package apt (1.2.26) ...\r\nProcessing triggers for man-db (2.7.5-1) ...\r\nSetting up bash-completion (1:2.1-4.2ubuntu1.1) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following NEW packages will be installed:", " bash-completion", "0 upgraded, 1 newly installed, 0 to remove and 54 not upgraded.", "Need to get 152 kB of archives.", "After this operation, 1256 kB of additional disk space will be used.", "Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 bash-completion all 1:2.1-4.2ubuntu1.1 [152 kB]", "Fetched 152 kB in 0s (722 kB/s)", "Selecting previously unselected package bash-completion.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 38569 files and directories currently installed.)", "Preparing to unpack .../bash-completion_1%3a2.1-4.2ubuntu1.1_all.deb ...", "Unpacking bash-completion (1:2.1-4.2ubuntu1.1) ...", "Replaced by files in installed package apt (1.2.26) ...", "Processing triggers for man-db (2.7.5-1) ...", "Setting up bash-completion (1:2.1-4.2ubuntu1.1) ..."]}
changed: [k8sceph-03] => (item=bash-completion) => {"cache_update_time": 1527573486, "cache_updated": false, "changed": true, "deprecations": [{"msg": "State 'installed' is deprecated. Using state 'present' instead.", "version": "2.9"}], "item": "bash-completion", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following NEW packages will be installed:\n bash-completion\n0 upgraded, 1 newly installed, 0 to remove and 54 not upgraded.\nNeed to get 152 kB of archives.\nAfter this operation, 1256 kB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 bash-completion all 1:2.1-4.2ubuntu1.1 [152 kB]\nFetched 152 kB in 0s (745 kB/s)\nSelecting previously unselected package bash-completion.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 38569 files and directories currently installed.)\r\nPreparing to unpack .../bash-completion_1%3a2.1-4.2ubuntu1.1_all.deb ...\r\nUnpacking bash-completion (1:2.1-4.2ubuntu1.1) ...\r\nReplaced by files in installed package apt (1.2.26) ...\r\nProcessing triggers for man-db (2.7.5-1) ...\r\nSetting up bash-completion (1:2.1-4.2ubuntu1.1) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following NEW packages will be installed:", " bash-completion", "0 upgraded, 1 newly installed, 0 to remove and 54 not upgraded.", "Need to get 152 kB of archives.", "After this operation, 1256 kB of additional disk space will be used.", "Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 bash-completion all 1:2.1-4.2ubuntu1.1 [152 kB]", "Fetched 152 kB in 0s (745 kB/s)", "Selecting previously unselected package bash-completion.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 38569 files and directories currently installed.)", "Preparing to unpack .../bash-completion_1%3a2.1-4.2ubuntu1.1_all.deb ...", "Unpacking bash-completion (1:2.1-4.2ubuntu1.1) ...", "Replaced by files in installed package apt (1.2.26) ...", "Processing triggers for man-db (2.7.5-1) ...", "Setting up bash-completion (1:2.1-4.2ubuntu1.1) ..."]}
TASK [common : kubeadm completion preps] ***************************************
changed: [k8sceph-02] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/root/.kube/", "size": 4096, "state": "directory", "uid": 0}
changed: [k8sceph-03] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/root/.kube/", "size": 4096, "state": "directory", "uid": 0}
TASK [common : kubeadm completion shell] ***************************************
changed: [k8sceph-02] => {"changed": true, "cmd": "kubeadm completion bash > ~/.kube/kubeadm_completion.bash.inc", "delta": "0:00:00.101499", "end": "2018-05-29 05:59:55.807751", "rc": 0, "start": "2018-05-29 05:59:55.706252", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
changed: [k8sceph-03] => {"changed": true, "cmd": "kubeadm completion bash > ~/.kube/kubeadm_completion.bash.inc", "delta": "0:00:00.105216", "end": "2018-05-29 05:59:55.809081", "rc": 0, "start": "2018-05-29 05:59:55.703865", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
TASK [common : kubeadm completion to ~/.bashrc] ********************************
changed: [k8sceph-02] => {"backup": "", "changed": true, "msg": "line added"}
changed: [k8sceph-03] => {"backup": "", "changed": true, "msg": "line added"}
TASK [common : kubectl completion shell] ***************************************
changed: [k8sceph-02] => {"changed": true, "cmd": "kubectl completion bash > ~/.kube/completion.bash.inc", "delta": "0:00:00.111698", "end": "2018-05-29 05:59:56.855854", "rc": 0, "start": "2018-05-29 05:59:56.744156", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
changed: [k8sceph-03] => {"changed": true, "cmd": "kubectl completion bash > ~/.kube/completion.bash.inc", "delta": "0:00:00.139624", "end": "2018-05-29 05:59:56.886145", "rc": 0, "start": "2018-05-29 05:59:56.746521", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
TASK [common : kubectl completion to ~/.bashrc] ********************************
changed: [k8sceph-02] => {"backup": "", "changed": true, "msg": "line added"}
changed: [k8sceph-03] => {"backup": "", "changed": true, "msg": "line added"}
TASK [common : make sure ~/.bashrc is called] **********************************
changed: [k8sceph-03] => {"backup": "", "changed": true, "msg": "line added"}
changed: [k8sceph-02] => {"backup": "", "changed": true, "msg": "line added"}
PLAY [master] ******************************************************************
TASK [tools : include] *********************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/tools/tasks/reset.yml for k8sceph-01
TASK [tools : Reset weave network] *********************************************
fatal: [k8sceph-01]: FAILED! => {"changed": true, "cmd": "/usr/local/bin/weave reset --force", "delta": "0:00:00.001384", "end": "2018-05-29 05:59:58.873605", "msg": "non-zero return code", "rc": 127, "start": "2018-05-29 05:59:58.872221", "stderr": "/bin/sh: 1: /usr/local/bin/weave: not found", "stderr_lines": ["/bin/sh: 1: /usr/local/bin/weave: not found"], "stdout": "", "stdout_lines": []}
...ignoring
TASK [tools : remove pods NFS mount leftovers; Note you have to collect them from the remote storage (e.g. vsphere datastore) also] ***
fatal: [k8sceph-01]: FAILED! => {"changed": true, "cmd": "umount -f $(mount | grep '/kubelet/pods/' | grep '/volumes/kubernetes.io~nfs' | awk '{print $3}')", "delta": "0:00:00.007078", "end": "2018-05-29 05:59:59.355121", "msg": "non-zero return code", "rc": 1, "start": "2018-05-29 05:59:59.348043", "stderr": "\nUsage:\n umount [-hV]\n umount -a [options]\n umount [options] <source> | <directory>\n\nUnmount filesystems.\n\nOptions:\n -a, --all unmount all filesystems\n -A, --all-targets unmount all mountpoints for the given device in the\n current namespace\n -c, --no-canonicalize don't canonicalize paths\n -d, --detach-loop if mounted loop device, also free this loop device\n --fake dry run; skip the umount(2) syscall\n -f, --force force unmount (in case of an unreachable NFS system)\n -i, --internal-only don't call the umount.<type> helpers\n -n, --no-mtab don't write to /etc/mtab\n -l, --lazy detach the filesystem now, clean up things later\n -O, --test-opts <list> limit the set of filesystems (use with -a)\n -R, --recursive recursively unmount a target with all its children\n -r, --read-only in case unmounting fails, try to remount read-only\n -t, --types <list> limit the set of filesystem types\n -v, --verbose say what is being done\n\n -h, --help display this help and exit\n -V, --version output version information and exit\n\nFor more details see umount(8).", "stderr_lines": ["", "Usage:", " umount [-hV]", " umount -a [options]", " umount [options] <source> | <directory>", "", "Unmount filesystems.", "", "Options:", " -a, --all unmount all filesystems", " -A, --all-targets unmount all mountpoints for the given device in the", " current namespace", " -c, --no-canonicalize don't canonicalize paths", " -d, --detach-loop if mounted loop device, also free this loop device", " --fake dry run; skip the umount(2) syscall", " -f, --force force unmount (in case of an unreachable NFS system)", " -i, --internal-only don't call the umount.<type> helpers", " -n, --no-mtab don't write to /etc/mtab", " -l, --lazy detach the filesystem now, clean up things later", " -O, --test-opts <list> limit the set of filesystems (use with -a)", " -R, --recursive recursively unmount a target with all its children", " -r, --read-only in case unmounting fails, try to remount read-only", " -t, --types <list> limit the set of filesystem types", " -v, --verbose say what is being done", "", " -h, --help display this help and exit", " -V, --version output version information and exit", "", "For more details see umount(8)."], "stdout": "", "stdout_lines": []}
...ignoring
TASK [tools : Reset cluster] ***************************************************
fatal: [k8sceph-01]: FAILED! => {"changed": false, "cmd": "/usr/bin/kubeadm reset", "msg": "[Errno 2] No such file or directory", "rc": 2}
...ignoring
TASK [tools : ensure old kubeadm config files were removed] ********************
ok: [k8sceph-01] => (item=/etc/kubernetes/) => {"changed": false, "item": "/etc/kubernetes/", "path": "/etc/kubernetes/", "state": "absent"}
TASK [tools : ensure old /var/lib/etcd is removed] *****************************
ok: [k8sceph-01] => (item=/var/lib/etcd) => {"changed": false, "item": "/var/lib/etcd", "path": "/var/lib/etcd", "state": "absent"}
TASK [tools : systemctl stop kube*.*.slice] ************************************
changed: [k8sceph-01] => {"changed": true, "cmd": "for i in $(systemctl list-unit-files --no-legend --no-pager -l | grep --color=never -o kube.*\\.slice );do echo $i; systemctl stop $i ; done", "delta": "0:00:00.077248", "end": "2018-05-29 06:00:01.258219", "rc": 0, "start": "2018-05-29 06:00:01.180971", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
TASK [tools : Remove before reinstall packages] ********************************
ok: [k8sceph-01] => (item=kubelet) => {"changed": false, "item": "kubelet"}
ok: [k8sceph-01] => (item=kubeadm) => {"changed": false, "item": "kubeadm"}
ok: [k8sceph-01] => (item=kubectl) => {"changed": false, "item": "kubectl"}
ok: [k8sceph-01] => (item=kubernetes-cni) => {"changed": false, "item": "kubernetes-cni"}
TASK [tools : stop kubelet for cleanup activities] *****************************
failed: [k8sceph-01] (item=kubelet) => {"changed": false, "item": "kubelet", "msg": "Could not find the requested service kubelet: host"}
...ignoring
TASK [tools : remove plugins mount leftovers; Note you have to collect them from the remote storage (e.g. vsphere datastore) also] ***
fatal: [k8sceph-01]: FAILED! => {"changed": true, "cmd": "umount -f $(mount | grep '/kubelet/plugins/kubernetes.io/' | awk '{print $3}')", "delta": "0:00:00.004197", "end": "2018-05-29 06:00:21.192265", "msg": "non-zero return code", "rc": 1, "start": "2018-05-29 06:00:21.188068", "stderr": "\nUsage:\n umount [-hV]\n umount -a [options]\n umount [options] <source> | <directory>\n\nUnmount filesystems.\n\nOptions:\n -a, --all unmount all filesystems\n -A, --all-targets unmount all mountpoints for the given device in the\n current namespace\n -c, --no-canonicalize don't canonicalize paths\n -d, --detach-loop if mounted loop device, also free this loop device\n --fake dry run; skip the umount(2) syscall\n -f, --force force unmount (in case of an unreachable NFS system)\n -i, --internal-only don't call the umount.<type> helpers\n -n, --no-mtab don't write to /etc/mtab\n -l, --lazy detach the filesystem now, clean up things later\n -O, --test-opts <list> limit the set of filesystems (use with -a)\n -R, --recursive recursively unmount a target with all its children\n -r, --read-only in case unmounting fails, try to remount read-only\n -t, --types <list> limit the set of filesystem types\n -v, --verbose say what is being done\n\n -h, --help display this help and exit\n -V, --version output version information and exit\n\nFor more details see umount(8).", "stderr_lines": ["", "Usage:", " umount [-hV]", " umount -a [options]", " umount [options] <source> | <directory>", "", "Unmount filesystems.", "", "Options:", " -a, --all unmount all filesystems", " -A, --all-targets unmount all mountpoints for the given device in the", " current namespace", " -c, --no-canonicalize don't canonicalize paths", " -d, --detach-loop if mounted loop device, also free this loop device", " --fake dry run; skip the umount(2) syscall", " -f, --force force unmount (in case of an unreachable NFS system)", " -i, --internal-only don't call the umount.<type> helpers", " -n, --no-mtab don't write to /etc/mtab", " -l, --lazy detach the filesystem now, clean up things later", " -O, --test-opts <list> limit the set of filesystems (use with -a)", " -R, --recursive recursively unmount a target with all its children", " -r, --read-only in case unmounting fails, try to remount read-only", " -t, --types <list> limit the set of filesystem types", " -v, --verbose say what is being done", "", " -h, --help display this help and exit", " -V, --version output version information and exit", "", "For more details see umount(8)."], "stdout": "", "stdout_lines": []}
...ignoring
TASK [tools : remove pods mount leftovers; Note you have to collect them from the remote storage (e.g. vsphere datastore) also] ***
fatal: [k8sceph-01]: FAILED! => {"changed": true, "cmd": "umount -f $(mount | grep '/kubelet/pods/' | grep '/volumes/kubernetes.io~' | awk '{print $3}')", "delta": "0:00:00.004616", "end": "2018-05-29 06:00:21.683571", "msg": "non-zero return code", "rc": 1, "start": "2018-05-29 06:00:21.678955", "stderr": "\nUsage:\n umount [-hV]\n umount -a [options]\n umount [options] <source> | <directory>\n\nUnmount filesystems.\n\nOptions:\n -a, --all unmount all filesystems\n -A, --all-targets unmount all mountpoints for the given device in the\n current namespace\n -c, --no-canonicalize don't canonicalize paths\n -d, --detach-loop if mounted loop device, also free this loop device\n --fake dry run; skip the umount(2) syscall\n -f, --force force unmount (in case of an unreachable NFS system)\n -i, --internal-only don't call the umount.<type> helpers\n -n, --no-mtab don't write to /etc/mtab\n -l, --lazy detach the filesystem now, clean up things later\n -O, --test-opts <list> limit the set of filesystems (use with -a)\n -R, --recursive recursively unmount a target with all its children\n -r, --read-only in case unmounting fails, try to remount read-only\n -t, --types <list> limit the set of filesystem types\n -v, --verbose say what is being done\n\n -h, --help display this help and exit\n -V, --version output version information and exit\n\nFor more details see umount(8).", "stderr_lines": ["", "Usage:", " umount [-hV]", " umount -a [options]", " umount [options] <source> | <directory>", "", "Unmount filesystems.", "", "Options:", " -a, --all unmount all filesystems", " -A, --all-targets unmount all mountpoints for the given device in the", " current namespace", " -c, --no-canonicalize don't canonicalize paths", " -d, --detach-loop if mounted loop device, also free this loop device", " --fake dry run; skip the umount(2) syscall", " -f, --force force unmount (in case of an unreachable NFS system)", " -i, --internal-only don't call the umount.<type> helpers", " -n, --no-mtab don't write to /etc/mtab", " -l, --lazy detach the filesystem now, clean up things later", " -O, --test-opts <list> limit the set of filesystems (use with -a)", " -R, --recursive recursively unmount a target with all its children", " -r, --read-only in case unmounting fails, try to remount read-only", " -t, --types <list> limit the set of filesystem types", " -v, --verbose say what is being done", "", " -h, --help display this help and exit", " -V, --version output version information and exit", "", "For more details see umount(8)."], "stdout": "", "stdout_lines": []}
...ignoring
TASK [tools : cni0/cbr0 IP alloction issue] ************************************
fatal: [k8sceph-01]: FAILED! => {"changed": true, "cmd": "rm -rf /var/lib/cni/ /var/lib/kubelet/* /etc/cni/ ; ip link delete cni0; ip link delete cbr0 ; ip link delete flannel.1; ip link delete weave", "delta": "0:00:00.009954", "end": "2018-05-29 06:00:22.243906", "msg": "non-zero return code", "rc": 1, "start": "2018-05-29 06:00:22.233952", "stderr": "Cannot find device \"cni0\"\nCannot find device \"cbr0\"\nCannot find device \"flannel.1\"\nCannot find device \"weave\"", "stderr_lines": ["Cannot find device \"cni0\"", "Cannot find device \"cbr0\"", "Cannot find device \"flannel.1\"", "Cannot find device \"weave\""], "stdout": "", "stdout_lines": []}
...ignoring
TASK [tools : Reset iptables rules] ********************************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [tools : include] *********************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/tools/tasks/weave_reset.yml for k8sceph-01
TASK [tools : Reset weave] *****************************************************
fatal: [k8sceph-01]: FAILED! => {"changed": true, "cmd": "/usr/local/bin/weave reset", "delta": "0:00:00.001255", "end": "2018-05-29 06:00:22.780256", "msg": "non-zero return code", "rc": 127, "start": "2018-05-29 06:00:22.779001", "stderr": "/bin/sh: 1: /usr/local/bin/weave: not found", "stderr_lines": ["/bin/sh: 1: /usr/local/bin/weave: not found"], "stdout": "", "stdout_lines": []}
...ignoring
TASK [common : include] ********************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/common/tasks/all.yml for k8sceph-01
TASK [common : include] ********************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/common/tasks/selinux.yml for k8sceph-01
TASK [common : Disable selinux] ************************************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : trigger Reboot when required] ***********************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : Pause till machine is up again] *********************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : Wait for server come back from restart (if selinux required it)] ***
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : Gather facts for first time after restart] **********************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : include] ********************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/common/tasks/install_k8s_packages.yml for k8sceph-01
TASK [common : Install apt-transport-https] ************************************
ok: [k8sceph-01] => (item=apt-transport-https) => {"cache_update_time": 1527573610, "cache_updated": false, "changed": false, "deprecations": [{"msg": "State 'installed' is deprecated. Using state 'present' instead.", "version": "2.9"}], "item": "apt-transport-https"}
TASK [common : apt_key] ********************************************************
changed: [k8sceph-01] => {"changed": true}
TASK [common : apt_repository] *************************************************
changed: [k8sceph-01] => {"changed": true, "repo": "deb http://apt.kubernetes.io/ kubernetes-xenial main", "state": "present"}
TASK [common : Create kubernetes yum repository] *******************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : add proxy for the repo] *****************************************
skipping: [k8sceph-01] => (item=kubernetes) => {"changed": false, "item": "kubernetes", "skip_reason": "Conditional result was False"}
TASK [common : Clean yum metadata] *********************************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : apt-get clean metadata] *****************************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : Install socat from centos/rhel/ubuntu repo] *********************
changed: [k8sceph-01] => (item=socat) => {"cache_update_time": 1527573628, "cache_updated": false, "changed": true, "deprecations": [{"msg": "State 'installed' is deprecated. Using state 'present' instead.", "version": "2.9"}], "item": "socat", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following NEW packages will be installed:\n socat\n0 upgraded, 1 newly installed, 0 to remove and 51 not upgraded.\nNeed to get 321 kB of archives.\nAfter this operation, 941 kB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 socat amd64 1.7.3.1-1 [321 kB]\nFetched 321 kB in 0s (1274 kB/s)\nSelecting previously unselected package socat.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 38208 files and directories currently installed.)\r\nPreparing to unpack .../socat_1.7.3.1-1_amd64.deb ...\r\nUnpacking socat (1.7.3.1-1) ...\r\nProcessing triggers for man-db (2.7.5-1) ...\r\nSetting up socat (1.7.3.1-1) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following NEW packages will be installed:", " socat", "0 upgraded, 1 newly installed, 0 to remove and 51 not upgraded.", "Need to get 321 kB of archives.", "After this operation, 941 kB of additional disk space will be used.", "Get:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 socat amd64 1.7.3.1-1 [321 kB]", "Fetched 321 kB in 0s (1274 kB/s)", "Selecting previously unselected package socat.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 38208 files and directories currently installed.)", "Preparing to unpack .../socat_1.7.3.1-1_amd64.deb ...", "Unpacking socat (1.7.3.1-1) ...", "Processing triggers for man-db (2.7.5-1) ...", "Setting up socat (1.7.3.1-1) ..."]}
TASK [common : Install kubelet] ************************************************
skipping: [k8sceph-01] => (item=kubelet) => {"changed": false, "item": "kubelet", "skip_reason": "Conditional result was False"}
TASK [common : Install kubelet] ************************************************
changed: [k8sceph-01] => (item=kubelet) => {"cache_update_time": 1527573628, "cache_updated": false, "changed": true, "deprecations": [{"msg": "State 'installed' is deprecated. Using state 'present' instead.", "version": "2.9"}], "item": "kubelet", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following additional packages will be installed:\n ebtables kubernetes-cni\nThe following NEW packages will be installed:\n ebtables kubelet kubernetes-cni\n0 upgraded, 3 newly installed, 0 to remove and 51 not upgraded.\nNeed to get 26.4 MB of archives.\nAfter this operation, 194 MB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ebtables amd64 2.0.10.4-3.4ubuntu2.16.04.1 [79.6 kB]\nGet:2 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubernetes-cni amd64 0.6.0-00 [5910 kB]\nGet:3 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubelet amd64 1.9.8-00 [20.4 MB]\nFetched 26.4 MB in 2s (9187 kB/s)\nSelecting previously unselected package ebtables.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 38248 files and directories currently installed.)\r\nPreparing to unpack .../ebtables_2.0.10.4-3.4ubuntu2.16.04.1_amd64.deb ...\r\nUnpacking ebtables (2.0.10.4-3.4ubuntu2.16.04.1) ...\r\nSelecting previously unselected package kubernetes-cni.\r\nPreparing to unpack .../kubernetes-cni_0.6.0-00_amd64.deb ...\r\nUnpacking kubernetes-cni (0.6.0-00) ...\r\nSelecting previously unselected package kubelet.\r\nPreparing to unpack .../kubelet_1.9.8-00_amd64.deb ...\r\nUnpacking kubelet (1.9.8-00) ...\r\nProcessing triggers for man-db (2.7.5-1) ...\r\nProcessing triggers for systemd (229-4ubuntu21.2) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\nSetting up ebtables (2.0.10.4-3.4ubuntu2.16.04.1) ...\r\nupdate-rc.d: warning: start and stop actions are no longer supported; falling back to defaults\r\nSetting up kubernetes-cni (0.6.0-00) ...\r\nSetting up kubelet (1.9.8-00) ...\r\nProcessing triggers for systemd (229-4ubuntu21.2) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following additional packages will be installed:", " ebtables kubernetes-cni", "The following NEW packages will be installed:", " ebtables kubelet kubernetes-cni", "0 upgraded, 3 newly installed, 0 to remove and 51 not upgraded.", "Need to get 26.4 MB of archives.", "After this operation, 194 MB of additional disk space will be used.", "Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ebtables amd64 2.0.10.4-3.4ubuntu2.16.04.1 [79.6 kB]", "Get:2 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubernetes-cni amd64 0.6.0-00 [5910 kB]", "Get:3 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubelet amd64 1.9.8-00 [20.4 MB]", "Fetched 26.4 MB in 2s (9187 kB/s)", "Selecting previously unselected package ebtables.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 38248 files and directories currently installed.)", "Preparing to unpack .../ebtables_2.0.10.4-3.4ubuntu2.16.04.1_amd64.deb ...", "Unpacking ebtables (2.0.10.4-3.4ubuntu2.16.04.1) ...", "Selecting previously unselected package kubernetes-cni.", "Preparing to unpack .../kubernetes-cni_0.6.0-00_amd64.deb ...", "Unpacking kubernetes-cni (0.6.0-00) ...", "Selecting previously unselected package kubelet.", "Preparing to unpack .../kubelet_1.9.8-00_amd64.deb ...", "Unpacking kubelet (1.9.8-00) ...", "Processing triggers for man-db (2.7.5-1) ...", "Processing triggers for systemd (229-4ubuntu21.2) ...", "Processing triggers for ureadahead (0.100.0-19) ...", "Setting up ebtables (2.0.10.4-3.4ubuntu2.16.04.1) ...", "update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults", "Setting up kubernetes-cni (0.6.0-00) ...", "Setting up kubelet (1.9.8-00) ...", "Processing triggers for systemd (229-4ubuntu21.2) ...", "Processing triggers for ureadahead (0.100.0-19) ..."]}
TASK [common : Install kubelet] ************************************************
skipping: [k8sceph-01] => (item=kubelet) => {"changed": false, "item": "kubelet", "skip_reason": "Conditional result was False"}
TASK [common : Install kubelet] ************************************************
skipping: [k8sceph-01] => (item=kubelet) => {"changed": false, "item": "kubelet", "skip_reason": "Conditional result was False"}
TASK [common : Install kubectl] ************************************************
skipping: [k8sceph-01] => (item=kubectl) => {"changed": false, "item": "kubectl", "skip_reason": "Conditional result was False"}
TASK [common : Install kubectl] ************************************************
changed: [k8sceph-01] => (item=kubectl) => {"cache_update_time": 1527573628, "cache_updated": false, "changed": true, "deprecations": [{"msg": "State 'installed' is deprecated. Using state 'present' instead.", "version": "2.9"}], "item": "kubectl", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following NEW packages will be installed:\n kubectl\n0 upgraded, 1 newly installed, 0 to remove and 52 not upgraded.\nNeed to get 10.5 MB of archives.\nAfter this operation, 67.6 MB of additional disk space will be used.\nGet:1 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubectl amd64 1.9.8-00 [10.5 MB]\nFetched 10.5 MB in 1s (7320 kB/s)\nSelecting previously unselected package kubectl.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 38299 files and directories currently installed.)\r\nPreparing to unpack .../kubectl_1.9.8-00_amd64.deb ...\r\nUnpacking kubectl (1.9.8-00) ...\r\nSetting up kubectl (1.9.8-00) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following NEW packages will be installed:", " kubectl", "0 upgraded, 1 newly installed, 0 to remove and 52 not upgraded.", "Need to get 10.5 MB of archives.", "After this operation, 67.6 MB of additional disk space will be used.", "Get:1 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubectl amd64 1.9.8-00 [10.5 MB]", "Fetched 10.5 MB in 1s (7320 kB/s)", "Selecting previously unselected package kubectl.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 38299 files and directories currently installed.)", "Preparing to unpack .../kubectl_1.9.8-00_amd64.deb ...", "Unpacking kubectl (1.9.8-00) ...", "Setting up kubectl (1.9.8-00) ..."]}
TASK [common : Install kubectl] ************************************************
skipping: [k8sceph-01] => (item=kubectl) => {"changed": false, "item": "kubectl", "skip_reason": "Conditional result was False"}
TASK [common : Install kubectl] ************************************************
skipping: [k8sceph-01] => (item=kubectl) => {"changed": false, "item": "kubectl", "skip_reason": "Conditional result was False"}
TASK [common : Install kubeadm] ************************************************
skipping: [k8sceph-01] => (item=kubeadm) => {"changed": false, "item": "kubeadm", "skip_reason": "Conditional result was False"}
TASK [common : Install kubeadm] ************************************************
changed: [k8sceph-01] => (item=kubeadm) => {"cache_update_time": 1527573628, "cache_updated": false, "changed": true, "deprecations": [{"msg": "State 'installed' is deprecated. Using state 'present' instead.", "version": "2.9"}], "item": "kubeadm", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following NEW packages will be installed:\n kubeadm\n0 upgraded, 1 newly installed, 0 to remove and 53 not upgraded.\nNeed to get 20.2 MB of archives.\nAfter this operation, 152 MB of additional disk space will be used.\nGet:1 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubeadm amd64 1.9.8-00 [20.2 MB]\nFetched 20.2 MB in 2s (8846 kB/s)\nSelecting previously unselected package kubeadm.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 38300 files and directories currently installed.)\r\nPreparing to unpack .../kubeadm_1.9.8-00_amd64.deb ...\r\nUnpacking kubeadm (1.9.8-00) ...\r\nSetting up kubeadm (1.9.8-00) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following NEW packages will be installed:", " kubeadm", "0 upgraded, 1 newly installed, 0 to remove and 53 not upgraded.", "Need to get 20.2 MB of archives.", "After this operation, 152 MB of additional disk space will be used.", "Get:1 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubeadm amd64 1.9.8-00 [20.2 MB]", "Fetched 20.2 MB in 2s (8846 kB/s)", "Selecting previously unselected package kubeadm.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 38300 files and directories currently installed.)", "Preparing to unpack .../kubeadm_1.9.8-00_amd64.deb ...", "Unpacking kubeadm (1.9.8-00) ...", "Setting up kubeadm (1.9.8-00) ..."]}
TASK [common : Install kubeadm] ************************************************
skipping: [k8sceph-01] => (item=kubeadm) => {"changed": false, "item": "kubeadm", "skip_reason": "Conditional result was False"}
TASK [common : Install kubeadm] ************************************************
skipping: [k8sceph-01] => (item=kubeadm) => {"changed": false, "item": "kubeadm", "skip_reason": "Conditional result was False"}
TASK [common : include] ********************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/common/tasks/docker.yml for k8sceph-01
TASK [common : check docker hello world - test 1/2] ****************************
fatal: [k8sceph-01]: FAILED! => {"changed": false, "cmd": "docker run -i hello-world", "delta": "0:00:00.001285", "end": "2018-05-29 06:01:11.007923", "msg": "non-zero return code", "rc": 127, "start": "2018-05-29 06:01:11.006638", "stderr": "/bin/sh: 1: docker: not found", "stderr_lines": ["/bin/sh: 1: docker: not found"], "stdout": "", "stdout_lines": []}
...ignoring
TASK [common : Install in CentOS/RHEL docker (if does not exist)] **************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-01] => (item=docker) => {"changed": false, "item": "docker", "skip_reason": "Conditional result was False"}
TASK [common : Install in debian docker (if does not exist)] *******************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
changed: [k8sceph-01] => (item=docker.io) => {"cache_update_time": 1527573628, "cache_updated": false, "changed": true, "deprecations": [{"msg": "State 'installed' is deprecated. Using state 'present' instead.", "version": "2.9"}], "item": "docker.io", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following additional packages will be installed:\n bridge-utils cgroupfs-mount containerd runc ubuntu-fan\nSuggested packages:\n mountall aufs-tools debootstrap docker-doc rinse zfs-fuse | zfsutils\nThe following NEW packages will be installed:\n bridge-utils cgroupfs-mount containerd docker.io runc ubuntu-fan\n0 upgraded, 6 newly installed, 0 to remove and 54 not upgraded.\nNeed to get 17.5 MB of archives.\nAfter this operation, 90.5 MB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 bridge-utils amd64 1.5-9ubuntu1 [28.6 kB]\nGet:2 http://archive.ubuntu.com/ubuntu xenial/universe amd64 cgroupfs-mount all 1.2 [4970 B]\nGet:3 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 runc amd64 1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1 [1488 kB]\nGet:4 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 containerd amd64 0.2.5-0ubuntu1~16.04.1 [4041 kB]\nGet:5 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 docker.io amd64 1.13.1-0ubuntu1~16.04.2 [11.9 MB]\nGet:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ubuntu-fan all 0.12.8~16.04.2 [35.6 kB]\nFetched 17.5 MB in 1s (9674 kB/s)\nSelecting previously unselected package bridge-utils.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 38303 files and directories currently installed.)\r\nPreparing to unpack .../bridge-utils_1.5-9ubuntu1_amd64.deb ...\r\nUnpacking bridge-utils (1.5-9ubuntu1) ...\r\nSelecting previously unselected package cgroupfs-mount.\r\nPreparing to unpack .../cgroupfs-mount_1.2_all.deb ...\r\nUnpacking cgroupfs-mount (1.2) ...\r\nSelecting previously unselected package runc.\r\nPreparing to unpack .../runc_1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1_amd64.deb ...\r\nUnpacking runc (1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1) ...\r\nSelecting previously unselected package containerd.\r\nPreparing to unpack .../containerd_0.2.5-0ubuntu1~16.04.1_amd64.deb ...\r\nUnpacking containerd (0.2.5-0ubuntu1~16.04.1) ...\r\nSelecting previously unselected package docker.io.\r\nPreparing to unpack .../docker.io_1.13.1-0ubuntu1~16.04.2_amd64.deb ...\r\nUnpacking docker.io (1.13.1-0ubuntu1~16.04.2) ...\r\nSelecting previously unselected package ubuntu-fan.\r\nPreparing to unpack .../ubuntu-fan_0.12.8~16.04.2_all.deb ...\r\nUnpacking ubuntu-fan (0.12.8~16.04.2) ...\r\nProcessing triggers for man-db (2.7.5-1) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\nProcessing triggers for systemd (229-4ubuntu21.2) ...\r\nSetting up bridge-utils (1.5-9ubuntu1) ...\r\nSetting up cgroupfs-mount (1.2) ...\r\nSetting up runc (1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1) ...\r\nSetting up containerd (0.2.5-0ubuntu1~16.04.1) ...\r\nSetting up docker.io (1.13.1-0ubuntu1~16.04.2) ...\r\nAdding group `docker' (GID 117) ...\r\nDone.\r\nSetting up ubuntu-fan (0.12.8~16.04.2) ...\r\nProcessing triggers for systemd (229-4ubuntu21.2) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following additional packages will be installed:", " bridge-utils cgroupfs-mount containerd runc ubuntu-fan", "Suggested packages:", " mountall aufs-tools debootstrap docker-doc rinse zfs-fuse | zfsutils", "The following NEW packages will be installed:", " bridge-utils cgroupfs-mount containerd docker.io runc ubuntu-fan", "0 upgraded, 6 newly installed, 0 to remove and 54 not upgraded.", "Need to get 17.5 MB of archives.", "After this operation, 90.5 MB of additional disk space will be used.", "Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 bridge-utils amd64 1.5-9ubuntu1 [28.6 kB]", "Get:2 http://archive.ubuntu.com/ubuntu xenial/universe amd64 cgroupfs-mount all 1.2 [4970 B]", "Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 runc amd64 1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1 [1488 kB]", "Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 containerd amd64 0.2.5-0ubuntu1~16.04.1 [4041 kB]", "Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 docker.io amd64 1.13.1-0ubuntu1~16.04.2 [11.9 MB]", "Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ubuntu-fan all 0.12.8~16.04.2 [35.6 kB]", "Fetched 17.5 MB in 1s (9674 kB/s)", "Selecting previously unselected package bridge-utils.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 38303 files and directories currently installed.)", "Preparing to unpack .../bridge-utils_1.5-9ubuntu1_amd64.deb ...", "Unpacking bridge-utils (1.5-9ubuntu1) ...", "Selecting previously unselected package cgroupfs-mount.", "Preparing to unpack .../cgroupfs-mount_1.2_all.deb ...", "Unpacking cgroupfs-mount (1.2) ...", "Selecting previously unselected package runc.", "Preparing to unpack .../runc_1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1_amd64.deb ...", "Unpacking runc (1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1) ...", "Selecting previously unselected package containerd.", "Preparing to unpack .../containerd_0.2.5-0ubuntu1~16.04.1_amd64.deb ...", "Unpacking containerd (0.2.5-0ubuntu1~16.04.1) ...", "Selecting previously unselected package docker.io.", "Preparing to unpack .../docker.io_1.13.1-0ubuntu1~16.04.2_amd64.deb ...", "Unpacking docker.io (1.13.1-0ubuntu1~16.04.2) ...", "Selecting previously unselected package ubuntu-fan.", "Preparing to unpack .../ubuntu-fan_0.12.8~16.04.2_all.deb ...", "Unpacking ubuntu-fan (0.12.8~16.04.2) ...", "Processing triggers for man-db (2.7.5-1) ...", "Processing triggers for ureadahead (0.100.0-19) ...", "Processing triggers for systemd (229-4ubuntu21.2) ...", "Setting up bridge-utils (1.5-9ubuntu1) ...", "Setting up cgroupfs-mount (1.2) ...", "Setting up runc (1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1) ...", "Setting up containerd (0.2.5-0ubuntu1~16.04.1) ...", "Setting up docker.io (1.13.1-0ubuntu1~16.04.2) ...", "Adding group `docker' (GID 117) ...", "Done.", "Setting up ubuntu-fan (0.12.8~16.04.2) ...", "Processing triggers for systemd (229-4ubuntu21.2) ...", "Processing triggers for ureadahead (0.100.0-19) ..."]}
TASK [common : set docker storage to overlay2 (Debian) - overlay2 works only with ubuntu's official docker distribution (docker.io)] ***
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
changed: [k8sceph-01] => {"changed": true, "checksum": "4c7fc7b39d60d1048c63874ec3d4b862aba04fc3", "dest": "/etc/docker/daemon.json", "gid": 0, "group": "root", "md5sum": "e7e7751660b5048cc529675d6fe0ed06", "mode": "0644", "owner": "root", "size": 35, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1527573681.9054706-17011688341922/source", "state": "file", "uid": 0}
TASK [common : prepare docker-storage-setup (CentOS/RHEL)] *********************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : remove previous /etc/sysconfig/docker-storage (CentOS/RHEL)] ****
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : Restart docker-storage-setup (CentOS/RHEL)] ********************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : set https proxy in docker (CentOS/RHEL)] ************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : set http proxy in docker (CentOS/RHEL)] *************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : set no_proxy in docker (CentOS/RHEL)] ***************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : set https_proxy in docker (Debian)] *****************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : set http_proxy in docker (Debian)] ******************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : set no_proxy in docker (Debian)] ********************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : Add docker insecure registry] ***********************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|failed` instead use `result is failed`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
RUNNING HANDLER [common : Restart docker] **************************************
changed: [k8sceph-01] => {"changed": true, "enabled": true, "name": "docker", "state": "started", "status": {"ActiveEnterTimestamp": "Tue 2018-05-29 06:01:18 UTC", "ActiveEnterTimestampMonotonic": "328828738", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target docker.socket network.target system.slice firewalld.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2018-05-29 06:01:18 UTC", "AssertTimestampMonotonic": "328531240", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CPUUsageNSec": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2018-05-29 06:01:18 UTC", "ConditionTimestampMonotonic": "328531239", "Conflicts": "shutdown.target", "ConsistsOf": "docker.socket", "ControlGroup": "/system.slice/docker.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "yes", "Description": "Docker Application Container Engine", "DevicePolicy": "auto", "Documentation": "https://docs.docker.com", "EnvironmentFile": "/etc/default/docker (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "15577", "ExecMainStartTimestamp": "Tue 2018-05-29 06:01:18 UTC", "ExecMainStartTimestampMonotonic": "328531769", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -s HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/dockerd ; argv[]=/usr/bin/dockerd -H fd:// $DOCKER_OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/lib/systemd/system/docker.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "docker.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2018-05-29 06:01:18 UTC", "InactiveExitTimestampMonotonic": "328531790", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitASSoft": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCORESoft": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitCPUSoft": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitDATASoft": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitFSIZESoft": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitLOCKSSoft": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "1048576", "LimitNOFILESoft": "1048576", "LimitNPROC": "18446744073709551615", "LimitNPROCSoft": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRSSSoft": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "18446744073709551615", "LimitRTTIMESoft": "18446744073709551615", "LimitSIGPENDING": "7843", "LimitSIGPENDINGSoft": "7843", "LimitSTACK": "18446744073709551615", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "MainPID": "15577", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NFileDescriptorStore": "0", "Names": "docker.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "docker.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StateChangeTimestamp": "Tue 2018-05-29 06:01:18 UTC", "StateChangeTimestampMonotonic": "328828738", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "TriggeredBy": "docker.socket", "Type": "notify", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2018-05-29 06:01:18 UTC", "WatchdogTimestampMonotonic": "328828737", "WatchdogUSec": "0"}}
TASK [common : check docker is running] ****************************************
ok: [k8sceph-01] => {"changed": false, "cmd": ["docker", "info"], "delta": "0:00:00.025671", "end": "2018-05-29 06:01:24.260455", "rc": 0, "start": "2018-05-29 06:01:24.234784", "stderr": "WARNING: No swap limit support", "stderr_lines": ["WARNING: No swap limit support"], "stdout": "Containers: 0\n Running: 0\n Paused: 0\n Stopped: 0\nImages: 0\nServer Version: 1.13.1\nStorage Driver: overlay2\n Backing Filesystem: extfs\n Supports d_type: true\n Native Overlay Diff: true\nLogging Driver: json-file\nCgroup Driver: cgroupfs\nPlugins: \n Volume: local\n Network: bridge host macvlan null overlay\nSwarm: inactive\nRuntimes: runc\nDefault Runtime: runc\nInit Binary: docker-init\ncontainerd version: (expected: aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1)\nrunc version: N/A (expected: 9df8b306d01f59d3a8029be411de015b7304dd8f)\ninit version: N/A (expected: 949e6facb77383876aeff8a6944dde66b3089574)\nSecurity Options:\n apparmor\n seccomp\n Profile: default\nKernel Version: 4.4.0-87-generic\nOperating System: Ubuntu 16.04.4 LTS\nOSType: linux\nArchitecture: x86_64\nCPUs: 1\nTotal Memory: 1.953 GiB\nName: k8sceph-01\nID: 2VP5:T4A4:KKHJ:R2NY:KUR6:V7PJ:LBTY:UPMB:423Q:K7PY:SC6T:PE23\nDocker Root Dir: /var/lib/docker\nDebug Mode (client): false\nDebug Mode (server): false\nRegistry: https://index.docker.io/v1/\nExperimental: false\nInsecure Registries:\n 127.0.0.0/8\nLive Restore Enabled: false", "stdout_lines": ["Containers: 0", " Running: 0", " Paused: 0", " Stopped: 0", "Images: 0", "Server Version: 1.13.1", "Storage Driver: overlay2", " Backing Filesystem: extfs", " Supports d_type: true", " Native Overlay Diff: true", "Logging Driver: json-file", "Cgroup Driver: cgroupfs", "Plugins: ", " Volume: local", " Network: bridge host macvlan null overlay", "Swarm: inactive", "Runtimes: runc", "Default Runtime: runc", "Init Binary: docker-init", "containerd version: (expected: aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1)", "runc version: N/A (expected: 9df8b306d01f59d3a8029be411de015b7304dd8f)", "init version: N/A (expected: 949e6facb77383876aeff8a6944dde66b3089574)", "Security Options:", " apparmor", " seccomp", " Profile: default", "Kernel Version: 4.4.0-87-generic", "Operating System: Ubuntu 16.04.4 LTS", "OSType: linux", "Architecture: x86_64", "CPUs: 1", "Total Memory: 1.953 GiB", "Name: k8sceph-01", "ID: 2VP5:T4A4:KKHJ:R2NY:KUR6:V7PJ:LBTY:UPMB:423Q:K7PY:SC6T:PE23", "Docker Root Dir: /var/lib/docker", "Debug Mode (client): false", "Debug Mode (server): false", "Registry: https://index.docker.io/v1/", "Experimental: false", "Insecure Registries:", " 127.0.0.0/8", "Live Restore Enabled: false"]}
TASK [common : check docker hello world - test 2/2] ****************************
ok: [k8sceph-01] => {"changed": false, "cmd": "docker run -i hello-world | awk '/Hello/ {print $1}'", "delta": "0:00:03.656251", "end": "2018-05-29 06:01:28.435171", "failed_when_result": false, "rc": 0, "start": "2018-05-29 06:01:24.778920", "stderr": "Unable to find image 'hello-world:latest' locally\nlatest: Pulling from library/hello-world\n9bb5a5d4561a: Pulling fs layer\n9bb5a5d4561a: Verifying Checksum\n9bb5a5d4561a: Download complete\n9bb5a5d4561a: Pull complete\nDigest: sha256:f5233545e43561214ca4891fd1157e1c3c563316ed8e237750d59bde73361e77\nStatus: Downloaded newer image for hello-world:latest", "stderr_lines": ["Unable to find image 'hello-world:latest' locally", "latest: Pulling from library/hello-world", "9bb5a5d4561a: Pulling fs layer", "9bb5a5d4561a: Verifying Checksum", "9bb5a5d4561a: Download complete", "9bb5a5d4561a: Pull complete", "Digest: sha256:f5233545e43561214ca4891fd1157e1c3c563316ed8e237750d59bde73361e77", "Status: Downloaded newer image for hello-world:latest"], "stdout": "Hello", "stdout_lines": ["Hello"]}
TASK [common : include] ********************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/common/tasks/iptables.yml for k8sceph-01
TASK [common : Disable firewalld (CentOS/RHEL)] ********************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : Install iptables-services (if does not exist) - RedHat/CentOS] ***
skipping: [k8sceph-01] => (item=iptables-services) => {"changed": false, "item": "iptables-services", "skip_reason": "Conditional result was False"}
TASK [common : Install netfilter-persistent required for saving iptables rule - Debian] ***
changed: [k8sceph-01] => (item=netfilter-persistent) => {"cache_update_time": 1527573628, "cache_updated": false, "changed": true, "deprecations": [{"msg": "State 'installed' is deprecated. Using state 'present' instead.", "version": "2.9"}], "item": "netfilter-persistent", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nSuggested packages:\n iptables-persistent\nThe following NEW packages will be installed:\n netfilter-persistent\n0 upgraded, 1 newly installed, 0 to remove and 54 not upgraded.\nNeed to get 6786 B of archives.\nAfter this operation, 36.9 kB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 netfilter-persistent all 1.0.4 [6786 B]\nFetched 6786 B in 0s (72.9 kB/s)\nSelecting previously unselected package netfilter-persistent.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 38496 files and directories currently installed.)\r\nPreparing to unpack .../netfilter-persistent_1.0.4_all.deb ...\r\nUnpacking netfilter-persistent (1.0.4) ...\r\nProcessing triggers for man-db (2.7.5-1) ...\r\nProcessing triggers for systemd (229-4ubuntu21.2) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\nSetting up netfilter-persistent (1.0.4) ...\r\nupdate-rc.d: warning: start and stop actions are no longer supported; falling back to defaults\r\nProcessing triggers for systemd (229-4ubuntu21.2) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "Suggested packages:", " iptables-persistent", "The following NEW packages will be installed:", " netfilter-persistent", "0 upgraded, 1 newly installed, 0 to remove and 54 not upgraded.", "Need to get 6786 B of archives.", "After this operation, 36.9 kB of additional disk space will be used.", "Get:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 netfilter-persistent all 1.0.4 [6786 B]", "Fetched 6786 B in 0s (72.9 kB/s)", "Selecting previously unselected package netfilter-persistent.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 38496 files and directories currently installed.)", "Preparing to unpack .../netfilter-persistent_1.0.4_all.deb ...", "Unpacking netfilter-persistent (1.0.4) ...", "Processing triggers for man-db (2.7.5-1) ...", "Processing triggers for systemd (229-4ubuntu21.2) ...", "Processing triggers for ureadahead (0.100.0-19) ...", "Setting up netfilter-persistent (1.0.4) ...", "update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults", "Processing triggers for systemd (229-4ubuntu21.2) ...", "Processing triggers for ureadahead (0.100.0-19) ..."]}
TASK [common : iptables default policies need to be ACCEPT on all chains] ******
ok: [k8sceph-01] => (item=INPUT) => {"chain": "INPUT", "changed": false, "flush": false, "ip_version": "ipv4", "item": "INPUT", "rule": "", "state": "present", "table": "filter"}
changed: [k8sceph-01] => (item=FORWARD) => {"chain": "FORWARD", "changed": true, "flush": false, "ip_version": "ipv4", "item": "FORWARD", "rule": "", "state": "present", "table": "filter"}
ok: [k8sceph-01] => (item=OUTPUT) => {"chain": "OUTPUT", "changed": false, "flush": false, "ip_version": "ipv4", "item": "OUTPUT", "rule": "", "state": "present", "table": "filter"}
TASK [common : remove the REJECT rules on all chains] **************************
ok: [k8sceph-01] => (item=INPUT) => {"chain": "INPUT", "changed": false, "flush": false, "ip_version": "ipv4", "item": "INPUT", "rule": "-j REJECT --reject-with icmp-host-prohibited", "state": "absent", "table": "filter"}
ok: [k8sceph-01] => (item=FORWARD) => {"chain": "FORWARD", "changed": false, "flush": false, "ip_version": "ipv4", "item": "FORWARD", "rule": "-j REJECT --reject-with icmp-host-prohibited", "state": "absent", "table": "filter"}
ok: [k8sceph-01] => (item=OUTPUT) => {"chain": "OUTPUT", "changed": false, "flush": false, "ip_version": "ipv4", "item": "OUTPUT", "rule": "-j REJECT --reject-with icmp-host-prohibited", "state": "absent", "table": "filter"}
TASK [common : remove the REJECT rules on all chains from the /etc/sysconfig/iptables (persisting the change) on RH/CentOS] ***
skipping: [k8sceph-01] => (item=-A INPUT -j REJECT --reject-with icmp-host-prohibited) => {"changed": false, "item": "-A INPUT -j REJECT --reject-with icmp-host-prohibited", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-01] => (item=-A FORWARD -j REJECT --reject-with icmp-host-prohibited) => {"changed": false, "item": "-A FORWARD -j REJECT --reject-with icmp-host-prohibited", "skip_reason": "Conditional result was False"}
TASK [common : save iptables rules (Debian)] ***********************************
changed: [k8sceph-01] => {"changed": true, "cmd": "netfilter-persistent save", "delta": "0:00:00.002200", "end": "2018-05-29 06:01:35.667844", "rc": 0, "start": "2018-05-29 06:01:35.665644", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
TASK [common : include] ********************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/common/tasks/firewalld.yml for k8sceph-01
TASK [common : Disable firewalld (CentOS/RHEL)] ********************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : include] ********************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/common/tasks/kube_config.yml for k8sceph-01
TASK [common : prepare cloud-config file for cloudProvider {{kubeadm_master_config.cloudProvider}}] ***
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : Make sure folder /etc/kubernetes/ exists] ***********************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : prepare cloud-config file] **************************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : Replace {{kubeadm_master_config.networking.dnsDomain}} under cluster-domain in kubelet.service.d/10-kubeadm.conf] ***
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : Create kubeadm sysctl file] *************************************
changed: [k8sceph-01] => {"changed": true, "checksum": "7029a67b5d709c258878699f240647c110b5cfe1", "dest": "/etc/sysctl.d/90-kubeadm.conf", "gid": 0, "group": "root", "md5sum": "6d2ff89629d95b42abbf6d237023f049", "mode": "0644", "owner": "root", "size": 79, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1527573696.681417-276819686839270/source", "state": "file", "uid": 0}
TASK [common : Set sysctl settings] ********************************************
changed: [k8sceph-01] => {"changed": true, "cmd": ["sysctl", "--system"], "delta": "0:00:00.005278", "end": "2018-05-29 06:01:37.090475", "rc": 0, "start": "2018-05-29 06:01:37.085197", "stderr": "", "stderr_lines": [], "stdout": "* Applying /etc/sysctl.d/10-console-messages.conf ...\nkernel.printk = 4 4 1 7\n* Applying /etc/sysctl.d/10-ipv6-privacy.conf ...\nnet.ipv6.conf.all.use_tempaddr = 2\nnet.ipv6.conf.default.use_tempaddr = 2\n* Applying /etc/sysctl.d/10-kernel-hardening.conf ...\nkernel.kptr_restrict = 1\n* Applying /etc/sysctl.d/10-link-restrictions.conf ...\nfs.protected_hardlinks = 1\nfs.protected_symlinks = 1\n* Applying /etc/sysctl.d/10-lxd-inotify.conf ...\nfs.inotify.max_user_instances = 1024\n* Applying /etc/sysctl.d/10-magic-sysrq.conf ...\nkernel.sysrq = 176\n* Applying /etc/sysctl.d/10-network-security.conf ...\nnet.ipv4.conf.default.rp_filter = 1\nnet.ipv4.conf.all.rp_filter = 1\nnet.ipv4.tcp_syncookies = 1\n* Applying /etc/sysctl.d/10-ptrace.conf ...\nkernel.yama.ptrace_scope = 1\n* Applying /etc/sysctl.d/10-zeropage.conf ...\nvm.mmap_min_addr = 65536\n* Applying /etc/sysctl.d/90-kubeadm.conf ...\nnet.bridge.bridge-nf-call-iptables = 1\nnet.bridge.bridge-nf-call-ip6tables = 1\n* Applying /etc/sysctl.d/99-sysctl.conf ...\n* Applying /etc/sysctl.conf ...", "stdout_lines": ["* Applying /etc/sysctl.d/10-console-messages.conf ...", "kernel.printk = 4 4 1 7", "* Applying /etc/sysctl.d/10-ipv6-privacy.conf ...", "net.ipv6.conf.all.use_tempaddr = 2", "net.ipv6.conf.default.use_tempaddr = 2", "* Applying /etc/sysctl.d/10-kernel-hardening.conf ...", "kernel.kptr_restrict = 1", "* Applying /etc/sysctl.d/10-link-restrictions.conf ...", "fs.protected_hardlinks = 1", "fs.protected_symlinks = 1", "* Applying /etc/sysctl.d/10-lxd-inotify.conf ...", "fs.inotify.max_user_instances = 1024", "* Applying /etc/sysctl.d/10-magic-sysrq.conf ...", "kernel.sysrq = 176", "* Applying /etc/sysctl.d/10-network-security.conf ...", "net.ipv4.conf.default.rp_filter = 1", "net.ipv4.conf.all.rp_filter = 1", "net.ipv4.tcp_syncookies = 1", "* Applying /etc/sysctl.d/10-ptrace.conf ...", "kernel.yama.ptrace_scope = 1", "* Applying /etc/sysctl.d/10-zeropage.conf ...", "vm.mmap_min_addr = 65536", "* Applying /etc/sysctl.d/90-kubeadm.conf ...", "net.bridge.bridge-nf-call-iptables = 1", "net.bridge.bridge-nf-call-ip6tables = 1", "* Applying /etc/sysctl.d/99-sysctl.conf ...", "* Applying /etc/sysctl.conf ..."]}
TASK [common : Remove existing kubelet args from drop-in unit] *****************
ok: [k8sceph-01] => {"backup": "", "changed": false, "found": 0, "msg": ""}
TASK [common : detect docker's cgroup-driver] **********************************
ok: [k8sceph-01] => {"changed": false, "cmd": "docker info 2>/dev/null |grep -i cgroup | cut -d\":\" -f2 | tr -d \" \"", "delta": "0:00:00.016943", "end": "2018-05-29 06:01:38.066111", "rc": 0, "start": "2018-05-29 06:01:38.049168", "stderr": "", "stderr_lines": [], "stdout": "cgroupfs", "stdout_lines": ["cgroupfs"]}
TASK [common : INFO message] ***************************************************
ok: [k8sceph-01] => {
"msg": "detect docker's cgroup-driver is cgroupfs. (Usually RH/CentOS is systemd, Ubuntu cgroupfs"
}
TASK [common : determine version of the installed kubelet] *********************
ok: [k8sceph-01] => {"changed": false, "cmd": "kubelet --version | cut -d\" \" -f2 | cut -d\"v\" -f2", "delta": "0:00:00.083920", "end": "2018-05-29 06:01:38.684556", "rc": 0, "start": "2018-05-29 06:01:38.600636", "stderr": "", "stderr_lines": [], "stdout": "1.9.8", "stdout_lines": ["1.9.8"]}
TASK [common : Use systemd kubelet cgroup driver] ******************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : include] ********************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/common/tasks/swap.yml for k8sceph-01
TASK [common : swapoff (prereq k8s 1.8)] ***************************************
changed: [k8sceph-01] => {"changed": true, "cmd": ["swapoff", "--all"], "delta": "0:00:00.009214", "end": "2018-05-29 06:01:39.233878", "rc": 0, "start": "2018-05-29 06:01:39.224664", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
TASK [common : Remove swap from /etc/fstab (when named swap)] ******************
ok: [k8sceph-01] => {"changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "name": "swap", "opts": "defaults", "passno": "0"}
TASK [common : Remove swap from /etc/fstab (when named none)] ******************
changed: [k8sceph-01] => {"changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "name": "none", "opts": "defaults", "passno": "0"}
TASK [common : include] ********************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/common/tasks/ntpd.yml for k8sceph-01
TASK [common : ntpd and ntpdate | it is mandatory to have the time from all machines in sync] ***
changed: [k8sceph-01] => (item=ntp) => {"cache_update_time": 1527573628, "cache_updated": false, "changed": true, "deprecations": [{"msg": "State 'installed' is deprecated. Using state 'present' instead.", "version": "2.9"}], "item": "ntp", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following additional packages will be installed:\n libopts25\nSuggested packages:\n ntp-doc\nThe following NEW packages will be installed:\n libopts25 ntp\n0 upgraded, 2 newly installed, 0 to remove and 54 not upgraded.\nNeed to get 576 kB of archives.\nAfter this operation, 1792 kB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libopts25 amd64 1:5.18.7-3 [57.8 kB]\nGet:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ntp amd64 1:4.2.8p4+dfsg-3ubuntu5.8 [518 kB]\nFetched 576 kB in 0s (2150 kB/s)\nSelecting previously unselected package libopts25:amd64.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 38507 files and directories currently installed.)\r\nPreparing to unpack .../libopts25_1%3a5.18.7-3_amd64.deb ...\r\nUnpacking libopts25:amd64 (1:5.18.7-3) ...\r\nSelecting previously unselected package ntp.\r\nPreparing to unpack .../ntp_1%3a4.2.8p4+dfsg-3ubuntu5.8_amd64.deb ...\r\nUnpacking ntp (1:4.2.8p4+dfsg-3ubuntu5.8) ...\r\nProcessing triggers for libc-bin (2.23-0ubuntu10) ...\r\nProcessing triggers for systemd (229-4ubuntu21.2) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\nProcessing triggers for man-db (2.7.5-1) ...\r\nSetting up libopts25:amd64 (1:5.18.7-3) ...\r\nSetting up ntp (1:4.2.8p4+dfsg-3ubuntu5.8) ...\r\nProcessing triggers for libc-bin (2.23-0ubuntu10) ...\r\nProcessing triggers for systemd (229-4ubuntu21.2) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following additional packages will be installed:", " libopts25", "Suggested packages:", " ntp-doc", "The following NEW packages will be installed:", " libopts25 ntp", "0 upgraded, 2 newly installed, 0 to remove and 54 not upgraded.", "Need to get 576 kB of archives.", "After this operation, 1792 kB of additional disk space will be used.", "Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libopts25 amd64 1:5.18.7-3 [57.8 kB]", "Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ntp amd64 1:4.2.8p4+dfsg-3ubuntu5.8 [518 kB]", "Fetched 576 kB in 0s (2150 kB/s)", "Selecting previously unselected package libopts25:amd64.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 38507 files and directories currently installed.)", "Preparing to unpack .../libopts25_1%3a5.18.7-3_amd64.deb ...", "Unpacking libopts25:amd64 (1:5.18.7-3) ...", "Selecting previously unselected package ntp.", "Preparing to unpack .../ntp_1%3a4.2.8p4+dfsg-3ubuntu5.8_amd64.deb ...", "Unpacking ntp (1:4.2.8p4+dfsg-3ubuntu5.8) ...", "Processing triggers for libc-bin (2.23-0ubuntu10) ...", "Processing triggers for systemd (229-4ubuntu21.2) ...", "Processing triggers for ureadahead (0.100.0-19) ...", "Processing triggers for man-db (2.7.5-1) ...", "Setting up libopts25:amd64 (1:5.18.7-3) ...", "Setting up ntp (1:4.2.8p4+dfsg-3ubuntu5.8) ...", "Processing triggers for libc-bin (2.23-0ubuntu10) ...", "Processing triggers for systemd (229-4ubuntu21.2) ...", "Processing triggers for ureadahead (0.100.0-19) ..."]}
TASK [common : ntpd configuration] *********************************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : Restart ntpd - RedHat/CentOS] ***********************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : Restart ntp - Debian] *******************************************
changed: [k8sceph-01] => {"changed": true, "enabled": true, "name": "ntp", "state": "started", "status": {"ActiveEnterTimestamp": "Tue 2018-05-29 06:01:43 UTC", "ActiveEnterTimestampMonotonic": "353110113", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target basic.target systemd-journald-dev-log.socket network-online.target systemd-journald.socket remote-fs.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2018-05-29 06:01:43 UTC", "AssertTimestampMonotonic": "353086012", "Before": "multi-user.target graphical.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CPUUsageNSec": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2018-05-29 06:01:43 UTC", "ConditionTimestampMonotonic": "353086011", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/ntp.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "LSB: Start NTP daemon", "DevicePolicy": "auto", "Documentation": "man:systemd-sysv-generator(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/etc/init.d/ntp ; argv[]=/etc/init.d/ntp start ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/etc/init.d/ntp ; argv[]=/etc/init.d/ntp stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/run/systemd/generator.late/ntp.service", "GuessMainPID": "no", "IOScheduling": "0", "Id": "ntp.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2018-05-29 06:01:43 UTC", "InactiveExitTimestampMonotonic": "353086567", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitASSoft": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCORESoft": "0", "LimitCPU": "18446744073709551615", "LimitCPUSoft": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitDATASoft": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitFSIZESoft": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitLOCKSSoft": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "4096", "LimitNOFILESoft": "1024", "LimitNPROC": "7843", "LimitNPROCSoft": "7843", "LimitRSS": "18446744073709551615", "LimitRSSSoft": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "18446744073709551615", "LimitRTTIMESoft": "18446744073709551615", "LimitSIGPENDING": "7843", "LimitSIGPENDINGSoft": "7843", "LimitSTACK": "18446744073709551615", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NFileDescriptorStore": "0", "Names": "ntp.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SourcePath": "/etc/init.d/ntp", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StateChangeTimestamp": "Tue 2018-05-29 06:01:43 UTC", "StateChangeTimestampMonotonic": "353110113", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "5min", "TimeoutStopUSec": "5min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "bad", "UtmpMode": "init", "WantedBy": "graphical.target multi-user.target", "Wants": "network-online.target", "WatchdogTimestamp": "Tue 2018-05-29 06:01:43 UTC", "WatchdogTimestampMonotonic": "353110101", "WatchdogUSec": "0"}}
TASK [common : include] ********************************************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : include] ********************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/common/tasks/various.yml for k8sceph-01
TASK [common : set hostname with fqdn] *****************************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : set hostname with fqdn - sol2] **********************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [common : create dir /var/log/journal (so node-problem-detector finds any issues with the nodes, should there be any)] ***
changed: [k8sceph-01] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/var/log/journal", "size": 4096, "state": "directory", "uid": 0}
TASK [common : Pull images on node (e.g. kube-proxy)] **************************
changed: [k8sceph-01] => (item=gcr.io/google_containers/kube-proxy-amd64) => {"changed": true, "cmd": ["/usr/bin/docker", "pull", "gcr.io/google_containers/kube-proxy-amd64:v1.9.3"], "delta": "0:00:07.927760", "end": "2018-05-29 06:01:54.993513", "item": "gcr.io/google_containers/kube-proxy-amd64", "rc": 0, "start": "2018-05-29 06:01:47.065753", "stderr": "", "stderr_lines": [], "stdout": "v1.9.3: Pulling from google_containers/kube-proxy-amd64\nd0c199d1a37e: Pulling fs layer\n743a743e06dd: Pulling fs layer\nc02b5f41d32f: Pulling fs layer\n743a743e06dd: Verifying Checksum\n743a743e06dd: Download complete\nc02b5f41d32f: Verifying Checksum\nc02b5f41d32f: Download complete\nd0c199d1a37e: Verifying Checksum\nd0c199d1a37e: Download complete\nd0c199d1a37e: Pull complete\n743a743e06dd: Pull complete\nc02b5f41d32f: Pull complete\nDigest: sha256:19277373ca983423c3ff82dbb14f079a2f37b84926a4c569375314fa39a4ee96\nStatus: Downloaded newer image for gcr.io/google_containers/kube-proxy-amd64:v1.9.3", "stdout_lines": ["v1.9.3: Pulling from google_containers/kube-proxy-amd64", "d0c199d1a37e: Pulling fs layer", "743a743e06dd: Pulling fs layer", "c02b5f41d32f: Pulling fs layer", "743a743e06dd: Verifying Checksum", "743a743e06dd: Download complete", "c02b5f41d32f: Verifying Checksum", "c02b5f41d32f: Download complete", "d0c199d1a37e: Verifying Checksum", "d0c199d1a37e: Download complete", "d0c199d1a37e: Pull complete", "743a743e06dd: Pull complete", "c02b5f41d32f: Pull complete", "Digest: sha256:19277373ca983423c3ff82dbb14f079a2f37b84926a4c569375314fa39a4ee96", "Status: Downloaded newer image for gcr.io/google_containers/kube-proxy-amd64:v1.9.3"]}
TASK [common : include] ********************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/common/tasks/alias_completion.yml for k8sceph-01
TASK [common : kubectl aliases to ~/.bashrc] ***********************************
changed: [k8sceph-01] => (item=alias watch='watch ' ) => {"backup": "", "changed": true, "item": "alias watch='watch ' ", "msg": "line added"}
changed: [k8sceph-01] => (item=alias k='kubectl ' ) => {"backup": "", "changed": true, "item": "alias k='kubectl ' ", "msg": "line added"}
changed: [k8sceph-01] => (item=alias ks='kubectl -n kube-system ' ) => {"backup": "", "changed": true, "item": "alias ks='kubectl -n kube-system ' ", "msg": "line added"}
changed: [k8sceph-01] => (item=alias kg='kubectl get --all-namespaces -o wide ') => {"backup": "", "changed": true, "item": "alias kg='kubectl get --all-namespaces -o wide '", "msg": "line added"}
changed: [k8sceph-01] => (item=alias wp='watch kg po ') => {"backup": "", "changed": true, "item": "alias wp='watch kg po '", "msg": "line added"}
changed: [k8sceph-01] => (item=alias wipt='watch -n1 iptables -vnL ' ) => {"backup": "", "changed": true, "item": "alias wipt='watch -n1 iptables -vnL ' ", "msg": "line added"}
TASK [common : Install optional packages like bash-completion] *****************
changed: [k8sceph-01] => (item=bash-completion) => {"cache_update_time": 1527573628, "cache_updated": false, "changed": true, "deprecations": [{"msg": "State 'installed' is deprecated. Using state 'present' instead.", "version": "2.9"}], "item": "bash-completion", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following NEW packages will be installed:\n bash-completion\n0 upgraded, 1 newly installed, 0 to remove and 54 not upgraded.\nNeed to get 152 kB of archives.\nAfter this operation, 1256 kB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 bash-completion all 1:2.1-4.2ubuntu1.1 [152 kB]\nFetched 152 kB in 0s (817 kB/s)\nSelecting previously unselected package bash-completion.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 38569 files and directories currently installed.)\r\nPreparing to unpack .../bash-completion_1%3a2.1-4.2ubuntu1.1_all.deb ...\r\nUnpacking bash-completion (1:2.1-4.2ubuntu1.1) ...\r\nReplaced by files in installed package apt (1.2.26) ...\r\nProcessing triggers for man-db (2.7.5-1) ...\r\nSetting up bash-completion (1:2.1-4.2ubuntu1.1) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following NEW packages will be installed:", " bash-completion", "0 upgraded, 1 newly installed, 0 to remove and 54 not upgraded.", "Need to get 152 kB of archives.", "After this operation, 1256 kB of additional disk space will be used.", "Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 bash-completion all 1:2.1-4.2ubuntu1.1 [152 kB]", "Fetched 152 kB in 0s (817 kB/s)", "Selecting previously unselected package bash-completion.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 38569 files and directories currently installed.)", "Preparing to unpack .../bash-completion_1%3a2.1-4.2ubuntu1.1_all.deb ...", "Unpacking bash-completion (1:2.1-4.2ubuntu1.1) ...", "Replaced by files in installed package apt (1.2.26) ...", "Processing triggers for man-db (2.7.5-1) ...", "Setting up bash-completion (1:2.1-4.2ubuntu1.1) ..."]}
TASK [common : kubeadm completion preps] ***************************************
changed: [k8sceph-01] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/root/.kube/", "size": 4096, "state": "directory", "uid": 0}
TASK [common : kubeadm completion shell] ***************************************
changed: [k8sceph-01] => {"changed": true, "cmd": "kubeadm completion bash > ~/.kube/kubeadm_completion.bash.inc", "delta": "0:00:00.107985", "end": "2018-05-29 06:02:03.266073", "rc": 0, "start": "2018-05-29 06:02:03.158088", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
TASK [common : kubeadm completion to ~/.bashrc] ********************************
changed: [k8sceph-01] => {"backup": "", "changed": true, "msg": "line added"}
TASK [common : kubectl completion shell] ***************************************
changed: [k8sceph-01] => {"changed": true, "cmd": "kubectl completion bash > ~/.kube/completion.bash.inc", "delta": "0:00:00.118868", "end": "2018-05-29 06:02:04.288000", "rc": 0, "start": "2018-05-29 06:02:04.169132", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
TASK [common : kubectl completion to ~/.bashrc] ********************************
changed: [k8sceph-01] => {"backup": "", "changed": true, "msg": "line added"}
TASK [common : make sure ~/.bashrc is called] **********************************
changed: [k8sceph-01] => {"backup": "", "changed": true, "msg": "line added"}
PLAY [master] ******************************************************************
TASK [master : set_fact] *******************************************************
ok: [k8sceph-01] => {"ansible_facts": {"env_kc": {"KUBECONFIG": "/etc/kubernetes/admin.conf"}}, "changed": false}
TASK [master : Pull images on master] ******************************************
changed: [k8sceph-01] => (item=gcr.io/google_containers/kube-proxy-amd64) => {"changed": true, "cmd": ["/usr/bin/docker", "pull", "gcr.io/google_containers/kube-proxy-amd64:v1.9.3"], "delta": "0:00:00.984935", "end": "2018-05-29 06:02:06.780565", "item": "gcr.io/google_containers/kube-proxy-amd64", "rc": 0, "start": "2018-05-29 06:02:05.795630", "stderr": "", "stderr_lines": [], "stdout": "v1.9.3: Pulling from google_containers/kube-proxy-amd64\nDigest: sha256:19277373ca983423c3ff82dbb14f079a2f37b84926a4c569375314fa39a4ee96\nStatus: Image is up to date for gcr.io/google_containers/kube-proxy-amd64:v1.9.3", "stdout_lines": ["v1.9.3: Pulling from google_containers/kube-proxy-amd64", "Digest: sha256:19277373ca983423c3ff82dbb14f079a2f37b84926a4c569375314fa39a4ee96", "Status: Image is up to date for gcr.io/google_containers/kube-proxy-amd64:v1.9.3"]}
changed: [k8sceph-01] => (item=gcr.io/google_containers/kube-controller-manager-amd64) => {"changed": true, "cmd": ["/usr/bin/docker", "pull", "gcr.io/google_containers/kube-controller-manager-amd64:v1.9.3"], "delta": "0:00:06.604783", "end": "2018-05-29 06:02:13.759772", "item": "gcr.io/google_containers/kube-controller-manager-amd64", "rc": 0, "start": "2018-05-29 06:02:07.154989", "stderr": "", "stderr_lines": [], "stdout": "v1.9.3: Pulling from google_containers/kube-controller-manager-amd64\n57310166fe88: Pulling fs layer\na1a3a0835d92: Pulling fs layer\n57310166fe88: Verifying Checksum\n57310166fe88: Download complete\n57310166fe88: Pull complete\na1a3a0835d92: Verifying Checksum\na1a3a0835d92: Download complete\na1a3a0835d92: Pull complete\nDigest: sha256:3ac295ae3e78af5c9f88164ae95097c2d7af03caddf067cb35599769d0b7251e\nStatus: Downloaded newer image for gcr.io/google_containers/kube-controller-manager-amd64:v1.9.3", "stdout_lines": ["v1.9.3: Pulling from google_containers/kube-controller-manager-amd64", "57310166fe88: Pulling fs layer", "a1a3a0835d92: Pulling fs layer", "57310166fe88: Verifying Checksum", "57310166fe88: Download complete", "57310166fe88: Pull complete", "a1a3a0835d92: Verifying Checksum", "a1a3a0835d92: Download complete", "a1a3a0835d92: Pull complete", "Digest: sha256:3ac295ae3e78af5c9f88164ae95097c2d7af03caddf067cb35599769d0b7251e", "Status: Downloaded newer image for gcr.io/google_containers/kube-controller-manager-amd64:v1.9.3"]}
changed: [k8sceph-01] => (item=gcr.io/google_containers/kube-apiserver-amd64) => {"changed": true, "cmd": ["/usr/bin/docker", "pull", "gcr.io/google_containers/kube-apiserver-amd64:v1.9.3"], "delta": "0:00:08.292569", "end": "2018-05-29 06:02:22.443852", "item": "gcr.io/google_containers/kube-apiserver-amd64", "rc": 0, "start": "2018-05-29 06:02:14.151283", "stderr": "", "stderr_lines": [], "stdout": "v1.9.3: Pulling from google_containers/kube-apiserver-amd64\n57310166fe88: Already exists\n1cfb1cc5f88e: Pulling fs layer\n1cfb1cc5f88e: Verifying Checksum\n1cfb1cc5f88e: Download complete\n1cfb1cc5f88e: Pull complete\nDigest: sha256:a5382344aa373a90bc87d3baa4eda5402507e8df5b8bfbbad392c4fff715f043\nStatus: Downloaded newer image for gcr.io/google_containers/kube-apiserver-amd64:v1.9.3", "stdout_lines": ["v1.9.3: Pulling from google_containers/kube-apiserver-amd64", "57310166fe88: Already exists", "1cfb1cc5f88e: Pulling fs layer", "1cfb1cc5f88e: Verifying Checksum", "1cfb1cc5f88e: Download complete", "1cfb1cc5f88e: Pull complete", "Digest: sha256:a5382344aa373a90bc87d3baa4eda5402507e8df5b8bfbbad392c4fff715f043", "Status: Downloaded newer image for gcr.io/google_containers/kube-apiserver-amd64:v1.9.3"]}
changed: [k8sceph-01] => (item=gcr.io/google_containers/kube-scheduler-amd64) => {"changed": true, "cmd": ["/usr/bin/docker", "pull", "gcr.io/google_containers/kube-scheduler-amd64:v1.9.3"], "delta": "0:00:05.078255", "end": "2018-05-29 06:02:27.910467", "item": "gcr.io/google_containers/kube-scheduler-amd64", "rc": 0, "start": "2018-05-29 06:02:22.832212", "stderr": "", "stderr_lines": [], "stdout": "v1.9.3: Pulling from google_containers/kube-scheduler-amd64\n57310166fe88: Already exists\n4122df38b6ef: Pulling fs layer\n4122df38b6ef: Verifying Checksum\n4122df38b6ef: Download complete\n4122df38b6ef: Pull complete\nDigest: sha256:2c17e637c8e4f9202300bd5fc26bc98a7099f49559ca0a8921cf692ffd4a1675\nStatus: Downloaded newer image for gcr.io/google_containers/kube-scheduler-amd64:v1.9.3", "stdout_lines": ["v1.9.3: Pulling from google_containers/kube-scheduler-amd64", "57310166fe88: Already exists", "4122df38b6ef: Pulling fs layer", "4122df38b6ef: Verifying Checksum", "4122df38b6ef: Download complete", "4122df38b6ef: Pull complete", "Digest: sha256:2c17e637c8e4f9202300bd5fc26bc98a7099f49559ca0a8921cf692ffd4a1675", "Status: Downloaded newer image for gcr.io/google_containers/kube-scheduler-amd64:v1.9.3"]}
TASK [master : adding ('k8sceph-01', 'k8sceph-01') to the kubeadm_master_config.apiServerCertSANs] ***
ok: [k8sceph-01] => {"ansible_facts": {"extended_cert_list": ["k8sceph-01"]}, "changed": false}
TASK [master : merging ('k8sceph-01', 'k8sceph-01') to the kubeadm_master_config.apiServerCertSANs] ***
ok: [k8sceph-01] => {"ansible_facts": {"kubeadm_master_config": {"api": null, "apiServerCertSANs": ["k8sceph-01"], "apiServerExtraArgs": {"service-node-port-range": "79-32767"}, "apiVersion": "kubeadm.k8s.io/v1alpha1", "kind": "MasterConfiguration", "kubernetesVersion": "v1.9.3", "networking": {"podSubnet": "10.244.0.0/16"}, "token": "secret.token4yourbyok8s"}}, "changed": false}
TASK [master : This is the kubeadm_master_config to be used] *******************
ok: [k8sceph-01] => {
"kubeadm_master_config": {
"api": null,
"apiServerCertSANs": [
"k8sceph-01"
],
"apiServerExtraArgs": {
"service-node-port-range": "79-32767"
},
"apiVersion": "kubeadm.k8s.io/v1alpha1",
"kind": "MasterConfiguration",
"kubernetesVersion": "v1.9.3",
"networking": {
"podSubnet": "10.244.0.0/16"
},
"token": "secret.token4yourbyok8s"
}
}
TASK [master : Make sure /etc/kubernetes folder exists] ************************
ok: [k8sceph-01] => {"changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/kubernetes/", "size": 4096, "state": "directory", "uid": 0}
TASK [master : Writing kubeadm_master_config to /etc/kubernetes/kubeadm-master.conf] ***
changed: [k8sceph-01] => {"changed": true, "checksum": "5362966ba2c2c84d0643c9e80ea23f3361ca05a3", "dest": "/etc/kubernetes/kubeadm-master.conf", "gid": 0, "group": "root", "md5sum": "897954ff7a19ef14e91134503e63d2e5", "mode": "0644", "owner": "root", "size": 260, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1527573748.8071082-4654142010595/source", "state": "file", "uid": 0}
TASK [master : Initialize cluster with --config /etc/kubernetes/kubeadm-master.conf] ***
changed: [k8sceph-01] => {"changed": true, "cmd": ["/usr/bin/kubeadm", "init", "--config", "/etc/kubernetes/kubeadm-master.conf"], "delta": "0:00:38.751634", "end": "2018-05-29 06:03:08.591943", "rc": 0, "start": "2018-05-29 06:02:29.840309", "stderr": "\t[WARNING FileExisting-crictl]: crictl not found in system path", "stderr_lines": ["\t[WARNING FileExisting-crictl]: crictl not found in system path"], "stdout": "[init] Using Kubernetes version: v1.9.3\n[init] Using Authorization modes: [Node RBAC]\n[preflight] Running pre-flight checks.\n[certificates] Generated ca certificate and key.\n[certificates] Generated apiserver certificate and key.\n[certificates] apiserver serving cert is signed for DNS names [k8sceph-01 kubernetes kubernetes.default kubernetes.default.svc kubernetes.default.svc.cluster.local k8sceph-01] and IPs [10.96.0.1 10.0.2.15]\n[certificates] Generated apiserver-kubelet-client certificate and key.\n[certificates] Generated sa key and public key.\n[certificates] Generated front-proxy-ca certificate and key.\n[certificates] Generated front-proxy-client certificate and key.\n[certificates] Valid certificates and keys now exist in \"/etc/kubernetes/pki\"\n[kubeconfig] Wrote KubeConfig file to disk: \"admin.conf\"\n[kubeconfig] Wrote KubeConfig file to disk: \"kubelet.conf\"\n[kubeconfig] Wrote KubeConfig file to disk: \"controller-manager.conf\"\n[kubeconfig] Wrote KubeConfig file to disk: \"scheduler.conf\"\n[controlplane] Wrote Static Pod manifest for component kube-apiserver to \"/etc/kubernetes/manifests/kube-apiserver.yaml\"\n[controlplane] Wrote Static Pod manifest for component kube-controller-manager to \"/etc/kubernetes/manifests/kube-controller-manager.yaml\"\n[controlplane] Wrote Static Pod manifest for component kube-scheduler to \"/etc/kubernetes/manifests/kube-scheduler.yaml\"\n[etcd] Wrote Static Pod manifest for a local etcd instance to \"/etc/kubernetes/manifests/etcd.yaml\"\n[init] Waiting for the kubelet to boot up the control plane as Static Pods from directory \"/etc/kubernetes/manifests\".\n[init] This might take a minute or longer if the control plane images have to be pulled.\n[apiclient] All control plane components are healthy after 35.501396 seconds\n[uploadconfig] Storing the configuration used in ConfigMap \"kubeadm-config\" in the \"kube-system\" Namespace\n[markmaster] Will mark node k8sceph-01 as master by adding a label and a taint\n[markmaster] Master k8sceph-01 tainted and labelled with key/value: node-role.kubernetes.io/master=\"\"\n[bootstraptoken] Using token: secret.token4yourbyok8s\n[bootstraptoken] Configured RBAC rules to allow Node Bootstrap tokens to post CSRs in order for nodes to get long term certificate credentials\n[bootstraptoken] Configured RBAC rules to allow the csrapprover controller automatically approve CSRs from a Node Bootstrap Token\n[bootstraptoken] Configured RBAC rules to allow certificate rotation for all node client certificates in the cluster\n[bootstraptoken] Creating the \"cluster-info\" ConfigMap in the \"kube-public\" namespace\n[addons] Applied essential addon: kube-dns\n[addons] Applied essential addon: kube-proxy\n\nYour Kubernetes master has initialized successfully!\n\nTo start using your cluster, you need to run the following as a regular user:\n\n mkdir -p $HOME/.kube\n sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config\n sudo chown $(id -u):$(id -g) $HOME/.kube/config\n\nYou should now deploy a pod network to the cluster.\nRun \"kubectl apply -f [podnetwork].yaml\" with one of the options listed at:\n https://kubernetes.io/docs/concepts/cluster-administration/addons/\n\nYou can now join any number of machines by running the following on each node\nas root:\n\n kubeadm join --token secret.token4yourbyok8s 10.0.2.15:6443 --discovery-token-ca-cert-hash sha256:5540601b6cd0c60b338cde42654116866708a8c775cea2f052eda1adc9c6df09", "stdout_lines": ["[init] Using Kubernetes version: v1.9.3", "[init] Using Authorization modes: [Node RBAC]", "[preflight] Running pre-flight checks.", "[certificates] Generated ca certificate and key.", "[certificates] Generated apiserver certificate and key.", "[certificates] apiserver serving cert is signed for DNS names [k8sceph-01 kubernetes kubernetes.default kubernetes.default.svc kubernetes.default.svc.cluster.local k8sceph-01] and IPs [10.96.0.1 10.0.2.15]", "[certificates] Generated apiserver-kubelet-client certificate and key.", "[certificates] Generated sa key and public key.", "[certificates] Generated front-proxy-ca certificate and key.", "[certificates] Generated front-proxy-client certificate and key.", "[certificates] Valid certificates and keys now exist in \"/etc/kubernetes/pki\"", "[kubeconfig] Wrote KubeConfig file to disk: \"admin.conf\"", "[kubeconfig] Wrote KubeConfig file to disk: \"kubelet.conf\"", "[kubeconfig] Wrote KubeConfig file to disk: \"controller-manager.conf\"", "[kubeconfig] Wrote KubeConfig file to disk: \"scheduler.conf\"", "[controlplane] Wrote Static Pod manifest for component kube-apiserver to \"/etc/kubernetes/manifests/kube-apiserver.yaml\"", "[controlplane] Wrote Static Pod manifest for component kube-controller-manager to \"/etc/kubernetes/manifests/kube-controller-manager.yaml\"", "[controlplane] Wrote Static Pod manifest for component kube-scheduler to \"/etc/kubernetes/manifests/kube-scheduler.yaml\"", "[etcd] Wrote Static Pod manifest for a local etcd instance to \"/etc/kubernetes/manifests/etcd.yaml\"", "[init] Waiting for the kubelet to boot up the control plane as Static Pods from directory \"/etc/kubernetes/manifests\".", "[init] This might take a minute or longer if the control plane images have to be pulled.", "[apiclient] All control plane components are healthy after 35.501396 seconds", "[uploadconfig] Storing the configuration used in ConfigMap \"kubeadm-config\" in the \"kube-system\" Namespace", "[markmaster] Will mark node k8sceph-01 as master by adding a label and a taint", "[markmaster] Master k8sceph-01 tainted and labelled with key/value: node-role.kubernetes.io/master=\"\"", "[bootstraptoken] Using token: secret.token4yourbyok8s", "[bootstraptoken] Configured RBAC rules to allow Node Bootstrap tokens to post CSRs in order for nodes to get long term certificate credentials", "[bootstraptoken] Configured RBAC rules to allow the csrapprover controller automatically approve CSRs from a Node Bootstrap Token", "[bootstraptoken] Configured RBAC rules to allow certificate rotation for all node client certificates in the cluster", "[bootstraptoken] Creating the \"cluster-info\" ConfigMap in the \"kube-public\" namespace", "[addons] Applied essential addon: kube-dns", "[addons] Applied essential addon: kube-proxy", "", "Your Kubernetes master has initialized successfully!", "", "To start using your cluster, you need to run the following as a regular user:", "", " mkdir -p $HOME/.kube", " sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config", " sudo chown $(id -u):$(id -g) $HOME/.kube/config", "", "You should now deploy a pod network to the cluster.", "Run \"kubectl apply -f [podnetwork].yaml\" with one of the options listed at:", " https://kubernetes.io/docs/concepts/cluster-administration/addons/", "", "You can now join any number of machines by running the following on each node", "as root:", "", " kubeadm join --token secret.token4yourbyok8s 10.0.2.15:6443 --discovery-token-ca-cert-hash sha256:5540601b6cd0c60b338cde42654116866708a8c775cea2f052eda1adc9c6df09"]}
TASK [master : kubeadm_init output] ********************************************
ok: [k8sceph-01] => {
"msg": "Hello world!"
}
TASK [master : kubeadm_init output var] ****************************************
skipping: [k8sceph-01] => {"skipped_reason": "Verbosity threshold not met."}
TASK [master : find the token of the newly created cluster] ********************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [master : replace] ********************************************************
changed: [k8sceph-01] => (item=/etc/kubernetes/admin.conf) => {"changed": true, "item": "/etc/kubernetes/admin.conf", "msg": "1 replacements made"}
changed: [k8sceph-01] => (item=/etc/kubernetes/kubelet.conf) => {"changed": true, "item": "/etc/kubernetes/kubelet.conf", "msg": "1 replacements made"}
TASK [master : lineinfile] *****************************************************
skipping: [k8sceph-01] => (item=/etc/kubernetes/manifests/kube-apiserver.yaml) => {"changed": false, "item": "/etc/kubernetes/manifests/kube-apiserver.yaml", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-01] => (item=/etc/kubernetes/manifests/kube-controller-manager.yaml) => {"changed": false, "item": "/etc/kubernetes/manifests/kube-controller-manager.yaml", "skip_reason": "Conditional result was False"}
TASK [master : export KUBECONFIG in master's ~/.bash_profile] ******************
changed: [k8sceph-01] => {"backup": "", "changed": true, "msg": "line added"}
TASK [master : Wait few seconds for images pulls and cluster services to start] ***
Pausing for 3 seconds
(ctrl+C then 'C' = continue early, ctrl+C then 'A' = abort)
ok: [k8sceph-01] => {"changed": false, "delta": 3, "echo": true, "rc": 0, "start": "2018-05-29 08:03:10.577542", "stderr": "", "stdout": "Paused for 3.0 seconds", "stop": "2018-05-29 08:03:13.577626", "user_input": ""}
RUNNING HANDLER [master : Restart kubelet] *************************************
changed: [k8sceph-01] => {"changed": true, "name": "kubelet", "state": "started", "status": {"ActiveEnterTimestamp": "Tue 2018-05-29 06:02:41 UTC", "ActiveEnterTimestampMonotonic": "411279356", "ActiveExitTimestamp": "Tue 2018-05-29 06:02:31 UTC", "ActiveExitTimestampMonotonic": "401230185", "ActiveState": "active", "After": "basic.target system.slice sysinit.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2018-05-29 06:02:41 UTC", "AssertTimestampMonotonic": "411278078", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CPUUsageNSec": "1004018012", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2018-05-29 06:02:41 UTC", "ConditionTimestampMonotonic": "411278078", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/kubelet.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "kubelet: The Kubernetes Node Agent", "DevicePolicy": "auto", "Documentation": "http://kubernetes.io/docs/", "DropInPaths": "/etc/systemd/system/kubelet.service.d/10-kubeadm.conf", "Environment": "KUBELET_KUBECONFIG_ARGS=--bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf\\x20--kubeconfig=/etc/kubernetes/kubelet.conf KUBELET_SYSTEM_PODS_ARGS=--pod-manifest-path=/etc/kubernetes/manifests\\x20--allow-privileged=true KUBELET_NETWORK_ARGS=--network-plugin=cni\\x20--cni-conf-dir=/etc/cni/net.d\\x20--cni-bin-dir=/opt/cni/bin KUBELET_DNS_ARGS=--cluster-dns=10.96.0.10\\x20--cluster-domain=cluster.local KUBELET_AUTHZ_ARGS=--authorization-mode=Webhook\\x20--client-ca-file=/etc/kubernetes/pki/ca.crt KUBELET_CADVISOR_ARGS=--cadvisor-port=0 KUBELET_CERTIFICATE_ARGS=--rotate-certificates=true\\x20--cert-dir=/var/lib/kubelet/pki", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "20388", "ExecMainStartTimestamp": "Tue 2018-05-29 06:02:41 UTC", "ExecMainStartTimestampMonotonic": "411279284", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/kubelet ; argv[]=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_SYSTEM_PODS_ARGS $KUBELET_NETWORK_ARGS $KUBELET_DNS_ARGS $KUBELET_AUTHZ_ARGS $KUBELET_CADVISOR_ARGS $KUBELET_CERTIFICATE_ARGS $KUBELET_EXTRA_ARGS ; ignore_errors=no ; start_time=[Tue 2018-05-29 06:02:41 UTC] ; stop_time=[n/a] ; pid=20388 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/lib/systemd/system/kubelet.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "kubelet.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2018-05-29 06:02:41 UTC", "InactiveEnterTimestampMonotonic": "411277995", "InactiveExitTimestamp": "Tue 2018-05-29 06:02:41 UTC", "InactiveExitTimestampMonotonic": "411279356", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitASSoft": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCORESoft": "0", "LimitCPU": "18446744073709551615", "LimitCPUSoft": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitDATASoft": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitFSIZESoft": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitLOCKSSoft": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "4096", "LimitNOFILESoft": "1024", "LimitNPROC": "7843", "LimitNPROCSoft": "7843", "LimitRSS": "18446744073709551615", "LimitRSSSoft": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "18446744073709551615", "LimitRTTIMESoft": "18446744073709551615", "LimitSIGPENDING": "7843", "LimitSIGPENDINGSoft": "7843", "LimitSTACK": "18446744073709551615", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "MainPID": "20388", "MemoryAccounting": "no", "MemoryCurrent": "36392960", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NFileDescriptorStore": "0", "Names": "kubelet.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "sysinit.target system.slice", "Restart": "always", "RestartUSec": "10s", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StateChangeTimestamp": "Tue 2018-05-29 06:02:41 UTC", "StateChangeTimestampMonotonic": "411279356", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "11", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2018-05-29 06:02:41 UTC", "WatchdogTimestampMonotonic": "411279355", "WatchdogUSec": "0"}}
TASK [master : Wait few seconds for images pulls and cluster services to start] ***
Pausing for 10 seconds
(ctrl+C then 'C' = continue early, ctrl+C then 'A' = abort)
ok: [k8sceph-01] => {"changed": false, "delta": 10, "echo": true, "rc": 0, "start": "2018-05-29 08:03:14.259016", "stderr": "", "stdout": "Paused for 10.0 seconds", "stop": "2018-05-29 08:03:24.259122", "user_input": ""}
TASK [master : apply master_uncordon when cluster is one machine only] *********
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [master : sanity - wait for alls pod to be running (besides kube-dns which won't be ready yet on multi machine cluster)] ***
FAILED - RETRYING: sanity - wait for alls pod to be running (besides kube-dns which won't be ready yet on multi machine cluster) (20 retries left).
ok: [k8sceph-01] => {"attempts": 2, "changed": false, "cmd": "kubectl get --namespace kube-system pods --no-headers | grep -v -w 'Running' | grep -v 'kube-dns' || true", "delta": "0:00:00.543208", "end": "2018-05-29 06:03:30.632254", "rc": 0, "start": "2018-05-29 06:03:30.089046", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
PLAY [node] ********************************************************************
TASK [node conditional role] ***************************************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [node : set_fact] *********************************************************
skipping: [k8sceph-02] => {"changed": false, "skip_reason": "Conditional result was False"}
skipping: [k8sceph-03] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [node : set_fact] *********************************************************
ok: [k8sceph-02] => {"ansible_facts": {"kubeadm_token": "secret.token4yourbyok8s"}, "changed": false}
ok: [k8sceph-03] => {"ansible_facts": {"kubeadm_token": "secret.token4yourbyok8s"}, "changed": false}
TASK [node : token to be used is] **********************************************
ok: [k8sceph-02] => {
"kubeadm_token": "secret.token4yourbyok8s"
}
ok: [k8sceph-03] => {
"kubeadm_token": "secret.token4yourbyok8s"
}
TASK [node : Wait 300 seconds for master at k8sceph-01:6443 to become open] ****
fatal: [k8sceph-02]: FAILED! => {"changed": false, "elapsed": 300, "msg": "Timeout when waiting for k8sceph-01:6443"}
fatal: [k8sceph-03]: FAILED! => {"changed": false, "elapsed": 300, "msg": "Timeout when waiting for k8sceph-01:6443"}
PLAY [master] ******************************************************************
TASK [post_deploy : include] ***************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/post_deploy/tasks/all.yml for k8sceph-01
TASK [post_deploy : include] ***************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/post_deploy/tasks/network.yml for k8sceph-01
TASK [post_deploy : set_fact] **************************************************
ok: [k8sceph-01] => {"ansible_facts": {"env_kc": {"KUBECONFIG": "/etc/kubernetes/admin.conf"}}, "changed": false}
TASK [post_deploy : Copy weave net script] *************************************
changed: [k8sceph-01] => {"changed": true, "checksum_dest": null, "checksum_src": "eca4f91923a2f3a54e2298bff3ca863eab7eb6d0", "dest": "/usr/local/bin/weave", "gid": 0, "group": "root", "md5sum": "e721c02107b41fb4995e46ebe703230c", "mode": "0744", "msg": "OK (50387 bytes)", "owner": "root", "size": 50387, "src": "/tmp/tmpNjmW4T", "state": "file", "status_code": 200, "uid": 0, "url": "https://raw.githubusercontent.com/weaveworks/weave/master/weave"}
TASK [post_deploy : Create cluster network] ************************************
changed: [k8sceph-01] => (item=https://raw.githubusercontent.com/coreos/flannel/v0.10.0/Documentation/kube-flannel.yml) => {"changed": true, "cmd": ["/usr/bin/kubectl", "apply", "-f", "https://raw.githubusercontent.com/coreos/flannel/v0.10.0/Documentation/kube-flannel.yml"], "delta": "0:00:00.622479", "end": "2018-05-29 06:08:36.439964", "item": "https://raw.githubusercontent.com/coreos/flannel/v0.10.0/Documentation/kube-flannel.yml", "rc": 0, "start": "2018-05-29 06:08:35.817485", "stderr": "", "stderr_lines": [], "stdout": "clusterrole \"flannel\" created\nclusterrolebinding \"flannel\" created\nserviceaccount \"flannel\" created\nconfigmap \"kube-flannel-cfg\" created\ndaemonset \"kube-flannel-ds\" created", "stdout_lines": ["clusterrole \"flannel\" created", "clusterrolebinding \"flannel\" created", "serviceaccount \"flannel\" created", "configmap \"kube-flannel-cfg\" created", "daemonset \"kube-flannel-ds\" created"]}
TASK [post_deploy : sanity - wait for alls pod to be running (besides kube-dns for now, as it might be forced to a node if master did not allow it due to tains)] ***
FAILED - RETRYING: sanity - wait for alls pod to be running (besides kube-dns for now, as it might be forced to a node if master did not allow it due to tains) (40 retries left).
FAILED - RETRYING: sanity - wait for alls pod to be running (besides kube-dns for now, as it might be forced to a node if master did not allow it due to tains) (39 retries left).
ok: [k8sceph-01] => {"attempts": 3, "changed": false, "cmd": "kubectl get --namespace kube-system pods --no-headers | grep -v -w 'Running' | grep -v 'kube-dns' || true", "delta": "0:00:00.267075", "end": "2018-05-29 06:08:44.812958", "rc": 0, "start": "2018-05-29 06:08:44.545883", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
TASK [post_deploy : include] ***************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/post_deploy/tasks/post_cluster_deploy.yml for k8sceph-01
TASK [post_deploy : set_fact] **************************************************
ok: [k8sceph-01] => {"ansible_facts": {"env_kc": {"KUBECONFIG": "/etc/kubernetes/admin.conf"}}, "changed": false}
TASK [post_deploy : Install k8s_addons_urls (with proxy)] **********************
skipping: [k8sceph-01] => (item=) => {"changed": false, "item": "", "skip_reason": "Conditional result was False"}
TASK [post_deploy : include] ***************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/post_deploy/tasks/sanity.yml for k8sceph-01
TASK [post_deploy : Wait few seconds for network to start deploying] ***********
Pausing for 3 seconds
(ctrl+C then 'C' = continue early, ctrl+C then 'A' = abort)
ok: [k8sceph-01] => {"changed": false, "delta": 3, "echo": true, "rc": 0, "start": "2018-05-29 08:08:45.174185", "stderr": "", "stdout": "Paused for 3.0 seconds", "stop": "2018-05-29 08:08:48.174264", "user_input": ""}
TASK [post_deploy : sanity - wait for alls pod to be running (besides kube-dns for now, as it might be forced to a node if master did not allow it due to tains)] ***
ok: [k8sceph-01] => {"attempts": 1, "changed": false, "cmd": "kubectl get --namespace kube-system pods --no-headers | grep -v -w 'Running' | grep -v 'kube-dns' || true", "delta": "0:00:00.228234", "end": "2018-05-29 06:08:48.796731", "rc": 0, "start": "2018-05-29 06:08:48.568497", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
TASK [post_deploy : include] ***************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/post_deploy/tasks/taints.yml for k8sceph-01
TASK [post_deploy : apply taints_master] ***************************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [post_deploy : apply master_uncordon] *************************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [post_deploy : Wait few seconds for taints/uncordon on master take effect] ***
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [storage : include] *******************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/storage/tasks/create_all.yml for k8sceph-01
TASK [storage : include] *******************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/storage/tasks/nfs.yml for k8sceph-01
TASK [storage : prepare nfs provisioner] ***************************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [storage : create nfs provisioner] ****************************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [storage : include] *******************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/storage/tasks/rook.yml for k8sceph-01
TASK [storage : set_fact] ******************************************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [storage : k8s cluster pre-installation sanity - check if all current k8s pods are in Running status] ***
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [storage : ensure jq third party exists on the machine (can come from from epel, pip, etc)] ***
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [storage : install rook operator (using rook.operator_url)] ***************
skipping: [k8sceph-01] => (item=) => {"changed": false, "item": "", "skip_reason": "Conditional result was False"}
TASK [storage : git clone rook (till charts.rook.io is created)] ***************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [storage : deploy rook operator (using helm chart) - prefered method] *****
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [storage : rook operator pod sanity] **************************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [storage : wait for rook.io/, Kind=Cluster to be created] *****************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [storage : Wait few more seconds for rook.io/, Kind=Cluster to be created] ***
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [storage : prepare rook-cluster.yml file] *********************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [storage : install rook cluster and create rook namespace] ****************
skipping: [k8sceph-01] => (item=/tmp/rook-cluster.yml) => {"changed": false, "item": "/tmp/rook-cluster.yml", "skip_reason": "Conditional result was False"}
TASK [storage : rook cluster deploy sanity - wait for all installed pods to become Running] ***
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [storage : prepare rook-ceph_conf-ConfigMap.yml file] *********************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [storage : install rook ceph_conf config map - namespace rook should be available] ***
skipping: [k8sceph-01] => (item=/tmp/rook_ceph_conf.yml) => {"changed": false, "item": "/tmp/rook_ceph_conf.yml", "skip_reason": "Conditional result was False"}
TASK [storage : rook-tools allowed_consumer_namespaces secret injection] *******
skipping: [k8sceph-01] => (item=kube-system) => {"changed": false, "item": "kube-system", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-01] => (item=default) => {"changed": false, "item": "default", "skip_reason": "Conditional result was False"}
TASK [storage : install rook client and tools - aka client_tools_url] **********
skipping: [k8sceph-01] => (item=https://github.com/rook/rook/raw/master/demo/kubernetes/rook-client.yaml) => {"changed": false, "item": "https://github.com/rook/rook/raw/master/demo/kubernetes/rook-client.yaml", "skip_reason": "Conditional result was False"}
skipping: [k8sceph-01] => (item=https://github.com/rook/rook/raw/master/demo/kubernetes/rook-tools.yaml) => {"changed": false, "item": "https://github.com/rook/rook/raw/master/demo/kubernetes/rook-tools.yaml", "skip_reason": "Conditional result was False"}
TASK [storage : rook client tools deploy sanity - wait for all installed pods to become Running] ***
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [storage : rook cluster deploy full sanity via rook client command rook node ls] ***
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [storage : rook-client create rook sharedfs] ******************************
skipping: [k8sceph-01] => (item={'name': 'sharedfs', 'replication': 2}) => {"changed": false, "item": {"name": "sharedfs", "replication": 2}, "skip_reason": "Conditional result was False"}
TASK [storage : rook-tools set replication(redundancy) for sharedfs data] ******
skipping: [k8sceph-01] => (item={'name': 'sharedfs', 'replication': 2}) => {"changed": false, "item": {"name": "sharedfs", "replication": 2}, "skip_reason": "Conditional result was False"}
TASK [storage : rook-tools set replication(redundancy) for sharedfs metadata] ***
skipping: [k8sceph-01] => (item={'name': 'sharedfs', 'replication': 2}) => {"changed": false, "item": {"name": "sharedfs", "replication": 2}, "skip_reason": "Conditional result was False"}
TASK [storage : wait for rook.io/, Kind=Pool to be created] ********************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [storage : prepare rook-pool.yml file] ************************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [storage : install rook rook-pool.yml file] *******************************
skipping: [k8sceph-01] => (item=/tmp/rook-pool.yml) => {"changed": false, "item": "/tmp/rook-pool.yml", "skip_reason": "Conditional result was False"}
TASK [storage : prepare rook-storageclass.yml file] ****************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [storage : install rook rook-storageclass.yml file] ***********************
skipping: [k8sceph-01] => (item=/tmp/rook-storageclass.yml) => {"changed": false, "item": "/tmp/rook-storageclass.yml", "skip_reason": "Conditional result was False"}
TASK [storage : include] *******************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/storage/tasks/vsphere.yml for k8sceph-01
TASK [storage : set_fact] ******************************************************
ok: [k8sceph-01] => {"ansible_facts": {"env_kc": {"KUBECONFIG": "/etc/kubernetes/admin.conf"}}, "changed": false}
TASK [storage : Create vsphere storage class] **********************************
skipping: [k8sceph-01] => (item=https://github.com/kubernetes/kubernetes/raw/master/cluster/addons/storage-class/vsphere/default.yaml) => {"changed": false, "item": "https://github.com/kubernetes/kubernetes/raw/master/cluster/addons/storage-class/vsphere/default.yaml", "skip_reason": "Conditional result was False"}
TASK [helm : include] **********************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/helm/tasks/all.yml for k8sceph-01
TASK [helm : include] **********************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/helm/tasks/helm_reset.yml for k8sceph-01
TASK [helm : set_fact] *********************************************************
ok: [k8sceph-01] => {"ansible_facts": {"env_kc": {"KUBECONFIG": "/etc/kubernetes/admin.conf", "PATH": "/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin"}}, "changed": false}
TASK [helm : helm list all apps] ***********************************************
ok: [k8sceph-01] => {"changed": false, "cmd": "helm list | tail -n +2 | awk '{print $1}'", "delta": "0:00:00.003708", "end": "2018-05-29 06:08:50.681343", "rc": 0, "start": "2018-05-29 06:08:50.677635", "stderr": "/bin/sh: 1: helm: not found", "stderr_lines": ["/bin/sh: 1: helm: not found"], "stdout": "", "stdout_lines": []}
TASK [helm : helm delete purge all apps] ***************************************
TASK [helm : wait till all helm apps are deleted/purged] ***********************
ok: [k8sceph-01] => {"attempts": 1, "changed": false, "cmd": "helm list | tail -n +2", "delta": "0:00:00.001650", "end": "2018-05-29 06:08:51.142210", "rc": 0, "start": "2018-05-29 06:08:51.140560", "stderr": "/bin/sh: 1: helm: not found", "stderr_lines": ["/bin/sh: 1: helm: not found"], "stdout": "", "stdout_lines": []}
TASK [helm : helm remove/cleanup] **********************************************
fatal: [k8sceph-01]: FAILED! => {"changed": true, "cmd": "( helm reset || true ) && ( kubectl delete deployment --namespace=kube-system tiller-deploy || true ) && ( kubectl delete service --namespace=kube-system tiller-deploy || true ) && ( kubectl delete clusterrolebinding tiller || true ) && ( kubectl delete --namespace=kube-system sa tiller )", "delta": "0:00:00.499687", "end": "2018-05-29 06:08:52.105556", "msg": "non-zero return code", "rc": 1, "start": "2018-05-29 06:08:51.605869", "stderr": "/bin/sh: 1: helm: not found\nError from server (NotFound): deployments.extensions \"tiller-deploy\" not found\nError from server (NotFound): services \"tiller-deploy\" not found\nError from server (NotFound): clusterrolebindings.rbac.authorization.k8s.io \"tiller\" not found\nError from server (NotFound): serviceaccounts \"tiller\" not found", "stderr_lines": ["/bin/sh: 1: helm: not found", "Error from server (NotFound): deployments.extensions \"tiller-deploy\" not found", "Error from server (NotFound): services \"tiller-deploy\" not found", "Error from server (NotFound): clusterrolebindings.rbac.authorization.k8s.io \"tiller\" not found", "Error from server (NotFound): serviceaccounts \"tiller\" not found"], "stdout": "", "stdout_lines": []}
...ignoring
TASK [helm : include] **********************************************************
included: /home/arnaud/workspace/atlascloud-containers/roles/helm/tasks/helm.yml for k8sceph-01
TASK [helm : set_fact] *********************************************************
ok: [k8sceph-01] => {"ansible_facts": {"env_kc": {"KUBECONFIG": "/etc/kubernetes/admin.conf", "PATH": "/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/bin"}}, "changed": false}
TASK [helm : Download https://github.com/kubernetes/helm/raw/master/scripts/get] ***
changed: [k8sceph-01] => {"changed": true, "checksum_dest": null, "checksum_src": "8fa1a22fed9306dc2d4b812fa1954df11be6bc88", "dest": "/tmp/helm_install_script", "gid": 0, "group": "root", "md5sum": "a67aa8b5b950413e82e68c961c6db16c", "mode": "0755", "msg": "OK (6740 bytes)", "owner": "root", "size": 6740, "src": "/tmp/tmpi8Zkyb", "state": "file", "status_code": 200, "uid": 0, "url": "https://github.com/kubernetes/helm/raw/master/scripts/get"}
TASK [helm : copy helm install script] *****************************************
changed: [k8sceph-01] => {"changed": true, "checksum": "ce8c603012c423d5b02030855573af756a929a5c", "dest": "/tmp/get.sh", "gid": 1000, "group": "vagrant", "md5sum": "55b004593a79c8b19dec1f30b75203fa", "mode": "0755", "owner": "vagrant", "size": 7308, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1527574134.3582704-196406626018201/source", "state": "file", "uid": 1000}
TASK [helm : Run /tmp/get.sh] **************************************************
changed: [k8sceph-01] => {"changed": true, "cmd": "/tmp/get.sh --version latest", "delta": "0:00:03.005485", "end": "2018-05-29 06:08:58.420867", "rc": 0, "start": "2018-05-29 06:08:55.415382", "stderr": "--2018-05-29 06:08:55-- https://github.com/kubernetes/helm/releases/latest\nResolving github.com (github.com)... 192.30.253.112, 192.30.253.113\nConnecting to github.com (github.com)|192.30.253.112|:443... connected.\nHTTP request sent, awaiting response... 302 Found\nLocation: https://github.com/kubernetes/helm/releases/tag/v2.9.1 [following]\n--2018-05-29 06:08:55-- https://github.com/kubernetes/helm/releases/tag/v2.9.1\nReusing existing connection to github.com:443.\nHTTP request sent, awaiting response... 200 OK\nLength: unspecified [text/html]\nSaving to: 'STDOUT'\n\n 0K .......... .......... .......... ..... 346K=0.1s\n\n2018-05-29 06:08:56 (346 KB/s) - written to stdout [36046]", "stderr_lines": ["--2018-05-29 06:08:55-- https://github.com/kubernetes/helm/releases/latest", "Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113", "Connecting to github.com (github.com)|192.30.253.112|:443... connected.", "HTTP request sent, awaiting response... 302 Found", "Location: https://github.com/kubernetes/helm/releases/tag/v2.9.1 [following]", "--2018-05-29 06:08:55-- https://github.com/kubernetes/helm/releases/tag/v2.9.1", "Reusing existing connection to github.com:443.", "HTTP request sent, awaiting response... 200 OK", "Length: unspecified [text/html]", "Saving to: 'STDOUT'", "", " 0K .......... .......... .......... ..... 346K=0.1s", "", "2018-05-29 06:08:56 (346 KB/s) - written to stdout [36046]"], "stdout": "Running initArch\nRunning initOS\nRunning verifySupported\nhelm should be installes for linux-amd64\nRunning checkDesiredVersion\ntype is \nUsing wget to download install file\nversion to be installed is: v2.9.1\nRunning checkInstallVersion\nChecking /usr/local/bin/helm\nRunning downloadFile\nDownloading https://kubernetes-helm.storage.googleapis.com/helm-v2.9.1-linux-amd64.tar.gz\nRunning installFile\nPreparing to install into /usr/local/bin\nRunning testVersion\nhelm installed into /usr/local/bin/helm\nRun 'helm init' to configure helm.\nRunning cleanup", "stdout_lines": ["Running initArch", "Running initOS", "Running verifySupported", "helm should be installes for linux-amd64", "Running checkDesiredVersion", "type is ", "Using wget to download install file", "version to be installed is: v2.9.1", "Running checkInstallVersion", "Checking /usr/local/bin/helm", "Running downloadFile", "Downloading https://kubernetes-helm.storage.googleapis.com/helm-v2.9.1-linux-amd64.tar.gz", "Running installFile", "Preparing to install into /usr/local/bin", "Running testVersion", "helm installed into /usr/local/bin/helm", "Run 'helm init' to configure helm.", "Running cleanup"]}
TASK [helm : Run /tmp/helm_install_script] *************************************
skipping: [k8sceph-01] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [helm : helm completion shell] ********************************************
changed: [k8sceph-01] => {"changed": true, "cmd": "helm completion bash > ~/.kube/helm_completion.bash.inc", "delta": "0:00:00.063061", "end": "2018-05-29 06:08:59.001028", "rc": 0, "start": "2018-05-29 06:08:58.937967", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
TASK [helm : helm completion to ~/.bash_profile] *******************************
changed: [k8sceph-01] => {"backup": "", "changed": true, "msg": "line added"}
TASK [helm : helm remove/cleanup] **********************************************
fatal: [k8sceph-01]: FAILED! => {"changed": true, "cmd": "( helm reset || true ) && ( kubectl delete deployment --namespace=kube-system tiller-deploy || true ) && ( kubectl delete service --namespace=kube-system tiller-deploy || true ) && ( kubectl delete clusterrolebinding tiller || true ) && ( kubectl delete --namespace=kube-system sa tiller )", "delta": "0:00:00.629184", "end": "2018-05-29 06:09:00.624175", "msg": "non-zero return code", "rc": 1, "start": "2018-05-29 06:08:59.994991", "stderr": "Error: could not find tiller\nError from server (NotFound): deployments.extensions \"tiller-deploy\" not found\nError from server (NotFound): services \"tiller-deploy\" not found\nError from server (NotFound): clusterrolebindings.rbac.authorization.k8s.io \"tiller\" not found\nError from server (NotFound): serviceaccounts \"tiller\" not found", "stderr_lines": ["Error: could not find tiller", "Error from server (NotFound): deployments.extensions \"tiller-deploy\" not found", "Error from server (NotFound): services \"tiller-deploy\" not found", "Error from server (NotFound): clusterrolebindings.rbac.authorization.k8s.io \"tiller\" not found", "Error from server (NotFound): serviceaccounts \"tiller\" not found"], "stdout": "", "stdout_lines": []}
...ignoring
TASK [helm : create helm related RBAC (tiller sa)] *****************************
changed: [k8sceph-01] => {"changed": true, "cmd": "kubectl --namespace=kube-system create sa tiller", "delta": "0:00:00.132629", "end": "2018-05-29 06:09:01.239217", "rc": 0, "start": "2018-05-29 06:09:01.106588", "stderr": "", "stderr_lines": [], "stdout": "serviceaccount \"tiller\" created", "stdout_lines": ["serviceaccount \"tiller\" created"]}
TASK [helm : create helm related RBAC (tiller clusterrolebinding)] *************
changed: [k8sceph-01] => {"changed": true, "cmd": "kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller", "delta": "0:00:00.123238", "end": "2018-05-29 06:09:01.851223", "rc": 0, "start": "2018-05-29 06:09:01.727985", "stderr": "", "stderr_lines": [], "stdout": "clusterrolebinding \"tiller\" created", "stdout_lines": ["clusterrolebinding \"tiller\" created"]}
TASK [helm : helm init] ********************************************************
changed: [k8sceph-01] => {"changed": true, "cmd": "helm init --host k8sceph-01:6443", "delta": "0:00:00.859274", "end": "2018-05-29 06:09:03.198006", "rc": 0, "start": "2018-05-29 06:09:02.338732", "stderr": "", "stderr_lines": [], "stdout": "Creating /root/.helm \nCreating /root/.helm/repository \nCreating /root/.helm/repository/cache \nCreating /root/.helm/repository/local \nCreating /root/.helm/plugins \nCreating /root/.helm/starters \nCreating /root/.helm/cache/archive \nCreating /root/.helm/repository/repositories.yaml \nAdding stable repo with URL: https://kubernetes-charts.storage.googleapis.com \nAdding local repo with URL: http://127.0.0.1:8879/charts \n$HELM_HOME has been configured at /root/.helm.\n\nTiller (the Helm server-side component) has been installed into your Kubernetes Cluster.\n\nPlease note: by default, Tiller is deployed with an insecure 'allow unauthenticated users' policy.\nFor more information on securing your installation see: https://docs.helm.sh/using_helm/#securing-your-helm-installation\nHappy Helming!", "stdout_lines": ["Creating /root/.helm ", "Creating /root/.helm/repository ", "Creating /root/.helm/repository/cache ", "Creating /root/.helm/repository/local ", "Creating /root/.helm/plugins ", "Creating /root/.helm/starters ", "Creating /root/.helm/cache/archive ", "Creating /root/.helm/repository/repositories.yaml ", "Adding stable repo with URL: https://kubernetes-charts.storage.googleapis.com ", "Adding local repo with URL: http://127.0.0.1:8879/charts ", "$HELM_HOME has been configured at /root/.helm.", "", "Tiller (the Helm server-side component) has been installed into your Kubernetes Cluster.", "", "Please note: by default, Tiller is deployed with an insecure 'allow unauthenticated users' policy.", "For more information on securing your installation see: https://docs.helm.sh/using_helm/#securing-your-helm-installation", "Happy Helming!"]}
TASK [helm : helm sanity - wait for tiller pod to be running] ******************
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (100 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (99 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (98 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (97 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (96 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (95 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (94 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (93 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (92 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (91 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (90 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (89 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (88 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (87 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (86 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (85 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (84 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (83 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (82 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (81 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (80 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (79 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (78 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (77 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (76 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (75 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (74 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (73 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (72 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (71 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (70 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (69 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (68 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (67 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (66 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (65 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (64 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (63 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (62 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (61 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (60 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (59 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (58 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (57 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (56 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (55 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (54 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (53 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (52 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (51 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (50 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (49 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (48 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (47 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (46 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (45 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (44 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (43 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (42 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (41 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (40 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (39 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (38 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (37 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (36 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (35 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (34 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (33 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (32 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (31 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (30 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (29 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (28 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (27 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (26 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (25 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (24 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (23 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (22 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (21 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (20 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (19 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (18 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (17 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (16 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (15 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (14 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (13 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (12 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (11 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (10 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (9 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (8 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (7 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (6 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (5 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (4 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (3 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (2 retries left).
FAILED - RETRYING: helm sanity - wait for tiller pod to be running (1 retries left).
fatal: [k8sceph-01]: FAILED! => {"attempts": 100, "changed": true, "cmd": "kubectl get --namespace kube-system pods --no-headers | grep -w 'tiller-deploy' | grep -v -w 'Running' || true", "delta": "0:00:00.210018", "end": "2018-05-29 06:15:06.671091", "rc": 0, "start": "2018-05-29 06:15:06.461073", "stderr": "", "stderr_lines": [], "stdout": "tiller-deploy-7ccf99cd64-tm9cp 0/1 Pending 0 6m", "stdout_lines": ["tiller-deploy-7ccf99cd64-tm9cp 0/1 Pending 0 6m"]}
to retry, use: --limit @/home/arnaud/workspace/atlascloud-containers/site.retry
PLAY RECAP *********************************************************************
k8sceph-01 : ok=129 changed=54 unreachable=0 failed=1
k8sceph-02 : ok=54 changed=35 unreachable=0 failed=1
k8sceph-03 : ok=54 changed=35 unreachable=0 failed=1
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
arnaud@acer:~/workspace/atlascloud-containers$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment