Skip to content

Commit

Permalink
fix: stop warning on dual-stack request failure (#6044)
Browse files Browse the repository at this point in the history
Failure from one or more endpoints may be expected, yet logging
warning means we will return 2.
  • Loading branch information
TheRealFalcon authored Mar 6, 2025
1 parent a9f19a9 commit c21dbad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cloudinit/url_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ def dual_stack(
# No success, return the last exception but log them all for
# debugging
if last_exception:
LOG.warning(
LOG.debug(
"Exception(s) %s during request to "
"%s, raising last exception",
exceptions,
Expand All @@ -710,7 +710,7 @@ def dual_stack(

# when max_wait expires, log but don't throw (retries happen)
except TimeoutError:
LOG.warning(
LOG.debug(
"Timed out waiting for addresses: %s, "
"exception(s) raised while waiting: %s",
" ".join(addresses),
Expand Down

0 comments on commit c21dbad

Please sign in to comment.