← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1242755] Re: Showing nonexistent IPsecSiteConnection throws localization exception instead of NotFound

 

[Expired for neutron because there has been no activity for 60 days.]

** Changed in: neutron
       Status: Incomplete => Expired

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

Title:
  Showing nonexistent IPsecSiteConnection throws localization exception
  instead of NotFound

Status in OpenStack Neutron (virtual network service):
  Expired

Bug description:
  I integrated VPN stuff into heat. I can create VPN stuff using heat
  but I can not delete them with heat. When I'm trying to delete
  IPsecSiteConnection the delete call works fine but when heat executes
  show command to cofirm that connection was delete the localization
  exception is raised. Heat receives reposonse with 500 status code
  (internal error) instead of 404 code (not found). The result of this
  situation is that Heat is unable to delete IPsecSiteConnection.

  Log:

  2013-10-21 08:13:58.523 36871 DEBUG neutronclient.v2_0.client [-] Error message: Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/eventlet/wsgi.py", line 384, in handle_one_response
      result = self.application(self.environ, start_response)
    File "/usr/local/lib/python2.7/dist-packages/paste/urlmap.py", line 203, in __call__
      return app(environ, start_response)
    File "/opt/stack/python-keystoneclient/keystoneclient/middleware/auth_token.py", line 545, in __call__
      return self.app(env, start_response)
    File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
      return resp(environ, start_response)
    File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
      return resp(environ, start_response)
    File "/usr/local/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
      response = self.app(environ, start_response)
    File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
      return resp(environ, start_response)
    File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
      resp = self.call_func(req, *args, **self.kwargs)
    File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
      return self.func(req, *args, **kwargs)
    File "/opt/stack/neutron/neutron/api/v2/resource.py", line 88, in resource
      e = translate(e, language)
    File "/opt/stack/neutron/neutron/api/v2/resource.py", line 154, in translate
      translatable.msg = localize(translatable.msg, locale)
  AttributeError: 'IPsecSiteConnectionNotFound' object has no attribute 'msg'

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