← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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

** Affects: nova
     Importance: Undecided
     Assignee: Pierre-Samuel LE STANG (pslestang)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Pierre-Samuel LE STANG (pslestang)

-- 
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):
  New

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


Follow ups