]> git-server-git.apps.pok.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)
committerAdam Wolfe Gordon <awg@digitalocean.com>
Mon, 14 Aug 2017 17:15:36 +0000 (11:15 -0600)
commitdffaac83d19de544e279a530393b3998f1e1fbb4
tree63ca1511eef9a047f58110096e523a57b8ee1c31
parentd21aa4da2a3469dbf1a474b6161a564cbe2f1671
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>
src/tools/rbd_mirror/image_replayer/CreateImageRequest.cc