diff --git a/lib/services/role.go b/lib/services/role.go index 8c760d56e98e6..88a1e64759ddd 100644 --- a/lib/services/role.go +++ b/lib/services/role.go @@ -890,6 +890,9 @@ func FetchRoleList(roleNames []string, access RoleGetter, traits map[string][]st for _, roleName := range roleNames { role, err := access.GetRole(context.TODO(), roleName) if err != nil { + if trace.IsNotFound(err) { + continue + } return nil, trace.Wrap(err) } role, err = ApplyTraits(role, traits)