<div dir="ltr">Shouldn't "nova list" and some shell script magic do most of this?  The only problem would be to make sure that two people didn't ask for a name at the same time<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Feb 3, 2014 at 1:19 AM, Tim Bell <span dir="ltr"><<a href="mailto:Tim.Bell@cern.ch" target="_blank">Tim.Bell@cern.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">> -----Original Message-----<br>
> From: John Griffith [mailto:<a href="mailto:john.griffith@solidfire.com">john.griffith@solidfire.com</a>]<br>
> Sent: 03 February 2014 03:47<br>
> To: Joel Cooklin<br>
> Cc: <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
> Subject: Re: [Openstack] nova unique name generator middleware<br>
><br>
</div><div class="im">> On Sun, Feb 2, 2014 at 7:26 PM, Joel Cooklin <<a href="mailto:joel.cooklin@gmail.com">joel.cooklin@gmail.com</a>> wrote:<br>
> > +1 intel use cases.  It would be nice to avoid our current custom patches.<br>
> ><br>
> ><br>
> > On Sunday, February 2, 2014, Joshua Harlow <<a href="mailto:harlowja@yahoo-inc.com">harlowja@yahoo-inc.com</a>> wrote:<br>
> >><br>
> >> +1 yahoo use case(s) would also benefit from not having to patch the<br>
</div>> >> +code<br>
<div class="im">> >> to achieve similar results.<br>
> >><br>
> >> Sent from my really tiny device...<br>
> >><br>
> >> > On Feb 2, 2014, at 12:12 AM, "Tim Bell" <<a href="mailto:Tim.Bell@cern.ch">Tim.Bell@cern.ch</a>> wrote:<br>
> >> ><br>
> >> > It would be interesting to have a formal exit inside OpenStack nova<br>
> >> > at VM creation for this sort of check rather than having to patch the code.<br>
> >> ><br>
> >> > Other scenarios that I've seen is where there is a need to enforce<br>
> >> > limits as the server name is used for other purposes. Examples are<br>
> >> > characters in the server name or maximum length.<br>
> >> ><br>
> >> > Tim<br>
> >> ><br>
</div>...<br>
<div class="im">> ><br>
> Maybe just an auto-naming option added to nova's existing boot call; use a prefix and the UUID of the instance would satisfy the<br>
> cases people are talking about here and not impact existing users?<br>
><br>
<br>
</div>We have a set of other use cases which are around the use of the server name to get a Kerberos/X.509 identity which imposes other restrictions on the name being chosen (such as maximum length and limited set of characters). The unique name is one scenario but there are others.<br>

<br>
Thus, we could start adding new options such as "max server name length" and "server name character set" or we find a way to do a plugin.<br>
<span class="HOEnZb"><font color="#888888"><br>
Tim<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Aryeh M. Friedman, Lead Developer, <a href="http://www.PetiteCloud.org" target="_blank">http://www.PetiteCloud.org</a><br></div>
</div>