<br><br><div class="gmail_quote">On Wed, Nov 21, 2012 at 12:15 PM, Huang Zhiteng <span dir="ltr"><<a href="mailto:winston.d@gmail.com" target="_blank">winston.d@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">Hi,<br>
<br>
I've been trying to port filter scheduler (as well as host_manager(),<br>
host_state(), filters, cost functions stuff) from Nova to Cinder.<br>
While we are trying to get the change to land in G1, Russell raised<br>
point that since majority of the code is shared between Nova and<br>
Cinder, then we should get filter scheduler into Olso. IMO, this is<br>
doable but it may take more effort to refactor the scheduler to adopt<br>
the need of two projects than simply porting.  From Cinder's<br>
perspective, it really needs this feature to allow real/sophisticated<br>
placement decision to be made in order to support board choice of<br>
storage back-ends, due to the fact that chance/simple scheduler are<br>
just toys.<br>
<br>
If this is the right thing to do, let's discuss how should we do it<br>
and make sure we can land it before G2 since we were targeting this<br>
feature to G1 for Cinder.  Any thought/comment/suggestion?  Thanks.<br>
<br>
<br>
--<br>
Regards<br>
Huang Zhiteng<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div>Hi Huang,<div><br></div><div>Russell and I touched on this a bit in a conversation yesterday, I totally agree that we should strive to move a good chunk of this in to common/oslo.  Also I'd rather push the feature out of G1 for Cinder than miss the opportunity, I think both Nova and Cinder (and perhaps others going forward) would benefit from this.  As you mentioned also, if folks are agreeable I'd like to see this land early in G2.  If nothing else we can use that version in Cinder and the effort/work to migrate Nova can be deferred or picked up as a second phase of the change.</div>
<div><br></div><div>Thanks,</div><div>John</div>