Bionic: CollectD ceph plugin is incompatible with Ceph 12+ (Luminous)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
collectd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Won't Fix
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Medium
|
Eric Desrochers |
Bug Description
[IMPACT]
A subset of Ceph metrics no-longer get logged with Ceph luminous (v12 and late)
The version of collectd shipped with Ubuntu 18.04 (Bionic) provides a ceph plugin that is incompatible with the version of Ceph shipped in the same distribution.
The version of collectd is 5.7.2-2ubuntu1
The version of ceph is 12.2.4-0ubuntu1.1
This patch for collectd is required for correct interoperation with Ceph 12+:
https:/
The first version of collectd to contain this patch is 5.8.0.
Without this patch, errors of the following form will be logged by collectd, and many ceph-specific metrics will not be collected:
May 28 09:31:56 stor-a collectd[2141]: ceph plugin: cconn_handle_
May 28 09:31:56 stor-a collectd[2141]: ceph plugin: ds Bluestore.
May 28 09:31:56 stor-a collectd[2141]: ceph plugin: JSON handler failed with status -1.
[TEST CASE]
* Install Bionic and have a Luminous and/or late Ceph environment.
* Install collectd
** Enable Ceph plugin in /etc/collectd/
** Configure Ceph plugin daemon in /etc/collectd/
* Restart collectd
** systemctl stop collectd.service
** systemctl start collectd.service
* Force collection
** collectd -C /etc/collectd/
* Monitor /var/log/syslog
** tail -f /var/log/syslog | grep -i collectd
** tail -f /var/log/syslog | grep -i "ceph plugin"
* Check Ceph plugin metrics from visualisation system.
[POTENTIAL REGRESSION]
* Bionic's oldest Ceph version supported is Luminous, so the backward incompatibility with previous ceph versions is not a problem here.
* Upstream faced a segfault situation in the Ceph plugin with Mimic version via issue: https:/
* The new Ceph support is already part of debian and Ubuntu Cosmic and Disco.
* Right now it seems like the Ceph plugin is not working at all anyway. It couldn't go worse after this SRU than the current situation.
* A test package with the fixes has been made available PRE-SRU to impacted user(s) and the feedback were positive and this was tested against different Ceph daemons (MDS, MON, OSD) (See comment #5, #15, #18)
[OTHER INFORMATION]
# Collectd Plugin:Ceph information:
https:/
# Upstream commits:
647ac31b Add support for ceph version luminous:
https:/
de05fb53 ceph plugin: Fix #2572:
https:/
$ git describe --contains 647ac31b
collectd-
$ git describe --contains de05fb53
collectd-5.8.1~38
# rmadison
==> collectd | 5.7.2-2ubuntu1 | bionic/universe
collectd | 5.8.0-5.2 | cosmic/universe
collectd | 5.8.1-1.2 | disco/universe
[ORIGINAL DESCRIPTION]
The version of collectd shipped with Ubuntu 18.04 (Bionic) provides a ceph plugin that is incompatible with the version of Ceph shipped in the same distribution.
The version of collectd is 5.7.2-2ubuntu1
The version of ceph is 12.2.4-0ubuntu1.1
This patch for collectd is required for correct interoperation with Ceph 12+:
https:/
The first version of collectd to contain this patch is 5.8.0.
Without this patch, errors of the following form will be logged by collectd, and many ceph-specific metrics will not be collected:
May 28 09:31:56 stor-a collectd[2141]: ceph plugin: cconn_handle_
May 28 09:31:56 stor-a collectd[2141]: ceph plugin: ds Bluestore.
May 28 09:31:56 stor-a collectd[2141]: ceph plugin: JSON handler failed with status -1.
summary: |
- Bionic: CollectD ceph plugin is version incompatible + Bionic: CollectD ceph plugin is incompatible with Ceph 12+ (Luminous) |
description: | updated |
tags: | added: sts |
Changed in collectd (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in collectd (Ubuntu Bionic): | |
assignee: | nobody → Eric Desrochers (slashd) |
importance: | Undecided → Medium |
status: | New → In Progress |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.