yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #58901
[Bug 1643414] [NEW] Error on 'delete subnet' in network topology panel
Public bug reported:
Cant delete subnet on network topology
Steps to Reproduce:
================
1. Open Project/Network/network topology panel;
2. Click the network icon, and there will display a new modal of the net info
3. Click the 'Delete Subnet' on the new modal.
Actual results:
===========
Subnet does not delete, and there will cast error in the console:
File "/root/code_review/horizon/horizon/decorators.py", line 84, in dec
return view_func(request, *args, **kwargs)
File "/root/code_review/horizon/.venv/lib/python2.7/site-packages/django/views/generic/base.py", line 65, in view
self = cls(**initkwargs)
File "/root/code_review/horizon/horizon/tabs/views.py", line 87, in __init__
super(TabbedTableView, self).__init__(*args, **kwargs)
File "/root/code_review/horizon/horizon/tables/views.py", line 34, in __init__
self.get_data_methods(self.table_classes, self._data_methods)
File "/root/code_review/horizon/horizon/tables/views.py", line 61, in get_data_methods
name)
File "/root/code_review/horizon/horizon/tables/views.py", line 78, in check_method_exist
"in %s." % (func_name, cls_name))
NotImplementedError: You must define a get_subnets_data method in NetworkDetailView.
Expected results:
==============
Subnet should delete
** Affects: horizon
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1643414
Title:
Error on 'delete subnet' in network topology panel
Status in OpenStack Dashboard (Horizon):
New
Bug description:
Cant delete subnet on network topology
Steps to Reproduce:
================
1. Open Project/Network/network topology panel;
2. Click the network icon, and there will display a new modal of the net info
3. Click the 'Delete Subnet' on the new modal.
Actual results:
===========
Subnet does not delete, and there will cast error in the console:
File "/root/code_review/horizon/horizon/decorators.py", line 84, in dec
return view_func(request, *args, **kwargs)
File "/root/code_review/horizon/.venv/lib/python2.7/site-packages/django/views/generic/base.py", line 65, in view
self = cls(**initkwargs)
File "/root/code_review/horizon/horizon/tabs/views.py", line 87, in __init__
super(TabbedTableView, self).__init__(*args, **kwargs)
File "/root/code_review/horizon/horizon/tables/views.py", line 34, in __init__
self.get_data_methods(self.table_classes, self._data_methods)
File "/root/code_review/horizon/horizon/tables/views.py", line 61, in get_data_methods
name)
File "/root/code_review/horizon/horizon/tables/views.py", line 78, in check_method_exist
"in %s." % (func_name, cls_name))
NotImplementedError: You must define a get_subnets_data method in NetworkDetailView.
Expected results:
==============
Subnet should delete
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1643414/+subscriptions
Follow ups