← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1641508] [NEW] image_api.get() in nova ignores custom properties of images.

 

Public bug reported:

ImageMeta.from_dict() in nova.objects.image_meta.py only parse two type of key/value,
_set_attr_from_legacy_name
_set_attr_from_current_name

any custom properties will be ignored. 
I'm writing a new type of virt.driver, and want to use custom properties, but compute.manager.py pass image_meta from ImageMeta.from_dict(), no way to get these custom properties.

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

Title:
  image_api.get() in nova ignores custom properties of images.

Status in OpenStack Compute (nova):
  New

Bug description:
  ImageMeta.from_dict() in nova.objects.image_meta.py only parse two type of key/value,
  _set_attr_from_legacy_name
  _set_attr_from_current_name

  any custom properties will be ignored. 
  I'm writing a new type of virt.driver, and want to use custom properties, but compute.manager.py pass image_meta from ImageMeta.from_dict(), no way to get these custom properties.

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


Follow ups