Merge "Make swift user an admin"

This commit is contained in:
Jenkins 2015-02-12 23:08:52 +00:00 committed by Gerrit Code Review
commit 13c7ccc9d5

View File

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