get ns error in horizon when ns is deleted, response "Request Failed: internal server error while processing your request"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tacker |
In Progress
|
High
|
jiangxing |
Bug Description
When delete ns in horizon, get "Request Failed: internal server error while processing your request." refresh web, the ns is deleted.
Our version is ocata.
We used postman to send request for testing RESTful API.
method delete
url like this: http://
The response is :
{
"TackerError": "Request Failed: internal server error while processing your request."
}
The log is :
2017-08-07 20:07:57.751 1498 DEBUG tacker.
2017-08-07 20:07:57.981 1498 ERROR tacker.
2017-08-07 20:07:57.981 1498 ERROR tacker.
2017-08-07 20:07:57.981 1498 ERROR tacker.
2017-08-07 20:07:57.981 1498 ERROR tacker.
2017-08-07 20:07:57.981 1498 ERROR tacker.
2017-08-07 20:07:57.981 1498 ERROR tacker.
2017-08-07 20:07:57.981 1498 ERROR tacker.
2017-08-07 20:07:57.981 1498 ERROR tacker.
2017-08-07 20:07:57.981 1498 ERROR tacker.
2017-08-07 20:07:57.981 1498 ERROR tacker.
2017-08-07 20:07:57.981 1498 ERROR tacker.
2017-08-07 20:07:57.981 1498 ERROR tacker.
2017-08-07 20:07:57.981 1498 ERROR tacker.
2017-08-07 20:07:57.981 1498 ERROR tacker.
2017-08-07 20:07:57.981 1498 ERROR tacker.
2017-08-07 20:07:57.981 1498 ERROR tacker.
2017-08-07 20:07:57.981 1498 ERROR tacker.
2017-08-07 20:07:57.981 1498 ERROR tacker.
And I found, both Nfvoplugin's parent classes nfvo_db.
def get_ns(self, context, ns_id, fields=None):
ns_db = self._get_
return self._make_
when self is from Nfvoplugin, it will call Nfvo_db.
class NfvoPlugin(
but in nfvo_db.
def _get_resource(self, context, model, id):
try:
return self._get_
except orm_exc.
if issubclass(model, Vim):
else:
I think should indicate which parent class's _get_resource will be called in nfvoplugin's get_ns.
description: | updated |
description: | updated |
Changed in tacker: | |
status: | New → Confirmed |
assignee: | nobody → jiangxing (jiangxing) |
description: | updated |
Changed in tacker: | |
milestone: | none → pike-rc1 |
importance: | Undecided → High |
Changed in tacker: | |
status: | In Progress → Fix Committed |
Changed in tacker: | |
milestone: | pike-rc1 → queens-1 |
Changed in tacker: | |
milestone: | queens-1 → queens-2 |
Changed in tacker: | |
milestone: | queens-2 → queens-3 |
Fix proposed to branch: master /review. openstack. org/491490
Review: https:/