trouble with neutron network and flat [closed]

asked 2014-05-19 21:30:49 -0500

don gravatar image

updated 2014-05-19 21:33:10 -0500

I'm not really sure what to ask here. I am having problems with icehouse on 14.04 ubuntu. the icehouse packages are all from the ubuntu repo.

I am finding lots of inconsistencies. With the below config, when I launch an instance of cirros it will get an IP w/ DHCP (yeah!). it can ping the host interface br-ex (e.g. it gets an ip of e.g. 172.16.12, and can ping 172.16.1.11 and 172.16.1.1). So far so good. The host cannot ping it (? i guess that is from the iptables rule

-A neutron-openvswi-s888b5d4b-4 -s 172.16.1.12/32 -m mac --mac-source FA:16:3E:7D:82:17 -j RETURN

so i guess(?) i must have a floating ip (?). this is an all-in-one setup fwiw. so I did this:

nova-manage floating create --pool=nova --ip-range=172.16.0.0/24
neutron net-create public --router:external=True --shared
neutron subnet-create public 172.16.0.0/24 --name public --enable_dhcp False --allocation_pool start=172.16.0.10,end=172.16.0.254 --gateway 172.16.0.1
neutron floatingip-create public

ok, so now i am ostensibly assigned 172.16.0.12 as a floating IP. I can indeed ping 172.16.0.1 from the VM, but the host still cannot ping the VM (boo!).

At this stage I don't know what to do. I have what i think is all the relevant config & show commands below.

if i comment out the vlan,gre,vxlan from the ml_2 type drivers line

type_drivers = local,flat,vlan,gre,vxlan

neutron-server won't load, saying:

ERROR neutron.plugins.ml2.managers [-] No type driver for tenant network_type: flat. Service terminated!

I'm not sure if that matters here, so i have left vlan/gre/vxlan in.

does anyone have any advice here? my server has 1 ethernet interface, with a public IP, and the intent was to have everything run inside it. I would like the VM's to be able to reach the host, and also NAT to the public internet (but directly reaching them is not important).

    ifconfig -a
    br-ex     Link encap:Ethernet  HWaddr 22:b4:a0:9f:cb:47  
              inet addr:172.16.1.1  Bcast:172.16.1.255  Mask:255.255.255.0
              inet6 addr: fe80::d4fd:6fff:feea:503a/64 Scope:Link
              UP BROADCAST RUNNING  MTU:1500  Metric:1
              RX packets:1008 errors:0 dropped:0 overruns:0 frame:0
              TX packets:837 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:96802 (96.8 KB)  TX bytes:79426 (79.4 KB)

    br-int    Link encap:Ethernet  HWaddr 16:ce:e6:9f:62:40  
              inet6 addr: fe80::3c98:aeff:fedd:676c/64 Scope:Link
              UP BROADCAST RUNNING  MTU:1500  Metric:1
              RX packets:85 errors:0 dropped:0 overruns:0 frame:0
              TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:10634 (10.6 KB)  TX bytes ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by rbowen
close date 2016-09-21 15:47:46.569601

Comments

Closing: This references a version of OpenStack which has been marked End Of Life - https://releases.openstack.org/ Please open a new question if you're still experiencing this with a more recent version of OpenStack.

rbowen gravatar imagerbowen ( 2016-09-21 15:47:39 -0500 )edit