** Also affects: nova/havana
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1274758
Title:
Error during ComputeManager.update_available_resource: 'NoneType'
object has no attribute '__getitem__'
Status in OpenStack Compute (Nova):
Fix Committed
Status in OpenStack Compute (nova) havana series:
In Progress
Bug description:
Error during ComputeManager.update_available_resource: 'NoneType'
object has no attribute '__getitem__'
ERROR nova.openstack.common.periodic_task [-] Error during
ComputeManager.update_available_resource: 'NoneType' object has no attribute
'__getitem__'
TRACE nova.openstack.common.periodic_task Traceback (most recent call last):
TRACE nova.openstack.common.periodic_task File
"/opt/stack/new/nova/nova/openstack/common/periodic_task.py", line 182, in
run_periodic_tasks
TRACE nova.openstack.common.periodic_task task(self, context)
TRACE nova.openstack.common.periodic_task File
"/opt/stack/new/nova/nova/compute/manager.py", line 5049, in
update_available_resource
TRACE nova.openstack.common.periodic_task
rt.update_available_resource(context)
TRACE nova.openstack.common.periodic_task File
"/opt/stack/new/nova/nova/openstack/common/lockutils.py", line 249, in inner
TRACE nova.openstack.common.periodic_task return f(*args, **kwargs)
TRACE nova.openstack.common.periodic_task File
"/opt/stack/new/nova/nova/compute/resource_tracker.py", line 300, in
update_available_resource
TRACE nova.openstack.common.periodic_task resources =
self.driver.get_available_resource(self.nodename)
TRACE nova.openstack.common.periodic_task File
"/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 3943, in
get_available_resource
TRACE nova.openstack.common.periodic_task stats =
self.host_state.get_host_stats(refresh=True)
TRACE nova.openstack.common.periodic_task File
"/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 5016, in get_host_stats
TRACE nova.openstack.common.periodic_task self.update_status()
TRACE nova.openstack.common.periodic_task File
"/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 5052, in update_status
TRACE nova.openstack.common.periodic_task data["vcpus_used"] =
self.driver.get_vcpu_used()
TRACE nova.openstack.common.periodic_task File
"/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 3626, in get_vcpu_used
TRACE nova.openstack.common.periodic_task total += len(vcpus[1])
TRACE nova.openstack.common.periodic_task TypeError: 'NoneType' object has no
attribute '__getitem__'
TRACE nova.openstack.common.periodic_task
http://logs.openstack.org/51/63551/6/gate/gate-tempest-dsvm-postgres-full/4860441/logs/screen-n-cpu.txt.gz?level=TRACE#_2014-01-30_22_38_29_401
Seen in the gate
logstash query: message:"TypeError: 'NoneType' object has no attribute
'__getitem__'" AND filename:"logs/screen-n-cpu.txt"
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1274758/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp