[VPNaaS] NotImplementedError at /project/vpn/ when deleting a vpn service
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Undecided
|
Tatiana Ovchinnikova |
Bug Description
First activae VPNaaS : https:/
Follow the procedure in the URL above to set up a VPN.
Then, in the horizon UI at the "/project/
This error then gets raised:
WARNING 2013-11-18 15:53:26,947 /home/yves/
ERROR 2013-11-18 15:53:27,066 /home/yves/
Traceback (most recent call last):
File "/home/
response = callback(request, *callback_args, **callback_kwargs)
File "/home/
return view_func(request, *args, **kwargs)
File "/home/
return view_func(request, *args, **kwargs)
File "/home/
return view_func(request, *args, **kwargs)
File "/home/
return view_func(request, *args, **kwargs)
File "/home/
return self.dispatch(
File "/home/
return handler(request, *args, **kwargs)
File "/home/
return self.get(request, *args, **kwargs)
File "/home/
handled = self.handle_
File "/home/
handled = tab._tables[
File "/home/
return self.take_
File "/home/
response = action.
File "/home/
return self.handle(
File "/home/
exceptions.
File "/home/
self.
File "/home/
return self.delete(
File "/home/
raise NotImplementedE
NotImplementedE
[18/Nov/2013 15:53:27] "POST /project/vpn/ HTTP/1.1" 500 284664
It works fine if the IPSec Site Conection is deleted before the VPN Service.
We should not be permitted to delete a VPN Service without having deleted the related IPSec Site connection before.
The same thing happens with the IPSec Policies and IKE Policies.
Changed in horizon: | |
assignee: | nobody → Tatiana Mazur (tmazur) |
Changed in horizon: | |
status: | New → In Progress |
Changed in horizon: | |
milestone: | none → icehouse-2 |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | icehouse-2 → 2014.1 |
Reviewed: https:/ /review. openstack. org/57232 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=15d1edcc95a 9ff03a33fc526cb 8fcfe289318c87
Committed: https:/
Submitter: Jenkins
Branch: master
commit 15d1edcc95a9ff0 3a33fc526cb8fcf e289318c87
Author: Tatiana Mazur <email address hidden>
Date: Tue Nov 19 17:43:41 2013 +0400
Remove "Delete" buttons when VPN objects are in use
Deleting attached services and policies doesn't
cause NotImplementedError anymore. Moreover,
options "Delete VPN Service", "Delete IKE Policy" and
"Delete IPSec Policy" don't appear in corresponding row
if there is a connection created using these objects.
Some tests are added to detect such errors in future.
Fixes bug 1252330
Change-Id: I9ed1b4ecdad54b 89bef45b2f5e422 c30447cceb5