Verified on BTRFS as well. Kolla-ansible at stable/ocata, kolla-build at master. Built ubuntu-source, all images pushed to repo and built cleanly.
RUNNING HANDLER [cinder : Restart cinder-backup container] ********************* Using module file /usr/local/share/kolla-ansible/ansible/library/kolla_docker.py <localhost> ESTABLISH LOCAL CONNECTION FOR USER: root <localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo ~/.ansible/tmp/ansible-tmp-1489092236.17-27738499404150 `" && echo ansible-tmp-1489092236.17-27738499404150="` echo ~/.ansible/tmp/ansible-tmp-1489092236.17-27738499404150 `" ) && sleep 0' <localhost> PUT /tmp/tmpBpNXph TO /root/.ansible/tmp/ansible-tmp-1489092236.17-27738499404150/kolla_docker.py <localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1489092236.17-27738499404150/ /root/.ansible/tmp/ansible-tmp-1489092236.17-27738499404150/kolla_docker.py && sleep 0' <localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1489092236.17-27738499404150/kolla_docker.py; rm -rf "/root/.ansible/tmp/ansible-tmp-1489092236.17-27738499404150/" > /dev/null 2>&1 && sleep 0' fatal: [localhost]: FAILED! => { "changed": true, "failed": true, "invocation": { "module_args": { "action": "recreate_or_restart_container", "api_version": "auto", "auth_email": null, "auth_password": null, "auth_registry": "127.0.0.1:5893", "auth_username": null, "cap_add": [], "detach": true, "environment": { "KOLLA_CONFIG_STRATEGY": "COPY_ALWAYS", "KOLLA_SERVICE_NAME": "cinder-backup" }, "image": "127.0.0.1:5893/kolla/ubuntu-source-cinder-backup:zerolabs", "labels": {}, "name": "cinder_backup", "privileged": true, "remove_on_exit": true, "restart_policy": "unless-stopped", "restart_retries": 10, "security_opt": [], "tls_cacert": null, "tls_cert": null, "tls_key": null, "tls_verify": false, "volumes": [ "/etc/kolla//cinder-backup/:/var/lib/kolla/config_files/:ro", "/etc/localtime:/etc/localtime:ro", "/dev/:/dev/", "/run/:/run/:shared", "cinder:/var/lib/cinder", "iscsi_info:/etc/iscsi", "kolla_logs:/var/log/kolla/" ], "volumes_from": null }, "module_name": "kolla_docker" }, "msg": "'Traceback (most recent call last):\\n File \"/tmp/ansible_UcgklN/ansible_module_kolla_docker.py\", line 781, in main\\n result = bool(getattr(dw, module.params.get(\\'action\\'))())\\n File \"/tmp/ansible_UcgklN/ansible_module_kolla_docker.py\", line 583, in recreate_or_restart_container\\n self.start_container()\\n File \"/tmp/ansible_UcgklN/ansible_module_kolla_docker.py\", line 608, in start_container\\n self.dc.start(container=self.params.get(\\'name\\'))\\n File \"/usr/local/lib/python2.7/dist-packages/docker/utils/decorators.py\", line 21, in wrapped\\n return f(self, resource_id, *args, **kwargs)\\n File \"/usr/local/lib/python2.7/dist-packages/docker/api/container.py\", line 383, in start\\n self._raise_for_status(res)\\n File \"/usr/local/lib/python2.7/dist-packages/docker/client.py\", line 174, in _raise_for_status\\n raise errors.APIError(e, response, explanation=explanation)\\nAPIError: 500 Server Error: Internal Server Error (\"{\"message\":\"oci runtime error: container_linux.go:247: starting container process caused \\\\\"process_linux.go:359: container init caused \\\\\\\\\\\\\"rootfs_linux.go:54: mounting \\\\\\\\\\\\\\\\\\\\\\\\\\\\\"/var/lib/docker/containers/053cb15fddb7212eebcf73c965a10d196320f5d4c937da35f46b72da3c1c163d/shm\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" to rootfs \\\\\\\\\\\\\\\\\\\\\\\\\\\\\"/var/lib/docker/btrfs/subvolumes/6f14944bcc1a120a9fb414724eb7b9defccd5626bf608f97cee964061eea5e6b\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" at \\\\\\\\\\\\\\\\\\\\\\\\\\\\\"/var/lib/docker/btrfs/subvolumes/6f14944bcc1a120a9fb414724eb7b9defccd5626bf608f97cee964061eea5e6b/dev/shm\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" caused \\\\\\\\\\\\\\\\\\\\\\\\\\\\\"no space left on device\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\"\\\\n\"}\")\\n'" } to retry, use: --limit @/usr/local/share/kolla-ansible/ansible/site.retry
PLAY RECAP ********************************************************************* localhost : ok=186 changed=2 unreachable=0 failed=1
lvscan ACTIVE '/dev/crucible-system/root' [1.82 TiB] inherit ACTIVE '/dev/crucible-system/swap' [476.84 GiB] inherit root@host:/etc/kolla/config/ironic# pvscan PV /dev/sdd VG cinder-hdd-volumes lvm2 [5.46 TiB / 5.46 TiB free] PV /dev/sdb VG cinder-hdd-volumes lvm2 [1.82 TiB / 1.82 TiB free] PV /dev/sdc VG cinder-hdd-volumes lvm2 [5.46 TiB / 5.46 TiB free] PV /dev/nvme0n1 VG cinder-flash-volumes lvm2 [476.94 GiB / 476.94 GiB free] PV /dev/sda3 VG crucible-system lvm2 [2.73 TiB / 454.06 GiB free] Total: 5 [15.93 TiB] / in use: 5 [15.93 TiB] / in no VG: 0 [0 ]
Verified on BTRFS as well. Kolla-ansible at stable/ocata, kolla-build at master. Built ubuntu-source, all images pushed to repo and built cleanly.
RUNNING HANDLER [cinder : Restart cinder-backup container] ******* ******* ******* share/kolla- ansible/ ansible/ library/ kolla_docker. py tmp/ansible- tmp-1489092236. 17-277384994041 50 `" && echo ansible- tmp-1489092236. 17-277384994041 50="` echo ~/.ansible/ tmp/ansible- tmp-1489092236. 17-277384994041 50 `" ) && sleep 0' ansible/ tmp/ansible- tmp-1489092236. 17-277384994041 50/kolla_ docker. py ansible/ tmp/ansible- tmp-1489092236. 17-277384994041 50/ /root/. ansible/ tmp/ansible- tmp-1489092236. 17-277384994041 50/kolla_ docker. py && sleep 0' ansible/ tmp/ansible- tmp-1489092236. 17-277384994041 50/kolla_ docker. py; rm -rf "/root/ .ansible/ tmp/ansible- tmp-1489092236. 17-277384994041 50/" > /dev/null 2>&1 && sleep 0'
"module_ args": {
"action" : "recreate_ or_restart_ container" ,
"api_ version" : "auto",
"auth_ email": null,
"auth_ password" : null,
"auth_ registry" : "127.0.0.1:5893",
"auth_ username" : null,
"cap_ add": [],
"detach" : true,
"environme nt": {
"KOLLA_ CONFIG_ STRATEGY" : "COPY_ALWAYS",
"KOLLA_ SERVICE_ NAME": "cinder-backup"
"image" : "127.0. 0.1:5893/ kolla/ubuntu- source- cinder- backup: zerolabs" ,
"labels" : {},
"privilege d": true,
"remove_ on_exit" : true,
"restart_ policy" : "unless-stopped",
"restart_ retries" : 10,
"security_ opt": [],
"tls_ cacert" : null,
"tls_ cert": null,
"tls_ key": null,
"tls_ verify" : false,
"volumes" : [
"/etc/ kolla// cinder- backup/ :/var/lib/ kolla/config_ files/: ro",
"/etc/ localtime: /etc/localtime: ro",
"/dev/ :/dev/" ,
"/run/ :/run/: shared" ,
"cinder: /var/lib/ cinder" ,
"iscsi_ info:/etc/ iscsi",
"kolla_ logs:/var/ log/kolla/ "
"volumes_ from": null
"module_ name": "kolla_docker" ansible_ UcgklN/ ansible_ module_ kolla_docker. py\", line 781, in main\\n result = bool(getattr(dw, module. params. get(\\' action\ \'))()) \\n File \"/tmp/ ansible_ UcgklN/ ansible_ module_ kolla_docker. py\", line 583, in recreate_ or_restart_ container\ \n self.start_ container( )\\n File \"/tmp/ ansible_ UcgklN/ ansible_ module_ kolla_docker. py\", line 608, in start_container\\n self.dc. start(container =self.params. get(\\' name\\' ))\\n File \"/usr/ local/lib/ python2. 7/dist- packages/ docker/ utils/decorator s.py\", line 21, in wrapped\\n return f(self, resource_id, *args, **kwargs)\\n File \"/usr/ local/lib/ python2. 7/dist- packages/ docker/ api/container. py\", line 383, in start\\n self._raise_ for_status( res)\\n File \"/usr/ local/lib/ python2. 7/dist- packages/ docker/ client. py\", line 174, in _raise_ for_status\ \n raise errors.APIError(e, response, explanation= explanation) \\nAPIError: 500 Server Error: Internal Server Error (\"{\"message\ ":\"oci runtime error: container_ linux.go: 247: starting container process caused \\\\\"process_ linux.go: 359: container init caused \\\\\\\ \\\\\\" rootfs_ linux.go: 54: mounting \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \"/var/ lib/docker/ containers/ 053cb15fddb7212 eebcf73c965a10d 196320f5d4c937d a35f46b72da3c1c 163d/shm\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ " to rootfs \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \"/var/ lib/docker/ btrfs/subvolume s/6f14944bcc1a1 20a9fb414724eb7 b9defccd5626bf6 08f97cee964061e ea5e6b\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ " at \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \"/var/ lib/docker/ btrfs/subvolume s/6f14944bcc1a1 20a9fb414724eb7 b9defccd5626bf6 08f97cee964061e ea5e6b/ dev/shm\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ " caused \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \"no space left on device\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ "\\\\\\ \\\\\\\ "\\\\\" \\\\n\" }\")\\n' " share/kolla- ansible/ ansible/ site.retry
Using module file /usr/local/
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo ~/.ansible/
<localhost> PUT /tmp/tmpBpNXph TO /root/.
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.
fatal: [localhost]: FAILED! => {
"changed": true,
"failed": true,
"invocation": {
},
"name": "cinder_backup",
],
},
},
"msg": "'Traceback (most recent call last):\\n File \"/tmp/
}
to retry, use: --limit @/usr/local/
PLAY RECAP ******* ******* ******* ******* ******* ******* ******* ******* ******* ******
localhost : ok=186 changed=2 unreachable=0 failed=1
lvscan system/ root' [1.82 TiB] inherit system/ swap' [476.84 GiB] inherit /etc/kolla/ config/ ironic# pvscan flash-volumes lvm2 [476.94 GiB / 476.94 GiB free]
ACTIVE '/dev/crucible-
ACTIVE '/dev/crucible-
root@host:
PV /dev/sdd VG cinder-hdd-volumes lvm2 [5.46 TiB / 5.46 TiB free]
PV /dev/sdb VG cinder-hdd-volumes lvm2 [1.82 TiB / 1.82 TiB free]
PV /dev/sdc VG cinder-hdd-volumes lvm2 [5.46 TiB / 5.46 TiB free]
PV /dev/nvme0n1 VG cinder-
PV /dev/sda3 VG crucible-system lvm2 [2.73 TiB / 454.06 GiB free]
Total: 5 [15.93 TiB] / in use: 5 [15.93 TiB] / in no VG: 0 [0 ]