cinder/rbd: configure volume_tmp_dir to /tmp
Set default temporary volume directory in rbd driver to /tmp, otherwise we can hit some bugs in Cinder where it would be not possible to copy a volume to an image. https://bugs.launchpad.net/cinder/+bug/1288240 Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
@@ -58,7 +58,6 @@ define cloud::volume::backend::rbd (
|
||||
$rbd_ceph_conf = '/etc/ceph/ceph.conf',
|
||||
$rbd_flatten_volume_from_snapshot = false,
|
||||
$rbd_secret_uuid = false,
|
||||
$volume_tmp_dir = false,
|
||||
$rbd_max_clone_depth = '5',
|
||||
) {
|
||||
|
||||
@@ -69,6 +68,7 @@ define cloud::volume::backend::rbd (
|
||||
rbd_ceph_conf => $rbd_ceph_conf,
|
||||
rbd_flatten_volume_from_snapshot => $rbd_flatten_volume_from_snapshot,
|
||||
rbd_max_clone_depth => $rbd_max_clone_depth,
|
||||
volume_tmp_dir => '/tmp'
|
||||
}
|
||||
|
||||
# Configure Ceph keyring
|
||||
|
||||
Reference in New Issue
Block a user