[openstack-dev] [nova] OPENSTACK SERVICE ERROR
abhishek jain
ashujain9727 at gmail.com
Tue Mar 18 15:07:26 UTC 2014
Hi Ben
Thanks.I'll take care of Formatting in future.Moreover I'll pull the
latest code and will let you know the result soon.
Hi Facundo
Following are the answers of your questions...
Do you have n-cpu running in every node? (controller and both computes)
--YES I have n-cpu running in every node.
Which services do you have enabled in both compute nodes?
--n-novnc and n-cpu are the two services running at the two compute nodes.
To which node corresponds the screen log provided?
-- The logs corresponds to the the compute node at which the n-cpu service
is started.
What is the output of nova-manage service list?
--Following is the output of nova-manage service list
nova-conductor fedora5 internal
enabled :-) 2014-03-18 14:38:43
2014-03-18 15:38:54.553 DEBUG nova.servicegroup.api
[req-84f2b3c1-8020-4f89-bd59-b9cb76126138 None None] Check if the given
member [{'binary': u'nova-cert', 'availability_zone': 'internal',
'deleted': 0L, 'created_at': datetime.datetime(2014, 3, 18, 11, 45),
'updated_at': datetime.datetime(2014, 3, 18, 14, 38, 51), 'report_count':
1043L, 'topic': u'cert', 'host': u'fedora5', 'disabled': False,
'deleted_at': None, 'disabled_reason': None, 'id': 2L}] is part of the
ServiceGroup, is up service_is_up /opt/stack/nova/nova/
servicegroup/api.py:94
2014-03-18 15:38:54.553 DEBUG nova.servicegroup.drivers.db
[req-84f2b3c1-8020-4f89-bd59-b9cb76126138 None None] DB_Driver.is_up
last_heartbeat = 2014-03-18 14:38:51 elapsed = 3.553656 is_up
/opt/stack/nova/nova/servicegroup/drivers/db.py:71
nova-cert fedora5 internal
enabled :-) 2014-03-18 14:38:51
2014-03-18 15:38:54.554 DEBUG nova.servicegroup.api
[req-84f2b3c1-8020-4f89-bd59-b9cb76126138 None None] Check if the given
member [{'binary': u'nova-scheduler', 'availability_zone': 'internal',
'deleted': 0L, 'created_at': datetime.datetime(2014, 3, 18, 11, 45, 1),
'updated_at': datetime.datetime(2014, 3, 18, 14, 38, 42), 'report_count':
1042L, 'topic': u'scheduler', 'host': u'fedora5', 'disabled': False,
'deleted_at': None, 'disabled_reason': None, 'id': 3L}] is part of the
ServiceGroup, is up service_is_up /opt/stack/nova/nova/
servicegroup/api.py:94
2014-03-18 15:38:54.554 DEBUG nova.servicegroup.drivers.db
[req-84f2b3c1-8020-4f89-bd59-b9cb76126138 None None] DB_Driver.is_up
last_heartbeat = 2014-03-18 14:38:42 elapsed = 12.554713 is_up
/opt/stack/nova/nova/servicegroup/drivers/db.py:71
nova-scheduler fedora5 internal
enabled :-) 2014-03-18 14:38:42
2014-03-18 15:38:54.555 DEBUG nova.servicegroup.api
[req-84f2b3c1-8020-4f89-bd59-b9cb76126138 None None] Check if the given
member [{'binary': u'nova-consoleauth', 'availability_zone': 'internal',
'deleted': 0L, 'created_at': datetime.datetime(2014, 3, 18, 11, 45, 6),
'updated_at': datetime.datetime(2014, 3, 18, 14, 38, 47), 'report_count':
1042L, 'topic': u'consoleauth', 'host': u'fedora5', 'disabled': False,
'deleted_at': None, 'disabled_reason': None, 'id': 4L}] is part of the
ServiceGroup, is up service_is_up /opt/stack/nova/nova/
servicegroup/api.py:94
2014-03-18 15:38:54.555 DEBUG nova.servicegroup.drivers.db
[req-84f2b3c1-8020-4f89-bd59-b9cb76126138 None None] DB_Driver.is_up
last_heartbeat = 2014-03-18 14:38:47 elapsed = 7.555671 is_up
/opt/stack/nova/nova/servicegroup/drivers/db.py:71
nova-consoleauth fedora5 internal
enabled :-) 2014-03-18 14:38:47
2014-03-18 15:38:54.556 DEBUG nova.servicegroup.api
[req-84f2b3c1-8020-4f89-bd59-b9cb76126138 None None] Check if the given
member [{'binary': u'nova-compute', 'availability_zone': 'nova', 'deleted':
0L, 'created_at': datetime.datetime(2014, 3, 18, 11, 45, 7), 'updated_at':
datetime.datetime(2014, 3, 18, 14, 38, 47), 'report_count': 1041L, 'topic':
u'compute', 'host': u'fedora5', 'disabled': False, 'deleted_at': None,
'disabled_reason': None, 'id': 5L}] is part of the ServiceGroup, is up
service_is_up /opt/stack/nova/nova/servicegroup/api.py:94
2014-03-18 15:38:54.556 DEBUG nova.servicegroup.drivers.db
[req-84f2b3c1-8020-4f89-bd59-b9cb76126138 None None] DB_Driver.is_up
last_heartbeat = 2014-03-18 14:38:47 elapsed = 7.556588 is_up
/opt/stack/nova/nova/servicegroup/drivers/db.py:71
nova-compute fedora5 nova
enabled :-) 2014-03-18 14:38:47
2014-03-18 15:38:54.557 DEBUG nova.servicegroup.api
[req-84f2b3c1-8020-4f89-bd59-b9cb76126138 None None] Check if the given
member [{'binary': u'nova-compute', 'availability_zone': 'nova', 'deleted':
0L, 'created_at': datetime.datetime(2014, 3, 18, 11, 45, 8), 'updated_at':
datetime.datetime(2014, 3, 18, 14, 38, 48), 'report_count': 1041L, 'topic':
u'compute', 'host': u'fedora6', 'disabled': False, 'deleted_at': None,
'disabled_reason': None, 'id': 6L}] is part of the ServiceGroup, is up
service_is_up /opt/stack/nova/nova/servicegroup/api.py:94
2014-03-18 15:38:54.557 DEBUG nova.servicegroup.drivers.db
[req-84f2b3c1-8020-4f89-bd59-b9cb76126138 None None] DB_Driver.is_up
last_heartbeat = 2014-03-18 14:38:48 elapsed = 6.557583 is_up
/opt/stack/nova/nova/servicegroup/drivers/db.py:71
nova-compute fedora6 nova
enabled :-) 2014-03-18 14:38:48
2014-03-18 15:38:54.558 DEBUG nova.servicegroup.api
[req-84f2b3c1-8020-4f89-bd59-b9cb76126138 None None] Check if the given
member [{'binary': u'nova-compute', 'availability_zone': 'nova', 'deleted':
0L, 'created_at': datetime.datetime(2014, 3, 18, 11, 47, 9), 'updated_at':
datetime.datetime(2014, 3, 18, 14, 38, 48), 'report_count': 1029L, 'topic':
u'compute', 'host': u'fedora7', 'disabled': False, 'deleted_at': None,
'disabled_reason': None, 'id': 7L}] is part of the ServiceGroup, is up
service_is_up /opt/stack/nova/nova/servicegroup/api.py:94
2014-03-18 15:38:54.558 DEBUG nova.servicegroup.drivers.db
[req-84f2b3c1-8020-4f89-bd59-b9cb76126138 None None] DB_Driver.is_up
last_heartbeat = 2014-03-18 14:38:48 elapsed = 6.558705 is_up
/opt/stack/nova/nova/servicegroup/drivers/db.py:71
nova-compute fedora7 nova
enabled :-) 2014-03-18
Thanks
Abhishek Jain
On Tue, Mar 18, 2014 at 6:22 PM, Maldonado, Facundo N <
facundo.n.maldonado at intel.com> wrote:
> Couple of questions,
>
>
>
> - Do you have n-cpu running in every node? (controller and both
> computes)
>
> - Which services do you have enabled in both compute nodes?
>
> - To which node corresponds the screen log provided?
>
> - What is the output of nova-manage service list?
>
>
>
> Facundo.
>
>
>
> *From:* Ben Nemec [mailto:openstack at nemebean.com]
> *Sent:* Monday, March 17, 2014 1:15 PM
>
> *To:* OpenStack Development Mailing List (not for usage questions)
> *Subject:* Re: [openstack-dev] [nova] OPENSTACK SERVICE ERROR
>
>
>
> 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
>
>
>
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> 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/20140318/dcf91cfe/attachment.html>
More information about the OpenStack-dev
mailing list