pybind/rbd: add ImageMemberOfGroup exception
EMLINK is returned by rbd_remove() if the image is a member of a group.
Add a dedicated exception similar to ImageBusy or ImageHasSnapshots and
a test for it.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
61075e344c18e57b7416072f66c2e335d4d89d75)
Conflicts:
src/test/pybind/test_rbd.py [ commits
68eea0eb814e
("src/tools/rbd: add group info command to output group id")
and
e5ccce14c4b0 ("rbd: add group snap info command") not in
reef ]