In a previous thread [1], I mentioned two possibilities for controlling the scheduling of instances to an appropriate compute node in a mixed node (Xen, KVM) environment. The first approach uses availability zones, the second uses the existing vm_mode image property. Folks seemed to agree on the latter, and the attached patch adds a check to the compute filter to ensure the compute node can accommodate the instance type. The compute filter seems like the right place to add this check, but posting as a RFC since I'm not sure if this would be agreeable to everyone as compared to a custom filter for example. Regards, Jim [1] http://openstack.markmail.org/search/?q=improve%20xen#query:improve%20xen+page:1+mid:knmnylknf2imnruy+state:results -------------- next part -------------- A non-text attachment was scrubbed... Name: compute-filter.patch Type: text/x-diff Size: 4902 bytes Desc: not available URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120625/3737c1d7/attachment.patch>