[Bug 1917288] Re: Missing to package ceph-kvstore-tool, ceph-monstore-tool, ceph-osdomap-tool in bionic-train UCA release

Pedro Principeza 1917288 at bugs.launchpad.net
Wed May 26 18:21:41 UTC 2021


Tests on Bionic/Train:

.. While running ceph* packages on 14.2.11-0ubuntu0.19.10.1~cloud4:

$ ceph-kvstore-tool
ceph-kvstore-tool: command not found

.. Upgraded to 14.2.18-0ubuntu0.19.10.1~cloud1 in train-proposed:

$ sudo dpkg -l | grep ceph
ii  ceph                             14.2.18-0ubuntu0.19.10.1~cloud1             amd64        distributed storage and file system
ii  ceph-base                        14.2.18-0ubuntu0.19.10.1~cloud1             amd64        common ceph daemon libraries and management tools
ii  ceph-common                      14.2.18-0ubuntu0.19.10.1~cloud1             amd64        common utilities to mount and interact with a ceph storage cluster
ii  ceph-mgr                         14.2.18-0ubuntu0.19.10.1~cloud1             amd64        manager for the ceph distributed file system
ii  ceph-mon                         14.2.18-0ubuntu0.19.10.1~cloud1             amd64        monitor server for the ceph storage system
ii  ceph-osd                         14.2.18-0ubuntu0.19.10.1~cloud1             amd64        OSD server for the ceph storage system

.. The tools no longer missing:

$ for i in ceph-osdomap-tool ceph-monstore-tool ceph-kvstore-tool; do sudo dpkg -S $(which $i); done
ceph-osd: /usr/bin/ceph-osdomap-tool
ceph-mon: /usr/bin/ceph-monstore-tool
ceph-base: /usr/bin/ceph-kvstore-tool

.. Their basic execution:

$ ceph-kvstore-tool -v
ceph version 14.2.18 (befbc92f3c11eedd8626487211d200c0b44786d9) nautilus (stable)

$ ceph-osdomap-tool -v
ceph version 14.2.18 (befbc92f3c11eedd8626487211d200c0b44786d9) nautilus (stable)

$ ceph-monstore-tool -v
usage: ceph-monstore-tool <store-path> <cmd> [args|options]
...

Adding verification-done tags / removing verification-needed tags.  Let
me know if further testing is needed.

** Tags removed: verification-train-needed
** Tags added: verification-train-done

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1917288

Title:
  Missing to package ceph-kvstore-tool, ceph-monstore-tool, ceph-
  osdomap-tool  in bionic-train UCA release

Status in Ubuntu Cloud Archive:
  Fix Released
Status in Ubuntu Cloud Archive train series:
  Fix Committed
Status in ceph package in Ubuntu:
  Fix Released

Bug description:
  ceph-kvstore-tool, ceph-monstore-tool, ceph-osdomap-tool were shipped
  within ceph-test package,but the ceph-test package was dropped by [0]
  in bionic-train UCA release.

  I believe the reason is that most of the binaries (except those 3
  tools) in ceph-test package are meant for just testing and developing,
  they are not needed for production env, so the idea to drop this
  package is good, but those 3 tools were also dropped along with this
  package.

  Those 3 tools are very important to troubleshoot production issues, so
  we need to add them back.

  Since Luminous, upstream realized that it doesn't make sense to put
  them into ceph-test package, so they've moved those 3 tools to
  different packages in PR[1].

  So, to fix this, we should do the same as upstream, which is :

  Move ceph-kvstore-tool  to ceph-base package
  Move ceph-monstore-tool to ceph-mon package
  Move ceph-osdomap-tool  to ceph-osd package

  Worth mentioning that, upstream also added a PR[2] after [1] was
  landed to fix an upgrade failure, it claims that [1] didn't update the
  relationship between those packages accordingly, thus caused the
  upgrade failure

  Note that this only affects Train, Ussuri does contain those 3 tools.

  [0]https://launchpad.net/ubuntu/+source/ceph/14.2.1-0ubuntu1
  [1]https://github.com/ceph/ceph/pull/18289
  [2]https://github.com/ceph/ceph/pull/18474

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1917288/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list