]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
tools/rados: Set locator key when exporting or importing a pool
authorIain Buclaw <iain.buclaw@dunnhumby.com>
Wed, 4 Mar 2020 14:32:43 +0000 (15:32 +0100)
committerKefu Chai <kchai@redhat.com>
Tue, 4 Aug 2020 04:46:30 +0000 (12:46 +0800)
commitecb2df9177f30213b3ff48e76e6fe31fcbb430a7
treed2c10b96451c0e8a5980ff24e9ee04913ad701ac
parent2ec09274f8d0ac28e3efcc818e5da0de332fdf09
tools/rados: Set locator key when exporting or importing a pool

Fixes the following error when exporting a pool that contains objects
with a locator key set:

        error getting xattr set [object name]: (2) No such file or directory
        error from export: (2) No such file or directory

Fixes: https://tracker.ceph.com/issues/46824
Signed-off-by: Iain Buclaw <iain.buclaw@dunnhumby.com>
src/tools/rados/PoolDump.cc
src/tools/rados/RadosImport.cc