lib/nova and lib/ceilometer had function calls not in the desired
form.
Change-Id: I6b848e51654a48fe2df6084efdb0f67fd5e180f0
| ... | ... |
@@ -73,13 +73,12 @@ function is_ceilometer_enabled {
|
| 73 | 73 |
} |
| 74 | 74 |
|
| 75 | 75 |
# create_ceilometer_accounts() - Set up common required ceilometer accounts |
| 76 |
- |
|
| 76 |
+# |
|
| 77 | 77 |
# Project User Roles |
| 78 | 78 |
# ------------------------------------------------------------------ |
| 79 | 79 |
# SERVICE_TENANT_NAME ceilometer admin |
| 80 | 80 |
# SERVICE_TENANT_NAME ceilometer ResellerAdmin (if Swift is enabled) |
| 81 |
- |
|
| 82 |
-create_ceilometer_accounts() {
|
|
| 81 |
+function create_ceilometer_accounts {
|
|
| 83 | 82 |
|
| 84 | 83 |
local service_tenant=$(openstack project list | awk "/ $SERVICE_TENANT_NAME / { print \$2 }")
|
| 85 | 84 |
local admin_role=$(openstack role list | awk "/ admin / { print \$2 }")
|
| ... | ... |
@@ -330,14 +330,12 @@ function configure_nova {
|
| 330 | 330 |
} |
| 331 | 331 |
|
| 332 | 332 |
# create_nova_accounts() - Set up common required nova accounts |
| 333 |
- |
|
| 333 |
+# |
|
| 334 | 334 |
# Project User Roles |
| 335 | 335 |
# ------------------------------------------------------------------ |
| 336 | 336 |
# SERVICE_TENANT_NAME nova admin |
| 337 | 337 |
# SERVICE_TENANT_NAME nova ResellerAdmin (if Swift is enabled) |
| 338 |
- |
|
| 339 |
-# Migrated from keystone_data.sh |
|
| 340 |
-create_nova_accounts() {
|
|
| 338 |
+function create_nova_accounts {
|
|
| 341 | 339 |
|
| 342 | 340 |
local service_tenant=$(openstack project list | awk "/ $SERVICE_TENANT_NAME / { print \$2 }")
|
| 343 | 341 |
local admin_role=$(openstack role list | awk "/ admin / { print \$2 }")
|