Don't force images to raw format

We upload our images today as qcow2 format, however compute nodes will
force them to raw format. To improve performance when first booting a
node, do bother converting the image to raw format.

Change-Id: I82e16825a90a1a8995b6dd3c8769954e3976a15f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-09-12 12:29:57 -04:00
parent e4d5b25eaa
commit 9dc122c3dd
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
1 changed files with 8 additions and 1 deletions

View File

@ -100,7 +100,8 @@ class infracloud::compute(
# nova-compute service
class { '::nova::compute':
enabled => true,
enabled => true,
force_raw_images => false,
}
# nova.conf neutron credentials
@ -119,6 +120,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