Delete db error when syncing vlan allocation

Bug #1743284 reported by sunzuohua
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel Contrail plugin
Fix Committed
Undecided
Unassigned

Bug Description

Reproduction steps:
1.Remove existed physical network in network_vlan_ranges from ml2_conf.ini
2.Restart neutron server
3.Fail to restart neutron server and report error as follows:
    UnmappedInstanceError: Class 'neutron.objects.plugins.ml2.vlanallocation.VlanAllocation' is not mapped

Solution:
Modify [1] as follows:
    alloc.delete()

[1]https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/drivers/type_vlan.py#L133

Changed in fuel-plugin-contrail:
assignee: nobody → Deepak Mourya (mourya007)
Revision history for this message
Deepak Mourya (mourya007) wrote :

i could not reproduced the same error on my environment

Revision history for this message
sunzuohua (zuohuasun) wrote :

@Deepak Mouryam, You have to remove the entire physical network segment, just the vlan range.

Changed in fuel-plugin-contrail:
assignee: Deepak Mourya (mourya007) → nobody
sunzuohua (zuohuasun)
Changed in fuel-plugin-contrail:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.