← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1319150] Re: v1 API: image data downloads for images in pending_delete fails

 

This bug is reported for v1 api which is deprecated and will be removed
during rocky cycle, so marking this as won't fix.

** Changed in: glance
       Status: In Progress => Won't Fix

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

Title:
  v1 API: image data downloads for images in pending_delete fails

Status in Glance:
  Won't Fix
Status in OpenStack Compute (nova):
  Opinion

Bug description:
  Use case: user spawns an instance, then deletes the boot image, to
  prevent new instances from being spawned with it.  Later, the user
  wants to live migrate the instance to a new hypervisor.

  As part of this, nova will attempt to download all the images used by
  the instance on the target node to populate its image cache.  Because
  the image used is no longer in an explicit "active" state, the Glance
  v1 API returns a 404 Not Found.

  According to the docs, pending_delete is supposed to be recoverable,
  which could arguably imply that downloading and re-uploading the image
  would be allowed; so this smells like a bug.

  I will not let the fact that Mark just told me in as many words that
  it is not dissuade me from this point of view.  ;-)

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


References