Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Multi Flat Network Config Cannot Access Public Netowrk

I currently have a single node installation of openstack grizzly running on bare metal with Ubuntu 12.04 LTS. The machine I’m using has three physical ethernet ports: eth0, eth1 and eth2.

I’ve been trying to configure the system in such a way where eth0 is my general control port, and reserve eth1 and eth2 for VM traffic. Just like the multiple flat network use case found here: link

I understand that this set-up should be a simple extension to the single flat network configuration and I’ve been following the installation and logical network config guide found here: link

But I’ve not been able to get a connection between the VM and my physical 192.168.1.0/24 network.

I’m using Quantum + OpenVSwitch as my network node components. Running ovs-vsctl shows my OVS Configuration as:

Bridge br-int
    Port br-int
        Interface br-int
            type: internal
    Port "int-br-eth1"
        Interface "int-br-eth1"
Bridge "br-eth1"
    Port "br-eth1"
        Interface "br-eth1"
            type: internal
    Port "phy-br-eth1"
        Interface "phy-br-eth1"
    Port "eth1"
        Interface "eth1"
ovs_version: "1.4.0+build0"

And ifconfig indicates that OVS is creating two interfaces:

int-br-eth1 Link encap:Ethernet  HWaddr 12:b6:b4:6f:4f:4f
            inet6 addr: fe80::10b6:b4ff:fe6f:4f4f/64 Scope:Link
            UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
            RX packets:6 errors:0 dropped:0 overruns:0 frame:0
            TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000
            RX bytes:468 (468.0 B)  TX bytes:468 (468.0 B)

phy-br-eth1 Link encap:Ethernet  HWaddr 6a:75:85:08:65:da
            inet6 addr: fe80::6875:85ff:fe08:65da/64 Scope:Link
            UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
            RX packets:6 errors:0 dropped:0 overruns:0 frame:0
            TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000
            RX bytes:468 (468.0 B)  TX bytes:468 (468.0 B)

In ovs_quantum_plugin.ini I have:

[OVS]
network_vlan_ranges = physnet1
bridge_mappings = physnet1:br-eth0

I am able to create networks and assign subnets using Quantum. I have also allowed SSH and Ping for the default security group. When I assign my network to my instance, the instance does receive an IP, but the instance can't ping the public network and vice-vera.

Any help would be greatly appreciated.

click to hide/show revision 2
Found Error Message in dhcp-agent.log

Multi Flat Network Config Cannot Access Public Netowrk

I currently have a single node installation of openstack grizzly running on bare metal with Ubuntu 12.04 LTS. The machine I’m using has three physical ethernet ports: eth0, eth1 and eth2.

I’ve been trying to configure the system in such a way where eth0 is my general control port, and reserve eth1 and eth2 for VM traffic. Just like the multiple flat network use case found here: link

I understand that this set-up should be a simple extension to the single flat network configuration and I’ve been following the installation and logical network config guide found here: link

But I’ve not been able to get a connection between the VM and my physical 192.168.1.0/24 network.

I’m using Quantum + OpenVSwitch as my network node components. Running ovs-vsctl shows my OVS Configuration as:

Bridge br-int
    Port br-int
        Interface br-int
            type: internal
    Port "int-br-eth1"
        Interface "int-br-eth1"
Bridge "br-eth1"
    Port "br-eth1"
        Interface "br-eth1"
            type: internal
    Port "phy-br-eth1"
        Interface "phy-br-eth1"
    Port "eth1"
        Interface "eth1"
ovs_version: "1.4.0+build0"

And ifconfig indicates that OVS is creating two interfaces:

int-br-eth1 Link encap:Ethernet  HWaddr 12:b6:b4:6f:4f:4f
            inet6 addr: fe80::10b6:b4ff:fe6f:4f4f/64 Scope:Link
            UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
            RX packets:6 errors:0 dropped:0 overruns:0 frame:0
            TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000
            RX bytes:468 (468.0 B)  TX bytes:468 (468.0 B)

phy-br-eth1 Link encap:Ethernet  HWaddr 6a:75:85:08:65:da
            inet6 addr: fe80::6875:85ff:fe08:65da/64 Scope:Link
            UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
            RX packets:6 errors:0 dropped:0 overruns:0 frame:0
            TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000
            RX bytes:468 (468.0 B)  TX bytes:468 (468.0 B)

In ovs_quantum_plugin.ini I have:

[OVS]
network_vlan_ranges = physnet1
bridge_mappings = physnet1:br-eth0

I am able to create networks and assign subnets using Quantum. I have also allowed SSH and Ping for the default security group. When I assign my network to my instance, the instance does receive an IP, but the instance can't ping the public network and vice-vera.

Any help would be greatly appreciated.

Update

Going through the various quantum logs last night, I see this in the dhcp-agent.log

Stderr: 'sudo: no tty present and no askpass program specified\nSorry, try again.\nsudo: no tty present and no askpass program specified\nSorry, try again.\nsudo: no tty present and no askpass program specified\nSorry, try again.\nsudo: 3 incorrect password attempts\n'