Closed iptizer closed 4 years ago
You can specify a specific Docker version is needed with docker_version
. If the default centos8 version is not appropriate, I recommend to submit a PR.
I have same problem on Centos 8 / vagrant / hyper-v
this solved issue :
dnf install https://download.docker.com/linux/centos/7/x86_64/stable/Packages/containerd.io-1.2.6-3.3.el7.x86_64.rpm
got it here : https://serverfault.com/questions/990187/dnf-cannot-install-the-best-candidate-for-the-job#answer-990646
@iptizer @Miouge1 @floryut I've tested this issue in Kubespray v2.13.2 and I'm unable to reproduce the issue.
I believe the dependency has now been fixed in Docker CE v18.09.9.
On my worker-1
host which I scaled-out to.
[vagrant@worker-1 ~]$ sudo docker info
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 18.09.9
Storage Driver: overlay2
Backing Filesystem: xfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429
runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
init version: fec3683
Security Options:
seccomp
Profile: default
Kernel Version: 4.18.0-80.el8.x86_64
Operating System: CentOS Linux 8 (Core)
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.943GiB
Name: worker-1
ID: KNS4:ZADA:QNZA:G4MF:DXK4:MBV2:S234:ONGH:VOFI:FM25:7EXQ:VWB7
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Product License: Community Engine
Ansible output from scale.yml
$ ansible-playbook -i inventory/dev/hosts.ini --limit=worker-1 roles/kubespray/scale.yml -v
Using /github/devops/ansible/ansible.cfg as config file
PLAY [localhost] *************************************************************************************************************************************************************************************************skipping: no hosts matched
PLAY [all] *******************************************************************************************************************************************************************************************************Friday 03 July 2020 09:16:21 +0000 (0:00:00.053) 0:00:00.053 ***********
TASK [Set up proxy environment] **********************************************************************************************************************************************************************************ok: [worker-1] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}
[WARNING]: Could not match supplied host pattern, ignoring: bastion
PLAY [bastion[0]] ************************************************************************************************************************************************************************************************skipping: no hosts matched
PLAY [Bootstrap any new workers] *********************************************************************************************************************************************************************************Friday 03 July 2020 09:16:22 +0000 (0:00:00.508) 0:00:00.561 ***********
Friday 03 July 2020 09:16:22 +0000 (0:00:00.479) 0:00:01.040 ***********
Friday 03 July 2020 09:16:23 +0000 (0:00:00.490) 0:00:01.531 ***********
Friday 03 July 2020 09:16:23 +0000 (0:00:00.467) 0:00:01.999 ***********
Friday 03 July 2020 09:16:24 +0000 (0:00:00.475) 0:00:02.475 ***********
Friday 03 July 2020 09:16:24 +0000 (0:00:00.468) 0:00:02.944 ***********
Friday 03 July 2020 09:16:25 +0000 (0:00:00.490) 0:00:03.434 ***********
Friday 03 July 2020 09:16:25 +0000 (0:00:00.491) 0:00:03.925 ***********
Friday 03 July 2020 09:16:26 +0000 (0:00:00.477) 0:00:04.402 ***********
Friday 03 July 2020 09:16:26 +0000 (0:00:00.482) 0:00:04.884 ***********
Friday 03 July 2020 09:16:26 +0000 (0:00:00.451) 0:00:05.336 ***********
Friday 03 July 2020 09:16:27 +0000 (0:00:00.522) 0:00:05.858 ***********
Friday 03 July 2020 09:16:27 +0000 (0:00:00.484) 0:00:06.343 ***********
Friday 03 July 2020 09:16:28 +0000 (0:00:00.512) 0:00:06.855 ***********
TASK [kubespray-defaults : Configure defaults] *******************************************************************************************************************************************************************ok: [worker-1] => {
"msg": "Check roles/kubespray-defaults/defaults/main.yml"
}
Friday 03 July 2020 09:16:29 +0000 (0:00:00.498) 0:00:07.354 ***********
Friday 03 July 2020 09:16:29 +0000 (0:00:00.517) 0:00:07.872 ***********
Friday 03 July 2020 09:16:29 +0000 (0:00:00.451) 0:00:08.323 ***********
TASK [bootstrap-os : Fetch /etc/os-release] **********************************************************************************************************************************************************************ok: [worker-1] => {"changed": false, "rc": 0, "stderr": "Warning: Permanently added '10.240.0.14' (ECDSA) to the list of known hosts.\r\nShared connection to 10.240.0.14 closed.\r\n", "stderr_lines": ["Warning: Permanently added '10.240.0.14' (ECDSA) to the list of known hosts.", "Shared connection to 10.240.0.14 closed."], "stdout": "NAME=\"CentOS Linux\"\r\nVERSION=\"8 (Core)\"\r\nID=\"centos\"\r\nID_LIKE=\"rhel fedora\"\r\nVERSION_ID=\"8\"\r\nPLATFORM_ID=\"platform:el8\"\r\nPRETTY_NAME=\"CentOS Linux 8 (Core)\"\r\nANSI_COLOR=\"0;31\"\r\nCPE_NAME=\"cpe:/o:centos:centos:8\"\r\nHOME_URL=\"https://www.centos.org/\"\r\nBUG_REPORT_URL=\"https://bugs.centos.org/\"\r\n\r\nCENTOS_MANTISBT_PROJECT=\"CentOS-8\"\r\nCENTOS_MANTISBT_PROJECT_VERSION=\"8\"\r\nREDHAT_SUPPORT_PRODUCT=\"centos\"\r\nREDHAT_SUPPORT_PRODUCT_VERSION=\"8\"\r\n\r\n", "stdout_lines": ["NAME=\"CentOS Linux\"", "VERSION=\"8 (Core)\"", "ID=\"centos\"", "ID_LIKE=\"rhel fedora\"", "VERSION_ID=\"8\"", "PLATFORM_ID=\"platform:el8\"", "PRETTY_NAME=\"CentOS Linux 8 (Core)\"", "ANSI_COLOR=\"0;31\"", "CPE_NAME=\"cpe:/o:centos:centos:8\"", "HOME_URL=\"https://www.centos.org/\"", "BUG_REPORT_URL=\"https://bugs.centos.org/\"", "", "CENTOS_MANTISBT_PROJECT=\"CentOS-8\"", "CENTOS_MANTISBT_PROJECT_VERSION=\"8\"", "REDHAT_SUPPORT_PRODUCT=\"centos\"", "REDHAT_SUPPORT_PRODUCT_VERSION=\"8\"", ""]}
Friday 03 July 2020 09:16:30 +0000 (0:00:00.819) 0:00:09.143 ***********
included: /github/devops/ansible/roles/kubespray/roles/bootstrap-os/tasks/bootstrap-centos.yml for worker-1
Friday 03 July 2020 09:16:31 +0000 (0:00:00.496) 0:00:09.640 ***********
Friday 03 July 2020 09:16:31 +0000 (0:00:00.458) 0:00:10.098 ***********
Friday 03 July 2020 09:16:32 +0000 (0:00:00.607) 0:00:10.706 ***********
TASK [bootstrap-os : Check presence of fastestmirror.conf] *******************************************************************************************************************************************************ok: [worker-1] => {"ansible_facts": {"discovered_interpreter_python": "/usr/libexec/platform-python"}, "changed": false, "stat": {"exists": false}}
Friday 03 July 2020 09:16:33 +0000 (0:00:01.035) 0:00:11.742 ***********
Friday 03 July 2020 09:16:33 +0000 (0:00:00.496) 0:00:12.238 ***********
TASK [bootstrap-os : Add proxy to /etc/yum.conf if http_proxy is defined] ****************************************************************************************************************************************ok: [worker-1] => {"changed": false, "gid": 0, "group": "root", "mode": "0777", "msg": "OK", "owner": "root", "path": "/etc/yum.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 12, "state": "link", "uid": 0}
Friday 03 July 2020 09:16:34 +0000 (0:00:00.901) 0:00:13.140 ***********
TASK [bootstrap-os : Gather host facts to get ansible_distribution_major_version] ********************************************************************************************************************************ok: [worker-1]
Friday 03 July 2020 09:16:35 +0000 (0:00:01.159) 0:00:14.300 ***********
TASK [bootstrap-os : Install libselinux python package] **********************************************************************************************************************************************************ok: [worker-1] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []}
Friday 03 July 2020 09:16:38 +0000 (0:00:02.383) 0:00:16.683 ***********
Friday 03 July 2020 09:16:38 +0000 (0:00:00.517) 0:00:17.201 ***********
Friday 03 July 2020 09:16:39 +0000 (0:00:00.566) 0:00:17.767 ***********
Friday 03 July 2020 09:16:39 +0000 (0:00:00.521) 0:00:18.289 ***********
Friday 03 July 2020 09:16:40 +0000 (0:00:00.558) 0:00:18.848 ***********
Friday 03 July 2020 09:16:41 +0000 (0:00:00.537) 0:00:19.385 ***********
Friday 03 July 2020 09:16:41 +0000 (0:00:00.490) 0:00:19.876 ***********
TASK [bootstrap-os : Create remote_tmp for it is used by another module] *****************************************************************************************************************************************changed: [worker-1] => {"changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/root/.ansible/tmp", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 6, "state": "directory", "uid": 0}
Friday 03 July 2020 09:16:42 +0000 (0:00:00.849) 0:00:20.725 ***********
TASK [bootstrap-os : Gather host facts to get ansible_os_family] *************************************************************************************************************************************************ok: [worker-1]
Friday 03 July 2020 09:16:43 +0000 (0:00:00.791) 0:00:21.517 ***********
TASK [bootstrap-os : Assign inventory name to unconfigured hostnames (non-CoreOS, non-Flatcar, Suse and ClearLinux)] *********************************************************************************************ok: [worker-1] => {"ansible_facts": {"ansible_domain": "", "ansible_fqdn": "worker-1", "ansible_hostname": "worker-1", "ansible_nodename": "worker-1"}, "changed": false, "name": "worker-1"}
Friday 03 July 2020 09:16:44 +0000 (0:00:01.298) 0:00:22.816 ***********
Friday 03 July 2020 09:16:44 +0000 (0:00:00.516) 0:00:23.333 ***********
Friday 03 July 2020 09:16:45 +0000 (0:00:00.671) 0:00:24.005 ***********
Friday 03 July 2020 09:16:46 +0000 (0:00:00.471) 0:00:24.476 ***********
TASK [bootstrap-os : Ensure bash_completion.d folder exists] *****************************************************************************************************************************************************ok: [worker-1] => {"changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/bash_completion.d/", "secontext": "system_u:object_r:etc_t:s0", "size": 65, "state": "directory", "uid": 0}
[WARNING]: Could not match supplied host pattern, ignoring: calico-rr
PLAY [Gather facts] **********************************************************************************************************************************************************************************************Friday 03 July 2020 09:16:46 +0000 (0:00:00.717) 0:00:25.194 ***********
TASK [Gather minimal facts] **************************************************************************************************************************************************************************************ok: [worker-1]
Friday 03 July 2020 09:16:47 +0000 (0:00:00.356) 0:00:25.550 ***********
TASK [Gather necessary facts] ************************************************************************************************************************************************************************************ok: [worker-1] => (item=ansible_distribution_major_version)
ok: [worker-1] => (item=ansible_default_ipv4)
ok: [worker-1] => (item=ansible_all_ipv4_addresses)
ok: [worker-1] => (item=ansible_memtotal_mb)
ok: [worker-1] => (item=ansible_swaptotal_mb)
...
TASK [container-engine/docker : Ensure old versions of Docker are not installed. | RedHat] ***********************************************************************************************************************ok: [worker-1] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []}
Friday 03 July 2020 09:18:37 +0000 (0:00:00.998) 0:02:16.084 ***********
Friday 03 July 2020 09:18:37 +0000 (0:00:00.023) 0:02:16.108 ***********
Friday 03 July 2020 09:18:37 +0000 (0:00:00.024) 0:02:16.132 ***********
Friday 03 July 2020 09:18:37 +0000 (0:00:00.043) 0:02:16.176 ***********
Friday 03 July 2020 09:18:37 +0000 (0:00:00.043) 0:02:16.219 ***********
Friday 03 July 2020 09:18:37 +0000 (0:00:00.033) 0:02:16.253 ***********
TASK [container-engine/docker : Configure docker repository on RedHat/CentOS/Oracle Linux] ***********************************************************************************************************************changed: [worker-1] => {"changed": true, "checksum": "831876f4d10ff2dfd2199fa4cd3224a3cee27447", "dest": "/etc/yum.repos.d/docker-ce.repo", "gid": 0, "group": "root", "md5sum": "796a81e7703175d5dfd8e5b20ff193b7", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:system_conf_t:s0", "size": 213, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1593767917.94486-141131932566565/source", "state": "file", "uid": 0}
Friday 03 July 2020 09:18:38 +0000 (0:00:00.916) 0:02:17.169 ***********
TASK [container-engine/docker : check if container-selinux is available] *****************************************************************************************************************************************ok: [worker-1] => {"changed": false, "msg": "", "results": [{"arch": "noarch", "epoch": "2", "name": "container-selinux", "nevra": "2:container-selinux-2.124.0-1.module_el8.2.0+305+5e198a41.noarch", "release":
"1.module_el8.2.0+305+5e198a41", "repo": "AppStream", "version": "2.124.0", "yumstate": "available"}]}
Friday 03 July 2020 09:18:42 +0000 (0:00:03.545) 0:02:20.714 ***********
Friday 03 July 2020 09:18:42 +0000 (0:00:00.037) 0:02:20.752 ***********
TASK [container-engine/docker : Copy yum.conf for editing] *******************************************************************************************************************************************************changed: [worker-1] => {"changed": true, "checksum": "a8e3028ee0ae4afc34c98ad5056186f72c4d5465", "dest": "/etc/yum_docker.conf", "gid": 0, "group": "root", "md5sum": "75e697822e311482879b24f89708abc3", "mode":
"0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 82, "src": "/etc/yum.conf", "state": "file", "uid": 0}
Friday 03 July 2020 09:18:42 +0000 (0:00:00.380) 0:02:21.132 ***********
TASK [container-engine/docker : Edit copy of yum.conf to set obsoletes=0] ****************************************************************************************************************************************changed: [worker-1] => {"changed": true, "gid": 0, "group": "root", "mode": "0644", "msg": "option added", "owner": "root", "path": "/etc/yum_docker.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 94, "state": "file", "uid": 0}
Friday 03 July 2020 09:18:43 +0000 (0:00:00.249) 0:02:21.382 ***********
TASK [container-engine/docker : ensure docker packages are installed] ********************************************************************************************************************************************changed: [worker-1] => (item={'name': 'docker-ce-cli-18.09.9-3.el7', 'yum_conf': '/etc/yum_docker.conf'}) => {"ansible_loop_var": "item", "attempts": 1, "changed": true, "item": {"name": "docker-ce-cli-18.09.9-3.el7", "yum_conf": "/etc/yum_docker.conf"}, "msg": "", "rc": 0, "results": ["Installed: docker-ce-cli-1:18.09.9-3.el7.x86_64"]}
changed: [worker-1] => (item={'name': 'docker-ce-18.09.9-3.el7', 'yum_conf': '/etc/yum_docker.conf'}) => {"ansible_loop_var": "item", "attempts": 1, "changed": true, "item": {"name": "docker-ce-18.09.9-3.el7",
"yum_conf": "/etc/yum_docker.conf"}, "msg": "", "rc": 0, "results": ["Installed: libcgroup-0.41-19.el8.x86_64", "Installed: libsemanage-2.9-2.el8.x86_64", "Installed: selinux-policy-3.14.3-41.el8_2.4.noarch", "Installed: python3-policycoreutils-2.9-9.el8.noarch", "Installed: audit-libs-3.0-0.17.20191104git1c2f876.el8.x86_64", "Installed: container-selinux-2:2.124.0-1.module_el8.2.0+305+5e198a41.noarch", "Installed: containerd.io-1.2.13-3.2.el7.x86_64", "Installed: docker-ce-3:18.09.9-3.el7.x86_64", "Installed: selinux-policy-targeted-3.14.3-41.el8_2.4.noarch", "Installed: audit-3.0-0.17.20191104git1c2f876.el8.x86_64", "Installed: checkpolicy-2.9-1.el8.x86_64", "Installed: python3-audit-3.0-0.17.20191104git1c2f876.el8.x86_64", "Installed: policycoreutils-2.9-9.el8.x86_64", "Installed: python3-setools-4.2.2-2.el8.x86_64", "Installed: policycoreutils-python-utils-2.9-9.el8.noarch", "Installed: python3-libsemanage-2.9-2.el8.x86_64", "Removed: audit-3.0-0.10.20180831git0047a6c.el8.x86_64", "Removed: audit-libs-3.0-0.10.20180831git0047a6c.el8.x86_64", "Removed: policycoreutils-2.8-16.1.el8.x86_64", "Removed: selinux-policy-3.14.1-61.el8.noarch", "Removed: selinux-policy-targeted-3.14.1-61.el8.noarch", "Removed: libsemanage-2.8-5.el8.x86_64"]}
Friday 03 July 2020 09:21:01 +0000 (0:02:18.464) 0:04:39.847 ***********
Friday 03 July 2020 09:21:01 +0000 (0:00:00.081) 0:04:39.928 ***********
Friday 03 July 2020 09:21:01 +0000 (0:00:00.031) 0:04:39.960 ***********
Friday 03 July 2020 09:21:01 +0000 (0:00:00.031) 0:04:39.991 ***********
Friday 03 July 2020 09:21:01 +0000 (0:00:00.034) 0:04:40.025 ***********
TASK [container-engine/docker : ensure service is started if docker packages are already present] ****************************************************************************************************************changed: [worker-1] => {"changed": true, "name": "docker", "state": "started", "status": {"ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "firewalld.service docker.socket sysinit.target system.slice basic.target containerd.service systemd-journald.socket network-online.target", "AllowIsolate": "no", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BindsTo": "containerd.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ConsistsOf": "docker.socket", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "yes", "DelegateControllers": "cpu cpuacct io blkio memory devices pids", "Description": "Docker Application Container Engine", "DevicePolicy": "auto", "Documentation": "https://docs.docker.com", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "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:// --containerd=/run/containerd/containerd.sock ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/docker.service", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "docker.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "16777216", "LimitMEMLOCKSoft": "16777216", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7848", "LimitSIGPENDINGSoft": "7848", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "Names": "docker.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main",
"OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers":
"no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "docker.socket system.slice sysinit.target", "Restart": "always", "RestartUSec": "2s", "RestrictNamespaces": "no", "RestrictRealtime": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "1min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity",
"TimerSlackNSec": "50000", "Transient": "no", "TriggeredBy": "docker.socket", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-online.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
[WARNING]: flush_handlers task does not support when conditional
Friday 03 July 2020 09:21:03 +0000 (0:00:01.477) 0:04:41.503 ***********
RUNNING HANDLER [container-engine/docker : restart docker] *******************************************************************************************************************************************************changed: [worker-1] => {"changed": true, "cmd": ["/bin/true"], "delta": "0:00:00.002099", "end": "2020-07-03 09:21:03.402920", "rc": 0, "start": "2020-07-03 09:21:03.400821", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
Friday 03 July 2020 09:21:03 +0000 (0:00:00.269) 0:04:41.772 ***********
RUNNING HANDLER [container-engine/docker : Docker | reload systemd] **********************************************************************************************************************************************ok: [worker-1] => {"changed": false, "name": null, "status": {}}
Friday 03 July 2020 09:21:03 +0000 (0:00:00.507) 0:04:42.280 ***********
Friday 03 July 2020 09:21:03 +0000 (0:00:00.043) 0:04:42.324 ***********
RUNNING HANDLER [container-engine/docker : Docker | reload docker] ***********************************************************************************************************************************************changed: [worker-1] => {"changed": true, "name": "docker", "state": "started", "status": {"ActiveEnterTimestamp": "Fri 2020-07-03 09:21:03 UTC", "ActiveEnterTimestampMonotonic": "1968852145", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "docker.socket firewalld.service containerd.service basic.target network-online.target sysinit.target systemd-journald.socket system.slice", "AllowIsolate":
"no", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2020-07-03 09:21:02 UTC", "AssertTimestampMonotonic": "1968124644", "Before": "shutdown.target", "BindsTo": "containerd.service",
"BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock
cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2020-07-03 09:21:02 UTC", "ConditionTimestampMonotonic": "1968124643", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ConsistsOf": "docker.socket", "ControlGroup": "/system.slice/docker.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "yes", "DelegateControllers": "cpu cpuacct io blkio memory devices pids", "Description": "Docker Application Container Engine", "DevicePolicy": "auto", "Documentation": "https://docs.docker.com", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "28165", "ExecMainStartTimestamp": "Fri 2020-07-03 09:21:02 UTC", "ExecMainStartTimestampMonotonic": "1968125520", "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:// --containerd=/run/containerd/containerd.sock ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ;
status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/docker.service", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "docker.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2020-07-03 09:21:02 UTC", "InactiveExitTimestampMonotonic": "1968125544", "InvocationID": "20a4350434a8466889c842205bb2aeca", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "16777216", "LimitMEMLOCKSoft": "16777216", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7848", "LimitSIGPENDINGSoft": "7848", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogsDirectoryMode": "0755", "MainPID": "28165", "MemoryAccounting": "yes", "MemoryCurrent": "42475520", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "Names": "docker.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target docker.socket system.slice", "Restart": "always", "RestartUSec": "2s", "RestrictNamespaces": "no", "RestrictRealtime": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes",
"Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec":
"1min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2020-07-03 09:21:03 UTC", "StateChangeTimestampMonotonic": "1968852145", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "9", "TasksMax": "infinity", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "TriggeredBy": "docker.socket", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-online.target", "WatchdogTimestamp": "Fri 2020-07-03 09:21:03 UTC", "WatchdogTimestampMonotonic": "1968852143", "WatchdogUSec":
"0"}}
Friday 03 July 2020 09:21:04 +0000 (0:00:00.727) 0:04:43.052 ***********
RUNNING HANDLER [container-engine/docker : Docker | wait for docker] *********************************************************************************************************************************************changed: [worker-1] => {"attempts": 1, "changed": true, "cmd": ["/usr/bin/docker", "images"], "delta": "0:00:00.048785", "end": "2020-07-03 09:21:05.011949", "rc": 0, "start": "2020-07-03 09:21:04.963164", "stderr": "", "stderr_lines": [], "stdout": "REPOSITORY TAG IMAGE ID CREATED SIZE", "stdout_lines": ["REPOSITORY TAG IMAGE ID CREATED SIZE"]}
Friday 03 July 2020 09:21:05 +0000 (0:00:00.340) 0:04:43.392 ***********
TASK [container-engine/docker : set fact for docker_version] *****************************************************************************************************************************************************ok: [worker-1] => {"changed": false, "cmd": ["docker", "version", "-f", "{{.Client.Version}}"], "delta": "0:00:00.040130", "end": "2020-07-03 09:21:05.340818", "rc": 0, "start": "2020-07-03 09:21:05.300688", "stderr": "", "stderr_lines": [], "stdout": "18.09.9", "stdout_lines": ["18.09.9"]}
Friday 03 July 2020 09:21:05 +0000 (0:00:00.326) 0:04:43.718 ***********
Friday 03 July 2020 09:21:05 +0000 (0:00:00.035) 0:04:43.753 ***********
Friday 03 July 2020 09:21:05 +0000 (0:00:00.022) 0:04:43.776 ***********
TASK [container-engine/docker : Create docker service systemd directory if it doesn't exist] *********************************************************************************************************************changed: [worker-1] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/systemd/system/docker.service.d", "secontext": "unconfined_u:object_r:systemd_unit_file_t:s0",
"size": 6, "state": "directory", "uid": 0}
Friday 03 July 2020 09:21:05 +0000 (0:00:00.298) 0:04:44.075 ***********
Friday 03 July 2020 09:21:05 +0000 (0:00:00.041) 0:04:44.116 ***********
TASK [container-engine/docker : get systemd version] *************************************************************************************************************************************************************ok: [worker-1] => {"changed": false, "cmd": "systemctl --version | head -n 1 | cut -d \" \" -f 2", "delta": "0:00:00.009957", "end": "2020-07-03 09:21:06.001715", "rc": 0, "start": "2020-07-03 09:21:05.991758", "stderr": "", "stderr_lines": [], "stdout": "239", "stdout_lines": ["239"]}
Friday 03 July 2020 09:21:06 +0000 (0:00:00.261) 0:04:44.378 ***********
TASK [container-engine/docker : Write docker.service systemd file] ***********************************************************************************************************************************************changed: [worker-1] => {"changed": true, "checksum": "bb6102a54f195df62c491c22895ad8a45c31b728", "dest": "/etc/systemd/system/docker.service", "gid": 0, "group": "root", "md5sum": "85f587d5037fc4ba69ea151f4229d910", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:container_unit_file_t:s0", "size": 765, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1593768066.0699203-927411118720/source", "state": "file", "uid": 0}
Friday 03 July 2020 09:21:06 +0000 (0:00:00.668) 0:04:45.047 ***********
TASK [container-engine/docker : Write docker options systemd drop-in] ********************************************************************************************************************************************changed: [worker-1] => {"changed": true, "checksum": "41c70f3516177f25bd9821c3ffcd64d9ace12640", "dest": "/etc/systemd/system/docker.service.d/docker-options.conf", "gid": 0, "group": "root", "md5sum": "48b82e8dab3606badb261752a7a25adc", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:container_unit_file_t:s0", "size": 140, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1593768066.7374794-217163679127202/source", "state": "file", "uid": 0}
Friday 03 July 2020 09:21:07 +0000 (0:00:00.698) 0:04:45.745 ***********
TASK [container-engine/docker : Write docker dns systemd drop-in] ************************************************************************************************************************************************changed: [worker-1] => {"changed": true, "checksum": "2e70930effc092e7651669a2d0e5501838402ce6", "dest": "/etc/systemd/system/docker.service.d/docker-dns.conf", "gid": 0, "group": "root", "md5sum": "a9e1d73a5fc6a2a3f241a5f2a4be5145", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:container_unit_file_t:s0", "size": 227, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1593768067.436967-185265317322213/source", "state": "file", "uid": 0}
Friday 03 July 2020 09:21:08 +0000 (0:00:00.642) 0:04:46.387 ***********
Friday 03 July 2020 09:21:08 +0000 (0:00:00.042) 0:04:46.430 ***********
Friday 03 July 2020 09:21:08 +0000 (0:00:00.032) 0:04:46.462 ***********
RUNNING HANDLER [container-engine/docker : restart docker] *******************************************************************************************************************************************************changed: [worker-1] => {"changed": true, "cmd": ["/bin/true"], "delta": "0:00:00.003356", "end": "2020-07-03 09:21:08.367832", "rc": 0, "start": "2020-07-03 09:21:08.364476", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
Friday 03 July 2020 09:21:08 +0000 (0:00:00.271) 0:04:46.734 ***********
RUNNING HANDLER [container-engine/docker : Docker | reload systemd] **********************************************************************************************************************************************ok: [worker-1] => {"changed": false, "name": null, "status": {}}
Friday 03 July 2020 09:21:08 +0000 (0:00:00.519) 0:04:47.254 ***********
Friday 03 July 2020 09:21:08 +0000 (0:00:00.031) 0:04:47.285 ***********
RUNNING HANDLER [container-engine/docker : Docker | reload docker] ***********************************************************************************************************************************************changed: [worker-1] => {"changed": true, "name": "docker", "state": "started", "status": {"ActiveEnterTimestamp": "Fri 2020-07-03 09:21:04 UTC", "ActiveEnterTimestampMonotonic": "1970402591", "ActiveExitTimestamp": "Fri 2020-07-03 09:21:04 UTC", "ActiveExitTimestampMonotonic": "1970059176", "ActiveState": "active", "After": "containerd.service network.target basic.target docker.socket sysinit.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2020-07-03 09:21:04 UTC", "AssertTimestampMonotonic": "1970072390", "Before": "shutdown.target", "BindsTo": "containerd.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0",
"CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2020-07-03 09:21:04 UTC", "ConditionTimestampMonotonic": "1970072390", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ConsistsOf": "docker.socket", "ControlGroup": "/system.slice/docker.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "yes", "DelegateControllers": "cpu cpuacct io blkio memory devices pids", "Description": "Docker Application Container Engine", "DevicePolicy": "auto", "Documentation": "http://docs.docker.com", "DropInPaths": "/etc/systemd/system/docker.service.d/docker-dns.conf /etc/systemd/system/docker.service.d/docker-options.conf", "DynamicUser": "no", "Environment": "[unprintable] GOTRACEBACK=crash [unprintable] [unprintable]", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "28391", "ExecMainStartTimestamp": "Fri 2020-07-03 09:21:04 UTC", "ExecMainStartTimestampMonotonic": "1970073337", "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 $DOCKER_OPTS $DOCKER_STORAGE_OPTIONS $DOCKER_NETWORK_OPTIONS $DOCKER_DNS_OPTIONS $INSECURE_REGISTRY ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/etc/systemd/system/docker.service", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "docker.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2020-07-03 09:21:04 UTC", "InactiveEnterTimestampMonotonic": "1970064072", "InactiveExitTimestamp": "Fri 2020-07-03 09:21:04 UTC", "InactiveExitTimestampMonotonic": "1970073367", "InvocationID":
"16638ef77b3240e0859a56c5bd33d380", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "16777216", "LimitMEMLOCKSoft": "16777216", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft":
"819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "1048576", "LimitNOFILESoft": "1048576", "LimitNPROC": "1048576", "LimitNPROCSoft": "1048576", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7848", "LimitSIGPENDINGSoft": "7848", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogsDirectoryMode": "0755", "MainPID": "28391", "MemoryAccounting": "yes", "MemoryCurrent": "44273664", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "Names": "docker.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "1min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2020-07-03 09:21:04 UTC", "StateChangeTimestampMonotonic": "1970402591", "StateDirectoryMode": "0755", "StatusErrno":
"0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "9", "TasksMax": "infinity", "TimeoutStartUSec": "1min", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "TriggeredBy": "docker.socket", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogTimestamp": "Fri 2020-07-03 09:21:04 UTC", "WatchdogTimestampMonotonic": "1970402589", "WatchdogUSec": "0"}}
Friday 03 July 2020 09:21:09 +0000 (0:00:00.564) 0:04:47.850 ***********
RUNNING HANDLER [container-engine/docker : Docker | wait for docker] *********************************************************************************************************************************************changed: [worker-1] => {"attempts": 1, "changed": true, "cmd": ["/usr/bin/docker", "images"], "delta": "0:00:00.050271", "end": "2020-07-03 09:21:09.809495", "rc": 0, "start": "2020-07-03 09:21:09.759224", "stderr": "", "stderr_lines": [], "stdout": "REPOSITORY TAG IMAGE ID CREATED SIZE", "stdout_lines": ["REPOSITORY TAG IMAGE ID CREATED SIZE"]}
Friday 03 July 2020 09:21:09 +0000 (0:00:00.337) 0:04:48.187 ***********
TASK [container-engine/docker : ensure docker service is started and enabled] ************************************************************************************************************************************changed: [worker-1] => (item=docker) => {"ansible_loop_var": "item", "changed": true, "enabled": true, "item": "docker", "name": "docker", "state": "started", "status": {"ActiveEnterTimestamp": "Fri 2020-07-03
09:21:09 UTC", "ActiveEnterTimestampMonotonic": "1975198591", "ActiveExitTimestamp": "Fri 2020-07-03 09:21:09 UTC", "ActiveExitTimestampMonotonic": "1975036640", "ActiveState": "active", "After": "containerd.service network.target basic.target docker.socket sysinit.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2020-07-03 09:21:09 UTC", "AssertTimestampMonotonic": "1975047672", "Before": "shutdown.target", "BindsTo": "containerd.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2020-07-03 09:21:09 UTC", "ConditionTimestampMonotonic": "1975047671", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ConsistsOf": "docker.socket", "ControlGroup": "/system.slice/docker.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "yes", "DelegateControllers": "cpu cpuacct io blkio memory devices pids", "Description": "Docker Application Container Engine", "DevicePolicy": "auto", "Documentation": "http://docs.docker.com", "DropInPaths": "/etc/systemd/system/docker.service.d/docker-dns.conf /etc/systemd/system/docker.service.d/docker-options.conf", "DynamicUser": "no", "Environment": "[unprintable] GOTRACEBACK=crash [unprintable] [unprintable]", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "29012", "ExecMainStartTimestamp": "Fri 2020-07-03 09:21:09 UTC", "ExecMainStartTimestampMonotonic": "1975048510", "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 $DOCKER_OPTS $DOCKER_STORAGE_OPTIONS $DOCKER_NETWORK_OPTIONS $DOCKER_DNS_OPTIONS $INSECURE_REGISTRY ; ignore_errors=no ; start_time=[Fri 2020-07-03 09:21:09 UTC] ; stop_time=[n/a] ; pid=29012 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/etc/systemd/system/docker.service", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "docker.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2020-07-03 09:21:09 UTC", "InactiveEnterTimestampMonotonic": "1975041489", "InactiveExitTimestamp": "Fri 2020-07-03 09:21:09 UTC", "InactiveExitTimestampMonotonic": "1975048551", "InvocationID": "9a3336966d394eb19677f3f4a44e3b89", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity",
"LimitMEMLOCK": "16777216", "LimitMEMLOCKSoft": "16777216", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "1048576", "LimitNOFILESoft": "1048576", "LimitNPROC": "1048576", "LimitNPROCSoft": "1048576", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7848", "LimitSIGPENDINGSoft": "7848", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogsDirectoryMode": "0755", "MainPID": "29012", "MemoryAccounting": "yes", "MemoryCurrent": "44195840", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "Names": "docker.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP":
"no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "1min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2020-07-03 09:21:09 UTC", "StateChangeTimestampMonotonic": "1975198591", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3",
"SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "9", "TasksMax": "infinity", "TimeoutStartUSec": "1min", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "TriggeredBy": "docker.socket", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogTimestamp": "Fri 2020-07-03 09:21:09 UTC", "WatchdogTimestampMonotonic": "1975198590", "WatchdogUSec": "0"}}
Friday 03 July 2020 09:21:10 +0000 (0:00:00.522) 0:04:48.710 ***********
TASK [download : prep_download | Set a few facts] ****************************************************************************************************************************************************************ok: [worker-1] => {"ansible_facts": {"download_force_cache": false}, "changed": false}
Friday 03 July 2020 09:21:10 +0000 (0:00:00.046) 0:04:48.757 ***********
Friday 03 July 2020 09:21:10 +0000 (0:00:00.034) 0:04:48.791 ***********
Friday 03 July 2020 09:21:10 +0000 (0:00:00.055) 0:04:48.846 ***********
Friday 03 July 2020 09:21:10 +0000 (0:00:00.039) 0:04:48.886 ***********
Friday 03 July 2020 09:21:10 +0000 (0:00:00.036) 0:04:48.922 ***********
Friday 03 July 2020 09:21:10 +0000 (0:00:00.031) 0:04:48.953 ***********
Friday 03 July 2020 09:21:10 +0000 (0:00:00.029) 0:04:48.983 ***********
TASK [download : prep_download | Register docker images info] ****************************************************************************************************************************************************ok: [worker-1] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}
Friday 03 July 2020 09:21:10 +0000 (0:00:00.317) 0:04:49.301 ***********
...
PLAY RECAP *******************************************************************************************************************************************************************************************************worker-1 : ok=322 changed=85 unreachable=0 failed=0 skipped=405 rescued=0 ignored=0
Friday 03 July 2020 09:23:30 +0000 (0:00:00.511) 0:07:09.142 ***********
===============================================================================
container-engine/docker : ensure docker packages are installed ------------------------------------------------------------------------------------------------------------------------------------------ 138.46s
download : download_container | Download image if required ----------------------------------------------------------------------------------------------------------------------------------------------- 13.36s
kubernetes/preinstall : Install packages requirements ---------------------------------------------------------------------------------------------------------------------------------------------------- 12.31s
download : download_file | Download item ----------------------------------------------------------------------------------------------------------------------------------------------------------------- 11.52s
download : download_file | Download item ----------------------------------------------------------------------------------------------------------------------------------------------------------------- 11.39s
download : download_container | Download image if required ------------------------------------------------------------------------------------------------------------------------------------------------ 9.95s
download : download_container | Download image if required ------------------------------------------------------------------------------------------------------------------------------------------------ 8.87s
download : download_file | Download item ------------------------------------------------------------------------------------------------------------------------------------------------------------------ 8.60s
download : download_container | Download image if required ------------------------------------------------------------------------------------------------------------------------------------------------ 7.99s
download : download_container | Download image if required ------------------------------------------------------------------------------------------------------------------------------------------------ 6.07s
Gather necessary facts ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 5.67s
download : download_file | Download item ------------------------------------------------------------------------------------------------------------------------------------------------------------------ 4.68s
container-engine/docker : check if container-selinux is available ----------------------------------------------------------------------------------------------------------------------------------------- 3.55s
bootstrap-os : Install libselinux python package ---------------------------------------------------------------------------------------------------------------------------------------------------------- 2.38s
kubernetes/kubeadm : Join to cluster ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1.93s
download : download_container | Download image if required ------------------------------------------------------------------------------------------------------------------------------------------------ 1.79s
kubernetes/preinstall : Create kubernetes directories ----------------------------------------------------------------------------------------------------------------------------------------------------- 1.66s
container-engine/docker : ensure service is started if docker packages are already present ---------------------------------------------------------------------------------------------------------------- 1.48s
adduser : User | Create User ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 1.30s
bootstrap-os : Assign inventory name to unconfigured hostnames (non-CoreOS, non-Flatcar, Suse and ClearLinux) --------------------------------------------------------------------------------------------- 1.30s
In the next Kubespray release (current master branch), Docker CE will be upgraded to v19.03, for RedHat/CentOS docker-ce-19.03.11-3.el7
so I believe this issue can be closed.
Thx @bmelbourne and as there is no answer for a while, let's close this, we can always reopen if needed. /close
@floryut: Closing this issue.
Environment:
Linux 4.18.0-147.5.1.el8_1.x86_64 x86_64
ansible 2.9.6
Python 3.7.4
Kubespray: branch=release=2.12
network plugin=flannel
Command used to invoke ansible:
Playbook output
Sorry I only have a tiny piece of console output left as I worked around the problem.
Anything else do we need to know: Installation of docker-ce fails due to dependency errors, see
yum upgrade
from below.This problem did not occur on my initial setup. It seems that there a newer version of containerd is installed.
Output from my working master:
Output from the host I wanted to add where i manually installed
docker-ce
:Workaround
Install docker-ce manually with the
--nobest
option: