yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #60010
[Bug 1652252] [NEW] Not able to delete the network - exceptions.NotImplementedError
Public bug reported:
Description
===========
I have created the network (NET-2) for assigning floating IP to an instances. There were some problem in bringing interface attached to the router and I am trying to delete and create again.
NET-1
Network Type: flat
Physical Network: physnet1
Segmentation ID: -
NET-2
Network Type: vlan
Physical Network: physnet1
Segmentation ID: 128
Steps to reproduce
==================
1. Create network (Enable External Network)
2. Create subnetwork (Disable DHCP)
3. Add interface to an existing network
4 Delete network
I also tried to remove interface from route , but got an error "Unable
to delete interface: dce21efa-765e-4036-a638-254fa6f3c23a"
And then I did "nova net-list"
root@node-1:/var/log/neutron# nova net-list
+--------------------------------------+--------------------+------+
| ID | Label | CIDR |
+--------------------------------------+--------------------+------+
| 462ec7ee-eb70-4a47-a35e-edc8fa8f760d | admin_floating_net | None |
| bce1b871-0ab1-4cee-b96c-3fb3530245a0 | BHLC | None |
| c837a299-7224-468c-ae8a-1884163293b8 | admin_internal_net | None |
+--------------------------------------+--------------------+------+
root@node-1:/var/log/neutron# nova net-delete bce1b871-0ab1-4cee-b96c-3fb3530245a0
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.NotImplementedError'> (HTTP 500) (Request-ID: req-f362e655-f48e-43b5-b8d3-f4f529f866b1)
Expected result
===============
Network should be deleted
Actual result
=============
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.NotImplementedError'> (HTTP 500) (Request-ID: req-f362e655-f48e-43b5-b8d3-f4f529f866b1)
Environment
===========
1. Exact version of OpenStack you are running.
Mitaka
root@node-1:~# dpkg -l | grep nova
ii nova-api 2:13.1.1-7~u14.04+mos20 all OpenStack Compute - compute API frontend
ii nova-cert 2:13.1.1-7~u14.04+mos20 all OpenStack Compute - certificate manager
ii nova-common 2:13.1.1-7~u14.04+mos20 all OpenStack Compute - common files
ii nova-conductor 2:13.1.1-7~u14.04+mos20 all OpenStack Compute - conductor service
ii nova-consoleauth 2:13.1.1-7~u14.04+mos20 all OpenStack Compute - Console Authenticator
ii nova-consoleproxy 2:13.1.1-7~u14.04+mos20 all OpenStack Compute - NoVNC proxy
ii nova-scheduler 2:13.1.1-7~u14.04+mos20 all OpenStack Compute - virtual machine scheduler
ii python-nova 2:13.1.1-7~u14.04+mos20 all OpenStack Compute - libraries
ii python-novaclient 2:3.3.1-4~u14.04+mos3 all client library for OpenStack Compute API - Python 2.7
root@node-1:~#
2. Which hypervisor did you use?
Libvirt + KVM
3. Which storage type did you use?
LVM
4. Which networking type did you use?
Neutron with OpenVSwitch
Logs & Configs
==============
I have deployed OpenStack using Fuel 9.0 with following config
1 Controller Node
2 Compute Node
Attached the Nova-API log
** Affects: nova
Importance: Undecided
Status: New
** Attachment added: "nova-api.log"
https://bugs.launchpad.net/bugs/1652252/+attachment/4795618/+files/nova-api.log
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1652252
Title:
Not able to delete the network - exceptions.NotImplementedError
Status in OpenStack Compute (nova):
New
Bug description:
Description
===========
I have created the network (NET-2) for assigning floating IP to an instances. There were some problem in bringing interface attached to the router and I am trying to delete and create again.
NET-1
Network Type: flat
Physical Network: physnet1
Segmentation ID: -
NET-2
Network Type: vlan
Physical Network: physnet1
Segmentation ID: 128
Steps to reproduce
==================
1. Create network (Enable External Network)
2. Create subnetwork (Disable DHCP)
3. Add interface to an existing network
4 Delete network
I also tried to remove interface from route , but got an error "Unable
to delete interface: dce21efa-765e-4036-a638-254fa6f3c23a"
And then I did "nova net-list"
root@node-1:/var/log/neutron# nova net-list
+--------------------------------------+--------------------+------+
| ID | Label | CIDR |
+--------------------------------------+--------------------+------+
| 462ec7ee-eb70-4a47-a35e-edc8fa8f760d | admin_floating_net | None |
| bce1b871-0ab1-4cee-b96c-3fb3530245a0 | BHLC | None |
| c837a299-7224-468c-ae8a-1884163293b8 | admin_internal_net | None |
+--------------------------------------+--------------------+------+
root@node-1:/var/log/neutron# nova net-delete bce1b871-0ab1-4cee-b96c-3fb3530245a0
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.NotImplementedError'> (HTTP 500) (Request-ID: req-f362e655-f48e-43b5-b8d3-f4f529f866b1)
Expected result
===============
Network should be deleted
Actual result
=============
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.NotImplementedError'> (HTTP 500) (Request-ID: req-f362e655-f48e-43b5-b8d3-f4f529f866b1)
Environment
===========
1. Exact version of OpenStack you are running.
Mitaka
root@node-1:~# dpkg -l | grep nova
ii nova-api 2:13.1.1-7~u14.04+mos20 all OpenStack Compute - compute API frontend
ii nova-cert 2:13.1.1-7~u14.04+mos20 all OpenStack Compute - certificate manager
ii nova-common 2:13.1.1-7~u14.04+mos20 all OpenStack Compute - common files
ii nova-conductor 2:13.1.1-7~u14.04+mos20 all OpenStack Compute - conductor service
ii nova-consoleauth 2:13.1.1-7~u14.04+mos20 all OpenStack Compute - Console Authenticator
ii nova-consoleproxy 2:13.1.1-7~u14.04+mos20 all OpenStack Compute - NoVNC proxy
ii nova-scheduler 2:13.1.1-7~u14.04+mos20 all OpenStack Compute - virtual machine scheduler
ii python-nova 2:13.1.1-7~u14.04+mos20 all OpenStack Compute - libraries
ii python-novaclient 2:3.3.1-4~u14.04+mos3 all client library for OpenStack Compute API - Python 2.7
root@node-1:~#
2. Which hypervisor did you use?
Libvirt + KVM
3. Which storage type did you use?
LVM
4. Which networking type did you use?
Neutron with OpenVSwitch
Logs & Configs
==============
I have deployed OpenStack using Fuel 9.0 with following config
1 Controller Node
2 Compute Node
Attached the Nova-API log
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1652252/+subscriptions
Follow ups