← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1485429] [NEW] Unit test case for unshelving a volume backed instance is not correct

 

Public bug reported:

In case of volume backed instance, snapshot is not taken when an instance is shelved,
so "shelved_image_id" key is not set to the instance system metadata.

In the unit test case "test_unshelve_instance_schedule_and_rebuild_volume_backed
", set the "shelved_image_id" to the instance system metadata, which is not correct.

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: testing

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

Title:
  Unit test case for unshelving a volume backed instance is not correct

Status in OpenStack Compute (nova):
  New

Bug description:
  In case of volume backed instance, snapshot is not taken when an instance is shelved,
  so "shelved_image_id" key is not set to the instance system metadata.

  In the unit test case "test_unshelve_instance_schedule_and_rebuild_volume_backed
  ", set the "shelved_image_id" to the instance system metadata, which is not correct.

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


Follow ups