À̹ÌÁö ¹«°á¼º°ËÁõ md5 checksum
ComputeNode
# tail -f /var/log/nova/nova-compute.log
........................................
2017-12-21 13:23:33.907 28675 INFO nova.virt.libvirt.driver [req-fae07f9a-2273-4d52-b9b3-175ae1327b43 d005131ebc084f6da2b3db5eb73de8f3 ce048554edd2444fbb160423be47041c - - -] [instance: 97b2a461-6419-449b-8bd5-55101d03c933] Creating image
2017-12-21 13:23:34.057 28675 ERROR nova.image.glance [req-fae07f9a-2273-4d52-b9b3-175ae1327b43 d005131ebc084f6da2b3db5eb73de8f3 ce048554edd2444fbb160423be47041c - - -] Error writing to /var/lib/nova/instances/_base/7c8fff5d03826a921d973fe218db11cc44b4b33a.part: [Errno 32] Corrupt image download. Checksum was 71ff3c496d0203eaf472673048b6b07f expected ee1eca47dc88f4879d8a229cc70a07c6
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [req-fae07f9a-2273-4d52-b9b3-175ae1327b43 d005131ebc084f6da2b3db5eb73de8f3 ce048554edd2444fbb160423be47041c - - -] [instance: 97b2a461-6419-449b-8bd5-55101d03c933] Instance failed to spawn
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] Traceback (most recent call last):
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2218, in _build_resources
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] yield resources
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2064, in _build_and_run_instance
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] block_device_info=block_device_info)
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2775, in spawn
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] admin_pass=admin_password)
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3193, in _create_image
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] instance, size, fallback_from_host)
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 6813, in _try_fetch_image_cache
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] size=size)
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line 251, in cache
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] *args, **kwargs)
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line 593, in create_image
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] prepare_template(target=base, max_size=size, *args, **kwargs)
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 274, in inner
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] return f(*args, **kwargs)
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line 241, in fetch_func_sync
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] fetch_func(target=target, *args, **kwargs)
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/utils.py", line 429, in fetch_image
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] max_size=max_size)
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] File "/usr/lib/python2.7/dist-packages/nova/virt/images.py", line 120, in fetch_to_raw
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] max_size=max_size)
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] File "/usr/lib/python2.7/dist-packages/nova/virt/images.py", line 110, in fetch
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] IMAGE_API.download(context, image_href, dest_path=path)
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] File "/usr/lib/python2.7/dist-packages/nova/image/api.py", line 182, in download
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] dst_path=dest_path)
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 452, in download
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] {'path': dst_path, 'exception': ex})
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] self.force_reraise()
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] six.reraise(self.type_, self.value, self.tb)
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 436, in download
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] for chunk in image_chunks:
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] File "/usr/lib/python2.7/dist-packages/glanceclient/common/utils.py", line 477, in __iter__
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] for chunk in self.iterable:
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] File "/usr/lib/python2.7/dist-packages/glanceclient/common/utils.py", line 435, in integrity_iter
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] (md5sum, checksum))
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933] IOError: [Errno 32] Corrupt image download. Checksum was 71ff3c496d0203eaf472673048b6b07f expected ee1eca47dc88f4879d8a229cc70a07c6
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933]
2017-12-21 13:23:34.062 28675 ERROR nova.compute.manager [instance: 97b2a461-6419-449b-8bd5-55101d03c933]
2017-12-21 13:23:34.263 28675 WARNING nova.network.neutronv2.api [req-fae07f9a-2273-4d52-b9b3-175ae1327b43 d005131ebc084f6da2b3db5eb73de8f3 ce048554edd2444fbb160423be47041c - - -] [instance: 97b2a461-6419-449b-8bd5-55101d03c933] e3ddfde9-6914-4efe-a2f3-cf4706ccce57 already exists in list: networks containing: [u'e3ddfde9-6914-4efe-a2f3-cf4706ccce57']. ignoring it
2017-12-21 13:23:34.264 28675 WARNING nova.network.neutronv2.api [req-fae07f9a-2273-4d52-b9b3-175ae1327b43 d005131ebc084f6da2b3db5eb73de8f3 ce048554edd2444fbb160423be47041c - - -] [instance: 97b2a461-6419-449b-8bd5-55101d03c933] e3ddfde9-6914-4efe-a2f3-cf4706ccce57 already exists in list: networks containing: [u'e3ddfde9-6914-4efe-a2f3-cf4706ccce57']. ignoring it
# nova show <instance>
|
| fault | {"message": "Exceeded maximum number of retries. Exceeded max scheduling attempts 3 for instance 97b2a461-6419-449b-8bd5-55101d03c933. Last exception: [Errno 32] Corrupt image download. Checksum was 71ff3c496d0203eaf472673048b6b07f expected ee1eca47dc88f4879d8a229cc70", "code": 500, "details": " File \"/usr/lib/python2.7/dist-packages/nova/conductor/manager.py\", line 400, in build_instances |
| | filter_properties, instances[0].uuid)