[openstack-dev] [nova][scheduler] Availability Zones and Host aggregates..

Chris Friesen chris.friesen at windriver.com
Thu Mar 27 20:19:10 UTC 2014


On 03/27/2014 12:49 PM, Day, Phil wrote:
>> -----Original Message----- From: Chris Friesen
>> [mailto:chris.friesen at windriver.com]

>> On 03/27/2014 11:48 AM, Day, Phil wrote:

>>> nova boot --availability-zone az1 --scheduler-hint want-fast-cpu
>>> --scheduler-hint want-ssd  ...
>>
>> Does this actually work?  The docs only describe setting the
>> metadata on the flavor, not as part of the boot command.
>>
> If you want to be able to pass it in as explicit hints then you need
> to write a filter to cope with that hint- I was using it as an
> example of the kind of relationship between hints and aggregate
> filtering The more realistic example for this kind of attribute is to
> make it part of the flavor and use the aggregate_instance_extra_spec
> filter - which does exactly this kind of filtering (for overlapping
> aggregates)

I'll admit that I don't have a lot of experience as an end-user of 
OpenStack, so maybe that colours my judgement.

To me it seems quite limiting that if you want the scheduler to match 
against multiple host aggregate extra specs then you need to create a 
new flavor.

If a regular user could do something like what you specify in your 
example, I think that would make a lot of sense.

Chris




More information about the OpenStack-dev mailing list