<p dir="ltr">Hi All,</p>
<p dir="ltr">I am fairly new to the OpenStack community and is trying to create a custom scheduler for Nova. A scheduler based on CPU queue length of the physical hosts. Kindly apologize if there are any inaccuracies in my statements.</p>
<p dir="ltr">As I understand a weigher for the filter scheduler that weighs filtered host machines based on, 'cpu.percent' can be configured to prioritize the hosts based on CPU percentage, but there are only limited options when it comes to filtering of machines in the first place, that too using the CPU queue length.</p>
<p dir="ltr">Also, I understand that IBM has its platform resource scheduler that can be used to build custom plugins to get user defined metrics, is there a similar way in pure Openstack which can be used to get the CPU queue length.</p>
<p dir="ltr">As of now, I am thinking of writing a custom script to be kept in all compute nodes to retrieve the CPU queue length and send it to the Nova controller, is this the way to go, or is there a defined approach that I can follow to implement a scheduler that uses CPU queue length to filter physical machines.</p>
<p dir="ltr">Any pointers on this would be really helpful.</p>
<p dir="ltr">Regards,<br>
Rahul U Nair</p>