← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1291471] Re: can't boot a volume from a volume that has been created from a snapshot

 

3 months in Incomplete status waiting for info.

** Changed in: nova
       Status: Incomplete => Invalid

-- 
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/1291471

Title:
  can't boot a volume from a volume that has been created from a
  snapshot

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  Description of problem:
  A volume that has been created from a snapshot of a volume failed to boot an instance with the following error: 

  2014-03-12 18:03:39.790 9573 ERROR nova.compute.manager [req-f67dabd7-f013-483a-a386-d5a511b86be7 1654b1a85ba647df87fc9258962949fb 87761b8cc7d34be29063ad24073b2172] [instance: 9f1a00b6-4b88-431e-a163-feaf06e0bfe3] Instance failed block d
  evice setup
  2014-03-12 18:03:39.790 9573 TRACE nova.compute.manager [instance: 9f1a00b6-4b88-431e-a163-feaf06e0bfe3] Traceback (most recent call last):
  2014-03-12 18:03:39.790 9573 TRACE nova.compute.manager [instance: 9f1a00b6-4b88-431e-a163-feaf06e0bfe3]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1387, in _prep_block_device
  2014-03-12 18:03:39.790 9573 TRACE nova.compute.manager [instance: 9f1a00b6-4b88-431e-a163-feaf06e0bfe3]     self._await_block_device_map_created) +
  2014-03-12 18:03:39.790 9573 TRACE nova.compute.manager [instance: 9f1a00b6-4b88-431e-a163-feaf06e0bfe3]   File "/usr/lib/python2.6/site-packages/nova/virt/block_device.py", line 283, in attach_block_devices
  2014-03-12 18:03:39.790 9573 TRACE nova.compute.manager [instance: 9f1a00b6-4b88-431e-a163-feaf06e0bfe3]     block_device_mapping)
  2014-03-12 18:03:39.790 9573 TRACE nova.compute.manager [instance: 9f1a00b6-4b88-431e-a163-feaf06e0bfe3]   File "/usr/lib/python2.6/site-packages/nova/virt/block_device.py", line 170, in attach
  2014-03-12 18:03:39.790 9573 TRACE nova.compute.manager [instance: 9f1a00b6-4b88-431e-a163-feaf06e0bfe3]     connector)
  2014-03-12 18:03:39.790 9573 TRACE nova.compute.manager [instance: 9f1a00b6-4b88-431e-a163-feaf06e0bfe3]   File "/usr/lib/python2.6/site-packages/nova/volume/cinder.py", line 176, in wrapper
  2014-03-12 18:03:39.790 9573 TRACE nova.compute.manager [instance: 9f1a00b6-4b88-431e-a163-feaf06e0bfe3]     res = method(self, ctx, volume_id, *args, **kwargs)
  2014-03-12 18:03:39.790 9573 TRACE nova.compute.manager [instance: 9f1a00b6-4b88-431e-a163-feaf06e0bfe3]   File "/usr/lib/python2.6/site-packages/nova/volume/cinder.py", line 274, in initialize_connection
  2014-03-12 18:03:39.790 9573 TRACE nova.compute.manager [instance: 9f1a00b6-4b88-431e-a163-feaf06e0bfe3]     connector)
  2014-03-12 18:03:39.790 9573 TRACE nova.compute.manager [instance: 9f1a00b6-4b88-431e-a163-feaf06e0bfe3]   File "/usr/lib/python2.6/site-packages/cinderclient/v1/volumes.py", line 321, in initialize_connection
  2014-03-12 18:03:39.790 9573 TRACE nova.compute.manager [instance: 9f1a00b6-4b88-431e-a163-feaf06e0bfe3]     {'connector': connector})[1]['connection_info']
  2014-03-12 18:03:39.790 9573 TRACE nova.compute.manager [instance: 9f1a00b6-4b88-431e-a163-feaf06e0bfe3]   File "/usr/lib/python2.6/site-packages/cinderclient/v1/volumes.py", line 250, in _action
  2014-03-12 18:03:39.790 9573 TRACE nova.compute.manager [instance: 9f1a00b6-4b88-431e-a163-feaf06e0bfe3]     return self.api.client.post(url, body=body)
  2014-03-12 18:03:39.790 9573 TRACE nova.compute.manager [instance: 9f1a00b6-4b88-431e-a163-feaf06e0bfe3]   File "/usr/lib/python2.6/site-packages/cinderclient/client.py", line 210, in post
  2014-03-12 18:03:39.790 9573 TRACE nova.compute.manager [instance: 9f1a00b6-4b88-431e-a163-feaf06e0bfe3]     return self._cs_request(url, 'POST', **kwargs)
  2014-03-12 18:03:39.790 9573 TRACE nova.compute.manager [instance: 9f1a00b6-4b88-431e-a163-feaf06e0bfe3]   File "/usr/lib/python2.6/site-packages/cinderclient/client.py", line 174, in _cs_request
  2014-03-12 18:03:39.790 9573 TRACE nova.compute.manager [instance: 9f1a00b6-4b88-431e-a163-feaf06e0bfe3]     **kwargs)
  2014-03-12 18:03:39.790 9573 TRACE nova.compute.manager [instance: 9f1a00b6-4b88-431e-a163-feaf06e0bfe3]   File "/usr/lib/python2.6/site-packages/cinderclient/client.py", line 157, in request
  2014-03-12 18:03:39.790 9573 TRACE nova.compute.manager [instance: 9f1a00b6-4b88-431e-a163-feaf06e0bfe3]     raise exceptions.from_response(resp, body)
  2014-03-12 18:03:39.790 9573 TRACE nova.compute.manager [instance: 9f1a00b6-4b88-431e-a163-feaf06e0bfe3] ClientException: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-e990ac94-97d9-41f3-b1e1-ca63e7d1d2bc)

  2014-03-12 18:03:40.289 9573 ERROR nova.openstack.common.rpc.amqp [req-f67dabd7-f013-483a-a386-d5a511b86be7 1654b1a85ba647df87fc9258962949fb 87761b8cc7d34be29063ad24073b2172] Exception during message handling
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/amqp.py", line 461, in _process_data
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp     **args)
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp     result = getattr(proxyobj, method)(ctxt, **kwargs)
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/exception.py", line 90, in wrapped
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp     payload)
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/exception.py", line 73, in wrapped
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp     return f(self, context, *args, **kw)
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 243, in decorated_function
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp     pass
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 229, in decorated_function
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp     return function(self, context, *args, **kwargs)
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 294, in decorated_function
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp     function(self, context, *args, **kwargs)
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 271, in decorated_function
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp     e, sys.exc_info())
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 258, in decorated_function
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp     return function(self, context, *args, **kwargs)
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1630, in run_instance
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp     do_run_instance()
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/openstack/common/lockutils.py", line 246, in inner
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp     return f(*args, **kwargs)
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1629, in do_run_instance
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp     legacy_bdm_in_spec)
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 968, in _run_instance
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp     notify("error", msg=unicode(e))  # notify that build failed
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 952, in _run_instance
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp     instance, image_meta, legacy_bdm_in_spec)
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1081, in _build_instance
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp     LOG.exception(msg, instance=instance)
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1034, in _build_instance
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp     context, instance, bdms)
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1409, in _prep_block_device
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp     raise exception.InvalidBDM()
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp InvalidBDM: Block Device Mapping is Invalid.
  2014-03-12 18:03:40.289 9573 TRACE nova.openstack.common.rpc.amqp 

  Version-Release number of selected component (if applicable):
  python-novaclient-2.15.0-3.el6ost.noarch
  python-nova-2013.2.2-2.el6ost.noarch
  openstack-nova-common-2013.2.2-2.el6ost.noarch
  openstack-nova-compute-2013.2.2-2.el6ost.noarch
  python-cinderclient-1.0.7-2.el6ost.noarch
  openstack-cinder-2013.2.2-2.el6ost.noarch
  python-cinder-2013.2.2-2.el6ost.noarch

  How reproducible:
  100%

  Steps to Reproduce:
  1. install OS to a volume.
  2. create a snapshot of the volume.
  3. create a volume from the snapshot.
  4. boot an instance from the volume.

  Actual results:
  the instance fail to boot.

  Expected results:
  the instance should boot.

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


References