| ... | ... |
@@ -603,7 +603,9 @@ function create_swift_accounts {
|
| 603 | 603 |
|
| 604 | 604 |
local another_role=$(openstack role list | awk "/ anotherrole / { print \$2 }")
|
| 605 | 605 |
|
| 606 |
- create_service_user "swift" |
|
| 606 |
+ # NOTE(jroll): Swift doesn't need the admin role here, however Ironic uses |
|
| 607 |
+ # temp urls, which break when uploaded by a non-admin role |
|
| 608 |
+ create_service_user "swift" "admin" |
|
| 607 | 609 |
|
| 608 | 610 |
if [[ "$KEYSTONE_CATALOG_BACKEND" = 'sql' ]]; then |
| 609 | 611 |
|