← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1176173] Re: Architecture property updated twice during snapshot

 

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

** Changed in: nova
    Milestone: None => havana-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/1176173

Title:
  Architecture property updated twice during snapshot

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  During an instance snapshot if the architecture property metadata is defined
  it is updated twice during the image snapshot.

  The snapshot is created with the medata values from the
  "instance_system_metadata" table and then, if defined, the architecure
  property is updated from the value in the base image in that moment.

  
  1) snapshot image is created in glance with the metadata in "instance_system_metadata"
  compute/api.py  create_image()

  2) architecture property is updated with the value in that moment in the base image
  virt/libvirt/driver.py snapshot()

  I don't see any reason to treat this property differently from others.
  Also, it didn't respect the "non_inheritable_image_properties" option.

  Using the libvirtDriver.

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