From fcdca87024d99e3eac61bdb227f179b286ca6e04 Mon Sep 17 00:00:00 2001 From: Saravanan KR Date: Wed, 30 Aug 2017 12:39:55 +0530 Subject: [PATCH] Added a kolla config file for building contaner images with qemu uid Guest VMs created for DPDK will have the vhost-user socket files created by qemu and used by openvswitch. The uid of qemu in host is 107 where as the uid set by kolla config is 42427. Because of this mismatch, VM creation is failing because of permission. Setting the same uid and gid for qemu user for building kolla images to ensure that the files are created and used with same permission. This patch adds a config file for TripleO to be used for building kolla images, which will have the qemu user id values override to match the host values. Change-Id: I9a2d6b48eb44e294a8501ac0768ea0b97abb4b5c Partial-Bug: #1712732 --- container-images/tripleo_kolla_config_overrides.conf | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 container-images/tripleo_kolla_config_overrides.conf diff --git a/container-images/tripleo_kolla_config_overrides.conf b/container-images/tripleo_kolla_config_overrides.conf new file mode 100644 index 000000000..5d30e9eb7 --- /dev/null +++ b/container-images/tripleo_kolla_config_overrides.conf @@ -0,0 +1,6 @@ +[qemu-user] +# vhost-user sockets created on host has uid as 107 +# override kolla's default configuration for qemu-user +uid = 107 +gid = 107 +