← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1058273] Re: Snapshotting LXC instance fails

 

** No longer affects: nova/folsom

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

Title:
  Snapshotting LXC instance fails

Status in OpenStack Compute (Nova):
  Fix Released
Status in “nova” package in Ubuntu:
  Fix Released
Status in “nova” source package in Quantal:
  Fix Released

Bug description:
  
   Snapshotting LXC instance fails.

  Versions tested: stable/folsom

  commit f340643396fa13bac3c5781eaa315c9b0dfc5c0c
  Author: Thierry Carrez <thierry@xxxxxxxxxxxxx>
  Date:   Fri Sep 28 10:30:58 2012 +0200

  
  Error message ===============

  2012-09-28 13:12:06 ERROR nova.openstack.common.rpc.amqp [-] Exception during message handling
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp   File "/usr/local/nova/nova/openstack/common/rpc/amqp.py", line 275, in _process_data
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp     rval = self.proxy.dispatch(ctxt, version, method, **args)
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp   File "/usr/local/nova/nova/openstack/common/rpc/dispatcher.py", line 145, in dispatch
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp     return getattr(proxyobj, method)(ctxt, **kwargs)
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp   File "/usr/local/nova/nova/exception.py", line 117, in wrapped
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp     temp_level, payload)
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp   File "/usr/local/nova/nova/exception.py", line 92, in wrapped
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp     return f(*args, **kw)
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp   File "/usr/local/nova/nova/compute/manager.py", line 181, in decorated_function
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp     pass
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp   File "/usr/local/nova/nova/compute/manager.py", line 167, in decorated_function
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp     return function(self, context, *args, **kwargs)
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp   File "/usr/local/nova/nova/compute/manager.py", line 202, in decorated_function
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp     kwargs['instance']['uuid'], e, sys.exc_info())
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp   File "/usr/local/nova/nova/compute/manager.py", line 196, in decorated_function
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp     return function(self, context, *args, **kwargs)
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp   File "/usr/local/nova/nova/compute/manager.py", line 1163, in snapshot_instance
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp     self.driver.snapshot(context, instance, image_id)
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp   File "/usr/local/nova/nova/exception.py", line 117, in wrapped
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp     temp_level, payload)
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp   File "/usr/local/nova/nova/exception.py", line 92, in wrapped
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp     return f(*args, **kw)
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp   File "/usr/local/nova/nova/virt/libvirt/driver.py", line 822, in snapshot
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp     disk_path = source.get('file')
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp AttributeError: 'NoneType' object has no attribute 'get'
  2012-09-28 13:12:06 TRACE nova.openstack.common.rpc.amqp

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