_get_ironic_client should catch NotImplement exception and handle it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Yuiko Takada |
Bug Description
When call os-baremetal-nodes API at the environment in which ironic is not enable,
internal error occurs like below.
Traceback (most recent call last):
File "tempest/
baremetal_nodes = self.client.
File "tempest/
resp, body = self.get(url)
File "/usr/local/
return self.request('GET', url, extra_headers, headers)
File "tempest/
raise exceptions.
ServerFault: Got server fault
Details: Got server fault
Details: Unexpected API Error. Please report this at http://
<type 'exceptions.
nova-api's error log is below.
2015-01-22 03:12:47.894 18727 TRACE nova.api.
2015-01-22 03:12:47.894 18727 TRACE nova.api.
2015-01-22 03:12:47.894 18727 TRACE nova.api.
2015-01-22 03:12:47.894 18727 TRACE nova.api.
ex
2015-01-22 03:12:47.894 18727 TRACE nova.api.
2015-01-22 03:12:47.894 18727 TRACE nova.api.
2015-01-22 03:12:47.894 18727 TRACE nova.api.
2015-01-22 03:12:47.894 18727 TRACE nova.api.
2015-01-22 03:12:47.894 18727 TRACE nova.api.
2015-01-22 03:12:47.895 INFO nova.api.
<type 'exceptions.
We should catch NotImplement exception and handle it.
Changed in nova: | |
assignee: | nobody → Yuiko Takada (takada-yuiko) |
Changed in nova: | |
milestone: | none → kilo-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | kilo-2 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/149919
Review: https:/