Skip to content

Commit

Permalink
Merge pull request #363 from jlarriba/fix_swift
Browse files Browse the repository at this point in the history
[OSPRH-6229] Ceilometer gets 403 Forbidden when accessing Swift API
  • Loading branch information
openshift-merge-bot[bot] authored Apr 9, 2024
2 parents ab779da + c87ea8e commit 8d97909
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/ceilometer_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -948,11 +948,11 @@ func (r *CeilometerReconciler) ensureSwiftRole(
return err
}

err = os.AssignUserDomainRole(
err = os.AssignUserRole(
log,
"SwiftSystemReader",
user.ID,
"default")
"service")
if err != nil {
return err
}
Expand Down

0 comments on commit 8d97909

Please sign in to comment.