Project

General

Profile

Actions

Bug #36318

closed

Python 3 Ceph throws exception when sending via zabbix-sender

Added by Sean Bolding over 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
zabbix module
Target version:
-
% Done:

0%

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

Description

When the Ceph MGR Zabbix is enabled and configured to send to a zabbix server this is what I am seeing in /var/log/ceph/ceph-mgr....

0 mgr[zabbix] Exception when sending: a bytes-like object is required, not 'str'

I looked at the module and it looks like its trying to send string values to the zabbix server. This worked in Ceph Luminous but seems to have broken in Mimic. I'm no Python expert but it seems from what I have been able to research that this is due to Python3.

Was not in the selection list but I'm running target version 13.2.1


Related issues 1 (0 open1 closed)

Copied to mgr - Backport #41509: nautilus: Python 3 Ceph throws exception when sending via zabbix-senderResolvedNathan CutlerActions
Actions

Also available in: Atom PDF