diff --git a/contrib/devstack/lib/designate b/contrib/devstack/lib/designate index 0cbad143c..e74f70d9d 100644 --- a/contrib/devstack/lib/designate +++ b/contrib/devstack/lib/designate @@ -151,7 +151,7 @@ function create_designate_accounts { if [[ "$ENABLED_SERVICES" =~ "designate-api" ]]; then local designate_user=$(get_or_create_user "designate" \ "$SERVICE_PASSWORD" $service_tenant) - get_or_add_user_role $admin_role $designate_user $service_tenant + get_or_add_user_project_role $admin_role $designate_user $service_tenant if [[ "$KEYSTONE_CATALOG_BACKEND" = 'sql' ]]; then local designate_service=$(get_or_create_service "designate" \