Public bug reported:

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.

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: ml2

** Description changed:

  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
+  /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
+ 
+ 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. 
+ 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.

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1324436

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

Status in OpenStack Neutron (virtual network service):
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1324436/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to