Prolog
I work with Deva at IBM on a proof of concept that brought this issue up.
We were able to make the juju OpenStack 40 charm get by this issue. Note that
this pertains to using the charm for ppc64el deployment.
Charm: https://jujucharms.com/u/openstack-charmers-next/openstack-base/40
The documentation suggests "Two cabled network ports on eth0 and eth1 (see below)." This is a bit skimpy on what is really needed. OpenStack setup for
neutron (networking) is a bit complicated. See the OpenStack documentation link provided below. OpenStack would like to have network interface 1 for management use (eth0). It would like to have network interface 2 for use of neutron based on the eth1 definition in the charms used by the openstack 40 bundle. Now we originally had eth1 as the external. But since neutron wants
to use eth1 per this bundle setup it then intends to use eth1. When this occurs
having the external ip address on eth1 ends up being ignored and the server
looses external connectivity.
What we needed to do was follow OpenStack documentation to use eth0 as the management interface, we used private network. We set up eth1 as the
way OpenStack suggests. See section "To configure networking:" in below
OpenStack URL. eth1 as
# The external network interface
auto INTERFACE_NAME
iface INTERFACE_NAME inet manual
up ip link set dev $IFACE up
down ip link set dev $IFACE down
Now this has eth0 and eth1 setup per the openstack 40 bundle documentation of
having two network interfaces. You still have the problem that you need
to define the external ip address so adding a bridge fixes that problem. Something list so:
auto br0
iface br0 inet static
address 9.3.80.444
netmask 255.255.255.0
network 9.3.80.0
broadcast 9.3.80.255
gateway 9.3.80.1
bridge_ports eth1
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
So the way we got our initial manual environment server (vm2) to get external access is by fixing /etc/network/interfaces as shown below.
OpenStack Install Instructions
Need to put https: in front of following URL:
//docs.openstack.org/kilo/install-guide/install/apt/content/ch_basic_environment.html#basics-networking
/etc/network/interfaces
auto lo
auto eth0
iface eth0 inet static
address 192.168.93.76
netmask 255.255.255.0
auto eth1
iface eth1 inet manual
up ip link set dev $IFACE up
down ip link set dev $IFACE down
auto br0
iface br0 inet static
address 9.3.80.444
netmask 255.255.255.0
network 9.3.80.0
broadcast 9.3.80.255
gateway 9.3.80.1
bridge_ports eth1
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
#dns-* options are implemented by the resolvconf package, if installed
dns-search aus.stglabs.ibm.com
dns-nameservers 9.3.1.200 9.0.128.50