Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

i found out the reason at last. It's caused by missing "tenant_network_type = gre" in controller ovs plugin config file. So the neutron server send the network information with default tenant_network_type = local. in the compute node, the plugin agent will not create more flows. In the provision_local_vlan(self, net_uuid, network_type, physical_network, segmentation_id) method will not add the flow.

def provision_local_vlan(self, net_uuid, network_type, physical_network, segmentation_id): .... elif network_type == constants.TYPE_LOCAL: # no flows needed for local networks pass else: LOG.error(_("Cannot provision unknown network type " "%(network_type)s for net-id=%(net_uuid)s"), {'network_type': network_type, 'net_uuid': net_uuid})