VMware: exception when deleting a VM that has no datastore

Bug #1276644 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

The following appears in the log files when this happens:

[req-83b880af-7ed2-417f-8d91-ae9b7d624be1 FixedIPsTestJson-1652350262 FixedIPsTestJson-1562534047] In vmwareapi:vmops:destroy, got this exception while deleting the VM contents from the disk: local variable 'datastore_name' referenced before assignment

Gary Kotton (garyk)
Changed in nova:
assignee: nobody → Gary Kotton (garyk)
milestone: none → icehouse-3
importance: Undecided → High
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/71301

Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit acf9fddcf3129ffab9e01aeb1e9991830013bfbd
Author: Gary Kotton <email address hidden>
Date: Wed Feb 5 08:00:18 2014 -0800

    VMware: ensure that datastore name exists prior to deleting disk

    Treats cases when there is no datastore defined on the VM. This
    can result from a exception in the spawn method prior to setting
    the datastore for the VM.

    Closes-bug: #1276644

    Change-Id: I808e1cdaace344da021853d0ef224cadee5a8e05

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-3 → 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.