ml2 plugin with linuxbridge and vlans

asked 2015-03-15 09:29:58 -0500

azriel gravatar image

updated 2015-03-15 11:10:25 -0500

Hi,

I'm using Juno on Ubuntu 14.04 on an all-in-one installation and i'm trying to bring up the ml2 plugin with linux bridge mechanism driver, but once I set the router as GW I get the following -

server.log -

2015-03-15 16:42:26.039 4287 WARNING neutron.plugins.ml2.managers [req-29d3c3e9-c342-40f1-969c-b27033f3b129 None] Failed to bind port 05eddd66-f967-49a6-b51e-e8cf0723ab38 on host controller
2015-03-15 16:42:26.065 4287 WARNING neutron.plugins.ml2.plugin [req-29d3c3e9-c342-40f1-969c-b27033f3b129 None] In _notify_port_updated(), no bound segment for port 05eddd66-f967-49a6-b51e-e8cf0723ab38 on network 4299988f-a842-4fe7-b092-56d20716deeb
2015-03-15 16:42:29.218 4287 WARNING neutron.plugins.ml2.rpc [req-f6c22f06-4225-4e55-872b-28b941c9163c None] Device tap05eddd66-f9 requested by agent lbd4ae5203a3aa on network 4299988f-a842-4fe7-b092-56d20716deeb not bound, vif_type: binding_failed

linuxbridge-agent.log -

2015-03-15 16:42:29.222 2191 INFO neutron.plugins.linuxbridge.agent.linuxbridge_neutron_agent [req-f6c22f06-4225-4e55-872b-28b941c9163c None] Device tap05eddd66-f9 not defined on plugin

I've installed: - apt-get install neutron-plugin-linuxbridge-agent

configured the following -

/etc/neutron/plugins/ml2/ml2_conf.ini

[ml2]
type_drivers = flat,vlan
tenant_network_types = vlan
mechanism_drivers = linuxbridge

[ml2_type_flat]
flat_networks = physnet3

[ml2_type_vlan]
network_vlan_ranges = physnet3,physnet2:100:200

[ml2_type_gre]
[ml2_type_vxlan]

[securitygroup]
enable_security_group = True
firewall_driver=neutron.agent.linux.iptables_firewall.IptablesFirewallDriver

[linux_bridge]
physical_interface_mappings = physnet3:p3p2

[database]
sql_connection = mysql://neutron:password@controller/neutron

[ovs]

/etc/neutron/neutron.conf

[DEFAULT]
rpc_backend = rabbit
rabbit_host = controller
rabbit_password = password
auth_strategy = keystone
core_plugin = ml2
service_plugins = router,lbaas
allow_overlapping_ips = True
notify_nova_on_port_status_changes = True
notify_nova_on_port_data_changes = True
nova_url = http://controller:8774/v2
nova_admin_auth_url = http://controller:35357/v2.0
nova_region_name = regionOne
nova_admin_username = nova
nova_admin_tenant_id = 4bc54e811c844e9786b5bba9e72b8073
nova_admin_password = password
verbose = True
lock_path = $state_path/lock

[matchmaker_redis]

[matchmaker_ring]

[quotas]

[agent]
root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf

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

[database]
connection = mysql://neutron:password@controller/neutron

[service_providers]
service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default

/etc/neutron/l3_agent.ini

[DEFAULT]
interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver
use_namespaces = True

/etc/neutron/dhcp_agent.ini

[DEFAULT]
interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver
dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
use_namespaces = True


MariaDB [neutron]> select * from ml2_port_bindings;
+--------------------------------------+------------+----------------+--------+---------+-----------+-------------+---------+
| port_id                              | host       | vif_type       | driver | segment | vnic_type | vif_details | profile |
+--------------------------------------+------------+----------------+--------+---------+-----------+-------------+---------+
| d91d1817-68b1-4493-97bc-46e5f0260abd | controller | binding_failed | NULL   | NULL    | normal    |             |         |
+--------------------------------------+------------+----------------+--------+---------+-----------+-------------+---------+
edit retag flag offensive close merge delete

Comments

Please past brctl show output also.

osdiaj gravatar imageosdiaj ( 2015-03-16 02:58:24 -0500 )edit

Could you solve this? I'm having the same problem.

sacha-m gravatar imagesacha-m ( 2016-04-28 14:48:04 -0500 )edit