Ask Your Question

Revision history [back]

Following is the stack trace:

root@openstack-secondary:~# nova-manage service describe_resource openstack-secondary 2012-08-14 12:50:04 DEBUG nova.rpc.common [req-990062e8-1a10-43f8-84bd-68f3ebfeb065 None None] Making asynchronous call on scheduler ... from (pid=12241) multicall /usr/lib/python2.7/dist-packages/nova/rpc/amqp.py:319 2012-08-14 12:50:04 DEBUG nova.rpc.common [req-990062e8-1a10-43f8-84bd-68f3ebfeb065 None None] MSG_ID is 3fc554e4da964cab9d6145cec70ef81b from (pid=12241) multicall /usr/lib/python2.7/dist-packages/nova/rpc/amqp.py:322 2012-08-14 12:50:04 DEBUG nova.rpc.common [req-990062e8-1a10-43f8-84bd-68f3ebfeb065 None None] Pool creating new connection from (pid=12241) create /usr/lib/python2.7/dist-packages/nova/rpc/amqp.py:57 2012-08-14 12:50:04 INFO nova.rpc.common [req-990062e8-1a10-43f8-84bd-68f3ebfeb065 None None] Connected to AMQP server on xx.xx.xx.xx:5672 2012-08-14 12:50:04 CRITICAL nova [req-990062e8-1a10-43f8-84bd-68f3ebfeb065 None None] Remote error: IndexError list index out of range [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 250, in _process_data\n rval = node_func(context=ctxt, *node_args)\n', u' File "/usr/lib/python2.7/dist-packages/nova/scheduler/manager.py", line 154, in show_host_resources\n compute_ref = compute_ref[\'compute_node\'][0]\n', u'IndexError: list index out of range\n']. (nova): TRACE: Traceback (most recent call last): (nova): TRACE: File "/usr/bin/nova-manage", line 2459, in <module> (nova): TRACE: main() (nova): TRACE: File "/usr/bin/nova-manage", line 2446, in main (nova): TRACE: fn(fn_args, *fn_kwargs) (nova): TRACE: File "/usr/bin/nova-manage", line 1126, in describe_resource (nova): TRACE: "args": {"host": host}}) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/rpc/__init__.py", line 69, in call (nova): TRACE: return _get_impl().call(context, topic, msg, timeout) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 624, in call (nova): TRACE: return rpc_amqp.call(context, topic, msg, timeout, Connection.pool) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 336, in call (nova): TRACE: rv = list(rv) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 304, in __iter__ (nova): TRACE: raise result (nova): TRACE: RemoteError: Remote error: IndexError list index out of range (nova): TRACE: [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 250, in _process_data\n rval = node_func(context=ctxt, *node_args)\n', u' File "/usr/lib/python2.7/dist-packages/nova/scheduler/manager.py", line 154, in show_host_resources\n compute_ref = compute_ref[\'compute_node\'][0]\n', u'IndexError: list index out of range\n']. (nova): TRACE:

Also I’m getting an error while compute is trying to update its status to the scheduler. The error in compute’s log is as show below:

2012-08-14 12:54:22 INFO nova.compute.manager [-] Updating host status 2012-08-14 12:54:22 ERROR nova.manager [-] Error during ComputeManager._report_driver_status: (nova.manager): TRACE: Traceback (most recent call last): (nova.manager): TRACE: File "/usr/lib/python2.7/dist-packages/nova/manager.py", line 155, in periodic_tasks (nova.manager): TRACE: task(self, context) (nova.manager): TRACE: File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2217, in _report_driver_status (nova.manager): TRACE: self.driver.get_host_stats(refresh=True)) (nova.manager): TRACE: File "/usr/lib/python2.7/dist-packages/nova/virt/driver.py", line 572, in get_host_stats (nova.manager): TRACE: raise NotImplementedError() (nova.manager): TRACE: NotImplementedError (nova.manager): TRACE:

The vmwareapi is not able to update the scheduler with its resource utilization data. Tha is what I think is creating the problem. Any clue on this?