Comment 3 for bug 1494281

Revision history for this message
bharath (bharath-7) wrote :

I Found the root cause , tested the patch locally . Its fine

Root cause:

In class OVSNeutronAgent() (File: /neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py)

                 self.provision_local_vlan(local_vlan_map['net_uuid'],
                                           local_vlan_map['network_type'],
                                           local_vlan_map['physical_network'],
                                           int(local_vlan_map[
                                               'segmentation_id']),
                                           local_vlan)

Integer conversion of segmentation_id is causing the problem.
in some cases segmentation_id is none, which is causing segmentation_id is none. which is causing exception

I submitting patchset today. Please provide the comments