<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>I'm having a hard time understanding the original problem.  nova boot should return in milliseconds.  There's no blocking on provisioning.</div><div><br></div><div>- Chris</div><div><br>On Apr 3, 2013, at 8:32 PM, Rafael Rosa <<a href="mailto:rafaelrosafu@gmail.com">rafaelrosafu@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">API wise I was thinking about something like "nova boot --custom-instance-uuid ABC..." or something like that. To avoid problems with any current implementation I would set it to disabled by default and add a config option to enable it.<div>

<br></div><div style="">As for collisions, my take is that if you're passing a custom UUID you know what you're doing and is generating them in a way that won't be duplicated. Just by using standard UUID generators the possibility of collisions are really really small.</div>

<div style=""><br></div><div style="">Thanks for the feeback :)</div><div class="gmail_extra"><br clear="all"><div>Rafael Rosa Fu<br></div>
<br><br><div class="gmail_quote">2013/4/3 Michael Still <span dir="ltr"><<a href="mailto:mikal@stillhq.com" target="_blank">mikal@stillhq.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On Thu, Apr 4, 2013 at 9:16 AM, Rafael Rosa <<a href="mailto:rafaelrosafu@gmail.com">rafaelrosafu@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> In our OpenStack installation we have an issue when creating new instances,<br>
> we need to execute some long running processes before calling "nova boot"<br>
> and the call blocks for the end user for a while. We would like to return<br>
> "immediately" to the caller with a final instance UUID and do the work on<br>
> the background, but it's only generated when during actual instance<br>
> creation, which is a no go in our situation.<br>
<br>
</div>The instance_create database call already accepts an instance UUID as<br>
an argument, so that bit looks like it should work out well for you.<br>
So, I guess this is mostly a case of working out how you want the API<br>
to work.<br>
<br>
Personally, I would have no problem with something like this, so long<br>
as we could somehow "reserve" the instance UUID so that another caller<br>
doesn't try and create an instance with the same UUID while you're<br>
doing your slow thing.<br>
<br>
Cheers,<br>
Michael<br>
</blockquote></div><br></div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a></span><br><span>Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a></span><br><span>Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a></span><br><span>More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a></span><br></div></blockquote></body></html>