Hi,<div>So, if I paraphrase correctly what is meant out of the stacker jargon.</div><div><br></div><div>min_count and max_count doc will go in the API doc as an extension item once the DisableServerExtension cleanup is done. Right?</div>
<div><br></div><div>However, the original question was about the <span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px"><b><i>num_instances</i></b></span><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px"> property of the RPC request spec</span><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px">. I do not see a direct relationship with min_count and max_count. </span><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px">So, is num_instances another undocumented API extension parameter or something else?</span></div>
<div><br></div><div><font color="#222222" face="arial, sans-serif">I can see also that DisableServerExtensions proposal mentions a <i><b>reservation_id </b></i>parameter... Can someone explain what it is ? Is it to support server reservation like in AWS EC2? And so, would a user be able to create a reservation (that is, not to actually create the reserve servers but to reserve the) with say additional min_count max_count parameters in the request. The reservation would fail if min_count cannot be honored by OpenStack. If the reservation can be honored, would return a reservation_id along with a value between min_count and max_count. Is this a correct understanding of the behavior or complete speculation?</font></div>
<div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">Thanks for shedding some light on this</font></div><div><font color="#222222" face="arial, sans-serif"><br>
</font></div><div><font color="#222222" face="arial, sans-serif">Best regards,</font></div><div><font color="#222222" face="arial, sans-serif">Patrick  </font></div><div><font color="#222222" face="arial, sans-serif"><br>
</font></div><div><br></div><div><div class="gmail_quote">2012/8/7 Anne Gentle <span dir="ltr"><<a href="mailto:anne@openstack.org" target="_blank">anne@openstack.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
These were documented but then pulled out because min_count and<br>
max_count are not to spec.<br>
<br>
We are now working on a cleanup effort described at<br>
<a href="http://wiki.openstack.org/DisableServerExtensions" target="_blank">http://wiki.openstack.org/DisableServerExtensions</a>.<br>
<br>
It seems the log from the last Nova meeting where this was discussed<br>
is gathered together with the QA team meeting due to the meetbot not<br>
being turned off between meetings.<br>
<br>
The log is here, scroll to the bottom to read.<br>
<a href="http://eavesdrop.openstack.org/meetings/openstack-meeting/2012/openstack-meeting.2012-08-02-17.00.log.html" target="_blank">http://eavesdrop.openstack.org/meetings/openstack-meeting/2012/openstack-meeting.2012-08-02-17.00.log.html</a><br>

<br>
Hope this is helpful - though cleanup will be the most helpful, please<br>
feel free to join in the effort. :)<br>
<span class="HOEnZb"><font color="#888888">Anne<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Tue, Aug 7, 2012 at 1:13 PM, David Kranz <<a href="mailto:david.kranz@qrclab.com">david.kranz@qrclab.com</a>> wrote:<br>
> It is a little strange but the following seems to be true.<br>
><br>
> 1. The nova HTTP API has a max_count and min_count that go in the request<br>
> dictionary.<br>
> 2. This is not documented.<br>
> 3. The novaclient python api create function has these arguments.<br>
> 4. The novaclient cli does not have them, or at least they are not<br>
> documented by 'nova help boot'.<br>
><br>
> Beats me why this is the case...<br>
><br>
>  -David<br>
><br>
><br>
> On 8/7/2012 1:47 PM, Patrick Petit wrote:<br>
><br>
> Dear All,<br>
><br>
> Looking into the details of the request_spec part of a RPC message ensuing a<br>
> nova boot command.<br>
> There is a 'num_instances' : 1 property that implies the value could be<br>
> different than one (default) even though there is no cardinality parameter<br>
> in nova boot nor in the API (unless I missed something big). So, I am<br>
> curious to know: why is it there if we cannot create more than one instance<br>
> at a time through the API, but more importantly is there a (secret) way to<br>
> set that value different than 1 to tell the scheduler "please create<br>
> multiple instances of that type".<br>
> Thanks in advance<br>
> Patrick<br>
><br>
><br>
><br>
> _______________________________________________<br>
> Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
> Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
> Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
> More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
> Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
> Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
> More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
><br>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><i>"Give me a place to stand, and I shall move the earth with a lever"</i><br>
</div>