[Openstack] Neutron 2-node configuration

James Harrison james at talkunafraid.co.uk
Wed Sep 3 10:26:03 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

Just getting my feet wet with Openstack - I've gone through a number
of test installs and things have gone well with the all-in-one
approach (everything on one host). I'm running neutron/ml2/openvswitch
with a GRE tenant network. The main controller box is running
everything and that all works fine.

The external net is 192.168.88.0/24 with physical hosts on .90 and .91.

I'm now trying to expand my cloud to a second node running
nova-compute, openvswitch and the neutron-plugin-openvswitch-agent.

I've followed the Ubuntu 14.04 install guide to the letter aside from
changing things like my_ip and so on to match.

Connectivity between the boxes is fine, they can ping each other etc.


I can boot a VM on the new compute node, but it cannot get DHCP, nor
can I ping it from any host in its tenant network.


/var/log/openvswitch/ovs-vswitchd.log shows a lot of this:
2014-09-03T10:10:20.144Z|00003|tunnel(miss_handler)|WARN|receive
tunnel port not found (192.168.88.91->192.168.88.90, key=0x2, dp
port=3, pkt mark=0)
2014-09-03T10:10:20.144Z|00004|ofproto_dpif_upcall(miss_handler)|INFO|received
packet on unassociated datapath port 3

/var/log/neutron/openvswitch-agent.log shows this:
2014-09-03 09:28:12.176 7347 ERROR neutron.agent.linux.ovsdb_monitor
[-] Error received from ovsdb monitor:
2014-09-03T08:28:12Z|00001|fatal_signal|WARN|terminating with signal
15 (Terminated)
2014-09-03 09:28:12.532 7347 CRITICAL neutron [-] Trying to re-send()
an already-triggered event.

user at compute:~$ sudo ovs-vsctl show
0dbd7543-210f-48be-a206-ed949cdc61f6
    Bridge br-int
        fail_mode: secure
        Port br-int
            Interface br-int
                type: internal
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
    Bridge br-tun
        Port br-tun
            Interface br-tun
                type: internal
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port "gre-c0a8585b"
            Interface "gre-c0a8585b"
                type: gre
                options: {in_key=flow, local_ip="192.168.88.90",
out_key=flow, remote_ip="192.168.88.91"}
    ovs_version: "2.0.1"

(No VMs booted at the above time but they show up in br-int as
expected when booted)

On the controller I can see the gre tunnel's other end in ovs-vsctl
show in br-tun, and the patch interface there to br-int looks fine.

I've rebuilt the compute box over a couple of times and I'm utterly
lost at this point - any ideas?

- -- 
Cheers,
James
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJUBuy7AAoJENTyYHL8dmp9OAQP/A9/By+IQArgdng75nzZdQw/
KJsQVtFTXDkW3e1wQAiQleIpIy5h+rWlMnbF32qfu8Kb6hECXIEV2Au4s83MwXIh
6r4x/HoNqLyFj3qGutVVQXRF5kGvGJLHuhBqr5rA/7RNW6SjF7I1IxgajOmuAPzn
bM+b80+QWF8v6q8gkeqh+2zMnFFxDYfkd694PrnS/ytovlsf6a2dlz7BNIhD0o5z
HXofaT/2geIEzQ9BopZRi1bne35zaYS7as0udSGnPVOy5EcX98Z5uFmvCIZxWY0U
mMDeA5yjWPLEasjn0yLt97HtoW7A1Ghvdxxe+lXJQ40QbM4yursHi5Rqiss2CGmA
wvR/bGsX3YGgyekkF+iOwyn2BpB/RspkXfZK2dnKXGbKgYiNW87cvcmPBA0cnDEa
EZnzy30BfYJwGHbks+vubbn7pzY+DpvJ+C22LxfB8F8B/gjf1oolwLIDRjIEs3ie
/ZA1E83rySLeG69K0EeIbXyOqHRRDHjnB0puHfsWByqRTQIltc2Pf3zIUxnbySiC
52KCq2oLAuq3ZqpxQep61oedpfxjdz5bs9UOVcZOOptR279JktQETY+yeeg+kaO8
1CbkYz4o8kcS9ZehiZua38HHZMZ/1QFT2R9L34B4HMX8zJuFYPYffkws4Glmn8El
Hv6lRuPykuye5Mok7H94
=+Oe6
-----END PGP SIGNATURE-----




More information about the Openstack mailing list