← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1319277] Re: volume backend snapshot not set image_type

 

What level of code are you using?  The nova.compute.api.snapshot method
calls _create_backup and passes image_type='snapshot' which should be
set in the image metadata when the image is created:

http://git.openstack.org/cgit/openstack/nova/tree/nova/compute/api.py?id=2014.2.b3#n1944

** Changed in: nova
       Status: Confirmed => Invalid

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

Title:
  volume backend snapshot not set image_type

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  Snapshot an instance with ephemeral volume, the created image has the image_type which is "snapshot".
  Snapshot an instance with cinder backend volume , the created image doesn't has the image_type.

  Need to set the image_type with the value "snapshot" for the
  instance's snapshot which is cinder backend volume.

  
  Modify the function compute_api.snapshot_volume_backed, and add the image_type properties for the image.

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


References