VMware: get_object_properties may not return any objects

Bug #1294102 reported by Gary Kotton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Gary Kotton

Bug Description

2014-03-18 05:32:28.164 CRITICAL nova.virt.vmwareapi.driver [req-a4d0920a-9ea0-4e3d-b1fe-561133e5b799 None None] In vmwareapi: _call_method (session=52325cb1-82c6-440a-e498-328cf8759e8e)
2014-03-18 05:32:28.164 TRACE nova.virt.vmwareapi.driver Traceback (most recent call last):
2014-03-18 05:32:28.164 TRACE nova.virt.vmwareapi.driver File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 835, in _call_method
2014-03-18 05:32:28.164 TRACE nova.virt.vmwareapi.driver return temp_module(*args, **kwargs)
2014-03-18 05:32:28.164 TRACE nova.virt.vmwareapi.driver File "/opt/stack/nova/nova/virt/vmwareapi/vim_util.py", line 170, in get_dynamic_property
2014-03-18 05:32:28.164 TRACE nova.virt.vmwareapi.driver property_dict = get_dynamic_properties(vim, mobj, type, [property_name])
2014-03-18 05:32:28.164 TRACE nova.virt.vmwareapi.driver File "/opt/stack/nova/nova/virt/vmwareapi/vim_util.py", line 180, in get_dynamic_properties
2014-03-18 05:32:28.164 TRACE nova.virt.vmwareapi.driver if obj_content.objects:
2014-03-18 05:32:28.164 TRACE nova.virt.vmwareapi.driver AttributeError: 'NoneType' object has no attribute 'objects'
2014-03-18 05:32:28.164 TRACE nova.virt.vmwareapi.driver

Gary Kotton (garyk)
Changed in nova:
assignee: nobody → Gary Kotton (garyk)
milestone: none → icehouse-rc1
importance: Undecided → High
tags: added: ha
tags: added: havana-backport-potential
removed: ha
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/81254

Changed in nova:
status: New → In Progress
Revision history for this message
John Garbutt (johngarbutt) wrote :

Need more details on how to reproduce this, and when it happens.

Its not clear to me this should block RC-1

Revision history for this message
Tracy Jones (tjones-i) wrote :

this bug could be pushed to icehouse-rc-potential if not merged by 2/24 12pm UTC

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/81254
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=93d1315d3e4c954bc1d8d5c5fb56b92fd910ced5
Submitter: Jenkins
Branch: master

commit 93d1315d3e4c954bc1d8d5c5fb56b92fd910ced5
Author: Gary Kotton <email address hidden>
Date: Tue Mar 18 05:52:47 2014 -0700

    VMware: fix exception when no objects are returned

    get_object_properties may return data that does not contain any
    objects. The patch validates that the returned data is accessible.

    Change-Id: I9432582bf5bc841aea705a84f939e9482465ff70
    Closes-bug: #1294102

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: icehouse-rc1 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.