← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1166160] Re: Failure to snapshot backend

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-1

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

Title:
  Failure to snapshot backend

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  I started an instance with boot from volume, and tried to snapshot.  I
  got the following Traceback from nova-api:

  Traceback (most recent call last):
    File "/opt/stack/nova/nova/api/openstack/__init__.py", line 81, in __call__
      return req.get_response(self.application)
    File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1053, in get_response
      application, catch_exc_info=False)
    File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1022, in call_application
      app_iter = application(self.environ, start_response)
    File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 159, in __call__
      return resp(environ, start_response)
    File "/opt/stack/python-keystoneclient/keystoneclient/middleware/auth_token.py", line 451, in __call__
      return self.app(env, start_response)
    File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 159, in __call__
      return resp(environ, start_response)
    File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 159, in __call__
      return resp(environ, start_response)
    File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 159, in __call__
      return resp(environ, start_response)
    File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
      response = self.app(environ, start_response)
    File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 159, in __call__
      return resp(environ, start_response)
    File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 147, in __call__
      resp = self.call_func(req, *args, **self.kwargs)
    File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 208, in call_func
      return self.func(req, *args, **kwargs)
    File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 899, in __call__
      content_type, body, accept)
    File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 951, in _process_stack
      action_result = self.dispatch(meth, request, action_args)
    File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 1030, in dispatch
      return method(req=request, **action_args)
    File "/opt/stack/nova/nova/api/openstack/common.py", line 436, in inner
      return f(*args, **kwargs)
    File "/opt/stack/nova/nova/api/openstack/compute/servers.py", line 1360, in _action_create_image
      extra_properties=props)
    File "/opt/stack/nova/nova/compute/api.py", line 138, in inner
      return f(self, context, instance, *args, **kw)
    File "/opt/stack/nova/nova/compute/api.py", line 1617, in snapshot_volume_backed
      del bdm['volume_id']
  AttributeError: __delitem__

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