2021-10-14T23:16:21 [I|app|9047dd08] Rendered api/v2/config_reports/create.json.rabl (Duration: 6.2ms | Allocations: 1211) 2021-10-14T23:16:21 [I|app|9047dd08] Completed 201 Created in 659ms (Views: 66.3ms | ActiveRecord: 315.4ms | Allocations: 59652) 2021-10-14T23:16:25 [E|dyn|] Pruned 1 envelopes for invalidated world b236b1cd-e2a9-46a1-81a3-82fc7e093da9 2021-10-14T23:16:25 [E|dyn|] Pruned 1 envelopes for invalidated world f5e7f0f9-31db-41ef-81d3-c3a51eef3658 2021-10-14T23:16:25 [E|dyn|] Pruned 1 envelopes for invalidated world 72667a09-bd2d-4055-ba9b-b5947dc4a751 2021-10-14T23:16:25 [E|dyn|] Pruned 1 envelopes for invalidated world f28ac584-570b-4fc8-87e9-3745a1936e55 2021-10-14T23:16:25 [E|dyn|] invalid worlds found {"b236b1cd-e2a9-46a1-81a3-82fc7e093da9"=>:invalidated, "7633f06f-08f0-4f30-a84c-ac672906e477"=>:valid, "e52164d9-38f9-419a-90f8-e1bc3cff501f"=>:valid, "f5e7f0f9-31db-41ef-81d3-c3a51eef3658"=>:invalidated, "72667a09-bd2d-4055-ba9b-b5947dc4a751"=>:invalidated, "f28ac584-570b-4fc8-87e9-3745a1936e55"=>:invalidated} 2021-10-14T23:16:25 [I|app|] Everything ready for world: 7633f06f-08f0-4f30-a84c-ac672906e477 2021-10-14T23:16:25 [I|dyn|] Performing validity checks 2021-10-14T23:16:25 [I|dyn|] Finished performing validity checks 2021-10-14T23:25:15 [I|app|aa51d761] Started POST "/api/v2/hosts/facts" for 192.168.1.6 at 2021-10-14 23:25:15 -0700 2021-10-14T23:25:15 [I|app|aa51d761] Processing by Api::V2::HostsController#facts as JSON 2021-10-14T23:25:15 [I|app|aa51d761] Parameters: {"name"=>"servertest.pate.net", "facts"=>"[FILTERED]", "apiv"=>"v2", "host"=>{"name"=>"servertest.pate.net"}} 2021-10-14T23:25:15 [I|app|aa51d761] Import facts for 'servertest.pate.net' completed. Added: 0, Updated: 16, Deleted 0 facts 2021-10-14T23:25:15 [W|app|aa51d761] Action failed 2021-10-14T23:25:15 [I|app|aa51d761] Backtrace for 'Action failed' error (NoMethodError): undefined method `match' for # aa51d761 | /usr/share/foreman/app/services/fact_parser.rb:221:in `block in remove_ignored' aa51d761 | /usr/share/foreman/app/services/fact_parser.rb:220:in `delete_if' aa51d761 | /usr/share/foreman/app/services/fact_parser.rb:220:in `remove_ignored' aa51d761 | /usr/share/foreman/app/services/fact_parser.rb:77:in `interfaces' aa51d761 | /usr/share/foreman/app/services/fact_parser.rb:92:in `suggested_primary_interface' aa51d761 | /usr/share/foreman/app/models/host/base.rb:152:in `primary_interface_type' aa51d761 | /usr/share/foreman/app/models/host/base.rb:158:in `populate_fields_from_facts' aa51d761 | /usr/share/foreman/app/models/host/managed.rb:489:in `populate_fields_from_facts' aa51d761 | /usr/share/foreman/app/services/host_fact_importer.rb:50:in `block (2 levels) in parse_facts' aa51d761 | /usr/share/foreman/app/services/foreman/telemetry_helper.rb:27:in `telemetry_duration_histogram' aa51d761 | /usr/share/foreman/app/services/host_fact_importer.rb:49:in `block in parse_facts' aa51d761 | /usr/share/foreman/app/services/host_fact_importer.rb:90:in `block in skipping_orchestration' aa51d761 | /usr/share/foreman/app/models/concerns/orchestration.rb:124:in `without_orchestration' aa51d761 | /usr/share/foreman/app/services/host_fact_importer.rb:89:in `skipping_orchestration' aa51d761 | /usr/share/foreman/app/services/host_fact_importer.rb:45:in `parse_facts' aa51d761 | /usr/share/foreman/app/services/host_fact_importer.rb:34:in `import_facts' aa51d761 | /usr/share/foreman/app/controllers/api/v2/hosts_controller.rb:310:in `facts' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/abstract_controller/base.rb:195:in `process_action' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_controller/metal/rendering.rb:30:in `process_action' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/abstract_controller/callbacks.rb:42:in `block in process_action' aa51d761 | /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:112:in `block in run_callbacks' aa51d761 | /usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone' aa51d761 | /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:121:in `block in run_callbacks' aa51d761 | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread' aa51d761 | /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:121:in `block in run_callbacks' aa51d761 | /usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller' aa51d761 | /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:121:in `block in run_callbacks' aa51d761 | /usr/share/gems/gems/audited-4.9.0/lib/audited/sweeper.rb:14:in `around' aa51d761 | /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:121:in `block in run_callbacks' aa51d761 | /usr/share/gems/gems/audited-4.9.0/lib/audited/sweeper.rb:14:in `around' aa51d761 | /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:121:in `block in run_callbacks' aa51d761 | /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:139:in `run_callbacks' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/abstract_controller/callbacks.rb:41:in `process_action' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_controller/metal/rescue.rb:22:in `process_action' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:33:in `block in process_action' aa51d761 | /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `block in instrument' aa51d761 | /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument' aa51d761 | /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `instrument' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:32:in `process_action' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_controller/metal/params_wrapper.rb:245:in `process_action' aa51d761 | /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/railties/controller_runtime.rb:27:in `process_action' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/abstract_controller/base.rb:136:in `process' aa51d761 | /usr/share/gems/gems/actionview-6.0.3.7/lib/action_view/rendering.rb:39:in `process' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_controller/metal.rb:190:in `dispatch' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_controller/metal.rb:254:in `dispatch' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/routing/route_set.rb:50:in `dispatch' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/routing/route_set.rb:33:in `serve' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/routing/mapper.rb:18:in `block in ' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/routing/mapper.rb:48:in `serve' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/journey/router.rb:49:in `block in serve' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/journey/router.rb:32:in `each' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/journey/router.rb:32:in `serve' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/routing/route_set.rb:834:in `call' aa51d761 | /usr/share/gems/gems/apipie-dsl-2.4.0/lib/apipie_dsl/static_dispatcher.rb:67:in `call' aa51d761 | /usr/share/gems/gems/apipie-rails-0.5.17/lib/apipie/static_dispatcher.rb:66:in `call' aa51d761 | /usr/share/gems/gems/apipie-rails-0.5.17/lib/apipie/extractor/recorder.rb:137:in `call' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/static.rb:126:in `call' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/static.rb:126:in `call' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/static.rb:126:in `call' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/static.rb:126:in `call' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/static.rb:126:in `call' aa51d761 | /usr/share/foreman/lib/foreman/middleware/telemetry.rb:10:in `call' aa51d761 | /usr/share/gems/gems/apipie-rails-0.5.17/lib/apipie/middleware/checksum_in_headers.rb:27:in `call' aa51d761 | /usr/share/foreman/lib/foreman/middleware/catch_json_parse_errors.rb:9:in `call' aa51d761 | /usr/share/gems/gems/rack-2.2.3/lib/rack/tempfile_reaper.rb:15:in `call' aa51d761 | /usr/share/gems/gems/rack-2.2.3/lib/rack/etag.rb:27:in `call' aa51d761 | /usr/share/gems/gems/rack-2.2.3/lib/rack/conditional_get.rb:40:in `call' aa51d761 | /usr/share/gems/gems/rack-2.2.3/lib/rack/head.rb:12:in `call' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/http/content_security_policy.rb:18:in `call' aa51d761 | /usr/share/foreman/lib/foreman/middleware/logging_context_session.rb:22:in `call' aa51d761 | /usr/share/gems/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in `context' aa51d761 | /usr/share/gems/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in `call' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/cookies.rb:648:in `call' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' aa51d761 | /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:101:in `run_callbacks' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/callbacks.rb:26:in `call' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/debug_exceptions.rb:32:in `call' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' aa51d761 | /usr/share/gems/gems/railties-6.0.3.7/lib/rails/rack/logger.rb:37:in `call_app' aa51d761 | /usr/share/gems/gems/railties-6.0.3.7/lib/rails/rack/logger.rb:28:in `call' aa51d761 | /usr/share/gems/gems/sprockets-rails-3.2.1/lib/sprockets/rails/quiet_assets.rb:13:in `call' aa51d761 | /usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:in `call' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/remote_ip.rb:81:in `call' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/request_id.rb:27:in `call' aa51d761 | /usr/share/gems/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call' aa51d761 | /usr/share/gems/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call' aa51d761 | /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/executor.rb:14:in `call' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/static.rb:126:in `call' aa51d761 | /usr/share/gems/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call' aa51d761 | /usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/host_authorization.rb:76:in `call' aa51d761 | /usr/share/gems/gems/secure_headers-6.3.0/lib/secure_headers/middleware.rb:11:in `call' aa51d761 | /usr/share/gems/gems/railties-6.0.3.7/lib/rails/engine.rb:527:in `call' aa51d761 | /usr/share/gems/gems/railties-6.0.3.7/lib/rails/railtie.rb:190:in `public_send' aa51d761 | /usr/share/gems/gems/railties-6.0.3.7/lib/rails/railtie.rb:190:in `method_missing' aa51d761 | /usr/share/gems/gems/rack-2.2.3/lib/rack/urlmap.rb:74:in `block in call' aa51d761 | /usr/share/gems/gems/rack-2.2.3/lib/rack/urlmap.rb:58:in `each' aa51d761 | /usr/share/gems/gems/rack-2.2.3/lib/rack/urlmap.rb:58:in `call' aa51d761 | /usr/share/gems/gems/puma-5.3.2/lib/puma/configuration.rb:249:in `call' aa51d761 | /usr/share/gems/gems/puma-5.3.2/lib/puma/request.rb:77:in `block in handle_request' aa51d761 | /usr/share/gems/gems/puma-5.3.2/lib/puma/thread_pool.rb:338:in `with_force_shutdown' aa51d761 | /usr/share/gems/gems/puma-5.3.2/lib/puma/request.rb:76:in `handle_request' aa51d761 | /usr/share/gems/gems/puma-5.3.2/lib/puma/server.rb:438:in `process_client' aa51d761 | /usr/share/gems/gems/puma-5.3.2/lib/puma/thread_pool.rb:145:in `block in spawn_thread' aa51d761 | /usr/share/gems/gems/logging-2.3.0/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context' 2021-10-14T23:25:15 [I|app|aa51d761] Rendering api/v2/errors/custom_error.json.rabl within api/v2/layouts/error_layout2021-10-14T23:25:15 [I|app|aa51d761] Rendered api/v2/errors/custom_error.json.rabl within api/v2/layouts/error_layout (Duration: 3.6ms | Allocations: 278) 2021-10-14T23:25:15 [I|app|aa51d761] Completed 500 Internal Server Error in 784ms (Views: 14.5ms | ActiveRecord: 165.6ms | Allocations: 139631) 2021-10-14T23:25:17 [I|app|59711ef8] Started POST "/api/v2/config_reports" for 192.168.1.6 at 2021-10-14 23:25:17 -0700 2021-10-14T23:25:17 [I|app|59711ef8] Processing by Api::V2::ConfigReportsController#create as JSON 2021-10-14T23:25:17 [I|app|59711ef8] Parameters: {"config_report"=>"[FILTERED]", "apiv"=>"v2"} 2021-10-14T23:25:17 [I|app|59711ef8] Scanning report with: Foreman::PuppetReportScanner, ForemanAnsible::AnsibleReportScanner 2021-10-14T23:25:17 [I|app|59711ef8] Imported report for servertest.pate.net in 84.2 ms, status refreshed in 27.8 ms 2021-10-14T23:25:17 [I|app|59711ef8] Rendering api/v2/config_reports/create.json.rabl 2021-10-14T23:25:17 [I|app|59711ef8] Rendered api/v2/config_reports/create.json.rabl (Duration: 3.9ms | Allocations: 1179) 2021-10-14T23:25:17 [I|app|59711ef8] Completed 201 Created in 176ms (Views: 11.6ms | ActiveRecord: 73.5ms | Allocations: 32744)