Ask Your Question
0

Neutron with two external network attach floating ip to wrong router namespace

asked 2015-01-27 06:37:38 -0500

winlwinoo gravatar image

I have configured neutron and openvswitch for two external networks (Juno on Ubuntu 14.04, gre). When I created and associate a floating ip to an instance, l3 agent attach the floating ip to other router namespace (rather than the router namspace of the same network with the floating ip). What did I do wrong? Help me please! I don't know what information I need to provide for my question. So I will provide what you want to know about my configuration.

edit retag flag offensive close merge delete

Comments

pls provide the configurations files for neutron on both network node and compute node then paste them to paste.openstack.org respectively.

9lives gravatar image9lives ( 2015-01-28 02:31:37 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
-1

answered 2015-01-28 03:03:59 -0500

winlwinoo gravatar image

updated 2015-01-28 03:29:24 -0500

Thanks 9lives,

The followings are the changes I set in network node neutron.conf

[DEFAULT]
verbose = True
core_plugin = ml2
service_plugins = router,lbaas
auth_strategy = keystone


allow_overlapping_ips = True

rpc_backend=rabbit
rabbit_hosts=10.1.2.12:5672,10.1.2.13:5672,10.1.2.11:5672
rabbit_userid=openstack
rabbit_password=rabbit

[keystone_authtoken]
auth_uri=http://10.1.2.244:5000/v2.0
identity_uri=http://10.1.2.244:35357
admin_tenant_name = service
admin_user = neutron
admin_password = neutronpass

////neutron.conf from compute nodes

[DEFAULT]
verbose = True
core_plugin = ml2
service_plugins = router,lbaas
auth_strategy = keystone
allow_overlapping_ips = True

rpc_backend=rabbit
rabbit_hosts = 10.1.2.12:5672,10.1.2.13:5672
rabbit_userid = openstack
rabbit_password = rabbit

[keystone_authtoken]
auth_uri = http://10.1.2.244:5000/v2.0
identity_uri = http://10.1.2.244:35357
admin_tenant_name = service
admin_user = neutron
admin_password = neutronpass

http://paste.openstack.org/show/163090/ (paste.openstack.org link)

///ml2_config.ini from network node [ml2] type_drivers = flat,gre tenant_network_types = gre mechanism_drivers = openvswitch [ml2_type_flat] flat_networks = physnet1,physnet2,physnet3 [ml2_type_gre] tunnel_id_ranges = 1:1000 [securitygroup] enable_security_group = True enable_ipset = True firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver [ovs] local_ip = 192.168.96.26 tunnel_type = gre enable_tunneling = True bridge_mappings = physnet1:br-ex,physnet2:br-ex1,physnet3:br-ex2

///ml2_conf.ini from compute nodes [ml2] type_drivers = flat,gre tenant_network_types = gre mechanism_drivers = openvswitch [ml2_type_gre] tunnel_id_ranges = 1:1000 [securitygroup] enable_security_group = True enable_ipset = True firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver [ovs] local_ip = 192.168.96.14 tunnel_type = gre enable_tunneling = True

///l3_agent.ini from network node [DEFAULT] debug = True interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver use_namespaces = True gateway_external_network_id = handle_internal_only_routers = True external_network_bridge = enable_metadata_proxy = True

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-01-27 06:37:38 -0500

Seen: 389 times

Last updated: Jan 28 '15