Browse Source

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
changes/63/754063/1
Roman Dobosz 7 months ago
parent
commit
07ca7736f3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      kuryr_kubernetes/controller/drivers/lbaasv2.py

+ 1
- 1
kuryr_kubernetes/controller/drivers/lbaasv2.py View File

@ -556,7 +556,7 @@ class LBaaSv2Driver(base.LBaaSDriver):
try:
lbaas.update_listener(listener_id, **request)
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)
def _find_listener(self, listener, loadbalancer):


Loading…
Cancel
Save