From 6f583eb1137e2d63195b9540ffc15f0abd5898d3 Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Tue, 8 May 2018 12:54:18 +1200 Subject: [PATCH] Add the undercloud mistral user to the docker group This is required for mistral actions to perform image prepare operations (pull, build, push) Change-Id: I301ea04e4dbb3809ce247c0c620b0f087dedb5f9 Blueprint: container-prepare-workflow --- elements/puppet-stack-config/puppet-stack-config.pp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/elements/puppet-stack-config/puppet-stack-config.pp b/elements/puppet-stack-config/puppet-stack-config.pp index 20c6d1abb..f2271e75b 100644 --- a/elements/puppet-stack-config/puppet-stack-config.pp +++ b/elements/puppet-stack-config/puppet-stack-config.pp @@ -580,6 +580,10 @@ include ::mistral::keystone::auth include ::mistral::db::sync include ::mistral::api include ::mistral::engine +ensure_resource('user', 'mistral', { + 'name' => 'mistral', + 'groups' => 'docker', +}) include ::mistral::executor include ::mistral::cors include ::mistral::cron_trigger