<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Agreed.
<div><br>
</div>
<div>Ed Leafe (dabo) is slated to work on the scheduler plugins that make the decisions for which zone to use. </div>
<div><br>
</div>
<div><a href="https://blueprints.launchpad.net/nova/+spec/bexar-distributed-scheduler" target="_blank">https://blueprints.launchpad.net/nova/+spec/bexar-distributed-scheduler</a></div>
<div><br>
</div>
<div><a href="https://blueprints.launchpad.net/nova/+spec/bexar-distributed-scheduler" target="_blank"></a>You might want to review that one as well.</div>
<div><br>
</div>
<div>-S</div>
<div><br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF994865" 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 Justin Santa
 Barbara [justin@fathomdb.com]<br>
<b>Sent:</b> Thursday, February 10, 2011 7:38 PM<br>
<b>To:</b> Devin Carlen<br>
<b>Cc:</b> openstack@lists.launchpad.net<br>
<b>Subject:</b> Re: [Openstack] Allowing clients to pass capability requests through tags?<br>
</font><br>
</div>
<div></div>
<div>I think the blueprint was largely complementary to the multi-zone stuff; this is more about how the client _requests_ a particular location/capability through the API.  The multi-zone blueprint seems to be more about how nova would satisfy those requests
 (in a non-trivial zone structure.)
<div><br>
</div>
<div>The root motivator is indeed getting a 'good' connection to a storage volume.  I'm thinking of iSCSI SAN storage here, so in my case this probably means the SAN device with the least number of switches in between.  There could well be SAN devices in each
 rack (e.g. Solaris volume nodes), or the devices could even be running on the host nodes, and I don't believe that zones in the EC2 sense are sufficient here.</div>
<div><br>
</div>
<div>But I guess that if the zone hierarchy went all the way down to the rack (or machine), that would work.  So I could create a volume and it would come back with a location of "<a href="http://rack4.room2.dc1.dfw.rackspace.com" target="_blank">rack4.room2.dc1.dfw.rackspace.com</a>"
 and I could then request allocation of machines in that same rack?  Is that the vision of the nested zones?</div>
<div><br>
</div>
<div>I do have a concern that long-term if we _only_ use zones, that's trying to multiplex a lot of information into the zone hierarchy, and we can really only put one attribute in there.  I also like the flexibility of the 'openstack:near=vol-000001' request,
 because then the cloud can decide how near to place the instance based on its knowledge of the topology, and the clients can be oblivious to the storage system and arrangement.  But, my immediate requirement would indeed be satisfied if the zones went down
 to the rack/machine level.</div>
<div><br>
</div>
<div>An alternative way to look at zones and instance-types is that they're actually just fail-if-not-satisfiable tags of the creation request (openstack:+zone=us-east-1a and openstack:+instancetype=m1.large)  They're only distinguished attributes because AWS
 doesn't have an extensibility mechanism, which this blueprint would give us.</div>
<div><br>
</div>
<div>Justin<br>
<br>
<br>
<br>
<br>
<div class="gmail_quote">On Thu, Feb 10, 2011 at 3:12 PM, Devin Carlen <span dir="ltr">
<<a href="mailto:devcamcar@me.com" target="_blank">devcamcar@me.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div bgcolor="#FFFFFF">
<div>I haven't totally digested this blueprint yet but it seems like there is some overlap with what is being discussed with the multi zone metadata stuff.  One approach might be to handle this awt the scheduler level though and try to ensure things are always
 in the same zone when appropriate.</div>
<div><br>
</div>
<div>I think the bigger question you raise is how to request local volumes when possible, yes?<br>
<br>
Devin</div>
<div>
<div></div>
<div class="h5">
<div><br>
On Feb 10, 2011, at 3:37 PM, Justin Santa Barbara <<a href="mailto:justin@fathomdb.com" target="_blank">justin@fathomdb.com</a>> wrote:<br>
<br>
</div>
<div></div>
<blockquote type="cite">
<div>Does anyone have any thoughts/objections on the blueprint I posted for allowing clients to pass capability-requests through tags?  I'm planning on starting implementation soon, so if people think this is a bad idea I'd rather know before I start coding!
<div><br>
</div>
<div>Blueprint: <a href="https://blueprints.launchpad.net/nova/+spec/use-metadata-tags-for-capabilities" target="_blank"></a><a href="https://blueprints.launchpad.net/nova/+spec/use-metadata-tags-for-capabilities" target="_blank">https://blueprints.launchpad.net/nova/+spec/use-metadata-tags-for-capabilities</a></div>
<div><a href="https://blueprints.launchpad.net/nova/+spec/use-metadata-tags-for-capabilities" target="_blank"></a>Wiki: <a href="https://blueprints.launchpad.net/nova/+spec/use-metadata-tags-for-capabilities" target="_blank"></a><a href="https://blueprints.launchpad.net/nova/+spec/use-metadata-tags-for-capabilities" target="_blank">https://blueprints.launchpad.net/nova/+spec/use-metadata-tags-for-capabilities</a></div>
<div><br>
</div>
<div><a href="https://blueprints.launchpad.net/nova/+spec/use-metadata-tags-for-capabilities" target="_blank"></a>And a quick TLDR:</div>
<div>API clients need a way to request e.g. placement of machines near each other / near volumes, or that a volume be created with a particular RAID level, or that a machine be created in a HIPAA compliant environment.  (This is complementary to the work on
 hierarchical zones & URL naming, I believe)</div>
<div><br>
</div>
<div>I propose using the instance tags for this, e.g. specifying openstack:near=vol-000001 when creating an instance to request locating the instance 'close to' that volume.</div>
<div><br>
</div>
<div>By default these requests would be best-effort and ignored-if-unknown; if the client wants to specify that something is required and should fail if not understood or not satisfiable, they could use a "+" e.g. openstack:+location=*.<a href="http://dc1.north.rackspace.com" target="_blank"></a><a href="http://dc1.north.rackspace.com" target="_blank">dc1.north.rackspace.com</a></div>
<div><br>
</div>
<div>Controversially (?), this would not be supported for clients using the AWS API, because tags can only be specified once the instance has already been created.</div>
<div><br>
</div>
<div><br>
</div>
<div>Feedback appreciated!</div>
<div><br>
</div>
<div>Justin<br>
<br>
<br>
<br>
</div>
</div>
</blockquote>
</div>
</div>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>Mailing list: <a href="https://launchpad.net/~openstack" target="_blank"></a><a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a></span><br>
<span>Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">
</a><a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a></span><br>
<span>Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank"></a><a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a></span><br>
<span>More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">
</a><a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a></span><br>
</div>
</blockquote>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</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>
<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 abuse@rackspace.com, and delete the original message.
Your cooperation is appreciated.
</PRE></body>
</html>