Comment 0 for bug 1917288

Revision history for this message
dongdong tao (taodd) wrote :

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