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:
parent
e4d5b25eaa
commit
9dc122c3dd
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user