Skip to contentSkip to conversation

RFC: incompatible change to rbd tool behavior on copy

DISCUSSION Dan Mick 1 participant 1 message Nov 15, 2012

lore
Share & tools
lore

Dan Mick

author
#0 lore raw

A user has noticed some surprising behavior with the rbd command-line tool: with rbd copy, if the destination pool is not set (either with --dest-pool or by specifying destpool/image), then it is assumed to be the source pool name.

This seems to me only marginally convenient, and much more confusing; given how easy it is to specify the pool if it matters, and given the fact that the default pool is always 'rbd' for all other operations, I think it makes much more sense for the destination of a copy to default to 'rbd' unless otherwise specified.

I propose to make this change. Does anyone think it's a bad idea?