[Bug 1508230] Re: regression in cloning raw image type with ceph

Brian Murray brian at ubuntu.com
Thu Jan 7 19:35:42 UTC 2016


Hello Sam, or anyone else affected,

Accepted nova into wily-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/nova/2:12.0.0-0ubuntu2.15.10.1 in a
few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: nova (Ubuntu Wily)
       Status: In Progress => Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1508230

Title:
  regression in cloning raw image type with ceph

Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) liberty series:
  Fix Released
Status in nova package in Ubuntu:
  Fix Released
Status in nova source package in Wily:
  Fix Committed
Status in nova source package in Xenial:
  Fix Released

Bug description:
  Exists in 12.0.0 and master right now. An image of type 'raw' cannot
  be booted if it tries to clone due to a regression introduced in
  12.0.0.0-rc3

  2015-10-20 22:27:34.185 1 DEBUG nova.virt.libvirt.imagebackend [req-8ba3f810-3c6a-4d9c-8848-657308310df8 30c19408c93247c9824e13980f3c14aa 41358b17076645ccbdd3738ca6b02a77 - - -] Image locations are: [{'url': u'rbd://5fba2fbc-551d-11e5-a8ce-01ef4c5cf93c/glance/eb1e102a-dc1d-4084-aa5a-309d02b1f170/snap', 'metadata': {}}] clone /usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py:829
  2015-10-20 22:27:34.198 1 DEBUG oslo_concurrency.lockutils [req-8ba3f810-3c6a-4d9c-8848-657308310df8 30c19408c93247c9824e13980f3c14aa 41358b17076645ccbdd3738ca6b02a77 - - -] Lock "51f355cbdaa5d01f681ddff0aec17c526c07c9de" released by "nova.virt.libvirt.imagebackend.fetch_func_sync" :: held 0.068s inner /usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py:265
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [req-8ba3f810-3c6a-4d9c-8848-657308310df8 30c19408c93247c9824e13980f3c14aa 41358b17076645ccbdd3738ca6b02a77 - - -] [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94] Instance failed to spawn
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94] Traceback (most recent call last):
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2172, in _build_resources
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94]     yield resources
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2019, in _build_and_run_instance
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94]     block_device_info=block_device_info)
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2437, in spawn
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94]     admin_pass=admin_password)
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2861, in _create_image
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94]     instance, size, fallback_from_host)
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 6282, in _try_fetch_image_cache
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94]     size=size)
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line 249, in cache
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94]     *args, **kwargs)
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line 803, in create_image
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94]     prepare_template(target=base, max_size=size, *args, **kwargs)
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94]   File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 254, in inner
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94]     return f(*args, **kwargs)
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line 239, in fetch_func_sync
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94]     fetch_func(target=target, *args, **kwargs)
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2853, in clone_fallback_to_fetch
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94]     backend.clone(context, disk_images['image_id'])
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line 837, in clone
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94]     if self.driver.is_cloneable(location, image_meta):
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/storage/rbd_utils.py", line 193, in is_cloneable
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94]     if image_meta.disk_format != 'raw':
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94] AttributeError: 'dict' object has no attribute 'disk_format'
  2015-10-20 22:27:34.199 1 ERROR nova.compute.manager [instance: 5f35f469-4ef5-471f-bdbc-ecb1835e1e94]

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



More information about the Ubuntu-openstack-bugs mailing list