VMware: rescue with image that is not linked clone leaves rescue vmdk in the instance folder

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

A rescue of an image that is not linked clone will leave the rescue image disk in the original VM folder. The disk will not be cleaned up properly.
This leads to a number of problems:
1. usage of unnecessary disk space
2. additional rescues for the same VM may fail

Gary Kotton (garyk)
Changed in nova:
assignee: nobody → Gary Kotton (garyk)
milestone: none → icehouse-rc1
importance: Undecided → High
tags: added: havana-backport-potential
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/80929

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/80929
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=cfdd9441b1545b5d89be6e8bca036ba185099f12
Submitter: Jenkins
Branch: master

commit cfdd9441b1545b5d89be6e8bca036ba185099f12
Author: Gary Kotton <email address hidden>
Date: Mon Mar 17 01:54:58 2014 -0700

    VMware: fix rescue disk location when image is not linked clone

    A rescue of a VM that has an image which is not linked clone would
    create the rescue disk in the original VM's folder and not in the
    rescue VM's folder. When the unrescue takes place the rescue disk
    will not be deleted.

    The patch adds unit tests that validates that the rescue disk location
    is correct.

    Change-Id: I17dfcade0a162057219bc6d108987bec53f526f9
    Co-authored-by: Vui Lam<email address hidden>
    Closes-bug: #1293435

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.