From a102cd8efdd76cc9af70827391d6d29445bdd7bd Mon Sep 17 00:00:00 2001 From: Xinliang Liu <xinliang.liu@linaro.org> Date: Wed, 6 Dec 2017 14:03:18 +0800 Subject: [PATCH] Make qemu use nova user on all distros This fix libvirtError Unable to open logfile issue. Related-Bug: #1668654 Change-Id: I36720af0c7d3dd7c69d2404843f54c0991aea1bb --- ansible/roles/nova/templates/qemu.conf.j2 | 9 --------- 1 file changed, 9 deletions(-) diff --git a/ansible/roles/nova/templates/qemu.conf.j2 b/ansible/roles/nova/templates/qemu.conf.j2 index 1127ef0a2b..b926b7bb3f 100644 --- a/ansible/roles/nova/templates/qemu.conf.j2 +++ b/ansible/roles/nova/templates/qemu.conf.j2 @@ -1,13 +1,4 @@ stdio_handler = "file" -{% if kolla_base_distro in ['ubuntu', 'centos', 'oraclelinux']%} -# TODO: this workaround need to be fixed in Pike -# libvirt-bin latest version which runs vms as libvirt-qemu user. -# This locks access to nova created files for vms which have -# permissions 722 for nova user. We need to force qemu to use this user -# to be able to access vm files. -# see https://bugs.launchpad.net/kolla-ansible/+bug/1668654 -# see https://bugs.launchpad.net/kolla/+bug/1718541 user = "nova" group = "nova" -{% endif %}