← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1457339] [NEW] Nova compute error spawning instances with Kilo

 

Public bug reported:

Just upgraded from Juno to Kilo and am now getting the error below on
compute nodes when launching a new instance. Using Ubuntu 14.04 (cloud
archive repo), KVM and Ceph. Not clear what's causing this, only know
that it did work on Juno!

    Instance failed to spawn
     Traceback (most recent call last):
       File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2442, in _build_resources
         yield resources
       File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2314, in _build_and_run_instance
         block_device_info=block_device_info)
       File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2347, in spawn
         admin_pass=admin_password)
       File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2745, in _create_image
         instance, size, fallback_from_host)
       File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 5875, in _try_fetch_image_cache
         size=size)
       File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line 231, in cache
         *args, **kwargs)
       File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line 727, in create_image
         prepare_template(target=base, max_size=size, *args, **kwargs)
       File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 445, in inner
         return f(*args, **kwargs)
       File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line 221, in fetch_func_sync
         fetch_func(target=target, *args, **kwargs)
       File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2737, in clone_fallback_to_fetch
         backend.clone(context, disk_images['image_id'])
       File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line 752, in clone
         include_locations=True)
       File "/usr/lib/python2.7/dist-packages/nova/image/api.py", line 93, in get
         show_deleted=show_deleted)
       File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 301, in show
         _reraise_translated_image_exception(image_id)
       File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 299, in show
         image = self._client.call(context, version, 'get', image_id)
       File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 219, in call
         return getattr(client.images, method)(*args, **kwargs)
       File "/usr/lib/python2.7/dist-packages/glanceclient/v2/images.py", line 106, in get
         return self.model(**body)
       File "/usr/lib/python2.7/dist-packages/warlock/core.py", line 32, in __init__
         base_class.__init__(self, *args, **kwargs)
       File "/usr/lib/python2.7/dist-packages/warlock/model.py", line 35, in __init__
         raise ValueError(str(exc))
     ValueError: None is not of type u'string'
     
     Failed validating u'type' in schema[u'additionalProperties']:
         {u'type': u'string'}
     
     On instance[u'description']:
         None

** 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/1457339

Title:
  Nova compute error spawning instances with Kilo

Status in OpenStack Compute (Nova):
  New

Bug description:
  Just upgraded from Juno to Kilo and am now getting the error below on
  compute nodes when launching a new instance. Using Ubuntu 14.04 (cloud
  archive repo), KVM and Ceph. Not clear what's causing this, only know
  that it did work on Juno!

      Instance failed to spawn
       Traceback (most recent call last):
         File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2442, in _build_resources
           yield resources
         File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2314, in _build_and_run_instance
           block_device_info=block_device_info)
         File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2347, in spawn
           admin_pass=admin_password)
         File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2745, in _create_image
           instance, size, fallback_from_host)
         File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 5875, in _try_fetch_image_cache
           size=size)
         File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line 231, in cache
           *args, **kwargs)
         File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line 727, in create_image
           prepare_template(target=base, max_size=size, *args, **kwargs)
         File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 445, in inner
           return f(*args, **kwargs)
         File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line 221, in fetch_func_sync
           fetch_func(target=target, *args, **kwargs)
         File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2737, in clone_fallback_to_fetch
           backend.clone(context, disk_images['image_id'])
         File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line 752, in clone
           include_locations=True)
         File "/usr/lib/python2.7/dist-packages/nova/image/api.py", line 93, in get
           show_deleted=show_deleted)
         File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 301, in show
           _reraise_translated_image_exception(image_id)
         File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 299, in show
           image = self._client.call(context, version, 'get', image_id)
         File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 219, in call
           return getattr(client.images, method)(*args, **kwargs)
         File "/usr/lib/python2.7/dist-packages/glanceclient/v2/images.py", line 106, in get
           return self.model(**body)
         File "/usr/lib/python2.7/dist-packages/warlock/core.py", line 32, in __init__
           base_class.__init__(self, *args, **kwargs)
         File "/usr/lib/python2.7/dist-packages/warlock/model.py", line 35, in __init__
           raise ValueError(str(exc))
       ValueError: None is not of type u'string'
       
       Failed validating u'type' in schema[u'additionalProperties']:
           {u'type': u'string'}
       
       On instance[u'description']:
           None

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


Follow ups

References