Browse code

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

David Shrewsbury authored on 2015/02/12 09:07:40
Showing 1 changed files
... ...
@@ -362,7 +362,8 @@ function create_ironic_accounts {
362 362
     if [[ "$ENABLED_SERVICES" =~ "ir-api" ]]; then
363 363
         # Get ironic user if exists
364 364
 
365
-        create_service_user "ironic"
365
+        # NOTE(Shrews): This user MUST have admin level privileges!
366
+        create_service_user "ironic" "admin"
366 367
 
367 368
         if [[ "$KEYSTONE_CATALOG_BACKEND" = 'sql' ]]; then
368 369