Install guide networking is hard on Virtual Machines

Bug #1505174 reported by Tom Fifield
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Won't Fix
Wishlist
Christian Berendt

Bug Description

Increasingly, when testing new services, users rely on virtual machines. This should be no surprise - it is for many of the same reasons OpenStack itself is successful :)

We have structured the install guide such that it is not a "one click", nor a full "production" installation, but something in between. A lightweight learning experience, aimed to provide enough knowledge that one can go on, knowing where the configuration files are, which daemons are around for the services, and how aspects of OpenStack such as the service catalog work.

How much or how little background information, or what knowledge level to assume is always a challenge with this document. So it might be that this bug should not be solved, or a speparate companion appendix should be created rather than any in-line modifications. I'm merely putting it up for consideration :)

A standard virtual machine typically comes with:
* 1 interface, configured with an address from DHCP, that accesses internet through a NAT

A current OpenStack installation using the install guide requires machines to have:
* 1 interface with a static IP, with internet access through NAT
* 1 interface with no IP address, that has "direct" internet access

To be clear, I don't think there's a problem with the requirements. This bug is about the difficulty of realising them on a VM and whether we should do anything to assist.

To successfully set this up in a normal-ish vm environment, the reader will have to use brctl to make two new bridges and then use iptables to make a NAT between each bridge and the internet, and work with the route command so they can access the hosts from their desktop. They'll then need to renumber the VM's "regular" interface (or keep it as an additional one) as part of the install.

If you've done it before - reasonably straightforward. If you're learning about linux networking at the same time as OpenStack, it can be quite a challenge.

Tom Fifield (fifieldt)
Changed in openstack-manuals:
milestone: none → mitaka
tags: added: install-guide
Changed in openstack-manuals:
importance: Undecided → Wishlist
Revision history for this message
Matt Kassawara (ionosphere80) wrote :

In general, different hypervisors implement networking in different ways. To implement your suggestion, we would need to provide instructions that specify a hypervisor networking configuration that may only apply to a small percentage of our audience. Furthermore, we would need to test the entire installation guide and triage bugs using both bare metal and virtual machines.

Revision history for this message
Matt Dorn (madorn) wrote :

Tom,

Just a note that I successfully ran through the Install Guide with VMware Fusion thanks to the built-in virtual networking options.

For example, in Fusion, one can create two Custom Networks with NAT enabled in Fusion preferences: One for the management network (10.0.0.0/24, gateway: 10.0.0.2) and the other for the public (203.0.113.0/24, gateway: 203.0.113.2).

You should be able to do the same thing in VirtualBox by creating two Nat Networks [1] (This is different than regular NAT).

It would be cool if we could possibly provide Install Guide readers with instructions on how to set these up, Vagrantfiles for use with Vagrant, or downloadable Virtual Appliances (ova files) for import into Hypervisor of choice.

[1] https://www.virtualbox.org/manual/ch06.html#network_nat_service

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (master)

Fix proposed to branch: master
Review: https://review.openstack.org/241320

Changed in openstack-manuals:
assignee: nobody → Matt Dorn (madorn)
status: New → In Progress
Changed in openstack-manuals:
assignee: Matt Dorn (madorn) → Christian Berendt (berendt)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on openstack-manuals (master)

Change abandoned by Matt Dorn (<email address hidden>) on branch: master
Review: https://review.openstack.org/241320

Changed in openstack-manuals:
milestone: mitaka → newton
Changed in openstack-manuals:
milestone: newton → ocata
Revision history for this message
Alexandra Settle (alexandra-settle) wrote :

Closing as this is what training labs is for. See here: http://git.openstack.org/cgit/openstack/training-labs/

For training labs documentation: http://docs.openstack.org/training_labs/

Changed in openstack-manuals:
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.