Activity log for bug #1281295

Date Who What changed Old value New value Message
2014-02-17 20:59:42 Lucio Agostinho bug added bug
2014-02-17 23:57:04 Jeremy Stanley information type Private Security Public
2014-02-18 13:36:00 Lucio Agostinho description Hi, I post two messages to ask.ubuntu about my problem without solution: https://ask.openstack.org/en/question/12033/live-migration-with-qemu-is-possible/ https://ask.openstack.org/en/question/12134/live-migration-with-qemu-is-really-possible/ and I reported the problem in #openstack. Until now, I can't find a solution. I'm using Openstack Havana in CentOS. I've installed 1 controller and 2 compute nodes, with NFS. Controller folder is shared by the compute nodes (folder /var/lib/nova/instances). All nodes are accessible among them without password. I can perform a migration in the dashboard. In the shell, I exaustivelly tried live migration without sucess. I'm setting /etc/nova/nova.conf and uncomment all live-migration options. I'm trying the following in the shell: # nova live-migration MY_UUID_VM_INSTANCE my_host_destine But silenty this command not works. Finally, my log of /var/log/nova-all.log: --- <0>Feb 17 20:19:43 node-4 ¿<179>nova-nova.openstack.common.rpc.amqp ERROR: Exception during message handling Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/amqp.py", line 461, in _process_data **args) File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch result = getattr(proxyobj, method)(ctxt, **kwargs) File "/usr/lib/python2.6/site-packages/nova/exception.py", line 90, in wrapped payload) File "/usr/lib/python2.6/site-packages/nova/exception.py", line 73, in wrapped return f(self, context, *args, **kw) File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 4016, in pre_live_migration migrate_data) File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 4162, in pre_live_migration self._create_images_and_backing(context, instance, instance_dir, UnboundLocalError: local variable 'instance_dir' referenced before assignment <0>Feb 17 20:20:16 node-4 ¿<180>nova-nova.compute.resource_tracker AUDIT: Auditing locally available compute resources <0>Feb 17 20:20:16 node-4 ¿<180>nova-nova.compute.resource_tracker AUDIT: Free ram (MB): 1494 <0>Feb 17 20:20:16 node-4 ¿<180>nova-nova.compute.resource_tracker AUDIT: Free disk (GB): 14 <0>Feb 17 20:20:16 node-4 ¿<180>nova-nova.compute.resource_tracker AUDIT: Free VCPUS: 2 <0>Feb 17 20:20:16 node-4 ¿<182>nova-nova.compute.resource_tracker INFO: Compute_service record updated for node-4.domain.tld:node-4.domain.tld <0>Feb 17 20:21:15 node-4 ¿<180>nova-nova.compute.resource_tracker AUDIT: Auditing locally available compute resources <0>Feb 17 20:21:15 node-4 ¿<180>nova-nova.compute.resource_tracker AUDIT: Free ram (MB): 1494 <0>Feb 17 20:21:15 node-4 ¿<180>nova-nova.compute.resource_tracker AUDIT: Free disk (GB): 14 <0>Feb 17 20:21:15 node-4 ¿<180>nova-nova.compute.resource_tracker AUDIT: Free VCPUS: 2 <0>Feb 17 20:21:15 node-4 ¿<182>nova-nova.compute.resource_tracker INFO: Compute_service record updated for node-4.domain.tld:node-4.domain.tld --- This is a bug? Someone could help me? I should use KVM instead qemu? Any help is usefull. Thanks in advance. Hi, I posted two messages to ask.ubuntu about my problem without solution: https://ask.openstack.org/en/question/12033/live-migration-with-qemu-is-possible/ https://ask.openstack.org/en/question/12134/live-migration-with-qemu-is-really-possible/ and I reported the problem in #openstack. Until now, I can't find a solution. I'm using Openstack Havana in CentOS. I've installed 1 controller and 2 compute nodes, with NFS. Controller folder is shared by the compute nodes (folder /var/lib/nova/instances). All nodes are accessible among them without password. I can perform a migration in the dashboard. In the shell, I exaustivelly tried live migration without sucess. I'm setting /etc/nova/nova.conf and uncomment all live-migration options. I'm trying the following in the shell: # nova live-migration MY_UUID_VM_INSTANCE my_host_destine But silenty this command not works. Finally, my log of /var/log/nova-all.log: --- <0>Feb 17 20:19:43 node-4 ¿<179>nova-nova.openstack.common.rpc.amqp ERROR: Exception during message handling Traceback (most recent call last):   File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/amqp.py", line 461, in _process_data     **args)   File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch     result = getattr(proxyobj, method)(ctxt, **kwargs)   File "/usr/lib/python2.6/site-packages/nova/exception.py", line 90, in wrapped     payload)   File "/usr/lib/python2.6/site-packages/nova/exception.py", line 73, in wrapped     return f(self, context, *args, **kw)   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 4016, in pre_live_migration     migrate_data)   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 4162, in pre_live_migration     self._create_images_and_backing(context, instance, instance_dir, UnboundLocalError: local variable 'instance_dir' referenced before assignment <0>Feb 17 20:20:16 node-4 ¿<180>nova-nova.compute.resource_tracker AUDIT: Auditing locally available compute resources <0>Feb 17 20:20:16 node-4 ¿<180>nova-nova.compute.resource_tracker AUDIT: Free ram (MB): 1494 <0>Feb 17 20:20:16 node-4 ¿<180>nova-nova.compute.resource_tracker AUDIT: Free disk (GB): 14 <0>Feb 17 20:20:16 node-4 ¿<180>nova-nova.compute.resource_tracker AUDIT: Free VCPUS: 2 <0>Feb 17 20:20:16 node-4 ¿<182>nova-nova.compute.resource_tracker INFO: Compute_service record updated for node-4.domain.tld:node-4.domain.tld <0>Feb 17 20:21:15 node-4 ¿<180>nova-nova.compute.resource_tracker AUDIT: Auditing locally available compute resources <0>Feb 17 20:21:15 node-4 ¿<180>nova-nova.compute.resource_tracker AUDIT: Free ram (MB): 1494 <0>Feb 17 20:21:15 node-4 ¿<180>nova-nova.compute.resource_tracker AUDIT: Free disk (GB): 14 <0>Feb 17 20:21:15 node-4 ¿<180>nova-nova.compute.resource_tracker AUDIT: Free VCPUS: 2 <0>Feb 17 20:21:15 node-4 ¿<182>nova-nova.compute.resource_tracker INFO: Compute_service record updated for node-4.domain.tld:node-4.domain.tld --- This is a bug? Someone could help me? I should use KVM instead qemu? Any help is usefull. Thanks in advance.
2014-02-18 15:47:03 Lucio Agostinho nova: status New Invalid
2014-02-18 15:47:03 Lucio Agostinho converted to question 244195
2014-02-18 15:47:53 Lucio Agostinho nova: status Invalid Confirmed
2014-02-28 20:17:32 Michael Still nova: status Confirmed Incomplete
2014-02-28 21:23:50 Lucio Agostinho nova: status Incomplete Fix Committed
2014-02-28 21:23:54 Lucio Agostinho nova: assignee Lucio Agostinho (outrosdiasvirao-n)
2014-03-05 13:13:06 Thierry Carrez nova: status Fix Committed Fix Released
2014-03-05 13:13:06 Thierry Carrez nova: milestone icehouse-3
2014-03-13 12:30:34 zhangjinnan nova: assignee Lucio Agostinho (outrosdiasvirao-n) zhangjinnan (zhang-jinnan)
2014-04-17 09:08:24 Thierry Carrez nova: milestone icehouse-3 2014.1
2014-07-28 12:15:21 Lucio Agostinho nova: status Fix Released Confirmed
2015-06-01 11:37:25 Pawel Koniszewski tags live-migrate
2015-07-23 09:40:42 Pawel Koniszewski bug added subscriber Pawel Koniszewski
2015-07-27 11:50:58 Eli Qiao nova: status Confirmed Invalid
2015-07-27 11:51:02 Eli Qiao nova: status Invalid Incomplete
2015-08-06 08:03:34 zhangjinnan nova: assignee zhangjinnan (zhang-jinnan)
2015-08-07 01:39:35 Eli Qiao nova: status Incomplete Fix Released