[openstack-dev] [nova] OPENSTACK SERVICE ERROR
Ben Nemec
openstack at nemebean.com
Mon Mar 17 16:14:42 UTC 2014
First, please don't use all caps in your subject. Second, please do use
tags to indicate which projects your message relates to. In this case,
that appears to be nova.
As far as the error, it looks like you may have some out of date code.
The line referenced in the backtrace is now line 1049 in api.py, not
953. That suggests to me that there have been some pretty significant
changes since whatever git revision you're currently using.
-Ben
On 2014-03-15 08:15, abhishek jain wrote:
> 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
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev [1]
Links:
------
[1] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140317/1c29b16d/attachment.html>
More information about the OpenStack-dev
mailing list