[openstack-dev] [nova] volume affinity filter for nova scheduler
aovchinnikov at mirantis.com
Wed Jul 3 14:24:03 UTC 2013
for some time I have been working on an implementation of a filter that
would allow to force instances to hosts which contain specific volumes.
A blueprint can be found here:
and an implementation here:
The filter works for LVM driver and now it picks either a host containing
or nothing (thus effectively failing instance scheduling). Now it fails
primarily when it can't find the volume. It has been
pointed to me that sometimes it may be desirable not to fail instance
scheduling but to run it anyway. However this softer behaviour fits better
for weighter function. Thus I have registered a blueprint for the
I was thinking about both the filter and the weighter working together. The
could be used in cases when we strongly need storage space associated with
instance and need them placed on the same host. The latter could be used
storage space is nice to have and preferably on the same host
with an instance, but not so crucial as to have the instance running.
During reviewing a question appeared whether we need the filter and
wouldn't things be better
if we removed it and had only the weighter function instead. I am not yet
that the filter is useless and needs to be replaced with the weighter,
so I am asking for your opinion on this matter. Do you see usecases for the
or the weighter will answer all needs?
With kind regards,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev