diff options
author | Michael Polenchuk <mpolenchuk@mirantis.com> | 2016-11-01 12:20:56 +0300 |
---|---|---|
committer | Michael Polenchuk <mpolenchuk@mirantis.com> | 2016-11-01 12:28:36 +0300 |
commit | ed79331c115eac4aad0eccd4b191c9e1e836c73d (patch) | |
tree | a97e4df2cd2bb54d56f56c10646d0ccb263079fe /deploy/environments/libvirt_environment.py | |
parent | 5dce11ef60ff69ba5127088d6b6f5663fe46c48f (diff) |
[virtual envs] Switch to raw images
* 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>
Diffstat (limited to 'deploy/environments/libvirt_environment.py')
-rw-r--r-- | deploy/environments/libvirt_environment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/environments/libvirt_environment.py b/deploy/environments/libvirt_environment.py index c9fa41fd7..07a47fd7e 100644 --- a/deploy/environments/libvirt_environment.py +++ b/deploy/environments/libvirt_environment.py @@ -36,7 +36,7 @@ class LibvirtEnvironment(ExecutionEnvironment): def create_storage(self, node_id, disk_path, disk_sizes): role = self.dea.get_node_main_role(node_id, self.fuel_node_id) disk_size = disk_sizes[role] - exec_cmd('qemu-img create -f qcow2 %s %s' % (disk_path, disk_size)) + exec_cmd('qemu-img create -f raw %s %s' % (disk_path, disk_size)) def create_vms(self): temp_dir = tempfile.mkdtemp() |