]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: Set the data pool correctly when creating images
authorAdam Wolfe Gordon <awg@digitalocean.com>
Thu, 10 Aug 2017 19:31:38 +0000 (15:31 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 17 Aug 2017 19:45:17 +0000 (15:45 -0400)
commit07e4b72680da85f1b69d49c13389af3ca62e0aa0
tree1dfb9fd908d4effc0b92c499484ab8dde2a24849
parentcd50aad45a8a369d0453fc174d310fcf750b6822
rbd-mirror: Set the data pool correctly when creating images

Previously the data-pool option was ignored by rbd-mirror, so when using
erasure coding data for the image on the secondary site would end up in
the metadata pool.

Configure the data-pool using the data-pool's name from the primary site
when creating images on the secondary site.

Fixes: http://tracker.ceph.com/issues/20567
Signed-off-by: Adam Wolfe Gordon <awg@digitalocean.com>
(cherry picked from commit dffaac83d19de544e279a530393b3998f1e1fbb4)
src/tools/rbd_mirror/image_replayer/CreateImageRequest.cc