Setting up networking in Controller and Compute

Asked by johnpham

Hi there,

I'm completely new to Openstack and trying to do a manual installation of Openstack consisting of 2 nodes: controller and compute by following this docs:

https://docs.openstack.org/mitaka/install-guide-ubuntu/environment-networking.html

Context: I have 2 VMs running Ubuntu 16.04 each with 2 network interfaces ("ens160" and "ens192") sitting in a DMZ behind a corporate firewall. I'm trying to create 2 networks as outlined in the docs. However, I don't really understand how the networks are setup.

In an attempt to configure the management network interface on "ens192" , i edited /etc/network/interfaces.d/ as followed:

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto ens160
iface ens160 inet static
        address 10.204.36.90
        netmask 255.255.255.0
        network 10.204.36.0
        broadcast 10.204.36.255
        gateway 10.204.36.1

auto ens192
iface ens192 inet static
        address 10.0.0.11
        netmask 255.255.255.0
        network 10.0.0.0
        broadcast 10.0.0.255
        gateway 10.0.0.1

Restarted the networking.service, "systemctl restart networking.service", failed with following messages, not super useful. But seem like ens192 failed to start.

Jun 11 15:28:17 openstackcontroller systemd[1]: Stopped Raise network interfaces.
-- Subject: Unit networking.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit networking.service has finished shutting down.
Jun 11 15:28:17 openstackcontroller systemd[1]: Starting Raise network interfaces...
-- Subject: Unit networking.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit networking.service has begun starting up.
Jun 11 15:28:17 openstackcontroller ifup[5259]: RTNETLINK answers: File exists
Jun 11 15:28:17 openstackcontroller ifup[5259]: Failed to bring up ens192.
Jun 11 15:28:17 openstackcontroller systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
Jun 11 15:28:17 openstackcontroller systemd[1]: Failed to start Raise network interfaces.
-- Subject: Unit networking.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit networking.service has failed.
--
-- The result is failed.
Jun 11 15:28:17 openstackcontroller systemd[1]: networking.service: Unit entered failed state.
Jun 11 15:28:17 openstackcontroller systemd[1]: networking.service: Failed with result 'exit-code'.

Result from "ifconfig -a":

ens160 Link encap:Ethernet HWaddr 00:0c:29:bb:70:ed
          inet addr:10.204.36.90 Bcast:10.204.36.255 Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:febb:70ed/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:1395 errors:0 dropped:196 overruns:0 frame:0
          TX packets:466 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:122982 (122.9 KB) TX bytes:58824 (58.8 KB)

ens192 Link encap:Ethernet HWaddr 00:0c:29:bb:70:f7
          inet addr:10.0.0.11 Bcast:10.204.36.255 Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:febb:70f7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:1047 errors:0 dropped:19 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:100626 (100.6 KB) TX bytes:648 (648.0 B)

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:65536 Metric:1
          RX packets:2045005 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2045005 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:318945550 (318.9 MB) TX bytes:318945550 (318.9 MB)

Would appreciate very much if someone can explain how the can the management network can be set up in this case?
Or what caused the failure.

Thanks in advance,

Question information

Language:
English Edit question
Status:
Expired
For:
neutron Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.