yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #44195
[Bug 1508230] Re: regression in cloning raw image type with ceph
For those interested in testing, I've uploaded a fixed package for nova
to:
https://launchpad.net/~james-page/+archive/ubuntu/liberty-sru
Alongside all current liberty stable point releases we're about to start
SRU'ing.
** Changed in: nova (Ubuntu)
Status: Triaged => In Progress
** Also affects: nova (Ubuntu Xenial)
Importance: High
Status: In Progress
** Also affects: nova (Ubuntu Wily)
Importance: Undecided
Status: New
** Changed in: nova (Ubuntu Wily)
Status: New => In Progress
** Changed in: nova (Ubuntu Wily)
Importance: Undecided => High
** Changed in: nova (Ubuntu Wily)
Assignee: (unassigned) => James Page (james-page)
** Changed in: nova (Ubuntu Xenial)
Status: In Progress => Fix Released
--
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/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:
In Progress
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
References