Changing the ml2 network type result in internal server error while performing delete/update operation on the pre existing resources

Bug #1324436 reported by Romil Gupta
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Committed
High
Romil Gupta

Bug Description

DESCRIPTION: Changing the ml2 network type result in internal server error while performing delete/update operation on the pre existing resources

Steps to Reproduce:

1.Configure a ml2 plug-in with network type as vxlan.
 /etc/neutron/plugins/ml2/ml2_conf.ini
[ml2]
type_drivers = vxlan
tenant_network_types = vxlan
mechanism_drivers = openvswitch,linuxbridge,l2population

2.Create a network .
neutron net-create Net1

+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin_state_up | True |
| id | 4ea83d79-95f4-4a97-bb2e-b8599fa27723 |
| name | Net1 |
| provider:network_type | vxlan |
| provider:physical_network | |
| provider:segmentation_id | 500 |
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | e261d031311b484a9ddb177291fab164 |
+---------------------------+--------------------------------------+

2. Update the ml2 plugin network type as vlan./etc/neutron/plugins/ml2/ml2_conf.ini

[ml2]
type_drivers = vlan
tenant_network_types = vlan
mechanism_drivers = openvswitch,linuxbridge,l2population

3.Create a network again :
neutron net-create n1
Created a new network:
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin_state_up | True |
| id | d8593185-9e0f-435f-a96e-3d6deb13c5e4 |
| name | n1 |
| provider:network_type | vlan |
| provider:physical_network | physnet1 |
| provider:segmentation_id | 3541 |
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | e261d031311b484a9ddb177291fab164 |
+---------------------------+--------------------------------------+

4.List the network both the network is listed.

5. Try to delete the vxlan network type network created:
neutron net-delete Net1

Request Failed: internal server error while processing your request.

Tags: ml2
Romil Gupta (romilg)
description: updated
Changed in neutron:
status: New → Confirmed
assignee: nobody → Eugene Nikanorov (enikanorov)
Romil Gupta (romilg)
Changed in neutron:
assignee: Eugene Nikanorov (enikanorov) → Romil Gupta (romilg)
Revision history for this message
Eugene Nikanorov (enikanorov) wrote :

Sure, please go ahead

Changed in neutron:
importance: Undecided → High
Romil Gupta (romilg)
Changed in neutron:
status: Confirmed → 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.