<div dir="ltr"><div><div>Sorry for late. I'm OK with both nova scheduler and swarm as both of them using same logic for scheduling: filter + strategy (weight), and the code structure/logic is also very similar between nova scheduler and swarm.<br><br></div>In my understanding, even if we use swarm and translate go to python, after this scheduler is added to magnum, we may notice that it is very similar with nova scheduler. <br><br></div>Thanks!<br><div><br><br><div><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-08 11:01 GMT+08:00 Adrian Otto <span dir="ltr"><<a href="mailto:adrian.otto@rackspace.com" target="_blank">adrian.otto@rackspace.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>
Ok, so if we proceed using Swarm as our first pursuit, and we want to add things to Swarm like scheduling hints, we should open a Magnum bug ticket to track each of the upstream patches, and I can help to bird dog those. We should not shy away from upstream
 enhancements until we get firm feedback suggesting our contributions are out of scope.
<span class="HOEnZb"><font color="#888888"><div><br>
</div>
<div>Adrian</div></font></span><span class="">
<br>
<br>
<div>-------- Original message --------</div>
<div>From: "Steven Dake (stdake)" <u></u></div>
<div>Date:02/07/2015 10:27 AM (GMT-08:00) </div>
<div>To: "OpenStack Development Mailing List (not for usage questions)" <u></u>
</div>
</span><span class=""><div>Subject: Re: [openstack-dev] [Magnum] Scheduling for Magnum </div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<span>
<div style="font-family:Calibri;font-size:11pt;text-align:left;color:black;border-bottom:medium none;border-left:medium none;padding-bottom:0in;padding-left:0in;padding-right:0in;border-top:#b5c4df 1pt solid;border-right:medium none;padding-top:3pt">
<span style="font-weight:bold">From: </span>Eric Windisch <<a href="mailto:eric@windisch.us" target="_blank">eric@windisch.us</a>><br>
<span style="font-weight:bold">Reply-To: </span>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Date: </span>Saturday, February 7, 2015 at 10:09 AM<br>
<span style="font-weight:bold">To: </span>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [openstack-dev] [Magnum] Scheduling for Magnum<br>
</div>
<div><br>
</div>
<blockquote style="border-left:#b5c4df 5 solid;padding:0 0 0 5;margin:0 0 0 5">
<div>
<div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
1) Cherry pick scheduler code from Nova, which already has a working a filter scheduler design.<br>
2) Integrate swarmd to leverage its scheduler[2].</blockquote>
<div><br>
</div>
<div>I see #2 as not an alternative but possibly an "also". Swarm uses the Docker API, although they're only about 75% compatible at the moment. Ideally, the Docker backend would work with both single docker hosts and clusters of Docker machines powered by
 Swarm. It would be nice, however, if scheduler hints could be passed from Magnum to Swarm.</div>
<div><br>
</div>
<div>Regards,</div>
<div>Eric Windisch </div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</span>
<div><br>
</div>
<div>Adrian & Eric,</div>
<div><br>
</div>
<div>I would prefer to keep things simple and just integrate directly with swarm and leave out any cherry-picking from Nova. It would be better to integrate scheduling hints into Swarm, but I’m sure the swarm upstream is busy with requests and this may be difficult
 to achieve.</div>
<div><br>
</div>
<div>Regards</div>
<div>-steve</div>
<div><br>
</div>
</span></div>

<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</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>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Thanks,<br><br></div>Jay Lau (Guangya Liu)<br></div></div></div></div>
</div>