yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #12072
[Bug 1296592] [NEW] NotImplementedError is not handled by neutronv2 api when creating private/public domains
Public bug reported:
When trying to create private dns domain, I got a 500 error.
$ nova dns-create-private-domain domain1
ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-89966476-eaa5-48d4-94cd-1e540dc0867a)
2014-03-25 03:15:51.419 ERROR nova.api.openstack [req-89966476-eaa5-48d4-94cd-1e540dc0867a demo demo] Caught error:
2014-03-25 03:15:51.419 TRACE nova.api.openstack Traceback (most recent call last):
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/opt/stack/nova/nova/api/openstack/__init__.py", line 125, in __call__
2014-03-25 03:15:51.419 TRACE nova.api.openstack return req.get_response(self.application)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1296, in send
2014-03-25 03:15:51.419 TRACE nova.api.openstack application, catch_exc_info=False)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1260, in call_application
2014-03-25 03:15:51.419 TRACE nova.api.openstack app_iter = application(self.environ, start_response)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2014-03-25 03:15:51.419 TRACE nova.api.openstack return resp(environ, start_response)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/opt/stack/python-keystoneclient/keystoneclient/middleware/auth_token.py", line 601, in __call__
2014-03-25 03:15:51.419 TRACE nova.api.openstack return self.app(env, start_response)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2014-03-25 03:15:51.419 TRACE nova.api.openstack return resp(environ, start_response)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2014-03-25 03:15:51.419 TRACE nova.api.openstack return resp(environ, start_response)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
2014-03-25 03:15:51.419 TRACE nova.api.openstack response = self.app(environ, start_response)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2014-03-25 03:15:51.419 TRACE nova.api.openstack return resp(environ, start_response)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
2014-03-25 03:15:51.419 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
2014-03-25 03:15:51.419 TRACE nova.api.openstack return self.func(req, *args, **kwargs)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 917, in __call__
2014-03-25 03:15:51.419 TRACE nova.api.openstack content_type, body, accept)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 983, in _process_stack
2014-03-25 03:15:51.419 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 1070, in dispatch
2014-03-25 03:15:51.419 TRACE nova.api.openstack return method(req=request, **action_args)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/opt/stack/nova/nova/api/openstack/compute/contrib/floating_ip_dns.py", line 174, in update
2014-03-25 03:15:51.419 TRACE nova.api.openstack create_dns_domain(context, fqdomain, area)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/opt/stack/nova/nova/network/neutronv2/api.py", line 1207, in create_private_dns_domain
2014-03-25 03:15:51.419 TRACE nova.api.openstack raise NotImplementedError()
2014-03-25 03:15:51.419 TRACE nova.api.openstack NotImplementedError
2014-03-25 03:15:51.419 TRACE nova.api.openstack
** Affects: nova
Importance: Undecided
Assignee: Haiwei Xu (xu-haiwei)
Status: In Progress
** Changed in: nova
Assignee: (unassigned) => Haiwei Xu (xu-haiwei)
--
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/1296592
Title:
NotImplementedError is not handled by neutronv2 api when creating
private/public domains
Status in OpenStack Compute (Nova):
In Progress
Bug description:
When trying to create private dns domain, I got a 500 error.
$ nova dns-create-private-domain domain1
ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-89966476-eaa5-48d4-94cd-1e540dc0867a)
2014-03-25 03:15:51.419 ERROR nova.api.openstack [req-89966476-eaa5-48d4-94cd-1e540dc0867a demo demo] Caught error:
2014-03-25 03:15:51.419 TRACE nova.api.openstack Traceback (most recent call last):
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/opt/stack/nova/nova/api/openstack/__init__.py", line 125, in __call__
2014-03-25 03:15:51.419 TRACE nova.api.openstack return req.get_response(self.application)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1296, in send
2014-03-25 03:15:51.419 TRACE nova.api.openstack application, catch_exc_info=False)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1260, in call_application
2014-03-25 03:15:51.419 TRACE nova.api.openstack app_iter = application(self.environ, start_response)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2014-03-25 03:15:51.419 TRACE nova.api.openstack return resp(environ, start_response)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/opt/stack/python-keystoneclient/keystoneclient/middleware/auth_token.py", line 601, in __call__
2014-03-25 03:15:51.419 TRACE nova.api.openstack return self.app(env, start_response)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2014-03-25 03:15:51.419 TRACE nova.api.openstack return resp(environ, start_response)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2014-03-25 03:15:51.419 TRACE nova.api.openstack return resp(environ, start_response)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
2014-03-25 03:15:51.419 TRACE nova.api.openstack response = self.app(environ, start_response)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2014-03-25 03:15:51.419 TRACE nova.api.openstack return resp(environ, start_response)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
2014-03-25 03:15:51.419 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
2014-03-25 03:15:51.419 TRACE nova.api.openstack return self.func(req, *args, **kwargs)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 917, in __call__
2014-03-25 03:15:51.419 TRACE nova.api.openstack content_type, body, accept)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 983, in _process_stack
2014-03-25 03:15:51.419 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 1070, in dispatch
2014-03-25 03:15:51.419 TRACE nova.api.openstack return method(req=request, **action_args)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/opt/stack/nova/nova/api/openstack/compute/contrib/floating_ip_dns.py", line 174, in update
2014-03-25 03:15:51.419 TRACE nova.api.openstack create_dns_domain(context, fqdomain, area)
2014-03-25 03:15:51.419 TRACE nova.api.openstack File "/opt/stack/nova/nova/network/neutronv2/api.py", line 1207, in create_private_dns_domain
2014-03-25 03:15:51.419 TRACE nova.api.openstack raise NotImplementedError()
2014-03-25 03:15:51.419 TRACE nova.api.openstack NotImplementedError
2014-03-25 03:15:51.419 TRACE nova.api.openstack
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1296592/+subscriptions
Follow ups
References