VPN-IKEPOLICY-CREATE fails in havana release

asked 2013-12-17 05:55:50 -0500

ashwini gravatar image

updated 2013-12-20 16:39:10 -0500

smaffulli gravatar image

VPN-IKEPOLICY-CREATE command fails in havana release which was previously working before with the following error:

(neutron) vpn-ikepolicy-create abc Request Failed: internal server error while processing your request.

Logs observed in /var/log/neutron/server.*log* (have added few LOG infos for debugging purpose, hence the tag SACH):

2013-12-17 17:19:48.608 19286 **WARNING neutron.db.vpn.vpn_db [-] SACH, inside create_ikepolicy**
2013-12-17 17:19:48.609 19286 **ERROR neutron.api.v2.resource [-] create failed**
2013-12-17 17:19:48.609 19286 TRACE neutron.api.v2.resource Traceback (most recent call last):
2013-12-17 17:19:48.609 19286 **TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/api/v2/resource.py", line 84, in resource**
2013-12-17 17:19:48.609 19286 TRACE neutron.api.v2.resource     result = method(request=request, **args)
2013-12-17 17:19:48.609 19286 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 405, in create
2013-12-17 17:19:48.609 19286 TRACE neutron.api.v2.resource     obj = obj_creator(request.context, **kwargs)
2013-12-17 17:19:48.609 19286 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/db/vpn/vpn_db.py", line 391, in create_ikepolicy
2013-12-17 17:19:48.609 19286 TRACE neutron.api.v2.resource     ike = ikepolicy['ikepolicy']
2013-12-17 17:19:48.609 19286 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/db/vpn/vpn_db.py", line 391, in create_ikepolicy
2013-12-17 17:19:48.609 19286 TRACE neutron.api.v2.resource     ike = ikepolicy['ikepolicy']
2013-12-17 17:19:48.609 19286 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/bdb.py", line 48, in trace_dispatch
2013-12-17 17:19:48.609 19286 TRACE neutron.api.v2.resource     return self.dispatch_line(frame)
2013-12-17 17:19:48.609 19286 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/bdb.py", line 67, in dispatch_line
2013-12-17 17:19:48.609 19286 TRACE neutron.api.v2.resource     if self.quitting: raise BdbQuit

Other commands such as VPN-IPSECPOLICY-CREATE command is working:

(neutron) vpn-ipsecpolicy-create mno Created a new ipsecpolicy:

+----------------------+--------------------------------------+
| Field                | Value                                |
+----------------------+--------------------------------------+
| auth_algorithm       | sha1                                 |
| description          |                                      |
| encapsulation_mode   | tunnel                               |
| encryption_algorithm | aes-128                              |
| id                   | 7b68a8c4-73cd-4441-b17a-a59c92325b9f |
| lifetime             | {"units": "seconds", "value": 3600}  |
| name                 | mno                                  |
| pfs                  | group5                               |
| tenant_id            | c2bc38dc69644801b42daf0cc9ac6a51     |
| transform_protocol   | esp                                  |
+----------------------+--------------------------------------+

What could be going wrong here? Please help.

edit retag flag offensive close delete