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.
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. plugins/ ml2/ml2_ conf.ini network_ types = vxlan linuxbridge, l2population
/etc/neutron/
[ml2]
type_drivers = vxlan
tenant_
mechanism_drivers = openvswitch,
2.Create a network .
neutron net-create Net1
+------ ------- ------- ------- +------ ------- ------- ------- ------- ----+ ------- ------- ------- +------ ------- ------- ------- ------- ----+ 95f4-4a97- bb2e-b8599fa277 23 | network_ type | vxlan | physical_ network | | segmentation_ id | 500 | a9ddb177291fab1 64 | ------- ------- ------- +------ ------- ------- ------- ------- ----+ neutron/ plugins/ ml2/ml2_ conf.ini
| Field | Value |
+------
| admin_state_up | True |
| id | 4ea83d79-
| name | Net1 |
| provider:
| provider:
| provider:
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | e261d031311b484
+------
2. Update the ml2 plugin network type as vlan./etc/
[ml2] network_ types = vlan linuxbridge, l2population ------- ------- ------- +------ ------- ------- ------- ------- ----+ ------- ------- ------- +------ ------- ------- ------- ------- ----+ 9e0f-435f- a96e-3d6deb13c5 e4 | network_ type | vlan | physical_ network | physnet1 | segmentation_ id | 3541 | a9ddb177291fab1 64 | ------- ------- ------- +------ ------- ------- ------- ------- ----+
type_drivers = vlan
tenant_
mechanism_drivers = openvswitch,
3.Create a network again :
neutron net-create n1
Created a new network:
+------
| Field | Value |
+------
| admin_state_up | True |
| id | d8593185-
| name | n1 |
| provider:
| provider:
| provider:
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | e261d031311b484
+------
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.