← Back to team overview

openstack team mailing list archive

Re: Instance snapshotting error

 

It seems as though the plugin is waiting for a coalesce to happen after the snapshot - and timing out.

Could you confirm if the coalesce actually happened on the XenServer host, or if there were errors when attempting to coalesce? (probably from /var/log/SMlog)

It might be worth checking the integrity of the SR by running an sr-scan on the storage repository in question and checking the output of /var/log/SMlog.

Thanks,

bob

From: openstack-bounces+bob.ball=citrix.com@xxxxxxxxxxxxxxxxxxx [mailto:openstack-bounces+bob.ball=citrix.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of Afef MDHAFFAR
Sent: 12 March 2013 13:02
To: openstack@xxxxxxxxxxxxxxxxxxx
Subject: [Openstack] Instance snapshotting error

Hi all,

I use openstack (folsom release) + XCP + ubuntu 12.04.
I tried to create a snapshot of an ubuntu instance.
Unfortunately, I get this error. Any ideas how to deal with this error?
-----
2013-03-12 12:54:02 AUDIT nova.compute.manager [req-39dc25ff-686d-46b8-98ac-29b3b08dbe94 admin demo] [instance: 945a44a0-2001-4165-a66c-a40ae552ab12] instance snapshotting
2013-03-12 12:54:36 ERROR nova.openstack.common.rpc.amqp [req-39dc25ff-686d-46b8-98ac-29b3b08dbe94 admin demo] Exception during message handling
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 393, in _process_data
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp     rval = self.proxy.dispatch(ctxt, version, method, **args)
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 133, in dispatch
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp     return getattr(proxyobj, method)(ctxt, **kwargs)
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/exception.py", line 117, in wrapped
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp     temp_level, payload)
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/exception.py", line 94, in wrapped
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp     return f(self, context, *args, **kw)
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/compute/manager.py", line 210, in decorated_function
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp     pass
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/compute/manager.py", line 196, in decorated_function
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp     return function(self, context, *args, **kwargs)
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/compute/manager.py", line 238, in decorated_function
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp     e, sys.exc_info())
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/compute/manager.py", line 225, in decorated_function
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp     return function(self, context, *args, **kwargs)
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/compute/manager.py", line 1651, in snapshot_instance
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp     self.driver.snapshot(context, instance, image_id, update_task_state)
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/virt/xenapi/driver.py", line 194, in snapshot
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp     self._vmops.snapshot(context, instance, image_id, update_task_state)
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 712, in snapshot
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp     update_task_state) as vdi_uuids:
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp     return self.gen.next()
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 627, in snapshot_attached_here
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp     original_parent_uuid)
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 1831, in _wait_for_vhd_coalesce
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp     raise exception.NovaException(msg)
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp NovaException: VHD coalesce attempts exceeded (5), giving up...
2013-03-12 12:54:36 TRACE nova.openstack.common.rpc.amqp
2013-03-12 12:55:03 AUDIT nova.compute.resource_tracker [-] Auditing locally available compute resources
-------

Thank you,
Afef

References