Don't clutter logs with exceptions on retry.

Because we raise ResourceNotReady, which basically means, that we wait
for the resource, and on failure appropriate log with traceback will be
issued, we don't need it here, since it is misleading.

Change-Id: I54190e4baa97bf86ad53dd2c7de54c738599ffb4
This commit is contained in:
Roman Dobosz 2020-09-24 12:38:54 +02:00
parent 28a0a99b5e
commit 07ca7736f3
1 changed files with 1 additions and 1 deletions

View File

@ -556,7 +556,7 @@ class LBaaSv2Driver(base.LBaaSDriver):
try: try:
lbaas.update_listener(listener_id, **request) lbaas.update_listener(listener_id, **request)
except os_exc.SDKException: except os_exc.SDKException:
LOG.exception('Error when updating listener %s' % listener_id) LOG.error('Error when updating listener %s' % listener_id)
raise k_exc.ResourceNotReady(listener_id) raise k_exc.ResourceNotReady(listener_id)
def _find_listener(self, listener, loadbalancer): def _find_listener(self, listener, loadbalancer):