]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: fix default pool handling for nbd/ggate map/unmap
authorSunny Kumar <sunkumar@redhat.com>
Wed, 28 Apr 2021 14:40:30 +0000 (15:40 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 30 Aug 2021 14:32:18 +0000 (16:32 +0200)
commitd7e7f8d49dfa49829831796b0bf61dbfe893e862
tree42040165742e2baac1e93ea95637f9500b3ccf1b
parent929fab5a4c649ad783b02716cc2bae49741a438f
rbd: fix default pool handling for nbd/ggate map/unmap

Default pool is not being picked up when providing only image name
during map/unmap. However, if the pool name is provided manually map/unmap
works as expected.

Fixes: https://tracker.ceph.com/issues/50522
Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
(cherry picked from commit 987e017f20dc419f45f222a35c9ccca79551af7d)
src/tools/rbd/action/Ggate.cc
src/tools/rbd/action/Nbd.cc