Add more info in Octavia driver error handling
Printing the fault string of the update status & statistics errors will give more information for debugging Change-Id: Ia9b4869dbe29e96cff3a7bc694db4fb6eeb8a7b1
This commit is contained in:
parent
3eee6b93de
commit
025d030147
@ -553,7 +553,7 @@ class NSXOctaviaDriverEndpoint(driver_lib.DriverLibrary):
|
||||
self).update_loadbalancer_status(status)
|
||||
except exceptions.UpdateStatusError as e:
|
||||
LOG.error("Failed to update Octavia loadbalancer status. "
|
||||
"Status %s, Error %s", status, e)
|
||||
"Status %s, Error %s", status, e.fault_string)
|
||||
|
||||
@log_helpers.log_method_call
|
||||
def update_listener_statistics(self, ctxt, statistics):
|
||||
@ -564,4 +564,4 @@ class NSXOctaviaDriverEndpoint(driver_lib.DriverLibrary):
|
||||
self).update_listener_statistics(statistics)
|
||||
except exceptions.UpdateStatisticsError as e:
|
||||
LOG.error("Failed to update Octavia listener statistics. "
|
||||
"Stats %s, Error %s", statistics, e)
|
||||
"Stats %s, Error %s", statistics, e.fault_string)
|
||||
|
Loading…
Reference in New Issue
Block a user