Merge "Filter ComputeWaitTimeoutException when jobboard is disabled"
This commit is contained in:
commit
8d27bdb546
@ -41,7 +41,9 @@ LOG = logging.getLogger(__name__)
|
|||||||
# to instance" will be logged as usual.
|
# to instance" will be logged as usual.
|
||||||
def retryMaskFilter(record):
|
def retryMaskFilter(record):
|
||||||
if record.exc_info is not None and isinstance(
|
if record.exc_info is not None and isinstance(
|
||||||
record.exc_info[1], driver_exc.AmpConnectionRetry):
|
record.exc_info[1], (
|
||||||
|
driver_exc.AmpConnectionRetry,
|
||||||
|
exceptions.ComputeWaitTimeoutException)):
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Added a filter to hide a bogus ComputeWaitTimeoutException exception when
|
||||||
|
creating an amphora when jobboard is disabled. This exception is part of
|
||||||
|
the flow when creating a load balancer or an amphora and should not be shown
|
||||||
|
to the user.
|
Loading…
x
Reference in New Issue
Block a user