Handle nova image preallocation mode
Image preallocation allows storage to be fully allocated at instance
start. This should significantly improve performance on writes to new
blocks and may even improve I/O performance to prewritten blocks due
to reduced fragmentation.
Change-Id: Ic285d6bc07dcee65db2dffca9d2730705761121c
diff --git a/tests/pillar/compute_cluster.sls b/tests/pillar/compute_cluster.sls
index 28ded0c..4bbcfba 100644
--- a/tests/pillar/compute_cluster.sls
+++ b/tests/pillar/compute_cluster.sls
@@ -13,6 +13,7 @@
report_interval: 60
vnc_keymap: en-gb
resume_guests_state_on_host_boot: True
+ preallocate_images: space
bind:
vnc_address: 127.0.0.1
vnc_port: 6080
diff --git a/tests/pillar/compute_single.sls b/tests/pillar/compute_single.sls
index 08250ba..211a60e 100644
--- a/tests/pillar/compute_single.sls
+++ b/tests/pillar/compute_single.sls
@@ -7,6 +7,7 @@
vncproxy_url: openstack:6080
vnc_keymap: en-gb
resume_guests_state_on_host_boot: False
+ preallocate_images: space
cpu_mode: custom
libvirt:
cpu_model: IvyBridge
diff --git a/tests/pillar/compute_single_config_drive_options.sls b/tests/pillar/compute_single_config_drive_options.sls
index 75840b7..a3c03da 100644
--- a/tests/pillar/compute_single_config_drive_options.sls
+++ b/tests/pillar/compute_single_config_drive_options.sls
@@ -7,6 +7,7 @@
vncproxy_url: openstack:6080
vnc_keymap: en-gb
resume_guests_state_on_host_boot: False
+ preallocate_images: space
bind:
vnc_address: 127.0.0.1
vnc_port: 6080
@@ -60,4 +61,4 @@
config_drive:
cdrom: True
format: iso9660
- inject_password: True
\ No newline at end of file
+ inject_password: True