← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1934094] Re: Original image_ref is lost after a failed unshelve

 

Reviewed:  https://review.opendev.org/c/openstack/nova/+/807551
Committed: https://opendev.org/openstack/nova/commit/518b952bdeb6ec29252b56527b8c8d7b32abe1b5
Submitter: "Zuul (22348)"
Branch:    master

commit 518b952bdeb6ec29252b56527b8c8d7b32abe1b5
Author: Pierre-Samuel Le Stang <pierre-samuel.le-stang@xxxxxxxxxxxx>
Date:   Mon Sep 6 08:44:37 2021 +0000

    Fix instance's image_ref lost on failed unshelving
    
    Closes-Bug: #1934094
    
    Signed-off-by: Pierre-Samuel Le Stang <pierre-samuel.le-stang@xxxxxxxxxxxx>
    Change-Id: Id908a7224ff3378b3b51726bbfa8b5805d38ca59


** Changed in: nova
       Status: In Progress => Fix Released

-- 
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/1934094

Title:
  Original image_ref is lost after a failed unshelve

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  Description
  ===========
  When an unshelve fails the original image_ref of an instance is lost and replaced by the image id of the shelved image.

  Steps to reproduce
  ==================
  1/ Shelve an instance
  2/ Unshelve the instance and abort it (kill the process on compute side) to generate an error
  3/ If you unshelve again successfully the instance image_ref is the id of the shelved image and is marked as not found because it was deleted at the end of the unshelve process

  Expected result
  ===============
  Expect the instance image_ref to be the original image_ref

  Actual result
  =============
  the instance image_ref is the one of the shelved image

  Bug identified on Newton and Stein but seems still present on latest
  release

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



References