From bace52165f04f04d061f8fb5603f6f0f50a1ce94 Mon Sep 17 00:00:00 2001 From: michaeltchapman Date: Tue, 7 May 2019 23:33:40 +1000 Subject: [PATCH] Run vbmcd as stack user in devstack devstack may be run as some other non-root user, and the service will fail to start if there is no stack user available. Change-Id: Ib1cfa6a1b0859a1e2680055ce0394053db1c307e Signed-off-by: michaeltchapman --- devstack/lib/ironic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/lib/ironic b/devstack/lib/ironic index 8ff682020f..dceb9d8a19 100644 --- a/devstack/lib/ironic +++ b/devstack/lib/ironic @@ -773,7 +773,7 @@ function setup_virtualbmc { cmd=$(which vbmcd) cmd+=" --foreground" - write_user_unit_file $IRONIC_VBMC_SYSTEMD_SERVICE "$cmd" "" "stack" + write_user_unit_file $IRONIC_VBMC_SYSTEMD_SERVICE "$cmd" "" "$STACK_USER" $SYSTEMCTL enable $IRONIC_VBMC_SYSTEMD_SERVICE }