Single-major mapping scheme was introduced in 2014 and became the
default in 2017. It's getting increasingly difficult to build and,
more importantly, to boot a 10 year old kernel with recent userspace
(systemd, etc). If someone is still running such a kernel, it's
really unlikely that they would have the most recent rbd CLI tool
installed.
Fixes: https://tracker.ceph.com/issues/51845
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
+++ /dev/null
-overrides:
- kernel:
- client.0:
- branch: nightly_pre-single-major # v3.12.z
-tasks:
-- exec:
- client.0:
- - "modprobe -r rbd"
- - "modprobe --first-time rbd"
- - "test ! -f /sys/module/rbd/parameters/single_major"