<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#ffffff" fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div id="divRpF733312" style="direction: ltr; "><font face="Tahoma" size="2" color="#000000">Thanks Dragon!</font></div>
<div id="divRpF733312" style="direction: ltr; "><font face="Tahoma" size="2" color="#000000"><br>
</font></div>
<div id="divRpF733312" style="direction: ltr; "><font face="Tahoma" size="2" color="#000000">Had another conversation with Jay on this as well. I think the caching with the smart use of instance/customer naming will go a long way to helping the search.</font></div>
<div id="divRpF733312" style="direction: ltr; "><font face="Tahoma" size="2" color="#000000"><br>
</font></div>
<div id="divRpF733312" style="direction: ltr; "><font face="Tahoma" size="2" color="#000000">More comments below ...</font></div>
<div id="divRpF733312" style="direction: ltr; "><font face="Tahoma" size="2" color="#000000"><br>
</font></div>
<div id="divRpF733312" style="direction: ltr; "><font face="Tahoma" size="2" color="#000000">-S</font></div>
<div id="divRpF733312" style="direction: ltr; "><font face="Tahoma" size="2" color="#000000"><br>
</font></div>
<div id="divRpF733312" style="direction: ltr; "><font face="Tahoma" size="2" color="#000000"><b>From:</b> openstack-bounces+sandy.walsh=rackspace.com@lists.launchpad.net [openstack-bounces+sandy.walsh=rackspace.com@lists.launchpad.net] on behalf of Monsyne
 Dragon [mdragon@rackspace.com]<br>
</font><b><br>
</b></div>
<div></div>
</div>
<blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div>Hmm.....  You wouldn't really need to re-marshall the request. Just copy  the needed headers & url, and pass along the body as you received it.  Basically you are just
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div>acting as a sort of http proxy. </div>
</div>
</blockquote>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div><br>
</div>
<div>Yup, that's what I was proposing. I guess I wasn't clear.<br>
</div>
</div>
<blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div>
<blockquote type="cite">
<div style="direction:ltr; font-family:Tahoma; color:rgb(0,0,0); font-size:10pt">
<div>
<div>Rather than modify all the *service/api.py methods to accept a request parameter, can anyone think of cleaner solution? I debated piggy-backing on the Context, but that's ugly.</div>
</div>
</div>
</blockquote>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div>
<div style="direction:ltr; font-family:Tahoma; color:rgb(0,0,0); font-size:10pt">
<div>
<div><span class="Apple-style-span" style="font-size: 16px; ">I think just  proxying the request is cleaner. Otherwise you have two different ways of calling an api method.</span></div>
</div>
</div>
</div>
</div>
</blockquote>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div><br>
</div>
<div>Yes. The proxying will have to occur in the scheduler where the decision making is done, correct?<br>
</div>
</div>
<blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div>
<blockquote type="cite">
<div style="direction:ltr; font-family:Tahoma; color:rgb(0,0,0); font-size:10pt">
<div>
<div><b>Problem 2.</b></div>
</div>
</div>
</blockquote>
</div>
 </div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div>Basically there needs to be some notification (pub sub, rest call, whatever) that gets passed back up the chain to the 'higher' schedulers.  They use this to replicate basic info on the  higher zones (possibly as a cache).  This could also drive an event
 feed to the end user.  </div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div><br>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div>The alternative is to pull from zones and cache that.  But the notification approach seems  more efficient.
</div>
</div>
</blockquote>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div>
<blockquote type="cite">
<div style="direction:ltr; font-family:Tahoma; color:rgb(0,0,0); font-size:10pt">
<div>
<div></div>
</div>
</div>
</blockquote>
I like the notification scheme as well. We may want to revisit once that gets in place.<br>
</div>
</div>
<blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div>
<blockquote type="cite">
<div style="direction:ltr; font-family:Tahoma; color:rgb(0,0,0); font-size:10pt">
<div>
<div>Seems impractical if *every* command has to do a zone search every time. </div>
</div>
</div>
</blockquote>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div>Besides the zones having replicated info on the instances (I'm assuming each zone has it's own db) the instance_id's could have structure to them (i.e. a URI) which could indicate which zone they live in.
</div>
</div>
</blockquote>
<div style="font-family: 'Times New Roman'; color: rgb(0, 0, 0); ">
<div>
<blockquote type="cite" style="font-size: 16px; ">
<div style="direction:ltr; font-family:Tahoma; color:rgb(0,0,0); font-size:10pt">
<div>
<div></div>
</div>
</div>
</blockquote>
<font class="Apple-style-span" size="3">+1</font><br>
</div>
</div>
<blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div style="font-family: 'Times New Roman'; color: rgb(0, 0, 0); ">
<div>
<blockquote type="cite" style="font-size: 16px; ">
<div style="direction:ltr; font-family:Tahoma; color:rgb(0,0,0); font-size:10pt">
<div>
<div>One alternative is to make Host-Best-Match/Zone-Best-Match stand-alone query operations.</div>
</div>
</div>
</blockquote>
</div>
</div>
<div style="font-family: 'Times New Roman'; color: rgb(0, 0, 0); ">
<div>
<blockquote type="cite" style="font-size: 16px; ">
<div style="direction:ltr; font-family:Tahoma; color:rgb(0,0,0); font-size:10pt">
<div>
<div>My above use-case would look like this:</div>
</div>
</div>
</blockquote>
</div>
</div>
<div style="font-family: 'Times New Roman'; color: rgb(0, 0, 0); ">
<div>
<div style="direction:ltr; font-family:Tahoma; color:rgb(0,0,0); font-size:10pt">
<div>
<div><span class="Apple-style-span" style="font-size: 16px; ">Hmmm... I am not sure about exposing internal structure to customers in this way.  Would you really want the more 'internal' zones exposed? </span></div>
</div>
</div>
</div>
</div>
</blockquote>
<div style="color: rgb(0, 0, 0); ">
<div><br>
</div>
<div>To Jay's point, the "control panel" would hide all that switching.<br>
<blockquote type="cite" style="font-size: 16px; font-family: 'Times New Roman'; ">
<div style="direction:ltr; font-family:Tahoma; color:rgb(0,0,0); font-size:10pt">
<div>
<div></div>
<div>-S<br>
<br>
</div>
</div>
</div>
<style type="text/css">
<!--
-->
</style><style type="text/css">
<!--
-->
</style>
<pre>Confidentiality Notice: This e-mail message (including any attached or
embedded documents) is intended for the exclusive and confidential use of the
individual or entity to which this message is addressed, and unless otherwise
expressly indicated, is confidential and privileged information of Rackspace.
Any dissemination, distribution or copying of the enclosed material is prohibited.
If you receive this transmission in error, please notify us immediately by e-mail
at <a class="moz-txt-link-abbreviated" href="mailto:abuse@rackspace.com" target="_blank">abuse@rackspace.com</a>, and delete the original message.
Your cooperation is appreciated.
</pre>
<pre><fieldset class="mimeAttachmentHeader" target="_blank"></fieldset>
_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a>
Post to     : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a>
More help   : <a class="moz-txt-link-freetext" href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72" style="font-size: 16px; font-family: 'Times New Roman'; ">-- 

--
    -Monsyne Dragon
    work:         210-312-4190
    mobile        210-441-0965
    google voice: 210-338-0336</pre>
<pre style="font-size: 16px; font-family: 'Times New Roman'; ">Confidentiality Notice: This e-mail message (including any attached or
embedded documents) is intended for the exclusive and confidential use of the
individual or entity to which this message is addressed, and unless otherwise
expressly indicated, is confidential and privileged information of Rackspace.
Any dissemination, distribution or copying of the enclosed material is prohibited.
If you receive this transmission in error, please notify us immediately by e-mail
at abuse@rackspace.com, and delete the original message.
Your cooperation is appreciated.
</pre>
</div>
</div>
</div>
<style type="text/css">embed[type*="application/x-shockwave-flash"],embed[src*=".swf"],object[type*="application/x-shockwave-flash"],object[codetype*="application/x-shockwave-flash"],object[src*=".swf"],object[codebase*="swflash.cab"],object[classid*="D27CDB6E-AE6D-11cf-96B8-444553540000"],object[classid*="d27cdb6e-ae6d-11cf-96b8-444553540000"],object[classid*="D27CDB6E-AE6D-11cf-96B8-444553540000"]{   display: none !important;}</style><style type="text/css">embed[type*="application/x-shockwave-flash"],embed[src*=".swf"],object[type*="application/x-shockwave-flash"],object[codetype*="application/x-shockwave-flash"],object[src*=".swf"],object[codebase*="swflash.cab"],object[classid*="D27CDB6E-AE6D-11cf-96B8-444553540000"],object[classid*="d27cdb6e-ae6d-11cf-96b8-444553540000"],object[classid*="D27CDB6E-AE6D-11cf-96B8-444553540000"]{   display: none !important;}</style>
</body>
</html>