]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd: destination pool should be source pool if it is not specified 13189/head
authorGaurav Kumar Garg <garg.gaurav52@gmail.com>
Mon, 30 Jan 2017 12:03:20 +0000 (13:03 +0100)
committerGaurav Kumar Garg <garg.gaurav52@gmail.com>
Wed, 1 Feb 2017 09:20:39 +0000 (10:20 +0100)
commit01f23aa99fb694da326ab408e75b33c640ce660b
treed73773cdd4d6c657ccc63083135a866fcce5e59a
parente0acce4953188f16cf3e8cde95f956a84c45addb
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>
qa/workunits/rbd/copy.sh
src/tools/rbd/action/Rename.cc