diff options
author | Michael Polenchuk <mpolenchuk@mirantis.com> | 2016-11-01 12:20:56 +0300 |
---|---|---|
committer | Michael Polenchuk <mpolenchuk@mirantis.com> | 2016-11-03 07:50:25 +0000 |
commit | 771761f708e6cb61fba99abf67a07111e1c75470 (patch) | |
tree | c46adb61851c1c1a0d5f5c5f93f11919181654a2 /deploy/dha_adapters/libvirt_adapter.py | |
parent | c11337074cfa0d520fb3fa876965e420fd7145e3 (diff) |
[virtual envs] Switch to raw imagescolorado.2.0
* use raw devices instead of qcow2
* disable i/o caching, it reduces data copies and bus traffic
* set native aio instead of thread based
JIRA: FUEL-201
Change-Id: I8ac728cbb5be5948080fab8ae4d3d311e0a5c09c
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit ed79331c115eac4aad0eccd4b191c9e1e836c73d)
Diffstat (limited to 'deploy/dha_adapters/libvirt_adapter.py')
-rw-r--r-- | deploy/dha_adapters/libvirt_adapter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/dha_adapters/libvirt_adapter.py b/deploy/dha_adapters/libvirt_adapter.py index 466f134ae..a00f09147 100644 --- a/deploy/dha_adapters/libvirt_adapter.py +++ b/deploy/dha_adapters/libvirt_adapter.py @@ -109,7 +109,7 @@ class LibvirtAdapter(HardwareAdapter): '%s |grep \"virtual size:\"' % disk_file).split()[2] delete(disk_file) - exec_cmd('qemu-img create -f qcow2 %s %s' % (disk_file, + exec_cmd('qemu-img create -f raw %s %s' % (disk_file, disk_size)) def node_eject_iso(self, node_id): |