]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd: destination pool should be source pool if it is not specified 14149/head
authorGaurav Kumar Garg <garg.gaurav52@gmail.com>
Mon, 30 Jan 2017 12:03:20 +0000 (13:03 +0100)
committerNathan Cutler <ncutler@suse.com>
Sun, 26 Mar 2017 16:01:02 +0000 (18:01 +0200)
commit85b5817567c22acf63719a65bd65e77709ffce0c
treeaaea4d7cf70c450c2d4bdb40ada5ddf2357690ae
parent98a87fa97c9b23e21a05130c72730f5034691310
rbd: destination pool should be source pool if it is not specified

Currently if user perform image rename operation and user give pool
name as a optional parameter (--pool=<pool_name>) then currently
its taking this optional pool name for source pool and making
destination pool name default pool name.
With this fix if user provide pool name as a optional pool name
parameter then it  will consider both soruce and destination pool
name as optional parameter pool name.

Fixes: http://tracker.ceph.com/issues/18326
Reported-by: МАРК КОРЕНБЕРГ <socketpair@gmail.com>
Signed-off-by: Gaurav Kumar Garg <garg.gaurav52@gmail.com>
(cherry picked from commit 01f23aa99fb694da326ab408e75b33c640ce660b)
qa/workunits/rbd/copy.sh
src/tools/rbd/action/Rename.cc