Scheduler: honor the glance metadata for hypervisor details

The scheduler would not honor the glance image metadata for
'hypervisor_type' and 'hypervisor_version_requires'. This was due
to the fact that this was not part if the image_meta object.

Change-Id: I03742cc9330814e2758184d8189a5be93a2b978b
Closes-bug: #1523503
This commit is contained in:
Gary Kotton 2015-12-07 05:48:37 -08:00
parent 60c5c27980
commit f33dfa0647
1 changed files with 1 additions and 0 deletions

View File

@ -390,6 +390,7 @@ class ImageMetaProps(base.NovaObject):
'bdm_v2': 'img_bdm_v2',
'root_device_name': 'img_root_device_name',
'hypervisor_version_requires': 'img_hv_requested_version',
'hypervisor_type': 'img_hv_type',
}
# TODO(berrange): Need to run this from a data migration