[openstack-dev] Is snapshot of LXC broken?

Jay Pipes jaypipes at gmail.com
Tue Nov 6 16:12:57 UTC 2012


Any update on this? David, did you eventually submit a bug or figure out
the source of the problem?

Best,
-jay

p.s. Sorry for top-posting...

On 09/28/2012 01:27 PM, David Kang wrote:
> 
>  Hi,
> 
>  I'm testing snapshot of LXC instance using stable/folsom branch.
> I got the error messages which I put at the end of this email.
> I think it is a bug.
> 
>  Thanks,
>  David
> 
> 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
> 
> 
> 
> ----------------------
> Dr. Dong-In "David" Kang
> Computer Scientist
> USC/ISI
> 
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 



More information about the OpenStack-dev mailing list