<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 15 September 2015 at 16:08, Monty Taylor <span dir="ltr"><<a href="mailto:mordred@inaugust.com" target="_blank">mordred@inaugust.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span>On 09/15/2015 06:30 PM, Armando M. wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span>
<br>
<br>
On 15 September 2015 at 08:04, Monty Taylor <<a href="mailto:mordred@inaugust.com" target="_blank">mordred@inaugust.com</a><br></span><div><div>
<mailto:<a href="mailto:mordred@inaugust.com" target="_blank">mordred@inaugust.com</a>>> wrote:<br>
<br>
Hey all!<br>
<br>
If any of you have ever gotten drunk with me, you'll know I hate<br>
floating IPs more than I hate being stabbed in the face with a very<br>
angry fish.<br>
<br>
However, that doesn't really matter. What should matter is "what is<br>
the most sane thing we can do for our users"<br>
<br>
As you might have seen in the glance thread, I have a bunch of<br>
OpenStack public cloud accounts. Since I wrote that email this<br>
morning, I've added more - so we're up to 13.<br>
<br>
auro<br>
citycloud<br>
datacentred<br>
dreamhost<br>
elastx<br>
entercloudsuite<br>
hp<br>
ovh<br>
rackspace<br>
runabove<br>
ultimum<br>
unitedstack<br>
vexxhost<br>
<br>
Of those public clouds, 5 of them require you to use a floating IP<br>
to get an outbound address, the others directly attach you to the<br>
public network. Most of those 8 allow you to create a private<br>
network, to boot vms on the private network, and ALSO to create a<br>
router with a gateway and put floating IPs on your private ip'd<br>
machines if you choose.<br>
<br>
Which brings me to the suggestion I'd like to make.<br>
<br>
Instead of having our default in devstack and our default when we<br>
talk about things be "you boot a VM and you put a floating IP on it"<br>
- which solves one of the two usage models - how about:<br>
<br>
- Cloud has a shared: True, external:routable: True neutron network.<br>
I don't care what it's called ext-net, public, whatever. the<br>
"shared" part is the key, that's the part that lets someone boot a<br>
vm on it directly.<br>
<br>
- Each person can then make a private network, router, gateway, etc.<br>
and get floating-ips from the same public network if they prefer<br>
that model.<br>
<br>
Are there any good reasons to not push to get all of the public<br>
networks marked as "shared"?<br>
<br>
<br>
The reason is simple: not every cloud deployment is the same: private is<br>
different from public and even within the same cloud model, the network<br>
topology may vary greatly.<br>
</div></div></blockquote>
<br>
Yes. Many things may be different.<span><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Perhaps Neutron fails in the sense that it provides you with too much<br>
choice, and perhaps we have to standardize on the type of networking<br>
profile expected by a user of OpenStack public clouds before making<br>
changes that would fragment this landscape even further.<br>
<br>
If you are advocating for more flexibility without limiting the existing<br>
one, we're only making the problem worse.<br>
</blockquote>
<br></span>
I am not. I am arguing for a different arbitrary 'default' deployment. Right now the verbiage around things is "floating IPs is the 'right' way to get access to public networks"<br>
<br>
I'm not arguing for code changes, or more options, or new features.<br>
<br>
I'm saying that there a set of public clouds that provide a default experience out of the box that is pleasing with neutron today, and we should have the "I don't know what I want tell me what to do" option behave like those clouds.<br>
<br>
Yes. You can do other things.<br>
Yes. You can get fancy.<br>
Yes. You can express all of the things.<br>
<br>
Those are things I LOVE about neutron and one of the reasons I think that the arguments around neutron and nova-net are insane.<br>
<br>
I'm just saying that "I want a computer on the externally facing network from this cloud" is almost never well served by floating-ips unless you know what you're doing, so rather than leading people down the road towards that as the default behavior, since it's the HARDER thing to deal with - let's lead them to the behavior which makes the simple thing simple and then clearly open the door to them to increasingly complex and powerful things over time.</blockquote><div><br></div><div>I can get behind this statement, but all I am trying to say is that Neutron gives you the toolkit. How, as a deployer you use it, it's up to you. A deployer can today implement a shared publicly facing network on which VM's can connect to without problems. Now the issue may come from a user point of view: does the user may need to specify the network? Or create the topology ahead of time? It's my understanding that this is what this thread is about. If not, then I clearly need a crash course in English :)</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
OH - well, one thing - that's that once there are two networks in an<br>
account you have to specify which one. This is really painful in<br>
nova clent. Say, for instance, you have a public network called<br>
"public" and a private network called "private" ...<br>
<br>
You can't just say "nova boot --network=public" - nope, you need to<br>
say "nova boot --nics net-id=$uuid_of_my_public_network"<br>
<br>
So I'd suggest 2 more things;<br>
<br>
a) an update to python-novaclient to allow a named network to be<br>
passed to satisfy the "you have more than one network" - the nics<br>
argument is still useful for more complex things<br></blockquote></span></blockquote><div><br></div><div>That's the one: </div><div><br></div><div><a href="https://bugs.launchpad.net/python-novaclient/+bug/1496180">https://bugs.launchpad.net/python-novaclient/+bug/1496180</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
b) ability to say "vms in my cloud should default to being booted on<br>
the public network" or "vms in my cloud should default to being<br>
booted on a network owned by the user"<br></blockquote></span></blockquote><div><br></div><div>I think this this is very do-able with the caveat that we gotta figure out how this turns out to be like in the various deployment models that are feasible with the toolkit that Neutron provides the deployer with. There may be multiple public networks, multiple per-tenant networks etc.</div><div><br></div><div>As Doug initially pointed out the get-me-a-network [1] aims at simplifying this workflow. We may need to refine it further based on your input, but this is something that can be iterated on once we have the building block in place, and furthermore once we have people actually working on it...bear with us ;)</div><div><br></div><div>That's the other:</div><div><br></div><div>[1] <a href="https://blueprints.launchpad.net/neutron/+spec/get-me-a-network">https://blueprints.launchpad.net/neutron/+spec/get-me-a-network</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Thoughts?<br>
<br>
<br>
As I implied earlier, I am not sure how healthy this choice is. As a<br>
user of multiple clouds I may end up having a different user experience<br>
based on which cloud I am using...I thought you were partially<br>
complaining about lack of consistency?<br>
</blockquote>
<br></span>
I am a user of multiple clouds. I am complaining about the current lack of consistency.<br>
<br>
More than that though, I'm complaining that we lead people to select a floating-ip model when having them flip the boolean value of "shared=True" on their ext-net would make the end-user experience WAY nicer.</blockquote><div><br></div><div>It's funny you mention that because today Neutron already has a concept of shared networks. I can make a public network (router:external) shared. If no logical tenant-owned network were to be available, then you'd boot straight off the external network, so your use is 90% already there.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div><br>
<br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br></div></div>