Actions
Bug #65553
opencephadm: agent tries to json load response payload before checking for errors
% Done:
0%
Source:
Tags:
backport_processed
Backport:
squid, reef
Regression:
No
Severity:
3 - minor
Reviewed:
Description
If the connection itself fails, the agent will end up hitting another exception
Failed to send metadata to mgr: the JSON object must be str, bytes or bytearray, not ConnectionRefusedError
as it tries to json.loads the response before checking the return code. This masks the real reason for the connection error.
Updated by Backport Bot 1 day ago
- Copied to Backport #65722: squid: cephadm: agent tries to json load response payload before checking for errors added
Updated by Backport Bot 1 day ago
- Copied to Backport #65723: reef: cephadm: agent tries to json load response payload before checking for errors added
Actions