fuel-library/deployment/puppet/ceph/manifests/ephemeral.pp
Dmitry Borodaenko 967787437b replace deprecated libvirt_* options for rbd
All libvirt_* options for Nova were deprecated in Icehouse and removed
in Juno, this commit replaces the rbd related deprecated options with
corresponding options in the [libvirt] section of nova.conf.

Change-Id: If9670e6df8dccbbb659d48d59e6a60b5583d68ac
Partial-Bug: #1386735
2014-10-29 00:28:10 -07:00

15 lines
454 B
Puppet

# Enable RBD backend for ephemeral volumes
class ceph::ephemeral (
$rbd_secret_uuid = $::ceph::rbd_secret_uuid,
$libvirt_images_type = $::ceph::libvirt_images_type,
$pool = $::ceph::compute_pool,
) {
nova_config {
'libvirt/images_type': value => $libvirt_images_type;
'libvirt/inject_key': value => false;
'libvirt/inject_partition': value => '-2';
'libvirt/images_rbd_pool': value => $pool;
}
}