[openstack-dev] OPENSTACK SERVICE ERROR

abhishek jain ashujain9727 at gmail.com
Sat Mar 15 13:15:30 UTC 2014


Hi all

I have installed openstack using devstack and nearly all the functionality
is working fine.
However I'm getting an issue during live migration .
I'm creating a stack of one controller node and two compute nodes i.e
Compute node 1 and compute node 2 .I'm booting one VM at compute node 1 and
need to migrate it over compute node 2.
For this I'm using NFS which is working fine.

Also I have enabled
live_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE
in /etc/nova.conf over both the compute nodes and over controller node.


However when I apply nova live-migration command after restarting the
nova-compute service using screen session the VM is not able to migrate.

Below are the logs after restarting nova-compute service ..

16:33.500 2599 TRACE nova.openstack.common.rpc.amqp
2014-03-15 10:16:33.500 2599 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/network/neutronv2/api.py", line 953, in
_nw_info_build_network
2014-03-15 10:16:33.500 2599 TRACE nova.openstack.common.rpc.amqp
label=network_name,
2014-03-15 10:16:33.500 2599 TRACE nova.openstack.common.rpc.amqp
2014-03-15 10:16:33.500 2599 TRACE nova.openstack.common.rpc.amqp
UnboundLocalError: local variable 'network_name' referenced before
assignment
2014-03-15 10:16:33.500 2599 TRACE nova.openstack.common.rpc.amqp
2014-03-15 10:16:33.500 2599 TRACE nova.openstack.common.rpc.amqp

 10$(L) n-cpu*  11$(L) n-cond  12$(L) n-crt  13$(L) n-sch  14$(L) n-novnc
15$(L) n-xvnc  16$(L) n-cauth

Also find the attached screanshot describing the complete error.
Please help regarding this.



Thanks
Abhishek Jain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140315/94d7074b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2014-03-15 12:39:17.png
Type: image/png
Size: 301926 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140315/94d7074b/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2014-03-14 12:34:12.png
Type: image/png
Size: 318881 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140315/94d7074b/attachment-0003.png>


More information about the OpenStack-dev mailing list