[openstack-dev] [savanna] neutron and private networks

Jon Maron jmaron at hortonworks.com
Thu Oct 3 16:00:50 UTC 2013



On Oct 3, 2013, at 11:42 AM, Matthew Farrellee <matt at redhat.com> wrote:

> On 10/03/2013 11:21 AM, Jon Maron wrote:
>> Hi,
>> 
>> I'd like to raise an issue in the hopes of opening some discussion on
>> the IRC chat later today:
>> 
>> We see a critical requirement to support the creation of a savanna
>> cluster with neutron networking while leveraging a private network
>> (i.e. without the assignment of public IPs) - at least during the
>> provisioning phase.  So the current neutron solution coded in the
>> master branch appears to be insufficient (it is dependent on the
>> assignment of public IPs to launched instances), at least in the
>> context of discussions we've had with users.
>> 
>> We've been experimenting and trying to understand the viability of
>> such an approach and have had some success establishing SSH
>> connections over a private network using paramiko etc.  So as long as
>> there is a mechanism to ascertain the namespace associated with the
>> given cluster/tenant (configuration?  neutron client?) it appears
>> that the modifications to the actual savanna code for the instance
>> remote interface (the SSH client code etc) will be fairly small.  The
>> namespace selection could potentially be another field made available
>> in the dashboard's cluster creation interface.
>> 
>> -- Jon
> 
> Last week there was an IRC discussion about this, which is by its very nature rather ephemeral. So thanks for taking this to the list.
> 
> The outcome of the IRC meeting was that -
> 
> 0) we don't cover the use case where only the cluster's head node has a public IP (all worker nodes have private IPs)

That may need to be expanded to include a selective list of nodes with public IPs.  Depending on node group definitions, there may be some interfaces running on nodes other than the head node to which users would need (or desire) access.

> 
> 1) we think it's an important use case
> 
> 2) there are two ways we see to address it
> a) do some architectural changes so that the responsibility of configuring the cluster can be delegated to the head node (from savanna-api)
> b) make savanna-api netns aware (e.g. ip netns exec) so that it can contact all nodes no matter the visibility of their network

I've actually experimented with approach b.  Initially seems like a feasible and somewhat non-intrusive change to the existing code.  Also seems like an appropriate approach for multi tenant environments.

> 
> This is a good item for the roadmap and for a design session in Hong Kong.
> 
> Best,
> 
> 
> matt



-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.



More information about the OpenStack-dev mailing list