← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1774032] Re: Bionic: CollectD ceph plugin is incompatible with Ceph 12+ (Luminous)

 

To avoid any potential confusion, I have marked Xenial as 'Won't Fix'
with the following rationale:

It is true that Xenial offers Jewel and Luminous support, but since the
'Add support for ceph version luminous' commit is not backward
compatible with previous Ceph version.

We can't backport that change in Xenial/16.04 LTS.

============================
>From 647ac31bf9db60b1685d6d8d25be65375ba85891 Mon Sep 17 00:00:00 2001
From: Aleksei Zakharov <zaharov@xxxxxxxxxxx>
Date: Wed, 4 Oct 2017 11:12:23 +0300
Subject: [PATCH] Add support for ceph version luminous

This patch is not backward compatible with previous ceph versions.
============================

Regards,
Eric

** Also affects: collectd (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: collectd (Ubuntu Xenial)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1774032

Title:
  Bionic: CollectD ceph plugin is incompatible with Ceph 12+ (Luminous)

Status in collectd package in Ubuntu:
  Fix Released
Status in collectd source package in Xenial:
  Won't Fix
Status in collectd source package in Bionic:
  In Progress

Bug description:
  ## DRAFT ##
  [IMPACT]
  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://github.com/collectd/collectd/pull/2464

  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_event(name=osd.2,i=0,st=4): error 1
  May 28 09:31:56 stor-a collectd[2141]: ceph plugin: ds Bluestore.kvFlushLat.avgtime was not properly initialized.
  May 28 09:31:56 stor-a collectd[2141]: ceph plugin: JSON handler failed with status -1.

  [TEST CASE]

  [POTENTIAL REGRESSION]

   * Low, Bionic oldest Ceph version support 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://github.com/collectd/collectd/issues/2572,
  this problem is also addressed in the current SRU (d/p/ceph-plugin-
  Fix-2572.patch)

   * The new Ceph support is already part of debian and Ubuntu Cosmic
  and Disco.

  [OTHER INFORMATION]

  # Upstream commits:
  647ac31b Add support for ceph version luminous:
  https://github.com/collectd/collectd/commit/647ac31bf9db60b1685d6d8d25be65375ba85891

  de05fb53 ceph plugin: Fix #2572:
  https://github.com/collectd/collectd/commit/de05fb53fad6bc998f585b704ca0caeadc14a035

  $ git describe --contains 647ac31b
  collectd-5.8.0~29^2~9

  $ 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://github.com/collectd/collectd/pull/2464

  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_event(name=osd.2,i=0,st=4): error 1
  May 28 09:31:56 stor-a collectd[2141]: ceph plugin: ds Bluestore.kvFlushLat.avgtime was not properly initialized.
  May 28 09:31:56 stor-a collectd[2141]: ceph plugin: JSON handler failed with status -1.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1774032/+subscriptions