Debug Nova APIs call failures
This should help finding out cause of failures happening when performing API requests by reading the log file Change-Id: I02e531c2aaaccae99da9a21ee9268f6fdd0efb3e
This commit is contained in:
parent
bdaeadeb64
commit
afb0f77484
|
@ -538,6 +538,12 @@ class Resource(wsgi.Application):
|
|||
with ResourceExceptionHandler():
|
||||
action_result = self.dispatch(meth, request, action_args)
|
||||
except Fault as ex:
|
||||
LOG.debug(f'Request method failure captured:\n'
|
||||
f' request: {request}\n'
|
||||
f' method: {meth}\n'
|
||||
f' exception: {ex}\n'
|
||||
f' action_args: {action_args}\n',
|
||||
exc_info=1)
|
||||
response = ex
|
||||
|
||||
if not response:
|
||||
|
|
Loading…
Reference in New Issue