This is to prevent instances with newer tools from being
provisioned on older hypervisors.
Added comparison of hypervisor version from the
compute-node and image metadata in the image properties
filter.
In host scheduler image_prop_filter, the hypervisor_version_requires
image properties, if available, is compared to the host_state's
hypervisor_version, if available.
hypervisor_version_requires should be added on the image
as metadata and should have a operator and version value.
Examples : ">=6.0", ">6.0, <6.2", ""!=6.1".
Reviewed: https:/ /review. openstack. org/163471 /git.openstack. org/cgit/ openstack/ openstack- manuals/ commit/ ?id=6cd10d13cff 93d9cf1a854d454 744b409b5311c7
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6cd10d13cff93d9 cf1a854d454744b 409b5311c7
Author: OlgaGusarenko <email address hidden>
Date: Wed Mar 11 17:05:40 2015 +0200
Adds hypervisor_ version_ requires (ImagePropertie sFilter)
This is to prevent instances with newer tools from being
provisioned on older hypervisors.
Added comparison of hypervisor version from the
compute-node and image metadata in the image properties
filter.
In host scheduler image_prop_filter, the hypervisor_ version_ requires version, if available.
image properties, if available, is compared to the host_state's
hypervisor_
hypervisor_ version_ requires should be added on the image
as metadata and should have a operator and version value.
Examples : ">=6.0", ">6.0, <6.2", ""!=6.1".
Change-Id: I77dce6a5c28b5a 25766b0273dc58a 9dbb08defdd
Closes-bug: 1246231