From cdfcd4b88df651a6ac0d95bca8236d0d3ddc5543 Mon Sep 17 00:00:00 2001 From: David Shrewsbury Date: Wed, 11 Feb 2015 16:07:40 -0800 Subject: [PATCH] Restore Ironic admin user privilege Change Id7a9366d2c6a36139240f64371002362dc2d8d3b broke the Ironic gate by removing admin level privileges. This restores the privilege and adds a comment to prevent the removal again (hopefully). Change-Id: Ida1c05d9e429e24d060aef2548fc2a0c225350b8 Closes-Bug: #1421006 --- lib/ironic | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ironic b/lib/ironic index bed816e5c5..7ffa6a5caf 100644 --- a/lib/ironic +++ b/lib/ironic @@ -362,7 +362,8 @@ function create_ironic_accounts { if [[ "$ENABLED_SERVICES" =~ "ir-api" ]]; then # Get ironic user if exists - create_service_user "ironic" + # NOTE(Shrews): This user MUST have admin level privileges! + create_service_user "ironic" "admin" if [[ "$KEYSTONE_CATALOG_BACKEND" = 'sql' ]]; then