Actions
Bug #36064
closedHost cloning is broken
Description
When I try to clone the host with the content configured I'm getting 500 error. The log follows:
Foreman version: 3.6.0-develop Plugins: - foreman-tasks 7.2.0 - foreman_ansible 11.0.0 - foreman_azure_rm 2.2.9 - foreman_bootdisk 21.0.3 - foreman_discovery 22.0.2 - foreman_kubevirt 0.1.9 - foreman_leapp 0.1.12 - foreman_openscap 5.2.2 - foreman_puppet 5.0.0 - foreman_remote_execution 9.0.1 - foreman_rh_cloud 7.0.45 - foreman_templates 9.3.0 - foreman_virt_who_configure 0.5.12 - foreman_webhooks 3.0.5 - katello 4.8.0.pre.master 2023-02-08T19:39:02 [I|app|ddd9f46d] Started GET "/hosts/etta-frush.example.com/clone" for 192.168.22.2 at 2023-02-08 19:39:02 +0100 2023-02-08T19:39:02 [I|app|ddd9f46d] Processing by HostsController#clone as HTML 2023-02-08T19:39:02 [I|app|ddd9f46d] Parameters: {"id"=>"etta-frush.example.com"} 2023-02-08T19:39:05 [W|app|ddd9f46d] Scoped order is ignored, it's forced to be batch order. 2023-02-08T19:39:05 [W|app|ddd9f46d] Not queueing Host::Managed: ["Name can't be blank", "Name hostname can contain only lowercase letters, numbers, dashes and dots according to RFC921, RFC952 and RFC1123", "Medium must belong to host's operating system", "Jwt secret has already been taken"] 2023-02-08T19:39:05 [W|app|ddd9f46d] Not queueing Host::Managed: ["Name can't be blank", "Name hostname can contain only lowercase letters, numbers, dashes and dots according to RFC921, RFC952 and RFC1123", "Medium must belong to host's operating system", "Jwt secret has already been taken"] 2023-02-08T19:39:05 [W|app|ddd9f46d] Not queueing Host::Managed: ["Name can't be blank", "Name hostname can contain only lowercase letters, numbers, dashes and dots according to RFC921, RFC952 and RFC1123", "Medium must belong to host's operating system", "Jwt secret has already been taken"] 2023-02-08T19:39:05 [W|app|ddd9f46d] Not queueing Discovery reboot: Name can't be blank, Name hostname can contain only lowercase letters, numbers, dashes and dots according to RFC921, RFC952 and RFC1123, Medium must belong to host's operating system, Jwt secret has already been taken, and Medium CentOS 8 mirror does not belong to CentOS 8.2 operating system 2023-02-08T19:39:06 [I|app|ddd9f46d] Rendered hosts/clone.html.erb within layouts/application (Duration: 723.8ms | Allocations: 480744) 2023-02-08T19:39:06 [I|app|ddd9f46d] Rendered layout layouts/application.html.erb (Duration: 724.1ms | Allocations: 480799) 2023-02-08T19:39:06 [W|app|ddd9f46d] Lifecycle environment must be specified 2023-02-08T19:39:06 [I|app|ddd9f46d] Backtrace for 'Lifecycle environment must be specified' error (ActionView::Template::Error): Lifecycle environment must be specified ddd9f46d | /usr/share/gems/gems/katello-4.8.0.pre.master/app/models/katello/host/content_facet.rb:97:in `assign_single_environment' ddd9f46d | /usr/share/gems/gems/katello-4.8.0.pre.master/app/helpers/katello/hosts_and_hostgroups_helper.rb:347:in `hostgroup_content_facet' ddd9f46d | /usr/share/gems/gems/katello-4.8.0.pre.master/app/helpers/katello/hosts_and_hostgroups_helper.rb:212:in `kickstart_repository_options' ddd9f46d | /usr/share/foreman/app/views/common/os_selection/_operatingsystem.html.erb:7:in `block in _ec70ad082e4c0771d8de32e8237add2b' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/helpers/capture_helper.rb:45:in `block in capture' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/helpers/capture_helper.rb:209:in `with_output_buffer' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/helpers/capture_helper.rb:45:in `capture' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/helpers/form_helper.rb:1004:in `fields_for' ddd9f46d | /usr/share/foreman/app/views/common/os_selection/_operatingsystem.html.erb:1:in `_ec70ad082e4c0771d8de32e8237add2b' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/base.rb:247:in `public_send' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/base.rb:247:in `_run' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/template.rb:154:in `block in render' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications.rb:205:in `instrument' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/template.rb:345:in `instrument_render_template' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/template.rb:152:in `render' ddd9f46d | /usr/share/gems/gems/deface-1.5.3/lib/deface/action_view_extensions.rb:43:in `render' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/partial_renderer.rb:285:in `block in render_partial_template' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications.rb:203:in `block in instrument' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications/instrumenter.rb:24:in `instrument' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications.rb:203:in `instrument' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/partial_renderer.rb:280:in `render_partial_template' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/partial_renderer.rb:271:in `render' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/renderer.rb:81:in `render_partial_to_object' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/renderer.rb:53:in `render_partial' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/helpers/rendering_helper.rb:45:in `render' ddd9f46d | /usr/share/foreman/app/views/hosts/provision_method/build/_form.html.erb:6:in `_bc0257ded28ae287ab5d1211b7b576a5' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/base.rb:247:in `public_send' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/base.rb:247:in `_run' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/template.rb:154:in `block in render' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications.rb:205:in `instrument' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/template.rb:345:in `instrument_render_template' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/template.rb:152:in `render' ddd9f46d | /usr/share/gems/gems/deface-1.5.3/lib/deface/action_view_extensions.rb:43:in `render' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/partial_renderer.rb:285:in `block in render_partial_template' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications.rb:203:in `block in instrument' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications/instrumenter.rb:24:in `instrument' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications.rb:203:in `instrument' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/partial_renderer.rb:280:in `render_partial_template' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/partial_renderer.rb:271:in `render' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/renderer.rb:81:in `render_partial_to_object' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/renderer.rb:53:in `render_partial' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/helpers/rendering_helper.rb:45:in `render' ddd9f46d | /usr/share/foreman/app/views/hosts/_operating_system.html.erb:20:in `block in _643a8bead731c5521deb855a62905674' ddd9f46d | /usr/share/foreman/app/views/hosts/_operating_system.html.erb:18:in `each' ddd9f46d | /usr/share/foreman/app/views/hosts/_operating_system.html.erb:18:in `_643a8bead731c5521deb855a62905674' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/base.rb:247:in `public_send' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/base.rb:247:in `_run' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/template.rb:154:in `block in render' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications.rb:205:in `instrument' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/template.rb:345:in `instrument_render_template' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/template.rb:152:in `render' ddd9f46d | /usr/share/gems/gems/deface-1.5.3/lib/deface/action_view_extensions.rb:43:in `render' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/partial_renderer.rb:285:in `block in render_partial_template' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications.rb:203:in `block in instrument' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications/instrumenter.rb:24:in `instrument' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications.rb:203:in `instrument' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/partial_renderer.rb:280:in `render_partial_template' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/partial_renderer.rb:271:in `render' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/renderer.rb:81:in `render_partial_to_object' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/renderer.rb:53:in `render_partial' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/helpers/rendering_helper.rb:45:in `render' ddd9f46d | /usr/share/foreman/app/views/hosts/_unattended.html.erb:6:in `_7bd3136941ca87e598da6105c5dd5b47' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/base.rb:247:in `public_send' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/base.rb:247:in `_run' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/template.rb:154:in `block in render' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications.rb:205:in `instrument' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/template.rb:345:in `instrument_render_template' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/template.rb:152:in `render' ddd9f46d | /usr/share/gems/gems/deface-1.5.3/lib/deface/action_view_extensions.rb:43:in `render' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/partial_renderer.rb:285:in `block in render_partial_template' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications.rb:203:in `block in instrument' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications/instrumenter.rb:24:in `instrument' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications.rb:203:in `instrument' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/partial_renderer.rb:280:in `render_partial_template' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/partial_renderer.rb:271:in `render' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/renderer.rb:81:in `render_partial_to_object' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/renderer.rb:53:in `render_partial' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/helpers/rendering_helper.rb:45:in `render' ddd9f46d | /usr/share/foreman/app/views/hosts/_form.html.erb:125:in `block (2 levels) in _587961d42dc8c1c5c3a943e34df519d4' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/helpers/capture_helper.rb:45:in `block in capture' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/helpers/capture_helper.rb:209:in `with_output_buffer' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/helpers/capture_helper.rb:45:in `capture' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/helpers/form_helper.rb:450:in `form_for' ddd9f46d | /usr/share/foreman/app/helpers/form_helper.rb:286:in `form_for' ddd9f46d | /usr/share/foreman/app/views/hosts/_form.html.erb:7:in `block in _587961d42dc8c1c5c3a943e34df519d4' ddd9f46d | /usr/share/foreman/app/models/taxonomy.rb:80:in `block (2 levels) in as_taxonomy' ddd9f46d | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:195:in `as_location' ddd9f46d | /usr/share/foreman/app/models/taxonomy.rb:79:in `block in as_taxonomy' ddd9f46d | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:154:in `as_org' ddd9f46d | /usr/share/foreman/app/models/taxonomy.rb:78:in `as_taxonomy' ddd9f46d | /usr/share/foreman/app/views/hosts/_form.html.erb:6:in `_587961d42dc8c1c5c3a943e34df519d4' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/base.rb:247:in `public_send' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/base.rb:247:in `_run' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/template.rb:154:in `block in render' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications.rb:205:in `instrument' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/template.rb:345:in `instrument_render_template' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/template.rb:152:in `render' ddd9f46d | /usr/share/gems/gems/deface-1.5.3/lib/deface/action_view_extensions.rb:43:in `render' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/partial_renderer.rb:285:in `block in render_partial_template' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications.rb:203:in `block in instrument' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications/instrumenter.rb:24:in `instrument' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications.rb:203:in `instrument' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/partial_renderer.rb:280:in `render_partial_template' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/partial_renderer.rb:271:in `render' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/renderer.rb:81:in `render_partial_to_object' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/renderer.rb:27:in `render_to_object' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/renderer.rb:22:in `render' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/helpers/rendering_helper.rb:38:in `block in render' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/base.rb:273:in `in_rendering_context' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/helpers/rendering_helper.rb:34:in `render' ddd9f46d | /usr/share/foreman/app/views/hosts/clone.html.erb:3:in `_f0aa8d7b623b14335450600ef4836b78' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/base.rb:247:in `public_send' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/base.rb:247:in `_run' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/template.rb:154:in `block in render' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications.rb:205:in `instrument' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/template.rb:345:in `instrument_render_template' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/template.rb:152:in `render' ddd9f46d | /usr/share/gems/gems/deface-1.5.3/lib/deface/action_view_extensions.rb:43:in `render' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/template_renderer.rb:61:in `block (2 levels) in render_template' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications.rb:203:in `block in instrument' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications/instrumenter.rb:24:in `instrument' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications.rb:203:in `instrument' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/template_renderer.rb:56:in `block in render_template' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/template_renderer.rb:71:in `block in render_with_layout' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications.rb:203:in `block in instrument' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications/instrumenter.rb:24:in `instrument' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications.rb:203:in `instrument' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/template_renderer.rb:70:in `render_with_layout' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/template_renderer.rb:55:in `render_template' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/template_renderer.rb:11:in `render' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/renderer.rb:61:in `render_template_to_object' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/renderer/renderer.rb:29:in `render_to_object' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/rendering.rb:117:in `block in _render_template' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/base.rb:273:in `in_rendering_context' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/rendering.rb:116:in `_render_template' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_controller/metal/streaming.rb:218:in `_render_template' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/rendering.rb:103:in `render_to_body' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_controller/metal/rendering.rb:52:in `render_to_body' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_controller/metal/renderers.rb:142:in `render_to_body' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/abstract_controller/rendering.rb:25:in `render' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_controller/metal/rendering.rb:36:in `render' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_controller/metal/instrumentation.rb:46:in `block (2 levels) in render' ddd9f46d | /usr/share/ruby/benchmark.rb:308:in `realtime' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/core_ext/benchmark.rb:14:in `ms' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_controller/metal/instrumentation.rb:46:in `block in render' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_controller/metal/instrumentation.rb:86:in `cleanup_view_runtime' ddd9f46d | /usr/share/gems/gems/activerecord-6.1.7.2/lib/active_record/railties/controller_runtime.rb:34:in `cleanup_view_runtime' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_controller/metal/instrumentation.rb:45:in `render' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_controller/metal/implicit_render.rb:35:in `default_render' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_controller/metal/basic_implicit_render.rb:6:in `block in send_action' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_controller/metal/basic_implicit_render.rb:6:in `tap' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/abstract_controller/base.rb:228:in `process_action' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/abstract_controller/callbacks.rb:42:in `block in process_action' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/callbacks.rb:117:in `block in run_callbacks' ddd9f46d | /usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/callbacks.rb:126:in `block in run_callbacks' ddd9f46d | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/callbacks.rb:126:in `block in run_callbacks' ddd9f46d | /usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/callbacks.rb:126:in `block in run_callbacks' ddd9f46d | /usr/share/gems/gems/audited-5.2.0/lib/audited/sweeper.rb:16:in `around' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/callbacks.rb:126:in `block in run_callbacks' ddd9f46d | /usr/share/gems/gems/audited-5.2.0/lib/audited/sweeper.rb:16:in `around' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/callbacks.rb:126:in `block in run_callbacks' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/callbacks.rb:137:in `run_callbacks' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/abstract_controller/callbacks.rb:41:in `process_action' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_controller/metal/rescue.rb:22:in `process_action' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications.rb:203:in `block in instrument' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications/instrumenter.rb:24:in `instrument' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/notifications.rb:203:in `instrument' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_controller/metal/instrumentation.rb:33:in `process_action' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_controller/metal/params_wrapper.rb:249:in `process_action' ddd9f46d | /usr/share/gems/gems/activerecord-6.1.7.2/lib/active_record/railties/controller_runtime.rb:27:in `process_action' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/abstract_controller/base.rb:165:in `process' ddd9f46d | /usr/share/gems/gems/actionview-6.1.7.2/lib/action_view/rendering.rb:39:in `process' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_controller/metal.rb:190:in `dispatch' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_controller/metal.rb:254:in `dispatch' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/routing/route_set.rb:50:in `dispatch' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/routing/route_set.rb:33:in `serve' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/journey/router.rb:50:in `block in serve' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/journey/router.rb:32:in `each' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/journey/router.rb:32:in `serve' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/routing/route_set.rb:842:in `call' ddd9f46d | /usr/share/gems/gems/katello-4.8.0.pre.master/lib/katello/middleware/organization_created_enforcer.rb:18:in `call' ddd9f46d | /usr/share/gems/gems/katello-4.8.0.pre.master/lib/katello/middleware/event_daemon.rb:10:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/middleware/static.rb:24:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/middleware/static.rb:24:in `call' ddd9f46d | /usr/share/gems/gems/apipie-dsl-2.5.0/lib/apipie_dsl/static_dispatcher.rb:67:in `call' ddd9f46d | /usr/share/gems/gems/apipie-rails-0.8.2/lib/apipie/static_dispatcher.rb:68:in `call' ddd9f46d | /usr/share/gems/gems/apipie-rails-0.8.2/lib/apipie/extractor/recorder.rb:137:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/middleware/static.rb:24:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/middleware/static.rb:24:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/middleware/static.rb:24:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/middleware/static.rb:24:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/middleware/static.rb:24:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/middleware/static.rb:24:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/middleware/static.rb:24:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/middleware/static.rb:24:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/middleware/static.rb:24:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/middleware/static.rb:24:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/middleware/static.rb:24:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/middleware/static.rb:24:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/middleware/static.rb:24:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/middleware/static.rb:24:in `call' ddd9f46d | /usr/share/foreman/lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call' ddd9f46d | /usr/share/foreman/lib/foreman/middleware/telemetry.rb:10:in `call' ddd9f46d | /usr/share/gems/gems/apipie-rails-0.8.2/lib/apipie/middleware/checksum_in_headers.rb:27:in `call' ddd9f46d | /usr/share/gems/gems/rack-2.2.6.2/lib/rack/tempfile_reaper.rb:15:in `call' ddd9f46d | /usr/share/gems/gems/rack-2.2.6.2/lib/rack/etag.rb:27:in `call' ddd9f46d | /usr/share/gems/gems/rack-2.2.6.2/lib/rack/conditional_get.rb:27:in `call' ddd9f46d | /usr/share/gems/gems/rack-2.2.6.2/lib/rack/head.rb:12:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/http/permissions_policy.rb:22:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/http/content_security_policy.rb:19:in `call' ddd9f46d | /usr/share/foreman/lib/foreman/middleware/logging_context_session.rb:22:in `call' ddd9f46d | /usr/share/gems/gems/rack-2.2.6.2/lib/rack/session/abstract/id.rb:266:in `context' ddd9f46d | /usr/share/gems/gems/rack-2.2.6.2/lib/rack/session/abstract/id.rb:260:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/middleware/cookies.rb:697:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/callbacks.rb:98:in `run_callbacks' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/middleware/callbacks.rb:26:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' ddd9f46d | /usr/share/gems/gems/railties-6.1.7.2/lib/rails/rack/logger.rb:37:in `call_app' ddd9f46d | /usr/share/gems/gems/railties-6.1.7.2/lib/rails/rack/logger.rb:28:in `call' ddd9f46d | /usr/share/gems/gems/sprockets-rails-3.4.2/lib/sprockets/rails/quiet_assets.rb:13:in `call' ddd9f46d | /usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/middleware/remote_ip.rb:81:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/middleware/request_id.rb:26:in `call' ddd9f46d | /usr/share/gems/gems/katello-4.8.0.pre.master/lib/katello/prevent_json_parsing.rb:12:in `call' ddd9f46d | /usr/share/gems/gems/rack-2.2.6.2/lib/rack/method_override.rb:24:in `call' ddd9f46d | /usr/share/gems/gems/rack-2.2.6.2/lib/rack/runtime.rb:22:in `call' ddd9f46d | /usr/share/gems/gems/activesupport-6.1.7.2/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/middleware/executor.rb:14:in `call' ddd9f46d | /usr/share/gems/gems/rack-2.2.6.2/lib/rack/sendfile.rb:110:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/middleware/ssl.rb:77:in `call' ddd9f46d | /usr/share/gems/gems/actionpack-6.1.7.2/lib/action_dispatch/middleware/host_authorization.rb:142:in `call' ddd9f46d | /usr/share/gems/gems/secure_headers-6.5.0/lib/secure_headers/middleware.rb:11:in `call' ddd9f46d | /usr/share/gems/gems/railties-6.1.7.2/lib/rails/engine.rb:539:in `call' ddd9f46d | /usr/share/gems/gems/railties-6.1.7.2/lib/rails/railtie.rb:207:in `public_send' ddd9f46d | /usr/share/gems/gems/railties-6.1.7.2/lib/rails/railtie.rb:207:in `method_missing' ddd9f46d | /usr/share/gems/gems/rack-2.2.6.2/lib/rack/urlmap.rb:74:in `block in call' ddd9f46d | /usr/share/gems/gems/rack-2.2.6.2/lib/rack/urlmap.rb:58:in `each' ddd9f46d | /usr/share/gems/gems/rack-2.2.6.2/lib/rack/urlmap.rb:58:in `call' ddd9f46d | /usr/share/gems/gems/puma-5.6.5/lib/puma/configuration.rb:252:in `call' ddd9f46d | /usr/share/gems/gems/puma-5.6.5/lib/puma/request.rb:77:in `block in handle_request' ddd9f46d | /usr/share/gems/gems/puma-5.6.5/lib/puma/thread_pool.rb:340:in `with_force_shutdown' ddd9f46d | /usr/share/gems/gems/puma-5.6.5/lib/puma/request.rb:76:in `handle_request' ddd9f46d | /usr/share/gems/gems/puma-5.6.5/lib/puma/server.rb:443:in `process_client' ddd9f46d | /usr/share/gems/gems/puma-5.6.5/lib/puma/thread_pool.rb:147:in `block in spawn_thread' ddd9f46d | /usr/share/gems/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context' 2023-02-08T19:39:06 [I|app|ddd9f46d] Rendered common/500.html.erb within layouts/application (Duration: 10.5ms | Allocations: 7532) 2023-02-08T19:39:06 [I|app|ddd9f46d] Rendered layouts/base.html.erb (Duration: 8.4ms | Allocations: 10536) 2023-02-08T19:39:06 [I|app|ddd9f46d] Rendered layout layouts/application.html.erb (Duration: 30.3ms | Allocations: 31400) 2023-02-08T19:39:06 [I|app|ddd9f46d] Completed 500 Internal Server Error in 3195ms (Views: 31.1ms | ActiveRecord: 89.2ms | Allocations: 608795)
Updated by Ian Ballou almost 2 years ago
- Category set to Hosts
- Target version set to Katello 4.8.0
- Triaged changed from No to Yes
If this doesn't make 4.8.0, we should put it on 4.8.1. If if doesn't make 4.9.0, we'll need a bugzilla.
Updated by The Foreman Bot almost 2 years ago
- Status changed from New to Ready For Testing
- Assignee set to Jeremy Lenz
- Pull request https://github.com/Katello/katello/pull/10448 added
Updated by The Foreman Bot almost 2 years ago
- Fixed in Releases Katello 4.9.0 added
Updated by Jeremy Lenz almost 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|870746dc26734a7afbf7112bd6ed59b000755990.
Actions