Project

General

Profile

Actions

Bug #65553

open

cephadm: agent tries to json load response payload before checking for errors

Added by Adam King 13 days ago. Updated 13 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
squid, reef
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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.

Actions #1

Updated by Adam King 13 days ago

  • Pull request ID set to 56961
Actions

Also available in: Atom PDF