]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: destination pool should be source pool if it is not specified 14148/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 15:59:45 +0000 (17:59 +0200)
commitf6489d01ca41d6979b5de28e3cde6b43fcaa8edb
tree7cfcd3228bb562d9a4a969a4b5cdc2d7d455e32a
parent8c02e54a747644d24feb98dbc15a15cdd55d1afd
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