Missing to package ceph-kvstore-tool, ceph-monstore-tool, ceph-osdomap-tool in bionic-train UCA release
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Fix Released
|
Undecided
|
Unassigned | ||
Train |
Fix Released
|
Medium
|
James Page | ||
ceph (Ubuntu) |
Fix Released
|
Medium
|
James Page |
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:/
[1]https:/
[2]https:/
description: | updated |
tags: | added: sts |
Changed in ceph (Ubuntu): | |
assignee: | nobody → Dariusz Gadomski (dgadomski) |
tags: | added: patch |
Changed in ceph (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in ceph (Ubuntu): | |
assignee: | Dariusz Gadomski (dgadomski) → James Page (james-page) |
Changed in ceph (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in cloud-archive: | |
status: | New → Invalid |
status: | Invalid → Fix Released |
no longer affects: | cloud-archive/ussuri |
I have prepared and tested a build targetting this (available in ppa:dgadomski/ ceph-lp1917288) .
During the tests I was mainly focusing on the following upgrade paths to make sure everything works as expected:
1. stein -> train - no issues, but old ceph-test was left installed leaving garbage under /usr/lib/ceph/bin
2. train -> ussuri
3. stein -> ussuri
4. stein -> ppa (train)
5. ppa (train) -> ussuri
When using the ppa version upon installing of ceph-base, ceph-osd or ceph-mon a removal of ceph-test was offered (despite no actual conflict due to path differences, but we don't want to leave unnecessary artifacts behind).