diff --git a/controllers/ceilometer_controller.go b/controllers/ceilometer_controller.go index 702f9907..fe0517ae 100644 --- a/controllers/ceilometer_controller.go +++ b/controllers/ceilometer_controller.go @@ -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 }