Live-migration nova fails with qemu and libvirt
This bug report was converted into a question: question #244195: Live-migration nova fails with qemu and libvirt .
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi,
I posted two messages to ask.ubuntu about my problem without solution:
https:/
https:/
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 live-migration MY_UUID_VM_INSTANCE my_host_destine
But silenty this command not works.
Finally, my log of /var/log/
---
<0>Feb 17 20:19:43 node-4 ¿<179>nova-
Traceback (most recent call last):
File "/usr/lib/
**args)
File "/usr/lib/
result = getattr(proxyobj, method)(ctxt, **kwargs)
File "/usr/lib/
payload)
File "/usr/lib/
return f(self, context, *args, **kw)
File "/usr/lib/
migrate_data)
File "/usr/lib/
self.
UnboundLocalError: local variable 'instance_dir' referenced before assignment
<0>Feb 17 20:20:16 node-4 ¿<180>nova-
<0>Feb 17 20:20:16 node-4 ¿<180>nova-
<0>Feb 17 20:20:16 node-4 ¿<180>nova-
<0>Feb 17 20:20:16 node-4 ¿<180>nova-
<0>Feb 17 20:20:16 node-4 ¿<182>nova-
<0>Feb 17 20:21:15 node-4 ¿<180>nova-
<0>Feb 17 20:21:15 node-4 ¿<180>nova-
<0>Feb 17 20:21:15 node-4 ¿<180>nova-
<0>Feb 17 20:21:15 node-4 ¿<180>nova-
<0>Feb 17 20:21:15 node-4 ¿<182>nova-
---
This is a bug? Someone could help me? I should use KVM instead qemu? Any help is usefull. Thanks in advance.
information type: | Private Security → Public |
description: | updated |
Changed in nova: | |
status: | New → Invalid |
status: | Invalid → Confirmed |
Changed in nova: | |
milestone: | none → icehouse-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
assignee: | Lucio Agostinho (outrosdiasvirao-n) → zhangjinnan (zhang-jinnan) |
Changed in nova: | |
milestone: | icehouse-3 → 2014.1 |
tags: | added: live-migrate |
Changed in nova: | |
assignee: | zhangjinnan (zhang-jinnan) → nobody |
Changed in nova: | |
status: | Incomplete → Fix Released |
I can't see how this could be happening by looking at the code (neither Havana nor master). What release of Havana are you running?