<div dir="ltr">From a purely benchmarking aspect it makes sense.  It's like a burn in test case use.  That only makes it make sense.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 19, 2016 at 5:09 PM, Kevin Bringard (kevinbri) <span dir="ltr"><<a href="mailto:kevinbri@cisco.com" target="_blank">kevinbri@cisco.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sorry for top posting.<br>
<br>
Just wanted to say I agree with Monty (and didn't want you to have to scroll way down to read it). When we switched to neutron the thing people said was "Why do I have to do all this other stuff now?". So long as the tools exist for folks to do more powerful things if they want to, I'm all for making the simplest use case just that: simple. I think if there's any issue with this approach it'll be with the people who are unlearning their behavior.<br>
<span class="HOEnZb"><font color="#888888"><br>
-- Kevin<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
On 2/19/16, 1:21 PM, "Monty Taylor" <<a href="mailto:mordred@inaugust.com">mordred@inaugust.com</a>> wrote:<br>
<br>
>On 02/19/2016 11:07 AM, Matt Riedemann wrote:<br>
>> There is a long contentious dev thread going on here [1] about how Nova<br>
>> should handle the Neutron auto-allocate-topology API (referred to as the<br>
>> 'get-me-a-network' effort).<br>
>><br>
>> The point is to reduce the complexity for users to simply boot an<br>
>> instance and be able to ssh into it without having to first setup<br>
>> networks/subnets/routers in neutron and then specify a nic when booting<br>
>> the instance. If the planets are aligned, and no nic is provided (or<br>
>> available to the project), then nova would call the new neutron API to<br>
>> auto-allocate the network and use that to create a port to associate<br>
>> with the instance.<br>
>><br>
>> There is existing behavior in Nova where you can boot an instance and<br>
>> get no networking with neutron as the backend. You can later add<br>
>> networking by attaching an interface. The nova dev team has no idea how<br>
>> common this use case is though.<br>
><br>
>Fascinating. I have never wanted to do this. I cannot imagine wanting to<br>
>do this. I also have never heard anyone express a desire to do this.<br>
><br>
>> There will be a microversion to the nova API with the get-me-a-network<br>
>> support. The debate is what the default behavior should be when using<br>
>> that microversion. The options are basically:<br>
><br>
>The command line tool always uses the latest microversion, right?<br>
><br>
>> 1. If no nic is provided at boot and none are available, don't provide a<br>
>> network (existing behavior). If the user wants a network auto-allocated,<br>
>> they specify something like: --nic=auto<br>
>><br>
>> In this case the user has to opt into auto-allocating the network.<br>
><br>
>This would not be horrible, but still requires a user to take an action<br>
>that they would not expect to need to do just to do the simple thing<br>
>(boot a vm) So it's my least favorite.<br>
><br>
>> 2. If no nic is provided at boot and none are available, nova will<br>
>> attempt to auto-allocate the network from neutron. If the user<br>
>> specifically doesn't want networking on instance create (for whatever<br>
>> reason), they have to opt into that behavior with something like:<br>
>> --nic=none<br>
>><br>
>> This is closer in behavior to how booting an instance works with<br>
>> nova-network, but it is a change in the default behavior for the neutron<br>
>> case, and that is a cause for concern for any users that have written<br>
>> tools to expect that default behavior.<br>
><br>
>This is my most favorite - because it accomplishes the simplest case<br>
>"boot me a vm without me requesting anything out of the ordinary about<br>
>it" in the simplest way "nova boot"<br>
><br>
>> 3. If no nic is provided at boot and none are available, fail the<br>
>> request and force the request to be explicit, i.e. provide a specific<br>
>> nic, or auto, or none. This is a fail-fast scenario to force users to<br>
>> really state what they want.<br>
><br>
>I like this better than 1 but less than 2. The nice part is that the<br>
>error message can at least communicate to the user that they need to say<br>
>"--nic=$something" - which is at least active communication on our part.<br>
>But if there is no network available, then the _only_ valid choices are<br>
>none and auto, (specific nic wouldn't be a result here because in that<br>
>case the user currently gets the "I can't figure out which network to<br>
>use" errror - and again the "no" nic is a strange case that is the least<br>
>likely thing a user wants to do.<br>
><br>
>> --<br>
>><br>
>> As with any microversion change, we hope that users are reading the docs<br>
>> and aware of the changes in each microversion, but we can't guarantee<br>
>> that, so changing default behavior (case 2) requires discussion and<br>
>> input, especially from outside the dev team.<br>
><br>
>That is totally fair and I think you're right about that. It is a change<br>
>- but in this particular case I think we can extrapolate pretty well<br>
>about what people do and how they use clouds.<br>
><br>
>Getting an IP address in an OpenStack Cloud is hard already - AND it's<br>
>very common for clouds to restrict API calls for port/fixed-ip<br>
>manipulation, so I doubt VERY seriously that anyone is deliberately<br>
>going through additional needless steps to get a working IP.<br>
><br>
>> If you or your users have any input on this, please respond in this<br>
>> thread of the one in the -dev list.<br>
><br>
>I earnestly suggest #2. I believe it is the behavior users are more<br>
>likely to expect than anything else.<br>
><br>
><br>
>_______________________________________________<br>
>OpenStack-operators mailing list<br>
><a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
</div></div></blockquote></div><br></div>