Project

General

Profile

Actions

Bug #24650

open

LDAP external group error

Added by Sven Vogel about 6 years ago. Updated almost 6 years ago.

Status:
Need more information
Priority:
Normal
Assignee:
-
Category:
Authentication
Target version:
-
Difficulty:
medium
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Hi,

when i add a external group and move them to selected, press submit i get the following error.

Usergroups

Oops, we're sorry but something went wrong stack level too deep

If you feel this is an error with Foreman itself, please open a new issue with Foreman ticketing system, You would probably need to attach the Full trace , relevant log entries, and it is highly recommended to also attach the foreman-debug output.
SystemStackError
stack level too deep
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/query_methods.rb:1125:in `block in preprocess_order_args'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/query_methods.rb:1125:in `map!'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/query_methods.rb:1125:in `preprocess_order_args'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/query_methods.rb:321:in `order!'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/query_methods.rb:317:in `order'
/usr/share/foreman/app/models/usergroup.rb:34:in `block in '
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/scoping/default.rb:123:in `instance_exec'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/scoping/default.rb:123:in `block (2 levels) in build_default_scope'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/scoping/default.rb:121:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/scoping/default.rb:121:in `inject'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/scoping/default.rb:121:in `block in build_default_scope'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/scoping/default.rb:145:in `evaluate_default_scope'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/scoping/default.rb:120:in `build_default_scope'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/scoping/named.rb:43:in `default_scoped'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/scoping/named.rb:38:in `scope_for_association'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/reflection.rb:209:in `klass_join_scope'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/reflection.rb:194:in `join_scope'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/join_dependency/join_association.rb:43:in `block in join_constraints'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/join_dependency/join_association.rb:33:in `reverse_each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/join_dependency/join_association.rb:33:in `join_constraints'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/join_dependency.rb:174:in `make_constraints'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/join_dependency.rb:180:in `make_outer_joins'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/join_dependency.rb:227:in `block in walk'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/join_dependency.rb:227:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/join_dependency.rb:227:in `flat_map'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/join_dependency.rb:227:in `walk'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/join_dependency.rb:119:in `block in join_constraints'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/join_dependency.rb:117:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/join_dependency.rb:117:in `flat_map'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/join_dependency.rb:117:in `join_constraints'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/query_methods.rb:1022:in `build_join_query'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/query_methods.rb:1003:in `build_joins'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/query_methods.rb:942:in `build_arel'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/query_methods.rb:918:in `arel'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/calculations.rb:176:in `pluck'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/calculations.rb:170:in `pluck'
/usr/share/foreman/app/models/concerns/taxonomix.rb:129:in `admin_ids'
/usr/share/foreman/app/models/concerns/taxonomix.rb:86:in `taxable_ids'
/usr/share/foreman/app/models/concerns/taxonomix.rb:133:in `scope_by_taxable_ids'
/usr/share/foreman/app/models/concerns/taxonomix.rb:37:in `with_taxonomy_scope'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:66:in `block in with_taxonomy_scope'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation.rb:336:in `scoping'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:66:in `with_taxonomy_scope'
/usr/share/foreman/app/models/user.rb:123:in `block in '
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/scoping/default.rb:123:in `instance_exec'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/scoping/default.rb:123:in `block (2 levels) in build_default_scope'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/scoping/default.rb:121:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/scoping/default.rb:121:in `inject'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/scoping/default.rb:121:in `block in build_default_scope'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/scoping/default.rb:145:in `evaluate_default_scope'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/scoping/default.rb:120:in `build_default_scope'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/scoping/named.rb:47:in `default_extensions'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/association.rb:137:in `extensions'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/collection_proxy.rb:35:in `initialize'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:102:in `new'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:102:in `create'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/collection_association.rb:33:in `reader'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/builder/association.rb:111:in `users'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `block in find_all_affected_users_for'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `map'
/usr/share/foreman/app/models/usergroup_member.rb:108:in `find_all_affected_users_for'
/usr/share/foreman/app/models/usergroup_member.rb:101:in `find_all_affected_users'
/usr/share/foreman/app/models/usergroup_member.rb:41:in `add_new_cache'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:413:in `block in make_lambda'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:235:in `block in halting_and_conditional'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:511:in `block in invoke_after'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:511:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:511:in `invoke_after'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:132:in `run_callbacks'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:827:in `_run_save_callbacks'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/callbacks.rb:336:in `create_or_update'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/persistence.rb:162:in `save!'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/validations.rb:50:in `save!'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/attribute_methods/dirty.rb:43:in `save!'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/transactions.rb:313:in `block in save!'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/transactions.rb:384:in `block in with_transaction_returning_status'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/connection_adapters/abstract/database_statements.rb:233:in `transaction'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/transactions.rb:210:in `transaction'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/transactions.rb:381:in `with_transaction_returning_status'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/transactions.rb:313:in `save!'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/suppressor.rb:46:in `save!'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/has_many_through_association.rb:89:in `save_through_record'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/has_many_through_association.rb:45:in `insert_record'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/collection_association.rb:433:in `block (2 levels) in concat_records'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/collection_association.rb:447:in `replace_on_target'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/collection_association.rb:281:in `add_to_target'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/collection_association.rb:432:in `block in concat_records'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/collection_association.rb:430:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/collection_association.rb:430:in `concat_records'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/has_many_association.rb:114:in `concat_records'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/has_many_through_association.rb:27:in `concat_records'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/collection_association.rb:114:in `block in concat'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/collection_association.rb:129:in `block in transaction'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/connection_adapters/abstract/database_statements.rb:233:in `transaction'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/transactions.rb:210:in `transaction'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/collection_association.rb:128:in `transaction'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/collection_association.rb:114:in `concat'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/has_many_through_association.rb:21:in `concat'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/collection_association.rb:410:in `replace_records'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/collection_association.rb:249:in `block in replace'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/collection_association.rb:129:in `block in transaction'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/connection_adapters/abstract/database_statements.rb:233:in `transaction'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/transactions.rb:210:in `transaction'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/collection_association.rb:128:in `transaction'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/collection_association.rb:249:in `replace'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/collection_association.rb:65:in `ids_writer'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/associations/builder/collection_association.rb:65:in `usergroup_ids='
/usr/share/foreman/app/models/concerns/dirty_associations.rb:38:in `block (3 levels) in dirty_has_many_associations'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activemodel-5.1.6/lib/active_model/attribute_assignment.rb:46:in `public_send'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activemodel-5.1.6/lib/active_model/attribute_assignment.rb:46:in `_assign_attribute'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activemodel-5.1.6/lib/active_model/attribute_assignment.rb:40:in `block in _assign_attributes'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activemodel-5.1.6/lib/active_model/attribute_assignment.rb:39:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activemodel-5.1.6/lib/active_model/attribute_assignment.rb:39:in `_assign_attributes'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/attribute_assignment.rb:26:in `_assign_attributes'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activemodel-5.1.6/lib/active_model/attribute_assignment.rb:33:in `assign_attributes'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/persistence.rb:280:in `block in update'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/transactions.rb:384:in `block in with_transaction_returning_status'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `block in transaction'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/connection_adapters/abstract/transaction.rb:194:in `block in within_new_transaction'
/opt/rh/rh-ruby24/root/usr/share/ruby/monitor.rb:214:in `mon_synchronize'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/connection_adapters/abstract/transaction.rb:191:in `within_new_transaction'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `transaction'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/transactions.rb:210:in `transaction'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/transactions.rb:381:in `with_transaction_returning_status'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/persistence.rb:279:in `update'
/usr/share/foreman/app/controllers/usergroups_controller.rb:33:in `update'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/abstract_controller/base.rb:186:in `process_action'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_controller/metal/rendering.rb:30:in `process_action'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:108:in `block in run_callbacks'
/usr/share/foreman/app/controllers/concerns/application_shared.rb:15:in `set_timezone'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
/usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
/usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
/opt/theforeman/tfm/root/usr/share/gems/gems/audited-4.7.0/lib/audited/sweeper.rb:14:in `around'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
/opt/theforeman/tfm/root/usr/share/gems/gems/audited-4.7.0/lib/audited/sweeper.rb:14:in `around'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:135:in `run_callbacks'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/abstract_controller/callbacks.rb:19:in `process_action'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_controller/metal/rescue.rb:20:in `process_action'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/notifications.rb:166:in `block in instrument'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/notifications.rb:166:in `instrument'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/railties/controller_runtime.rb:22:in `process_action'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/abstract_controller/base.rb:124:in `process'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionview-5.1.6/lib/action_view/rendering.rb:30:in `process'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_controller/metal.rb:189:in `dispatch'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_controller/metal.rb:253:in `dispatch'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/routing/route_set.rb:31:in `serve'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/journey/router.rb:50:in `block in serve'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/journey/router.rb:33:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/journey/router.rb:33:in `serve'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/routing/route_set.rb:844:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.9/lib/apipie/static_dispatcher.rb:65:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.9/lib/apipie/extractor/recorder.rb:136:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call'
/usr/share/foreman/lib/middleware/telemetry.rb:9:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.9/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
/usr/share/foreman/lib/middleware/catch_json_parse_errors.rb:8:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/etag.rb:25:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/conditional_get.rb:38:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/head.rb:12:in `call'
/usr/share/foreman/lib/middleware/logging_context.rb:23:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/session/abstract/id.rb:232:in `context'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/session/abstract/id.rb:226:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/cookies.rb:613:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:97:in `run_callbacks'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/callbacks.rb:24:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/rack/logger.rb:36:in `call_app'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/rack/logger.rb:26:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/sprockets-rails-3.2.1/lib/sprockets/rails/quiet_assets.rb:13:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/request_id.rb:25:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0/lib/katello/prevent_json_parsing.rb:12:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/method_override.rb:22:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/runtime.rb:22:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/executor.rb:12:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/sendfile.rb:111:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/secure_headers-5.0.5/lib/secure_headers/middleware.rb:13:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/engine.rb:522:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/railtie.rb:185:in `public_send'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/railtie.rb:185:in `method_missing'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/urlmap.rb:68:in `block in call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/urlmap.rb:53:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/urlmap.rb:53:in `call'
/usr/share/passenger/phusion_passenger/rack/thread_handler_extension.rb:74:in `process_request'
/usr/share/passenger/phusion_passenger/request_handler/thread_handler.rb:141:in `accept_and_process_next_request'
/usr/share/passenger/phusion_passenger/request_handler/thread_handler.rb:109:in `main_loop'
/usr/share/passenger/phusion_passenger/request_handler.rb:455:in `block (3 levels) in start_threads'
/opt/theforeman/tfm/root/usr/share/gems/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'

is this a bug?

thanks

Sven

Actions #1

Updated by Marek Hulán about 6 years ago

  • Status changed from New to Need more information

Thanks for the report. 1.8 is very old, unsupported version. I remember there were issues like this for AD in old ldap_fluff but IIRC they were resolved. Could you update to newer version of Foreman?

Actions #2

Updated by Marek Hulán about 6 years ago

based on the trace, I assume this could also be 1.18, so what version are you running? what LDAP server type do you use? If that's AD, are there any links between user groups?

Actions #3

Updated by Sven Vogel about 6 years ago

  • Found in Releases 1.18.1, 1.18.2 added
  • Found in Releases deleted (1.8.0, 1.8.1)

Sorry i mean 1.18 and 1.18.1

Actions #4

Updated by Sven Vogel about 6 years ago

We use FreeIPA Version VERSION: 4.5.4

Actions #5

Updated by Sven Vogel about 6 years ago

  • Found in Releases 1.18.0 added
  • Found in Releases deleted (1.18.2)
Actions #6

Updated by Laurent Nominé about 6 years ago

Same here with Active Directory. I'm using 1.18.0.

Actions #7

Updated by Laurent Nominé almost 6 years ago

  • Found in Releases 1.19.0 added

Tried with the latest 1.19.0. Still the same problem.

Actions

Also available in: Atom PDF