← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1492716] Re: Can't do image-create for suspended instance booted from volume

 

Reviewed:  https://review.openstack.org/223382
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=cf82f524bf3a5c7986e4a33872762163b9541235
Submitter: Jenkins
Branch:    master

commit cf82f524bf3a5c7986e4a33872762163b9541235
Author: Rui Chen <chenrui.momo@xxxxxxxxx>
Date:   Tue Sep 15 10:34:14 2015 +0800

    Create image for suspended instance booted from volume
    
    The suspended instance's power state is power-off on hypervisor,
    so it's no reason to limit the suspended instance booted from volume
    to create image, add the suspended state to allowing list of
    snapshot_volume_backed().
    
    Change-Id: Id3457cd54af9b581b79eccc5d44a97dbdc63232e
    Closes-Bug: #1492716


** 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/1492716

Title:
  Can't do image-create for suspended instance booted from volume

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  1. code base

  stack@devstack:/opt/stack/nova$  [master]$ git log -1
  commit 0391a19d0ff29d2987b6cc55f846eea3cff0a358
  Merge: ce2da34 e5982de
  Author: Jenkins <jenkins@xxxxxxxxxxxxxxxxxxxx>
  Date:   Sun Sep 6 03:19:28 2015 +0000

      Merge "Reject the cell name include '!', '.' and '@' for Nova API"

  2. Reproduce steps:

  * boot a instance from cinder bootable volume
  * suspend the instance
  * do image-create for the suspended instance

  Expected result:
  * image-create is successful

  Actual result:
  * ERROR (Conflict): Cannot 'createImage' instance d4cc1211-a58a-4b33-b6a4-e9e998925389 while it is in vm_state suspended (HTTP 409) (Request-ID: req-5a6fb7e6-ea12-4e72-98f5-ff792fc60d48)

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


References