← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1371406] Re: should error when unshelve an volume backed instance which the image was deleted

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => kilo-1

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

Title:
  should error when unshelve an volume backed instance which the image
  was deleted

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  shelve an instance first.
  nova will create an snapshot of image with instance name-shelved
  like: t2-shelved

  manually delete the image with 
  nova image-delte t2-shelved

  then do an unshelve, it should report image not found error and mark the instance 
  vm_state ERROR

  
  this is the output of glance in conductor, the image is deleted, but nova don't get the deleted status of image.

  2014-09-19 11:12:20.534 DEBUG glanceclient.common.http [req-d2aaa493-b507-4f75-a185-c83d347f82b0 admin admin] 
  HTTP/1.1 200 OK
  content-length: 0
  x-image-meta-id: 2a6ce744-b96b-4f71-882e-13c4fc1c9da1
  date: Fri, 19 Sep 2014 03:12:20 GMT
  x-image-meta-deleted: True  <<<===
  x-image-meta-container_format: ami
  x-image-meta-checksum: 1b31d2e911494696c6d190ccef2f4d64
  x-image-meta-deleted_at: 2014-09-19T02:41:27
  x-image-meta-min_disk: 0
  x-image-meta-protected: False
  x-image-meta-created_at: 2014-09-18T04:03:09
  x-image-meta-size: 10616832
  x-image-meta-status: deleted <<<===
  etag: 1b31d2e911494696c6d190ccef2f4d64
  x-image-meta-is_public: False
  x-image-meta-min_ram: 0
  x-image-meta-owner: d7beb7f28e0b4f41901215000339361d
  x-image-meta-updated_at: 2014-09-19T02:41:27
  content-type: text/html; charset=UTF-8
  x-openstack-request-id: req-e95ddab3-bee5-4847-ba55-13be02bc1a14
  x-image-meta-disk_format: ami
  x-image-meta-name: t2-shelved

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


References