[openstack-dev] [Nova] [Cyborg] why cyborg can not support an accelerators info list for more than one host?

Ed Leafe ed at leafe.com
Wed Mar 21 16:11:18 UTC 2018


On Mar 21, 2018, at 10:56 AM, 少合冯 <lvmxhster at gmail.com> wrote:
> 
> Sorry, I did not attend the PTG. 
> Is it said there is a conclusion:
> Scheduler weigher will call into Cyborg REST API for each host instead of one REST API for all hosts.  
> Is there some reason?

By default, hosts are weighed one by one. You can subclass the BaseWeigher (in nova/weights.py) to weigh all objects at once.

-- Ed Leafe








More information about the OpenStack-dev mailing list