← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1288700] [NEW] Unable to list hypervisors information

 

Public bug reported:

While accessing the horizon dashboard,

I'm unable to list the Hypervisors.

The python-six version has been updated from 1.3.0 fc19 package to 1.5.2
using pip.

However, the error is the following:


2014-03-06 12:46:20.399 31393 TRACE nova.api.openstack.wsgi 
2014-03-06 12:46:20.724 31393 ERROR nova.api.openstack.wsgi [req-3875bd6c-b142-448c-91a0-8a9f21e7acc6 myUser 8e067beb179c49fdaa553e80024fa3ba] Exception handling resource: 'NoneType' object has no attribute '__getitem__'
2014-03-06 12:46:20.724 31393 TRACE nova.api.openstack.wsgi Traceback (most recent call last):
2014-03-06 12:46:20.724 31393 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 997, in _process_stack
2014-03-06 12:46:20.724 31393 TRACE nova.api.openstack.wsgi     action_result = self.dispatch(meth, request, action_args)
2014-03-06 12:46:20.724 31393 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 1078, in dispatch
2014-03-06 12:46:20.724 31393 TRACE nova.api.openstack.wsgi     return method(req=request, **action_args)
2014-03-06 12:46:20.724 31393 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/contrib/hypervisors.py", line 175, in detail
2014-03-06 12:46:20.724 31393 TRACE nova.api.openstack.wsgi     for hyp in compute_nodes])
2014-03-06 12:46:20.724 31393 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/contrib/hypervisors.py", line 148, in _view_hypervisor
2014-03-06 12:46:20.724 31393 TRACE nova.api.openstack.wsgi     'host': hypervisor['service']['host'],
2014-03-06 12:46:20.724 31393 TRACE nova.api.openstack.wsgi TypeError: 'NoneType' object has no attribute '__getitem__'
2014-03-06 12:46:20.724 31393 TRACE nova.api.openstack.wsgi

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1288700

Title:
  Unable to list hypervisors information

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  While accessing the horizon dashboard,

  I'm unable to list the Hypervisors.

  The python-six version has been updated from 1.3.0 fc19 package to
  1.5.2 using pip.

  However, the error is the following:

  
  2014-03-06 12:46:20.399 31393 TRACE nova.api.openstack.wsgi 
  2014-03-06 12:46:20.724 31393 ERROR nova.api.openstack.wsgi [req-3875bd6c-b142-448c-91a0-8a9f21e7acc6 myUser 8e067beb179c49fdaa553e80024fa3ba] Exception handling resource: 'NoneType' object has no attribute '__getitem__'
  2014-03-06 12:46:20.724 31393 TRACE nova.api.openstack.wsgi Traceback (most recent call last):
  2014-03-06 12:46:20.724 31393 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 997, in _process_stack
  2014-03-06 12:46:20.724 31393 TRACE nova.api.openstack.wsgi     action_result = self.dispatch(meth, request, action_args)
  2014-03-06 12:46:20.724 31393 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 1078, in dispatch
  2014-03-06 12:46:20.724 31393 TRACE nova.api.openstack.wsgi     return method(req=request, **action_args)
  2014-03-06 12:46:20.724 31393 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/contrib/hypervisors.py", line 175, in detail
  2014-03-06 12:46:20.724 31393 TRACE nova.api.openstack.wsgi     for hyp in compute_nodes])
  2014-03-06 12:46:20.724 31393 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/contrib/hypervisors.py", line 148, in _view_hypervisor
  2014-03-06 12:46:20.724 31393 TRACE nova.api.openstack.wsgi     'host': hypervisor['service']['host'],
  2014-03-06 12:46:20.724 31393 TRACE nova.api.openstack.wsgi TypeError: 'NoneType' object has no attribute '__getitem__'
  2014-03-06 12:46:20.724 31393 TRACE nova.api.openstack.wsgi

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1288700/+subscriptions


Follow ups

References