Ask Your Question

danny xin's profile - activity

2014-01-23 17:51:27 -0500 received badge  Famous Question (source)
2014-01-05 00:38:59 -0500 received badge  Notable Question (source)
2013-12-09 01:10:38 -0500 received badge  Supporter (source)
2013-12-09 01:10:31 -0500 received badge  Scholar (source)
2013-12-09 01:10:24 -0500 commented answer Cannot create live snapshot with error: virDomain instance has no attribute 'blockRebase'

Good news! After I upgraded python-libvirt to 1.1.1, the problem resolved! Really appreciate your help, gordon

2013-12-09 00:52:04 -0500 received badge  Popular Question (source)
2013-12-08 19:12:05 -0500 commented answer Cannot create live snapshot with error: virDomain instance has no attribute 'blockRebase'

Gordon, thanks for your feedback.
I ever googled out that nova live snapshot can only work properly with Qemu1.3/Libvirt1.0 or newer. So these packages had been upgraded to newer level, see below.

ii  qemu-common                            1.5.0+dfsg-3ubuntu5~cloud0
ii  qemu-keymaps                           1.5.0+dfsg-3ubuntu5~cloud0
ii  qemu-kvm                               1.5.0+dfsg-3ubuntu5~cloud0
ii  qemu-system-common                     1.5.0+dfsg-3ubuntu5~cloud0
ii  qemu-system-x86                        1.5.0+dfsg-3ubuntu5~cloud0
ii  qemu-utils                             1.5.0+dfsg-3ubuntu5~cloud0
ii  libvirt-bin                            1.1.1-0ubuntu8~cloud2
ii  libvirt0                               1.1.1-0ubuntu8~cloud2

Only python-libvirt shows 0.9.8. Not sure whether there is newer one, will find out.
ii  python-libvirt                         0.9.8-2ubuntu17.10

2013-12-08 11:51:54 -0500 received badge  Student (source)
2013-12-07 21:02:34 -0500 asked a question Cannot create live snapshot with error: virDomain instance has no attribute 'blockRebase'

I am running Havava with KVM/Ubuntu 12.04 LTS Server x86_64. Cold snapshot succeeds either from Horizon or nova CLI. But live snapshot from a running server fails with error like below. "virsh snapshot-create" to create a disk snapshot works fine. Anybody helps me out?

2013-12-07 21:37:00.446 4175 AUDIT nova.compute.manager [req-d4a7083c-0151-4f0d-a54a-7ac45f7bf12a d17f4021d84e456499fb6047f666db25 87dcb9bfd1624940a642fdfa3d1d456e] [instance: eff82154-bd75-40a7-bc83-60ba0f5b2ac4] instance snapshotting
2013-12-07 21:37:00.600 4175 INFO nova.virt.libvirt.driver [req-d4a7083c-0151-4f0d-a54a-7ac45f7bf12a d17f4021d84e456499fb6047f666db25 87dcb9bfd1624940a642fdfa3d1d456e] [instance: eff82154-bd75-40a7-bc83-60ba0f5b2ac4] Beginning live snapshot process
2013-12-07 21:41:07.512 4175 AUDIT nova.compute.resource_tracker [req-4fc72a67-bd0d-4cbe-8112-e717d97bcd95 None None] Auditing locally available compute resources
2013-12-07 21:41:07.515 4175 WARNING nova.openstack.common.loopingcall [-] task run outlasted interval by 40.387403 sec
2013-12-07 21:48:13.065 4175 WARNING nova.openstack.common.loopingcall [-] task run outlasted interval by 415.54833 sec
2013-12-07 21:48:56.754 4175 INFO nova.virt.libvirt.driver [req-d4a7083c-0151-4f0d-a54a-7ac45f7bf12a d17f4021d84e456499fb6047f666db25 87dcb9bfd1624940a642fdfa3d1d456e] [instance: eff82154-bd75-40a7-bc83-60ba0f5b2ac4] Snapshot extracted, beginning image upload
2013-12-07 21:48:56.761 4175 WARNING nova.openstack.common.loopingcall [-] task run outlasted interval by 33.693528 sec
2013-12-07 21:48:57.104 4175 INFO nova.openstack.common.rpc.common [req-4fc72a67-bd0d-4cbe-8112-e717d97bcd95 None None] Connected to AMQP server on 192.168.122.1:5672
2013-12-07 21:48:57.240 4175 AUDIT nova.compute.resource_tracker [req-4fc72a67-bd0d-4cbe-8112-e717d97bcd95 None None] Free ram (MB): 1378
2013-12-07 21:48:57.240 4175 AUDIT nova.compute.resource_tracker [req-4fc72a67-bd0d-4cbe-8112-e717d97bcd95 None None] Free disk (GB): 5
2013-12-07 21:48:57.241 4175 AUDIT nova.compute.resource_tracker [req-4fc72a67-bd0d-4cbe-8112-e717d97bcd95 None None] Free VCPUS: 3
2013-12-07 21:48:57.316 4175 INFO nova.compute.resource_tracker [req-4fc72a67-bd0d-4cbe-8112-e717d97bcd95 None None] Compute_service record updated for mngn-support:mngn-support
2013-12-07 21:48:57.418 4175 ERROR nova.openstack.common.rpc.amqp [req-d4a7083c-0151-4f0d-a54a-7ac45f7bf12a d17f4021d84e456499fb6047f666db25 87dcb9bfd1624940a642fdfa3d1d456e] Exception during message handling
2013-12-07 21:48:57.418 4175 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
2013-12-07 21:48:57.418 4175 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 461, in _process_data
2013-12-07 21:48:57.418 4175 TRACE nova.openstack.common.rpc.amqp     **args)
2013-12-07 21:48:57.418 4175 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch
2013-12-07 21:48:57.418 4175 TRACE nova.openstack.common.rpc.amqp     result = getattr(proxyobj, method)(ctxt, **kwargs)
2013-12-07 21:48:57.418 4175 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 353, in decorated_function
2013-12-07 21:48:57.418 4175 TRACE nova.openstack.common.rpc.amqp     return function(self, context, *args, **kwargs)
2013-12-07 21:48:57.418 4175 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 90, in wrapped
2013-12-07 21:48:57.418 4175 TRACE nova.openstack.common.rpc.amqp     payload)
2013-12-07 21:48:57.418 4175 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line ...
(more)