Project

General

Profile

Bug #36318

Ceph Mimic now throws exception when sending via zabbix-sender

Added by Sean Bolding 2 months ago. Updated about 1 month ago.

Status:
Can't reproduce
Priority:
Normal
Category:
zabbix module
Target version:
Start date:
10/04/2018
Due date:
% Done:

0%

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

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

History

#1 Updated by Lenz Grimmer about 2 months ago

  • Assignee set to Wido den Hollander

@Wido, would you mind taking a look at this?

#2 Updated by Wido den Hollander about 2 months ago

Yes, I'll take a look at this one!

#3 Updated by Wido den Hollander about 2 months ago

Can you tell me a bit more about the Ceph cluster as I don't see this on my Mimic system.

What OS are you running? Maybe the 'ceph -s' output?

#4 Updated by Wido den Hollander about 1 month ago

  • Status changed from New to Can't reproduce

I am closing this one for now as I have not been able to reproduce it.

Feel free to re-open it should the problem come back

Also available in: Atom PDF