I can connect to the database - I’m pretty familiar with SQL so if you can give me a few hints on which tables / fields to query I’ll give it a shot.
Wrongly thought I could attach a file - here’s a call stack:
2020-09-28T09:06:48 [I|app|f1e77176] Called setup_clone: ["/usr/share/foreman/app/models/host/base.rb:361:in setup_clone'", "/usr/share/foreman/app/models/nic/managed.rb:117:in
setup_clone’", “/usr/share/foreman/app/models/concerns/orchestration.rb:85:in valid?'", "/opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/validations.rb:84:in
perform_validations’”, “/opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/validations.rb:52:in save!'", "/opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/transactions.rb:315:in
block in save!’”, “/opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/transactions.rb:387:in block in with_transaction_returning_status'", "/opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:254:in
block in transaction’”, “/opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/transaction.rb:239:in block in within_new_transaction'", "/opt/rh/rh-ruby25/root/usr/share/ruby/monitor.rb:226:in
mon_synchronize’”, “/opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/transaction.rb:236:in within_new_transaction'", "/opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:254:in
transaction’”, “/opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/transactions.rb:212:in transaction'", "/opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/transactions.rb:385:in
with_transaction_returning_status’”, “/opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/transactions.rb:315:in save!'", "/opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/suppressor.rb:48:in
save!’”, “/usr/share/foreman/app/models/host/base.rb:569:in block in update_virtuals'", "/opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/relation/delegation.rb:41:in
each’”, “/opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/relation/delegation.rb:41:in each'", "/usr/share/foreman/app/models/host/base.rb:564:in
update_virtuals’”, “/usr/share/foreman/app/models/host/base.rb:545:in set_interface'", "/usr/share/foreman/app/models/host/base.rb:229:in
block in set_interfaces’”, “/usr/share/foreman/app/models/host/base.rb:226:in each'", "/usr/share/foreman/app/models/host/base.rb:226:in
set_interfaces’”, “/usr/share/foreman/app/models/host/base.rb:194:in populate_fields_from_facts'", "/usr/share/foreman/app/models/host/managed.rb:424:in
populate_fields_from_facts’”, “/usr/share/foreman/app/models/concerns/puppet_host_extensions.rb:3:in populate_fields_from_facts'", "/usr/share/foreman/app/models/host/base.rb:168:in
block in parse_facts’”, “/usr/share/foreman/app/services/foreman/telemetry_helper.rb:27:in telemetry_duration_histogram'", "/usr/share/foreman/app/models/host/base.rb:167:in
parse_facts’”, “/usr/share/foreman/app/models/host/base.rb:153:in import_facts'", "/usr/share/foreman/app/models/host/managed.rb:343:in
import_facts’”, “/usr/share/foreman/app/controllers/api/v2/hosts_controller.rb:286:in facts'", "/opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_controller/metal/basic_implicit_render.rb:6:in
send_action’”, “/opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-5.2.1/lib/abstract_controller/base.rb:194:in process_action'", "/opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_controller/metal/rendering.rb:30:in
process_action’”, “/opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-5.2.1/lib/abstract_controller/callbacks.rb:42:in block in process_action'", "/opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:109:in
block in run_callbacks’”, “/usr/share/foreman/app/controllers/api/v2/base_controller.rb:163:in disable_json_root'", "/opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in
block in run_callbacks’”, “/usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in set_timezone'", "/opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in
block in run_callbacks’”, “/usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in clear_thread'", "/opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118: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/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in
block in run_callbacks’”, “/opt/theforeman/tfm/root/usr/share/gems/gems/audited-4.9.0/lib/audited/sweeper.rb:14:in around'", "/opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in
block in run_callbacks’”, “/opt/theforeman/tfm/root/usr/share/gems/gems/audited-4.9.0/lib/audited/sweeper.rb:14:in around'", "/opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in
block in run_callbacks’”, “/opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:136:in run_callbacks'", "/opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-5.2.1/lib/abstract_controller/callbacks.rb:41:in
process_action’”, “/opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_controller/metal/rescue.rb:22:in process_action'", "/opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_controller/metal/instrumentation.rb:34:in
block in process_action’”, “/opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/notifications.rb:168:in block in instrument'", "/opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/notifications/instrumenter.rb:23:in
instrument’”, “/opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/notifications.rb:168:in instrument'", "/opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_controller/metal/instrumentation.rb:32:in
process_action’”, “/opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_controller/metal/params_wrapper.rb:256:in `process_action’”, "/opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/railties/controller_runtime.rb:2