← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1384392] [NEW] Snapshot volume backed VM does not handle image metadata correctly

 

Public bug reported:

Nova Juno

The instance snapshot of volume backed instances does not handle image
metadata the same way that the regular instance snapshot path does.

nova/compute/api/api.py's snapshot path builds the Glance image metadata
using nova/compute/utils.py get_image_metadata which gets metadata from
the VM's base image, includes metadata from the instance's system
metadata, and excludes properties specified in
CONF.non_inheritable_image_properties.

The volume backed snapshot path,
http://git.openstack.org/cgit/openstack/nova/tree/nova/api/openstack/compute/servers.py#n1472
simply gets the image properties from the base image and does not
include properties from instance system metadata and doesn't honor the
CONF.non_inheritable_image_properties property.

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  Snapshot volume backed VM does not handle image metadata correctly

Status in OpenStack Compute (Nova):
  New

Bug description:
  Nova Juno

  The instance snapshot of volume backed instances does not handle image
  metadata the same way that the regular instance snapshot path does.

  nova/compute/api/api.py's snapshot path builds the Glance image
  metadata using nova/compute/utils.py get_image_metadata which gets
  metadata from the VM's base image, includes metadata from the
  instance's system metadata, and excludes properties specified in
  CONF.non_inheritable_image_properties.

  The volume backed snapshot path,
  http://git.openstack.org/cgit/openstack/nova/tree/nova/api/openstack/compute/servers.py#n1472
  simply gets the image properties from the base image and does not
  include properties from instance system metadata and doesn't honor the
  CONF.non_inheritable_image_properties property.

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


Follow ups

References