<div dir="ltr"><div style="color:rgb(0,0,0);font-family:΢ÈíÑźÚ;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
Greetings,</div><div style="color:rgb(0,0,0);font-family:΢ÈíÑźÚ;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br></div><div style="color:rgb(0,0,0);font-family:΢ÈíÑźÚ;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
Now in oslo, we already put some scheduler filters/weights logic there and cinder is using oslo scheduler filters/weights logic, seems we want both nova&cinder use this logic in future.</div><div style="color:rgb(0,0,0);font-family:΢ÈíÑźÚ;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br></div><div style="color:rgb(0,0,0);font-family:΢ÈíÑźÚ;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
Found some problems as following:</div><div style="color:rgb(0,0,0);font-family:΢ÈíÑźÚ;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
1) In cinder, some filters/weight logic reside in cinder/openstack/common/scheduler and some filter/weight logic in cinder/scheduler, this is not consistent and also will make some cinder hackers confused: where shall I put the scheduler filter/weight.</div>
<div style="color:rgb(0,0,0);font-family:΢ÈíÑźÚ;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
2) Nova is not using filter/weight from oslo and also not using entry point to handle all filter/weight.</div><div style="color:rgb(0,0,0);font-family:΢ÈíÑźÚ;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
3) There is not enough filters in oslo, we may need to add more there: such as same host filter, different host filter, retry filter etc.</div><div style="color:rgb(0,0,0);font-family:΢ÈíÑźÚ;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br></div><div style="color:rgb(0,0,0);font-family:΢ÈíÑźÚ;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
So my proposal is as following:</div><div style="color:rgb(0,0,0);font-family:΢ÈíÑźÚ;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
1) Add more filters to oslo, such as same host filter, different host filter, retry filter etc.</div><div style="color:rgb(0,0,0);font-family:΢ÈíÑźÚ;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
2) Move all filters/weight logic in cinder from cinder/scheduler to cinder/openstack/common/scheduler</div><div style="color:rgb(0,0,0);font-family:΢ÈíÑźÚ;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
3) Enable nova use filter/weight logic from oslo (Move all filter logic to nova/openstack/common/scheduler) and also use entry point to handle all filters/weight logic.</div><div style="color:rgb(0,0,0);font-family:΢ÈíÑźÚ;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br></div><div style="color:rgb(0,0,0);font-family:΢ÈíÑźÚ;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
Comments?</div><div style="color:rgb(0,0,0);font-family:΢ÈíÑźÚ;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br></div><div style="color:rgb(0,0,0);font-family:΢ÈíÑźÚ;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
Thanks,</div><div style="color:rgb(0,0,0);font-family:΢ÈíÑźÚ;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br></div><div style="color:rgb(0,0,0);font-family:΢ÈíÑźÚ;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
Jay</div></div>