967787437b
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
15 lines
454 B
Puppet
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;
|
|
}
|
|
}
|