rbd: handle --{group,image}-namespace in "rbd group image {add,rm}"
Currently only passing the namespace as part of the group or image spec
works. If --group-namespace or --image-namespace options are used, the
namespace isn't picked up.
Fixes: https://tracker.ceph.com/issues/69324
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
f35e3a6e9d93c2d2122c31d5eeb9fabaef89f2e1)
Conflicts:
src/tools/rbd/action/Group.cc [ "rbd group info" and "rbd group
snap info" commands not in squid ]