← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1542176] [NEW] 'dict' object has no attribute 'container_format'\n"]

 

Public bug reported:

While creating docker instance getting error below and the instance try
to build on qemu.


2016-02-05 12:05:12.764 13141 ERROR nova.compute.manager [req-0a99ac05-6fe8-4164-b875-48be3f24dd98 8a4e98a2addf47b6af8897af05518c19 4bbddf0552544090a0d90962b850d952 - - -] [instance: 60dfa8e9-50f6-47b3-ba21-0e750888cd75] Instance failed to spawn
2016-02-05 12:05:12.764 13141 ERROR nova.compute.manager [instance: 60dfa8e9-50f6-47b3-ba21-0e750888cd75] Traceback (most recent call last):
2016-02-05 12:05:12.764 13141 ERROR nova.compute.manager [instance: 60dfa8e9-50f6-47b3-ba21-0e750888cd75]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2155, in _build_resources
2016-02-05 12:05:12.764 13141 ERROR nova.compute.manager [instance: 60dfa8e9-50f6-47b3-ba21-0e750888cd75]     yield resources
2016-02-05 12:05:12.764 13141 ERROR nova.compute.manager [instance: 60dfa8e9-50f6-47b3-ba21-0e750888cd75]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2009, in _build_and_run_instance
2016-02-05 12:05:12.764 13141 ERROR nova.compute.manager [instance: 60dfa8e9-50f6-47b3-ba21-0e750888cd75]     block_device_info=block_device_info)
2016-02-05 12:05:12.764 13141 ERROR nova.compute.manager [instance: 60dfa8e9-50f6-47b3-ba21-0e750888cd75]   File "/usr/local/lib/python2.7/dist-packages/novadocker/virt/docker/driver.py", line 508, in spawn
2016-02-05 12:05:12.764 13141 ERROR nova.compute.manager [instance: 60dfa8e9-50f6-47b3-ba21-0e750888cd75]     image_name = self._get_image_name(context, instance, image_meta)
2016-02-05 12:05:12.764 13141 ERROR nova.compute.manager [instance: 60dfa8e9-50f6-47b3-ba21-0e750888cd75]   File "/usr/local/lib/python2.7/dist-packages/novadocker/virt/docker/driver.py", line 371, in _get_image_name
2016-02-05 12:05:12.764 13141 ERROR nova.compute.manager [instance: 60dfa8e9-50f6-47b3-ba21-0e750888cd75]     fmt = image.container_format
2016-02-05 12:05:12.764 13141 ERROR nova.compute.manager [instance: 60dfa8e9-50f6-47b3-ba21-0e750888cd75] AttributeError: 'dict' object has no attribute 'container_format'
2016-02-05 12:05:12.764 13141 ERROR nova.compute.manager [instance: 60dfa8e9-50f6-47b3-ba21-0e750888cd75]

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1542176

Title:
  'dict' object has no attribute 'container_format'\n"]

Status in OpenStack Compute (nova):
  New

Bug description:
  While creating docker instance getting error below and the instance
  try to build on qemu.

  
  2016-02-05 12:05:12.764 13141 ERROR nova.compute.manager [req-0a99ac05-6fe8-4164-b875-48be3f24dd98 8a4e98a2addf47b6af8897af05518c19 4bbddf0552544090a0d90962b850d952 - - -] [instance: 60dfa8e9-50f6-47b3-ba21-0e750888cd75] Instance failed to spawn
  2016-02-05 12:05:12.764 13141 ERROR nova.compute.manager [instance: 60dfa8e9-50f6-47b3-ba21-0e750888cd75] Traceback (most recent call last):
  2016-02-05 12:05:12.764 13141 ERROR nova.compute.manager [instance: 60dfa8e9-50f6-47b3-ba21-0e750888cd75]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2155, in _build_resources
  2016-02-05 12:05:12.764 13141 ERROR nova.compute.manager [instance: 60dfa8e9-50f6-47b3-ba21-0e750888cd75]     yield resources
  2016-02-05 12:05:12.764 13141 ERROR nova.compute.manager [instance: 60dfa8e9-50f6-47b3-ba21-0e750888cd75]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2009, in _build_and_run_instance
  2016-02-05 12:05:12.764 13141 ERROR nova.compute.manager [instance: 60dfa8e9-50f6-47b3-ba21-0e750888cd75]     block_device_info=block_device_info)
  2016-02-05 12:05:12.764 13141 ERROR nova.compute.manager [instance: 60dfa8e9-50f6-47b3-ba21-0e750888cd75]   File "/usr/local/lib/python2.7/dist-packages/novadocker/virt/docker/driver.py", line 508, in spawn
  2016-02-05 12:05:12.764 13141 ERROR nova.compute.manager [instance: 60dfa8e9-50f6-47b3-ba21-0e750888cd75]     image_name = self._get_image_name(context, instance, image_meta)
  2016-02-05 12:05:12.764 13141 ERROR nova.compute.manager [instance: 60dfa8e9-50f6-47b3-ba21-0e750888cd75]   File "/usr/local/lib/python2.7/dist-packages/novadocker/virt/docker/driver.py", line 371, in _get_image_name
  2016-02-05 12:05:12.764 13141 ERROR nova.compute.manager [instance: 60dfa8e9-50f6-47b3-ba21-0e750888cd75]     fmt = image.container_format
  2016-02-05 12:05:12.764 13141 ERROR nova.compute.manager [instance: 60dfa8e9-50f6-47b3-ba21-0e750888cd75] AttributeError: 'dict' object has no attribute 'container_format'
  2016-02-05 12:05:12.764 13141 ERROR nova.compute.manager [instance: 60dfa8e9-50f6-47b3-ba21-0e750888cd75]

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1542176/+subscriptions


Follow ups