Comment 3 for bug 1452105

Revision history for this message
zhangguoqing (474751729-o) wrote :

nova boot --image 4e1e5210-80d6-4cd5-b2a1-1641b36a1249 --flavor 1 cirros-001 --availability-zone nova:compute

The log is below in compute node which has not any docker images.

2015-09-14 19:12:34.023 937 ERROR nova.compute.manager [-] [instance: fbd089a0-ecbc-4393-a05d-a32048def89f] Instance failed to spawn
2015-09-14 19:12:34.023 937 TRACE nova.compute.manager [instance: fbd089a0-ecbc-4393-a05d-a32048def89f] Traceback (most recent call last):
2015-09-14 19:12:34.023 937 TRACE nova.compute.manager [instance: fbd089a0-ecbc-4393-a05d-a32048def89f] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py"
, line 2246, in _build_resources
2015-09-14 19:12:34.023 937 TRACE nova.compute.manager [instance: fbd089a0-ecbc-4393-a05d-a32048def89f] yield resources
2015-09-14 19:12:34.023 937 TRACE nova.compute.manager [instance: fbd089a0-ecbc-4393-a05d-a32048def89f] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py"
, line 2116, in _build_and_run_instance
2015-09-14 19:12:34.023 937 TRACE nova.compute.manager [instance: fbd089a0-ecbc-4393-a05d-a32048def89f] block_device_info=block_device_info)
2015-09-14 19:12:34.023 937 TRACE nova.compute.manager [instance: fbd089a0-ecbc-4393-a05d-a32048def89f] File "/usr/lib/python2.7/site-packages/novadocker/virt/docker/d
river.py", line 388, in spawn
2015-09-14 19:12:34.023 937 TRACE nova.compute.manager [instance: fbd089a0-ecbc-4393-a05d-a32048def89f] image = self.docker.inspect_image(self._encode_utf8(image_nam
e))
2015-09-14 19:12:34.023 937 TRACE nova.compute.manager [instance: fbd089a0-ecbc-4393-a05d-a32048def89f] File "/usr/lib/python2.7/site-packages/novadocker/virt/docker/c
lient.py", line 36, in wrapper
2015-09-14 19:12:34.023 937 TRACE nova.compute.manager [instance: fbd089a0-ecbc-4393-a05d-a32048def89f] out = f(*args, **kwds)
2015-09-14 19:12:34.023 937 TRACE nova.compute.manager [instance: fbd089a0-ecbc-4393-a05d-a32048def89f] File "/usr/lib/python2.7/site-packages/docker/utils/decorators.
py", line 20, in wrapped
2015-09-14 19:12:34.023 937 TRACE nova.compute.manager [instance: fbd089a0-ecbc-4393-a05d-a32048def89f] return f(self, resource_id, *args, **kwargs)
2015-09-14 19:12:34.023 937 TRACE nova.compute.manager [instance: fbd089a0-ecbc-4393-a05d-a32048def89f] File "/usr/lib/python2.7/site-packages/docker/client.py", line
491, in inspect_image
2015-09-14 19:12:34.023 937 TRACE nova.compute.manager [instance: fbd089a0-ecbc-4393-a05d-a32048def89f] True
2015-09-14 19:12:34.023 937 TRACE nova.compute.manager [instance: fbd089a0-ecbc-4393-a05d-a32048def89f] File "/usr/lib/python2.7/site-packages/docker/clientbase.py", l
ine 108, in _result
2015-09-14 19:12:34.023 937 TRACE nova.compute.manager [instance: fbd089a0-ecbc-4393-a05d-a32048def89f] self._raise_for_status(response)
2015-09-14 19:12:34.023 937 TRACE nova.compute.manager [instance: fbd089a0-ecbc-4393-a05d-a32048def89f] File "/usr/lib/python2.7/site-packages/docker/clientbase.py", l
ine 103, in _raise_for_status
2015-09-14 19:12:34.023 937 TRACE nova.compute.manager [instance: fbd089a0-ecbc-4393-a05d-a32048def89f] raise errors.NotFound(e, response, explanation=explanation)
2015-09-14 19:12:34.023 937 TRACE nova.compute.manager [instance: fbd089a0-ecbc-4393-a05d-a32048def89f] NotFound: 404 Client Error: Not Found ("No such image: cirros")
2015-09-14 19:12:34.023 937 TRACE nova.compute.manager [instance: fbd089a0-ecbc-4393-a05d-a32048def89f]
2015-09-14 19:12:37.539 937 INFO nova.scheduler.client.report [-] Compute_service record updated for ('compute', 'compute')
2015-09-14 19:12:37.541 937 AUDIT nova.compute.manager [req-2807acc1-acaa-4899-a82a-41139381044c None] [instance: fbd089a0-ecbc-4393-a05d-a32048def89f] Terminating insta
nce
2015-09-14 19:12:37.674 937 INFO nova.scheduler.client.report [-] Compute_service record updated for ('compute', 'compute')