yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #18196
[Bug 1349680] [NEW] nova v3 api raise an exceptions.NotImplementedError instead of error message
Public bug reported:
nova v3 diagnostics api returns a NotImplementedError , but it is not
caught by api.
[tagett@stack-01 devstack]$ nova --os-compute-api-version 3 diagnostics f1
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.NotImplementedError'> (HTTP 500)
libvirt driver doesn't implement get_instance_diagnostics, it raise an NotImplementedError ,but v3 api doesn't handle it .
it returns http 500, but should be 501
** Affects: nova
Importance: Undecided
Assignee: Eli Qiao (taget-9)
Status: New
** Tags: nova-api
** Changed in: nova
Assignee: (unassigned) => Eli Qiao (taget-9)
** Description changed:
- nova v3 diagnostics api return an NotImplementedError , but it is not
- catch by api.
+ nova v3 diagnostics api returns a NotImplementedError , but it is not
+ caught by api.
[tagett@stack-01 devstack]$ nova --os-compute-api-version 3 diagnostics f1
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.NotImplementedError'> (HTTP 500)
libvirt driver doesn't implement get_instance_diagnostics, it raise an NotImplementedError ,but v3 api doesn't handle it .
it return http 500, it should be 501
** Description changed:
nova v3 diagnostics api returns a NotImplementedError , but it is not
caught by api.
[tagett@stack-01 devstack]$ nova --os-compute-api-version 3 diagnostics f1
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.NotImplementedError'> (HTTP 500)
libvirt driver doesn't implement get_instance_diagnostics, it raise an NotImplementedError ,but v3 api doesn't handle it .
- it return http 500, it should be 501
+ it returns http 500, but should be 501
--
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/1349680
Title:
nova v3 api raise an exceptions.NotImplementedError instead of error
message
Status in OpenStack Compute (Nova):
New
Bug description:
nova v3 diagnostics api returns a NotImplementedError , but it is not
caught by api.
[tagett@stack-01 devstack]$ nova --os-compute-api-version 3 diagnostics f1
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.NotImplementedError'> (HTTP 500)
libvirt driver doesn't implement get_instance_diagnostics, it raise an NotImplementedError ,but v3 api doesn't handle it .
it returns http 500, but should be 501
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1349680/+subscriptions
Follow ups
References