[openstack-dev] [OpenStack][Gantt][filters] AvailabilityZoneFilter in Gantt and Oslo

Boris Pavlovic bpavlovic at mirantis.com
Sun Jan 5 16:06:58 UTC 2014

Hi Jay,

I have  3 points:

First of all:
Why this project has all history of Nova? It seems very odd way to create
new project aka clone Nova remove all from Nova..

This blueprint https://blueprints.launchpad.net/nova/+spec/no-db-schedulershould
be implement before switching to separated scheduler aaS.
The main reason is that: scheduler business logic is deeply connected with
host states that are deeply connected with db models, that makes a really
hard (or impossible we already tried) process of making common scheduler.

Why this project, that is actually just Nova copy paste is under

Best regards,
Boris Pavlovic

On Sun, Jan 5, 2014 at 6:13 PM, Jay Lau <jay.lau.513 at gmail.com> wrote:

> Greetings,
> Here come a question related to AvailabilityZoneFilter.
> A new project Gantt which is a common scheduler for OpenStack is now under
> incubation, and now most of the code are get from nova scheduler.
> I'm planning to make Gantt use common scheduler from oslo, and I think
> that this is the right direction and it is better do this at this stage for
> Gantt to make sure it has a good code base. But  AvailabilityZoneFilter has
> different logic in oslo and Gantt.
> In oslo, AvailabilityZoneFilter only handles availability_zone from
> request_spec; but in Gantt, AvailabilityZoneFilter can handle
> availability_zone from both request_spec and aggregation metadata, we
> cannot sync AvailabilityZoneFilterfrom oslo to Gantt.
> What about split the AvailabilityZoneFilter in Gantt to two filters, one
> is AvailabilityZoneFilter which has same logic with oslo, the other we can
> name it as AggregateAvailabilityZoneFilter which will only handle
> availability_zone from aggregation metadata, this can make sure Gantt can
> sync AvailabilityZoneFilter from oslo and make AvailabilityZoneFilter a
> common scheduler filter for both Gantt and Cinder. What do you think?
> Thanks,
> Jay
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140105/cf5b3ae8/attachment.html>

More information about the OpenStack-dev mailing list