[Openstack-docs] [openstack/nova] DocImpact review request
gerrit2 at review.openstack.org
gerrit2 at review.openstack.org
Fri Aug 3 20:32:20 UTC 2012
Hi, I'd like you to take a look at this patch for potential
documentation impact.
https://review.openstack.org/10327
Log:
commit 2ff2fcecfa92647d3526dcc723c9022a3230f242
Author: Jim Fehlig <jfehlig at suse.com>
Date: Wed Jul 25 21:05:00 2012 -0600
Make ComputeFilter verify compute-related instance properties
This change adds checks in the ComputeFilter to verify compute hosts can
support the (architecture, hypervisor_type, vm_mode) triple specified
in the instance properties, improving support for heterogeneous clouds.
Images can be marked with the architecture, hypervisor, and virtual
machine mode they require, e.g.
glance image-update --property architecture=x86_64 \
--property hypervisor_type=kvm <image-uuid>
glance image-update --property architecture=i686 \
--property hypervisor_type=xen --property vm_mode=xen <image-uuid>
glance image-update --property architecture=x86_64 \
--property hypervisor_type=xen --property vm_mode=hvm <image-uuid>
These properties are included in the request_spec part of the run_instance
RPC message and made available to the ComputeFilter. The ComputeFilter
will only pass compute nodes that satisfy the specified properties.
If no properties are specified, the ComputeFilter behavior is unchanged.
Adding these checks to the compute filter seems consistent with its
definition [1]:
"ComputeFilter - checks that the capabilities provided by the compute
service satisfy the extra specifications, associated with the instance
type."
[1] https://github.com/openstack/nova/blob/master/doc/source/devref/filter_scheduler.rst
DocImpact
Change-Id: I993f2e222ec036f1045f3cc5cc1851e730962729
More information about the Openstack-docs
mailing list