Comment 6 for bug 1819175

Revision history for this message
Martin Mágr (mmagr) wrote :

Running the image prepare fails on libvirt image:
(undercloud) [stack@undercloud ~]$ sudo /usr/bin/tripleo-container-image-prepare --roles-file /tmp/ansible.uJ8hgm-role-data --environment-file /home/stack/containers-prepare-parameter.yaml --cleanup partial --log-file fuckin.log --debug
<snip>
019-10-11 13:29:44 740504 ERROR tripleo_common.image.image_export [ ] [tripleomaster/centos-binary-nova-libvirt] Write Failure:
2019-10-11 13:29:44 740504 ERROR tripleo_common.image.image_export [ ] [tripleomaster/centos-binary-nova-libvirt] Broken layer found and removed /var/lib/image-serve/v2/tripleomaster/centos-binary-nova-libvirt/blobs/sha256:ee9a79ad1e1013a5b0b5eb95737934a4efcd46daad5d3327479e355996823908.gz
2019-10-11 13:29:44 740504 DEBUG tripleo_common.image.image_uploader [ ] Unlocking layer sha256:ee9a79ad1e1013a5b0b5eb95737934a4efcd46daad5d3327479e355996823908
2019-10-11 13:29:44 740504 DEBUG tripleo_common.image.image_uploader [ ] Starting acquire for lock sha256:ee9a79ad1e1013a5b0b5eb95737934a4efcd46daad5d3327479e355996823908
2019-10-11 13:29:44 740504 DEBUG tripleo_common.image.image_uploader [ ] Acquired for unlock sha256:ee9a79ad1e1013a5b0b5eb95737934a4efcd46daad5d3327479e355996823908
2019-10-11 13:29:44 740504 DEBUG tripleo_common.image.image_uploader [ ] Updated lock info sha256:ee9a79ad1e1013a5b0b5eb95737934a4efcd46daad5d3327479e355996823908
2019-10-11 13:29:44 740504 DEBUG tripleo_common.image.image_uploader [ ] Released lock on layer sha256:ee9a79ad1e1013a5b0b5eb95737934a4efcd46daad5d3327479e355996823908
2019-10-11 13:29:45 740504 WARNING tripleo_common.image.image_uploader [ ] No lock information provided for layer sha256:ee9a79ad1e1013a5b0b5eb95737934a4efcd46daad5d3327479e355996823908
2019-10-11 13:29:45 740504 DEBUG urllib3.connectionpool [ ] Resetting dropped connection: 192.168.24.1
2019-10-11 13:29:45 740504 DEBUG urllib3.connectionpool [ ] http://192.168.24.1:8787 "HEAD /v2/tripleomaster/centos-binary-nova-libvirt/blobs/sha256:ee9a79ad1e1013a5b0b5eb95737934a4efcd46daad5d3327479e355996823908 HTTP/1.1" 404 0
2019-10-11 13:29:45 740504 DEBUG tripleo_common.image.image_uploader [ ] [sha256:ee9a79ad1e1013a5b0b5eb95737934a4efcd46daad5d3327479e355996823908] Uploading layer
2019-10-11 13:29:45 740504 DEBUG tripleo_common.image.image_export [ ] [tripleomaster/centos-binary-nova-libvirt] Export layer to /var/lib/image-serve/v2/tripleomaster/centos-binary-nova-libvirt/blobs/sha256:ee9a79ad1e1013a5b0b5eb95737934a4efcd46daad5d3327479e355996823908.gz
2019-10-11 13:29:45 740504 INFO tripleo_common.image.image_uploader [ ] [/tripleomaster/centos-binary-nova-libvirt] Fetching layer sha256:ee9a79ad1e1013a5b0b5eb95737934a4efcd46daad5d3327479e355996823908 from https://registry-1.docker.io/v2/tripleomaster/centos-binary-nova-libvirt/blobs/sha256:ee9a79ad1e1013a5b0b5eb95737934a4efcd46daad5d3327479e355996823908
2019-10-11 13:29:45 740504 DEBUG urllib3.connectionpool [ ] https://registry-1.docker.io:443 "GET /v2/tripleomaster/centos-binary-nova-libvirt/blobs/sha256:ee9a79ad1e1013a5b0b5eb95737934a4efcd46daad5d3327479e355996823908 HTTP/1.1" 307 0
2019-10-11 13:29:45 740504 DEBUG urllib3.connectionpool [ ] https://production.cloudflare.docker.com:443 "GET /registry-v2/docker/registry/v2/blobs/sha256/ee/ee9a79ad1e1013a5b0b5eb95737934a4efcd46daad5d3327479e355996823908/data?verify=1570803585-IIBcjCGStFmxQLVW7SKaGovwmgM%3D HTTP/1.1" 200 575831188
2019-10-11 13:29:52 740504 ERROR tripleo_common.image.image_export [ ] [tripleomaster/centos-binary-nova-libvirt] Write Failure:
2019-10-11 13:29:52 740504 ERROR tripleo_common.image.image_export [ ] [tripleomaster/centos-binary-nova-libvirt] Broken layer found and removed /var/lib/image-serve/v2/tripleomaster/centos-binary-nova-libvirt/blobs/sha256:ee9a79ad1e1013a5b0b5eb95737934a4efcd46daad5d3327479e355996823908.gz
2019-10-11 13:29:52 740504 DEBUG tripleo_common.image.image_uploader [ ] Unlocking layer sha256:ee9a79ad1e1013a5b0b5eb95737934a4efcd46daad5d3327479e355996823908
2019-10-11 13:29:52 740504 DEBUG tripleo_common.image.image_uploader [ ] Starting acquire for lock sha256:ee9a79ad1e1013a5b0b5eb95737934a4efcd46daad5d3327479e355996823908
2019-10-11 13:29:52 740504 DEBUG tripleo_common.image.image_uploader [ ] Acquired for unlock sha256:ee9a79ad1e1013a5b0b5eb95737934a4efcd46daad5d3327479e355996823908
2019-10-11 13:29:52 740504 DEBUG tripleo_common.image.image_uploader [ ] Updated lock info sha256:ee9a79ad1e1013a5b0b5eb95737934a4efcd46daad5d3327479e355996823908
2019-10-11 13:29:52 740504 DEBUG tripleo_common.image.image_uploader [ ] Released lock on layer sha256:ee9a79ad1e1013a5b0b5eb95737934a4efcd46daad5d3327479e355996823908
2019-10-11 13:29:52 740504 ERROR tripleo_common.image.image_uploader [ ] [192.168.24.1:8787/tripleomaster/centos-binary-nova-libvirt:current-tripleo] Failed uploading the target image
2019-10-11 13:29:52 740291 ERROR root [ ] Image prepare failed: [tripleomaster/centos-binary-nova-libvirt] Write Failure:
Traceback (most recent call last):
  File "/usr/bin/tripleo-container-image-prepare", line 138, in <module>
    lock=lock)
  File "/usr/lib/python2.7/site-packages/tripleo_common/image/kolla_builder.py", line 235, in container_images_prepare_multi
    uploader.upload()
  File "/usr/lib/python2.7/site-packages/tripleo_common/image/image_uploader.py", line 265, in upload
    uploader.run_tasks()
  File "/usr/lib/python2.7/site-packages/tripleo_common/image/image_uploader.py", line 2093, in run_tasks
    for result in p.map(upload_task, self.upload_tasks):
  File "/usr/lib/python2.7/site-packages/concurrent/futures/_base.py", line 605, in result_iterator
    yield future.result()
  File "/usr/lib/python2.7/site-packages/concurrent/futures/_base.py", line 429, in result
    return self.__get_result()
  File "/usr/lib/python2.7/site-packages/concurrent/futures/_base.py", line 381, in __get_result
    raise exception_type, self._exception, self._traceback
IOError: [tripleomaster/centos-binary-nova-libvirt] Write Failure: