2024-01-11T10:02:20 [I|app|f9bd9110] Started PUT "/api/v2/hosts/1242" for 172.24.144.158 at 2024-01-11 10:02:20 +0100 2024-01-11T10:02:20 [I|app|f9bd9110] Processing by Api::V2::HostsController#update as JSON 2024-01-11T10:02:20 [I|app|f9bd9110] Parameters: {"id"=>"1242", "host"=>{"subscription_facet_attributes"=>{"id"=>1362, "autoheal"=>false, "purpose_role"=>"", "purpose_usage"=>"", "service_level"=>"", "release_version"=>nil}}, "apiv"=>"v2"} 2024-01-11T10:02:21 [W|app|f9bd9110] Action failed 2024-01-11T10:02:21 [I|app|f9bd9110] Backtrace for 'Action failed' error (RestClient::BadRequest): Katello::Resources::Candlepin::Consumer: 400 Bad Request {"displayMessage":"Runtime Error com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type `java.util.ArrayList` from String value (token `JsonToken.VALUE_STRING`)\n at [Source: (org.candlepin.servlet.filter.logging.TeeHttpServletRequest$1); line: 1, column: 103] (through reference chain: org.candlepin.dto.api.server.v1.ConsumerDTO[\"environments\"]) at com.fasterxml.jackson.databind.exc.MismatchedInputException.from:59","requestUuid":"623bd637-4d76-4f17-a600-ac6022b83825"} (PUT /candlepin/consumers/c93260b5-6748-49bd-93ba-65a4d3e5c846) f9bd9110 | /usr/share/gems/gems/rest-client-2.1.0/lib/restclient/abstract_response.rb:249:in `exception_with_response' f9bd9110 | /usr/share/gems/gems/rest-client-2.1.0/lib/restclient/abstract_response.rb:129:in `return!' f9bd9110 | /usr/share/gems/gems/rest-client-2.1.0/lib/restclient/request.rb:836:in `process_result' f9bd9110 | /usr/share/gems/gems/rest-client-2.1.0/lib/restclient/request.rb:743:in `block in transmit' f9bd9110 | /usr/share/ruby/net/http.rb:933:in `start' f9bd9110 | /usr/share/gems/gems/rest-client-2.1.0/lib/restclient/request.rb:727:in `transmit' f9bd9110 | /usr/share/gems/gems/rest-client-2.1.0/lib/restclient/request.rb:163:in `execute' f9bd9110 | /usr/share/gems/gems/rest-client-2.1.0/lib/restclient/request.rb:63:in `execute' f9bd9110 | /usr/share/gems/gems/rest-client-2.1.0/lib/restclient/resource.rb:79:in `put' f9bd9110 | /usr/share/gems/gems/katello-4.11.0/app/lib/katello/http_resource.rb:92:in `issue_request' f9bd9110 | /usr/share/gems/gems/katello-4.11.0/app/lib/katello/http_resource.rb:47:in `block (2 levels) in singleton class' f9bd9110 | /usr/share/gems/gems/katello-4.11.0/app/lib/katello/resources/candlepin/consumer.rb:76:in `update' f9bd9110 | /usr/share/gems/gems/katello-4.11.0/app/models/katello/concerns/subscription_facet_host_extensions.rb:83:in `update_candlepin_associations' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:427:in `block in make_lambda' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:179:in `block (2 levels) in halting_and_conditional' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:604:in `block (2 levels) in default_terminator' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:603:in `catch' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:603:in `block in default_terminator' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:180:in `block in halting_and_conditional' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:512:in `block in invoke_before' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:512:in `each' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:512:in `invoke_before' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:105:in `run_callbacks' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:824:in `_run_update_callbacks' f9bd9110 | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/callbacks.rb:465:in `_update_record' f9bd9110 | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/timestamp.rb:121:in `_update_record' f9bd9110 | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/persistence.rb:900:in `create_or_update' f9bd9110 | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/callbacks.rb:457:in `block in create_or_update' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:117:in `block in run_callbacks' f9bd9110 | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/autosave_association.rb:385:in `around_save_collection_association' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks' f9bd9110 | /usr/share/foreman/app/models/concerns/orchestration.rb:47:in `around_save_orchestration' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:137:in `run_callbacks' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:824:in `_run_save_callbacks' f9bd9110 | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/callbacks.rb:457:in `create_or_update' f9bd9110 | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/timestamp.rb:126:in `create_or_update' f9bd9110 | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/persistence.rb:474:in `save' f9bd9110 | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/validations.rb:47:in `save' f9bd9110 | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/transactions.rb:298:in `block in save' f9bd9110 | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/transactions.rb:354:in `block in with_transaction_returning_status' f9bd9110 | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `block in transaction' f9bd9110 | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' f9bd9110 | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction' f9bd9110 | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `transaction' f9bd9110 | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/transactions.rb:350:in `with_transaction_returning_status' f9bd9110 | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/transactions.rb:298:in `save' f9bd9110 | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/suppressor.rb:44:in `save' f9bd9110 | /usr/share/foreman/app/models/concerns/foreman/sti.rb:26:in `save' f9bd9110 | /usr/share/foreman/app/controllers/api/v2/hosts_controller.rb:164:in `update' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/abstract_controller/base.rb:228:in `process_action' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/rendering.rb:30:in `process_action' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/abstract_controller/callbacks.rb:42:in `block in process_action' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:117:in `block in run_callbacks' f9bd9110 | /usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks' f9bd9110 | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks' f9bd9110 | /usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks' f9bd9110 | /usr/share/gems/gems/audited-5.4.2/lib/audited/sweeper.rb:16:in `around' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks' f9bd9110 | /usr/share/gems/gems/audited-5.4.2/lib/audited/sweeper.rb:16:in `around' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:137:in `run_callbacks' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/abstract_controller/callbacks.rb:41:in `process_action' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/rescue.rb:22:in `process_action' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/notifications.rb:203:in `block in instrument' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/notifications.rb:203:in `instrument' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/instrumentation.rb:33:in `process_action' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/params_wrapper.rb:249:in `process_action' f9bd9110 | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/railties/controller_runtime.rb:27:in `process_action' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/abstract_controller/base.rb:165:in `process' f9bd9110 | /usr/share/gems/gems/actionview-6.1.7.6/lib/action_view/rendering.rb:39:in `process' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal.rb:190:in `dispatch' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal.rb:254:in `dispatch' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/routing/route_set.rb:50:in `dispatch' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/routing/route_set.rb:33:in `serve' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/routing/mapper.rb:19:in `block in ' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/routing/mapper.rb:49:in `serve' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/journey/router.rb:50:in `block in serve' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/journey/router.rb:32:in `each' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/journey/router.rb:32:in `serve' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/routing/route_set.rb:842:in `call' f9bd9110 | /usr/share/gems/gems/katello-4.11.0/lib/katello/middleware/organization_created_enforcer.rb:18:in `call' f9bd9110 | /usr/share/gems/gems/katello-4.11.0/lib/katello/middleware/event_daemon.rb:10:in `call' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call' f9bd9110 | /usr/share/gems/gems/apipie-dsl-2.6.1/lib/apipie_dsl/static_dispatcher.rb:67:in `call' f9bd9110 | /usr/share/gems/gems/apipie-rails-1.2.3/lib/apipie/static_dispatcher.rb:68:in `call' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call' f9bd9110 | /usr/share/foreman/lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call' f9bd9110 | /usr/share/foreman/lib/foreman/middleware/telemetry.rb:10:in `call' f9bd9110 | /usr/share/gems/gems/apipie-rails-1.2.3/lib/apipie/middleware/checksum_in_headers.rb:27:in `call' f9bd9110 | /usr/share/gems/gems/rack-2.2.8/lib/rack/tempfile_reaper.rb:15:in `call' f9bd9110 | /usr/share/gems/gems/rack-2.2.8/lib/rack/etag.rb:27:in `call' f9bd9110 | /usr/share/gems/gems/rack-2.2.8/lib/rack/conditional_get.rb:40:in `call' f9bd9110 | /usr/share/gems/gems/rack-2.2.8/lib/rack/head.rb:12:in `call' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/http/permissions_policy.rb:22:in `call' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/http/content_security_policy.rb:19:in `call' f9bd9110 | /usr/share/foreman/lib/foreman/middleware/logging_context_session.rb:22:in `call' f9bd9110 | /usr/share/gems/gems/rack-2.2.8/lib/rack/session/abstract/id.rb:266:in `context' f9bd9110 | /usr/share/gems/gems/rack-2.2.8/lib/rack/session/abstract/id.rb:260:in `call' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/cookies.rb:697:in `call' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:98:in `run_callbacks' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/callbacks.rb:26:in `call' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' f9bd9110 | /usr/share/gems/gems/railties-6.1.7.6/lib/rails/rack/logger.rb:37:in `call_app' f9bd9110 | /usr/share/gems/gems/railties-6.1.7.6/lib/rails/rack/logger.rb:28:in `call' f9bd9110 | /usr/share/gems/gems/sprockets-rails-3.4.2/lib/sprockets/rails/quiet_assets.rb:13:in `call' f9bd9110 | /usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:in `call' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/remote_ip.rb:81:in `call' f9bd9110 | /usr/share/gems/gems/request_store-1.5.1/lib/request_store/middleware.rb:19:in `call' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/request_id.rb:26:in `call' f9bd9110 | /usr/share/gems/gems/katello-4.11.0/lib/katello/prevent_json_parsing.rb:12:in `call' f9bd9110 | /usr/share/gems/gems/rack-2.2.8/lib/rack/method_override.rb:24:in `call' f9bd9110 | /usr/share/gems/gems/rack-2.2.8/lib/rack/runtime.rb:22:in `call' f9bd9110 | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/executor.rb:14:in `call' f9bd9110 | /usr/share/gems/gems/rack-2.2.8/lib/rack/sendfile.rb:110:in `call' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/ssl.rb:77:in `call' f9bd9110 | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/host_authorization.rb:142:in `call' f9bd9110 | /usr/share/gems/gems/secure_headers-6.5.0/lib/secure_headers/middleware.rb:11:in `call' f9bd9110 | /usr/share/gems/gems/railties-6.1.7.6/lib/rails/engine.rb:539:in `call' f9bd9110 | /usr/share/gems/gems/railties-6.1.7.6/lib/rails/railtie.rb:207:in `public_send' f9bd9110 | /usr/share/gems/gems/railties-6.1.7.6/lib/rails/railtie.rb:207:in `method_missing' f9bd9110 | /usr/share/gems/gems/rack-2.2.8/lib/rack/urlmap.rb:74:in `block in call' f9bd9110 | /usr/share/gems/gems/rack-2.2.8/lib/rack/urlmap.rb:58:in `each' f9bd9110 | /usr/share/gems/gems/rack-2.2.8/lib/rack/urlmap.rb:58:in `call' f9bd9110 | /usr/share/gems/gems/puma-6.4.0/lib/puma/configuration.rb:272:in `call' f9bd9110 | /usr/share/gems/gems/puma-6.4.0/lib/puma/request.rb:100:in `block in handle_request' f9bd9110 | /usr/share/gems/gems/puma-6.4.0/lib/puma/thread_pool.rb:378:in `with_force_shutdown' f9bd9110 | /usr/share/gems/gems/puma-6.4.0/lib/puma/request.rb:99:in `handle_request' f9bd9110 | /usr/share/gems/gems/puma-6.4.0/lib/puma/server.rb:443:in `process_client' f9bd9110 | /usr/share/gems/gems/puma-6.4.0/lib/puma/server.rb:241:in `block in run' f9bd9110 | /usr/share/gems/gems/puma-6.4.0/lib/puma/thread_pool.rb:155:in `block in spawn_thread' f9bd9110 | /usr/share/gems/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context' 2024-01-11T10:02:21 [I|app|f9bd9110] Rendered api/v2/errors/standard_error.json.rabl within api/v2/layouts/error_layout (Duration: 1.0ms | Allocations: 241) 2024-01-11T10:02:21 [I|app|f9bd9110] Rendered layout api/v2/layouts/error_layout.json.erb (Duration: 5.2ms | Allocations: 5716) 2024-01-11T10:02:21 [I|app|f9bd9110] Completed 500 Internal Server Error in 64ms (Views: 6.3ms | ActiveRecord: 4.8ms | Allocations: 26056) 2024-01-11T10:02:21 [I|app|c9bb9bae] Started GET "/notification_recipients" for 172.24.144.158 at 2024-01-11 10:02:21 +0100 2024-01-11T10:02:21 [I|app|c9bb9bae] Processing by NotificationRecipientsController#index as JSON 2024-01-11T10:02:21 [I|app|c9bb9bae] Completed 200 OK in 9ms (Views: 0.1ms | ActiveRecord: 0.9ms | Allocations: 2256)