Bug #56561
closedrbd perf image iostat/iotop lost the ability to gather data across pools
0%
Description
"... I typically keep a background screen running `rbd perf image iostat` that shows all of the rbd devices with io, and how busy that disk may be at any given moment. Recently after upgrading everything to latest octopus release (15.2.16), it no longer allows for not specifying the pool, which then means I can’t blend all rbd pools together into a single view."
How it used to appear with 15.2.13:
$ rbd perf image iostat > NAME WR RD WR_BYTES RD_BYTES WR_LAT RD_LAT > rbd-ssd/app1 322/s 0/s 5.6 MiB/s 0 B/s 2.28 ms 0.00 ns > rbd-ssd/app2 223/s 5/s 2.1 MiB/s 147 KiB/s 3.56 ms 1.12 ms > rbd-hybrid/app3 76/s 0/s 11 MiB/s 0 B/s 16.61 ms 0.00 ns > rbd-hybrid/app4 11/s 0/s 395 KiB/s 0 B/s 51.29 ms 0.00 ns > rbd-hybrid/app5 3/s 0/s 74 KiB/s 0 B/s 151.54 ms 0.00 ns > rbd-hybrid/app6 0/s 0/s 42 KiB/s 0 B/s 13.90 ms 0.00 ns > rbd-hybrid/app7 0/s 0/s 2.4 KiB/s 0 B/s 1.70 ms 0.00 ns > > NAME WR RD WR_BYTES RD_BYTES WR_LAT RD_LAT > rbd-ssd/app1 483/s 0/s 7.3 MiB/s 0 B/s 2.17 ms 0.00 ns > rbd-ssd/app2 279/s 5/s 2.5 MiB/s 69 KiB/s 3.82 ms 516.30 us > rbd-hybrid/app3 147/s 0/s 10 MiB/s 0 B/s 8.59 ms 0.00 ns > rbd-hybrid/app6 10/s 0/s 425 KiB/s 0 B/s 75.79 ms 0.00 ns > rbd-hybrid/app8 0/s 0/s 2.4 KiB/s 0 B/s 1.85 ms 0.00 ns
Now, with 15.2.16:
$ rbd perf image iostat rbd: mgr command failed: (2) No such file or directory: [errno 2] RADOS object not found (Pool 'rbd' not found)
"I do not have a pool named `rbd` so that is correct ... Setting a pool name to one of my rbd pools either as pool-spec or -p/—pool works, but obviously only for that pool, and not for all rbd pools, as it functioned previously, in what appears to have been 15.2.13 previously."
https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/LIQYPOYTNZ3JWP4MYNG67BR54I4TVQHB/