diff --git a/manifests/compute.pp b/manifests/compute.pp index 70f5d14..a1af328 100644 --- a/manifests/compute.pp +++ b/manifests/compute.pp @@ -101,7 +101,8 @@ class infracloud::compute( # nova-compute service class { '::nova::compute': - enabled => true, + enabled => true, + force_raw_images => false, } # nova.conf neutron credentials @@ -120,6 +121,12 @@ class infracloud::compute( libvirt_virt_type => $virt_type, } + # NOTE(pabelanger): This is needed for force_raw_images to work. Otherwise + # nova will still convert images to raw. + nova_config { + 'libvirt/images_type': value => 'qcow2'; + } + ### Neutron ### # neutron.conf