theforeman / foreman_fog_proxmox

Foreman plugin to add Proxmox compute resource based on fog-proxmox gem
GNU General Public License v3.0
106 stars 31 forks source link

OpenSSL 3 SSL Library Error: error:0A000126:SSL routines::unexpected eof while reading #325

Open Kariton opened 4 months ago

Kariton commented 4 months ago

Describe the bug I deployed Katello on a new EL9 (RockyLinux) machine and cant deploy VMs.

I can configure the compute resource and also see the existing VMs in the Virtual Machines tab. Association is also possible if the VM is registered.

In some places some stuff does not work. The error is: SSL_read: unexpected eof while reading (OpenSSL::SSL::SSLError) (Tried w/ and w/o "SSL verify peer" and full X509 cert in compute resources)

Where the error occurs:

This is a issue / new behavior of openssl. Explained here: https://github.com/openssl/openssl/discussions/22690#discussioncomment-7534909 TL;DR: proxmox does not send a "close_notify" at the end and openssl errors out. there is the option SSL_OP_IGNORE_UNEXPECTED_EOF to get the old "wrong" handling of openssl < 3.

The advertised workaround did not work for me. (configuration through /etc/pki/tls/openssl.cnf)

Is this something the plugin itself can handle?

katello log from provisioning ``` # foreman-rake errors:fetch_log request_id=797c3900 Foreman version: 3.10.0 Plugins: - foreman-tasks 9.1.1 - foreman_ansible 14.0.0 - foreman_bootdisk 21.2.2 - foreman_dhcp_browser 0.0.8 - foreman_discovery 24.0.1 - foreman_fog_proxmox 0.15.0 - foreman_git_templates 2.0.0 - foreman_hooks 0.3.17 - foreman_openscap 7.1.1 - foreman_remote_execution 13.0.0 - foreman_snapshot_management 3.0.0 - foreman_statistics 2.1.0 - foreman_vault 2.0.0 - foreman_webhooks 3.2.2 - katello 4.12.0 2024-05-24T08:52:49 [I|app|797c3900] Started POST "/hosts" for 172.16.0.50 at 2024-05-24 08:52:49 +0200 2024-05-24T08:52:49 [I|app|797c3900] Processing by HostsController#create as */* 2024-05-24T08:52:49 [I|app|797c3900] Parameters: {"authenticity_token"=>"4Houpthfvni81RFA840iYw32k7i4vGA6YAUvMvXJDDQwcIXKpqLbowR_JJb9HhSUYA8mDUfU_2HfthRVba7Dxg", "host"=>{"name"=>"vm-test", "organization_id"=>"1", "location_id"=>"2", "hostgroup_id"=>"2", "compute_profile_id"=>"2", "content_facet_attributes"=>{"content_source_id"=>"2", "lifecycle_environment_id"=>"1", "content_view_id"=>"10", "kickstart_repository_id"=>"123"}, "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "interfaces_attributes"=>{"0"=>{"type"=>"Nic::Managed", "mac"=>"BC:24:11:BB:F6:2C", "identifier"=>"", "name"=>"vm-test", "domain_id"=>"2", "subnet_id"=>"1", "subnet6_id"=>"2", "ip"=>"172.17.2.212", "ip6"=>"PREFIX:be24:11ff:febb:f62c", "managed"=>"1", "primary"=>"1", "provision"=>"1", "execution"=>"1", "virtual"=>"0", "tag"=>"", "attached_to"=>"", "compute_attributes"=>{"id"=>"net0", "model"=>"virtio", "bridge"=>"DMZ1", "tag"=>"", "rate"=>"", "queues"=>"", "firewall"=>"1", "link_down"=>"0"}}}, "compute_attributes"=>{"type"=>"qemu", "vmid"=>"117", "node_id"=>"vhost01", "start_after_create"=>"1", "pool"=>"", "config_attributes"=>{"description"=>"", "boot"=>"", "onboot"=>"0", "agent"=>"1", "kvm"=>"1", "vga"=>"std", "scsihw"=>"virtio-scsi-pci", "bios"=>"seabios", "cpu_type"=>"kvm64", "sockets"=>"1", "cores"=>"", "vcpus"=>"", "cpulimit"=>"", "cpuunits"=>"", "numa"=>"0", "spectre"=>"0", "pcid"=>"0", "ssbd"=>"0", "ibpb"=>"0", "virt_ssbd"=>"0", "amd_ssbd"=>"0", "amd_no_ssb"=>"0", "md_clear"=>"0", "pdpe1gb"=>"0", "hv_tlbflush"=>"0", "aes"=>"0", "hv_evmcs"=>"0", "memory"=>"", "balloon"=>"", "shares"=>"", "ostype"=>"debian", "arch"=>"amd64", "swap"=>"", "nameserver"=>"", "searchdomain"=>""}, "volumes_attributes"=>{"0"=>{"_delete"=>"", "storage_type"=>"hard_disk", "storage"=>"ssd-pool0", "controller"=>"virtio", "device"=>"0", "cache"=>"none", "size"=>"64", "id"=>"virtio0"}}}, "architecture_id"=>"1", "operatingsystem_id"=>"1", "provision_method"=>"build", "build"=>"1", "medium_id"=>"", "ptable_id"=>"143", "pxe_loader"=>"PXELinux BIOS", "disk"=>"", "root_pass"=>"[FILTERED]", "is_owned_by"=>"4-Users", "enabled"=>"1", "comment"=>"", "overwrite"=>"false"}, "media_selector"=>"synced_content", "fakepassword"=>"[FILTERED]"} 2024-05-24T08:52:49 [I|app|797c3900] Adding Compute instance for vm-test.example.com 2024-05-24T08:52:49 [W|app|797c3900] create vm: args={"type"=>"qemu", "vmid"=>"117", "node_id"=>"vhost01", "start_after_create"=>"1", "pool"=>"", "config_attributes"=>{"description"=>"", "boot"=>"", "onboot"=>"0", "agent"=>"1", "kvm"=>"1", "vga"=>"std", "scsihw"=>"virtio-scsi-pci", "bios"=>"seabios", "cpu_type"=>"kvm64", "sockets"=>"1", "cores"=>"", "vcpus"=>"", "cpulimit"=>"", "cpuunits"=>"", "numa"=>"0", "spectre"=>"0", "pcid"=>"0", "ssbd"=>"0", "ibpb"=>"0", "virt_ssbd"=>"0", "amd_ssbd"=>"0", "amd_no_ssb"=>"0", "md_clear"=>"0", "pdpe1gb"=>"0", "hv_tlbflush"=>"0", "aes"=>"0", "hv_evmcs"=>"0", "memory"=>"", "balloon"=>"", "shares"=>"", "ostype"=>"debian", "arch"=>"amd64", "swap"=>"", "nameserver"=>"", "searchdomain"=>"", "name"=>"vm-test.example.com"}, "volumes_attributes"=>{"0"=>{"storage_type"=>"hard_disk", "storage"=>"ssd-pool0", "controller"=>"virtio", "device"=>"0", "cache"=>"none", "size"=>"64", "id"=>"virtio0"}}, "name"=>"vm-test.example.com", "provision_method"=>"build", "firmware_type"=>:bios, "interfaces_attributes"=>{"0"=>{"id"=>"net0", "model"=>"virtio", "bridge"=>"DMZ1", "firewall"=>"1", "link_down"=>"0", "macaddr"=>"bc:24:11:bb:f6:2c", "ip"=>"172.17.2.212", "ip6"=>"PREFIX:be24:11ff:febb:f62c"}}} 2024-05-24T08:52:49 [W|app|797c3900] failed to create vm: SSL_read: unexpected eof while reading (OpenSSL::SSL::SSLError) 2024-05-24T08:52:49 [W|app|797c3900] Failed to create a compute PDC (Proxmox) instance vm-test.example.com: SSL_read: unexpected eof while reading (OpenSSL::SSL::SSLError) 797c3900 | 2024-05-24T08:52:49 [I|app|797c3900] Backtrace for 'Failed to create a compute PDC (Proxmox) instance vm-test.example.com: SSL_read: unexpected eof while reading (OpenSSL::SSL::SSLError) 797c3900 | ' error (Excon::Error::Socket): SSL_read: unexpected eof while reading (OpenSSL::SSL::SSLError) 797c3900 | /usr/share/ruby/openssl/buffering.rb:205:in `sysread_nonblock' 797c3900 | /usr/share/ruby/openssl/buffering.rb:205:in `read_nonblock' 797c3900 | /usr/share/gems/gems/excon-0.109.0/lib/excon/socket.rb:242:in `read_nonblock' 797c3900 | /usr/share/gems/gems/excon-0.109.0/lib/excon/socket.rb:89:in `block in readline' 797c3900 | /usr/share/gems/gems/excon-0.109.0/lib/excon/socket.rb:78:in `loop' 797c3900 | /usr/share/gems/gems/excon-0.109.0/lib/excon/socket.rb:78:in `readline' 797c3900 | /usr/share/gems/gems/excon-0.109.0/lib/excon/response.rb:73:in `block in parse' 797c3900 | /usr/share/gems/gems/excon-0.109.0/lib/excon/response.rb:72:in `loop' 797c3900 | /usr/share/gems/gems/excon-0.109.0/lib/excon/response.rb:72:in `parse' 797c3900 | /usr/share/gems/gems/excon-0.109.0/lib/excon/middlewares/response_parser.rb:7:in `response_call' 797c3900 | /usr/share/gems/gems/excon-0.109.0/lib/excon/connection.rb:467:in `response' 797c3900 | /usr/share/gems/gems/excon-0.109.0/lib/excon/connection.rb:298:in `request' 797c3900 | /usr/share/foreman/lib/foreman/http_proxy/excon_connection_extension.rb:13:in `request' 797c3900 | /usr/share/gems/gems/fog-core-2.4.0/lib/fog/core/connection.rb:79:in `request' 797c3900 | /usr/share/gems/gems/fog-proxmox-0.15.0/lib/fog/proxmox/core.rb:98:in `request' 797c3900 | /usr/share/gems/gems/fog-proxmox-0.15.0/lib/fog/proxmox/compute/requests/create_server.rb:28:in `create_server' 797c3900 | /usr/share/gems/gems/fog-proxmox-0.15.0/lib/fog/proxmox/compute/models/server.rb:92:in `request' 797c3900 | /usr/share/gems/gems/fog-proxmox-0.15.0/lib/fog/proxmox/compute/models/server.rb:99:in `save' 797c3900 | /usr/share/gems/gems/fog-proxmox-0.15.0/lib/fog/proxmox/compute/models/servers.rb:74:in `create' 797c3900 | /usr/share/gems/gems/foreman_fog_proxmox-0.15.0/app/models/foreman_fog_proxmox/proxmox_vm_commands.rb:49:in `create_vm' 797c3900 | /usr/share/foreman/app/models/concerns/orchestration/compute.rb:107:in `setCompute' 797c3900 | /usr/share/foreman/app/models/concerns/orchestration.rb:227:in `execute' 797c3900 | /usr/share/foreman/app/models/concerns/orchestration.rb:152:in `block in process' 797c3900 | /usr/share/foreman/app/models/concerns/orchestration.rb:144:in `each' 797c3900 | /usr/share/foreman/app/models/concerns/orchestration.rb:144:in `process' 797c3900 | /usr/share/foreman/app/models/concerns/orchestration.rb:44:in `around_save_orchestration' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/callbacks.rb:126:in `block in run_callbacks' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/callbacks.rb:137:in `run_callbacks' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/callbacks.rb:824:in `_run_save_callbacks' 797c3900 | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/callbacks.rb:457:in `create_or_update' 797c3900 | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/timestamp.rb:126:in `create_or_update' 797c3900 | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/persistence.rb:474:in `save' 797c3900 | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/validations.rb:47:in `save' 797c3900 | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/transactions.rb:298:in `block in save' 797c3900 | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/transactions.rb:354:in `block in with_transaction_returning_status' 797c3900 | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `block in transaction' 797c3900 | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' 797c3900 | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction' 797c3900 | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `transaction' 797c3900 | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/transactions.rb:350:in `with_transaction_returning_status' 797c3900 | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/transactions.rb:298:in `save' 797c3900 | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/suppressor.rb:44:in `save' 797c3900 | /usr/share/foreman/app/models/concerns/foreman/sti.rb:26:in `save' 797c3900 | /usr/share/foreman/app/controllers/hosts_controller.rb:100:in `create' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/abstract_controller/base.rb:228:in `process_action' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal/rendering.rb:30:in `process_action' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/abstract_controller/callbacks.rb:42:in `block in process_action' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/callbacks.rb:117:in `block in run_callbacks' 797c3900 | /usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/callbacks.rb:126:in `block in run_callbacks' 797c3900 | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/callbacks.rb:126:in `block in run_callbacks' 797c3900 | /usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/callbacks.rb:126:in `block in run_callbacks' 797c3900 | /usr/share/gems/gems/audited-5.4.3/lib/audited/sweeper.rb:16:in `around' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/callbacks.rb:126:in `block in run_callbacks' 797c3900 | /usr/share/gems/gems/audited-5.4.3/lib/audited/sweeper.rb:16:in `around' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/callbacks.rb:126:in `block in run_callbacks' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/callbacks.rb:137:in `run_callbacks' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/abstract_controller/callbacks.rb:41:in `process_action' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal/rescue.rb:22:in `process_action' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:203:in `block in instrument' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:203:in `instrument' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal/instrumentation.rb:33:in `process_action' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal/params_wrapper.rb:249:in `process_action' 797c3900 | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/railties/controller_runtime.rb:27:in `process_action' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/abstract_controller/base.rb:165:in `process' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/rendering.rb:39:in `process' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal.rb:190:in `dispatch' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal.rb:254:in `dispatch' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/routing/route_set.rb:50:in `dispatch' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/routing/route_set.rb:33:in `serve' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/journey/router.rb:50:in `block in serve' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/journey/router.rb:32:in `each' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/journey/router.rb:32:in `serve' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/routing/route_set.rb:842:in `call' 797c3900 | /usr/share/gems/gems/katello-4.12.0/lib/katello/middleware/organization_created_enforcer.rb:18:in `call' 797c3900 | /usr/share/gems/gems/katello-4.12.0/lib/katello/middleware/event_daemon.rb:10:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/static.rb:24:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/static.rb:24:in `call' 797c3900 | /usr/share/gems/gems/apipie-dsl-2.6.2/lib/apipie_dsl/static_dispatcher.rb:67:in `call' 797c3900 | /usr/share/gems/gems/apipie-rails-1.3.0/lib/apipie/static_dispatcher.rb:74:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/static.rb:24:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/static.rb:24:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/static.rb:24:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/static.rb:24:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/static.rb:24:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/static.rb:24:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/static.rb:24:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/static.rb:24:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/static.rb:24:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/static.rb:24:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/static.rb:24:in `call' 797c3900 | /usr/share/foreman/lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call' 797c3900 | /usr/share/foreman/lib/foreman/middleware/telemetry.rb:10:in `call' 797c3900 | /usr/share/gems/gems/apipie-rails-1.3.0/lib/apipie/middleware/checksum_in_headers.rb:27:in `call' 797c3900 | /usr/share/gems/gems/rack-2.2.8/lib/rack/tempfile_reaper.rb:15:in `call' 797c3900 | /usr/share/gems/gems/rack-2.2.8/lib/rack/etag.rb:27:in `call' 797c3900 | /usr/share/gems/gems/rack-2.2.8/lib/rack/conditional_get.rb:40:in `call' 797c3900 | /usr/share/gems/gems/rack-2.2.8/lib/rack/head.rb:12:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/http/permissions_policy.rb:22:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/http/content_security_policy.rb:19:in `call' 797c3900 | /usr/share/foreman/lib/foreman/middleware/logging_context_session.rb:22:in `call' 797c3900 | /usr/share/gems/gems/rack-2.2.8/lib/rack/session/abstract/id.rb:266:in `context' 797c3900 | /usr/share/gems/gems/rack-2.2.8/lib/rack/session/abstract/id.rb:260:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/cookies.rb:697:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/callbacks.rb:98:in `run_callbacks' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/callbacks.rb:26:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' 797c3900 | /usr/share/gems/gems/railties-6.1.7.7/lib/rails/rack/logger.rb:37:in `call_app' 797c3900 | /usr/share/gems/gems/railties-6.1.7.7/lib/rails/rack/logger.rb:28:in `call' 797c3900 | /usr/share/gems/gems/sprockets-rails-3.4.2/lib/sprockets/rails/quiet_assets.rb:13:in `call' 797c3900 | /usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/remote_ip.rb:81:in `call' 797c3900 | /usr/share/gems/gems/request_store-1.6.0/lib/request_store/middleware.rb:19:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/request_id.rb:26:in `call' 797c3900 | /usr/share/gems/gems/katello-4.12.0/lib/katello/prevent_json_parsing.rb:12:in `call' 797c3900 | /usr/share/gems/gems/rack-2.2.8/lib/rack/method_override.rb:24:in `call' 797c3900 | /usr/share/gems/gems/rack-2.2.8/lib/rack/runtime.rb:22:in `call' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/executor.rb:14:in `call' 797c3900 | /usr/share/gems/gems/rack-2.2.8/lib/rack/sendfile.rb:110:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/ssl.rb:77:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/host_authorization.rb:142:in `call' 797c3900 | /usr/share/gems/gems/secure_headers-6.5.0/lib/secure_headers/middleware.rb:11:in `call' 797c3900 | /usr/share/gems/gems/railties-6.1.7.7/lib/rails/engine.rb:539:in `call' 797c3900 | /usr/share/gems/gems/railties-6.1.7.7/lib/rails/railtie.rb:207:in `public_send' 797c3900 | /usr/share/gems/gems/railties-6.1.7.7/lib/rails/railtie.rb:207:in `method_missing' 797c3900 | /usr/share/gems/gems/rack-2.2.8/lib/rack/urlmap.rb:74:in `block in call' 797c3900 | /usr/share/gems/gems/rack-2.2.8/lib/rack/urlmap.rb:58:in `each' 797c3900 | /usr/share/gems/gems/rack-2.2.8/lib/rack/urlmap.rb:58:in `call' 797c3900 | /usr/share/gems/gems/puma-6.4.2/lib/puma/configuration.rb:272:in `call' 797c3900 | /usr/share/gems/gems/puma-6.4.2/lib/puma/request.rb:100:in `block in handle_request' 797c3900 | /usr/share/gems/gems/puma-6.4.2/lib/puma/thread_pool.rb:378:in `with_force_shutdown' 797c3900 | /usr/share/gems/gems/puma-6.4.2/lib/puma/request.rb:99:in `handle_request' 797c3900 | /usr/share/gems/gems/puma-6.4.2/lib/puma/server.rb:464:in `process_client' 797c3900 | /usr/share/gems/gems/puma-6.4.2/lib/puma/server.rb:245:in `block in run' 797c3900 | /usr/share/gems/gems/puma-6.4.2/lib/puma/thread_pool.rb:155:in `block in spawn_thread' 797c3900 | /usr/share/gems/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context' 2024-05-24T08:52:49 [W|app|797c3900] Rolling back due to a problem: [#, :setCompute], @created=1716533569.8761895, @timestamp=2024-05-24 06:52:49.928510765 UTC>] 2024-05-24T08:52:49 [I|app|797c3900] Processed 1 tasks from queue 'Host::Managed Main', completed 0/9 2024-05-24T08:52:49 [E|app|797c3900] Task 'Set up compute instance vm-test.example.com' *failed* 2024-05-24T08:52:49 [E|app|797c3900] Task 'Query instance details for vm-test.example.com' *canceled* 2024-05-24T08:52:49 [E|app|797c3900] Task 'Set IP addresses for vm-test.example.com' *canceled* 2024-05-24T08:52:49 [E|app|797c3900] Task 'Create DHCP Settings for vm-test.example.com' *canceled* 2024-05-24T08:52:49 [E|app|797c3900] Task 'Deploy TFTP PXELinux config for vm-test.example.com' *canceled* 2024-05-24T08:52:49 [E|app|797c3900] Task 'Deploy TFTP PXEGrub2 config for vm-test.example.com' *canceled* 2024-05-24T08:52:49 [E|app|797c3900] Task 'Deploy TFTP PXEGrub config for vm-test.example.com' *canceled* 2024-05-24T08:52:49 [E|app|797c3900] Task 'Deploy TFTP iPXE config for vm-test.example.com' *canceled* 2024-05-24T08:52:49 [E|app|797c3900] Task 'Fetch TFTP boot files for vm-test.example.com' *canceled* 2024-05-24T08:52:49 [E|app|797c3900] Failed to save: Failed to create a compute PDC (Proxmox) instance vm-test.example.com: SSL_read: unexpected eof while reading (OpenSSL::SSL::SSLError) 797c3900 | 2024-05-24T08:52:50 [I|app|797c3900] Rendered hosts/new.html.erb within layouts/application (Duration: 618.5ms | Allocations: 252593) 2024-05-24T08:52:50 [I|app|797c3900] Rendered layout layouts/application.html.erb (Duration: 618.7ms | Allocations: 252673) 2024-05-24T08:52:50 [W|app|797c3900] SSL_read: unexpected eof while reading (OpenSSL::SSL::SSLError) 2024-05-24T08:52:50 [I|app|797c3900] Backtrace for 'SSL_read: unexpected eof while reading (OpenSSL::SSL::SSLError)' error (ActionView::Template::Error): SSL_read: unexpected eof while reading (OpenSSL::SSL::SSLError) 797c3900 | /usr/share/ruby/openssl/buffering.rb:205:in `sysread_nonblock' 797c3900 | /usr/share/ruby/openssl/buffering.rb:205:in `read_nonblock' 797c3900 | /usr/share/gems/gems/excon-0.109.0/lib/excon/socket.rb:242:in `read_nonblock' 797c3900 | /usr/share/gems/gems/excon-0.109.0/lib/excon/socket.rb:89:in `block in readline' 797c3900 | /usr/share/gems/gems/excon-0.109.0/lib/excon/socket.rb:78:in `loop' 797c3900 | /usr/share/gems/gems/excon-0.109.0/lib/excon/socket.rb:78:in `readline' 797c3900 | /usr/share/gems/gems/excon-0.109.0/lib/excon/response.rb:73:in `block in parse' 797c3900 | /usr/share/gems/gems/excon-0.109.0/lib/excon/response.rb:72:in `loop' 797c3900 | /usr/share/gems/gems/excon-0.109.0/lib/excon/response.rb:72:in `parse' 797c3900 | /usr/share/gems/gems/excon-0.109.0/lib/excon/middlewares/response_parser.rb:7:in `response_call' 797c3900 | /usr/share/gems/gems/excon-0.109.0/lib/excon/connection.rb:467:in `response' 797c3900 | /usr/share/gems/gems/excon-0.109.0/lib/excon/connection.rb:298:in `request' 797c3900 | /usr/share/foreman/lib/foreman/http_proxy/excon_connection_extension.rb:13:in `request' 797c3900 | /usr/share/gems/gems/fog-core-2.4.0/lib/fog/core/connection.rb:79:in `request' 797c3900 | /usr/share/gems/gems/fog-proxmox-0.15.0/lib/fog/proxmox/core.rb:98:in `request' 797c3900 | /usr/share/gems/gems/fog-proxmox-0.15.0/lib/fog/proxmox/compute/requests/next_vmid.rb:27:in `next_vmid' 797c3900 | /usr/share/gems/gems/fog-proxmox-0.15.0/lib/fog/proxmox/compute/models/servers.rb:36:in `next_id' 797c3900 | /usr/share/gems/gems/foreman_fog_proxmox-0.15.0/app/models/foreman_fog_proxmox/proxmox_vm_new.rb:108:in `next_vmid' 797c3900 | /usr/share/gems/gems/foreman_fog_proxmox-0.15.0/app/models/foreman_fog_proxmox/proxmox_vm_new.rb:129:in `vm_instance_defaults' 797c3900 | /usr/share/gems/gems/foreman_fog_proxmox-0.15.0/app/models/foreman_fog_proxmox/proxmox_vm_new.rb:133:in `vm_typed_instance_defaults' 797c3900 | /usr/share/gems/gems/foreman_fog_proxmox-0.15.0/app/models/foreman_fog_proxmox/proxmox_vm_new.rb:198:in `new_typed_vm' 797c3900 | /usr/share/gems/gems/foreman_fog_proxmox-0.15.0/app/views/compute_resources_vms/form/proxmox/_base.html.erb:36:in `__usr_share_gems_gems_foreman_fog_proxmox________app_views_compute_resources_vms_form_proxmox__base_html_erb__4295284331691205227_134440' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/base.rb:247:in `public_send' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/base.rb:247:in `_run' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/template.rb:154:in `block in render' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:205:in `instrument' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/template.rb:345:in `instrument_render_template' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/template.rb:152:in `render' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/partial_renderer.rb:285:in `block in render_partial_template' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:203:in `block in instrument' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:203:in `instrument' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/partial_renderer.rb:280:in `render_partial_template' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/partial_renderer.rb:271:in `render' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/renderer.rb:81:in `render_partial_to_object' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/renderer.rb:27:in `render_to_object' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/renderer.rb:22:in `render' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/helpers/rendering_helper.rb:38:in `block in render' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/base.rb:273:in `in_rendering_context' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/helpers/rendering_helper.rb:34:in `render' 797c3900 | /usr/share/foreman/app/views/hosts/_compute_detail.html.erb:19:in `_app_views_hosts__compute_detail_html_erb___248167561976827117_134420' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/base.rb:247:in `public_send' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/base.rb:247:in `_run' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/template.rb:154:in `block in render' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:205:in `instrument' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/template.rb:345:in `instrument_render_template' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/template.rb:152:in `render' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/partial_renderer.rb:285:in `block in render_partial_template' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:203:in `block in instrument' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:203:in `instrument' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/partial_renderer.rb:280:in `render_partial_template' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/partial_renderer.rb:271:in `render' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/renderer.rb:81:in `render_partial_to_object' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/renderer.rb:27:in `render_to_object' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/renderer.rb:22:in `render' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/helpers/rendering_helper.rb:38:in `block in render' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/base.rb:273:in `in_rendering_context' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/helpers/rendering_helper.rb:34:in `render' 797c3900 | /usr/share/foreman/app/views/hosts/_compute.html.erb:8:in `block in _app_views_hosts__compute_html_erb___2637661636993999980_134020' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/helpers/capture_helper.rb:45:in `block in capture' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/helpers/capture_helper.rb:209:in `with_output_buffer' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/helpers/capture_helper.rb:45:in `capture' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/helpers/form_helper.rb:1004:in `fields_for' 797c3900 | /usr/share/foreman/app/views/hosts/_compute.html.erb:1:in `_app_views_hosts__compute_html_erb___2637661636993999980_134020' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/base.rb:247:in `public_send' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/base.rb:247:in `_run' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/template.rb:154:in `block in render' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:205:in `instrument' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/template.rb:345:in `instrument_render_template' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/template.rb:152:in `render' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/partial_renderer.rb:285:in `block in render_partial_template' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:203:in `block in instrument' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:203:in `instrument' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/partial_renderer.rb:280:in `render_partial_template' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/partial_renderer.rb:271:in `render' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/renderer.rb:81:in `render_partial_to_object' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/renderer.rb:53:in `render_partial' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/helpers/rendering_helper.rb:45:in `render' 797c3900 | /usr/share/foreman/app/views/hosts/_unattended.html.erb:2:in `_app_views_hosts__unattended_html_erb___1891774221725104285_121100' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/base.rb:247:in `public_send' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/base.rb:247:in `_run' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/template.rb:154:in `block in render' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:205:in `instrument' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/template.rb:345:in `instrument_render_template' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/template.rb:152:in `render' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/partial_renderer.rb:285:in `block in render_partial_template' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:203:in `block in instrument' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:203:in `instrument' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/partial_renderer.rb:280:in `render_partial_template' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/partial_renderer.rb:271:in `render' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/renderer.rb:81:in `render_partial_to_object' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/renderer.rb:53:in `render_partial' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/helpers/rendering_helper.rb:45:in `render' 797c3900 | /usr/share/foreman/app/views/hosts/_form.html.erb:123:in `block (2 levels) in _app_views_hosts__form_html_erb__3095347152611453947_120800' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/helpers/capture_helper.rb:45:in `block in capture' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/helpers/capture_helper.rb:209:in `with_output_buffer' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/helpers/capture_helper.rb:45:in `capture' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/helpers/form_helper.rb:450:in `form_for' 797c3900 | /usr/share/foreman/app/helpers/form_helper.rb:286:in `form_for' 797c3900 | /usr/share/foreman/app/views/hosts/_form.html.erb:7:in `block in _app_views_hosts__form_html_erb__3095347152611453947_120800' 797c3900 | /usr/share/foreman/app/models/taxonomy.rb:80:in `block (2 levels) in as_taxonomy' 797c3900 | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:195:in `as_location' 797c3900 | /usr/share/foreman/app/models/taxonomy.rb:79:in `block in as_taxonomy' 797c3900 | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:154:in `as_org' 797c3900 | /usr/share/foreman/app/models/taxonomy.rb:78:in `as_taxonomy' 797c3900 | /usr/share/foreman/app/views/hosts/_form.html.erb:6:in `_app_views_hosts__form_html_erb__3095347152611453947_120800' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/base.rb:247:in `public_send' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/base.rb:247:in `_run' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/template.rb:154:in `block in render' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:205:in `instrument' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/template.rb:345:in `instrument_render_template' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/template.rb:152:in `render' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/partial_renderer.rb:285:in `block in render_partial_template' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:203:in `block in instrument' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:203:in `instrument' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/partial_renderer.rb:280:in `render_partial_template' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/partial_renderer.rb:271:in `render' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/renderer.rb:81:in `render_partial_to_object' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/renderer.rb:27:in `render_to_object' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/renderer.rb:22:in `render' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/helpers/rendering_helper.rb:38:in `block in render' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/base.rb:273:in `in_rendering_context' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/helpers/rendering_helper.rb:34:in `render' 797c3900 | /usr/share/foreman/app/views/hosts/new.html.erb:2:in `_app_views_hosts_new_html_erb___1596246822464035911_120780' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/base.rb:247:in `public_send' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/base.rb:247:in `_run' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/template.rb:154:in `block in render' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:205:in `instrument' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/template.rb:345:in `instrument_render_template' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/template.rb:152:in `render' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/template_renderer.rb:61:in `block (2 levels) in render_template' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:203:in `block in instrument' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:203:in `instrument' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/template_renderer.rb:56:in `block in render_template' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/template_renderer.rb:71:in `block in render_with_layout' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:203:in `block in instrument' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:203:in `instrument' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/template_renderer.rb:70:in `render_with_layout' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/template_renderer.rb:55:in `render_template' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/template_renderer.rb:11:in `render' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/renderer.rb:61:in `render_template_to_object' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/renderer.rb:29:in `render_to_object' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/rendering.rb:117:in `block in _render_template' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/base.rb:273:in `in_rendering_context' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/rendering.rb:116:in `_render_template' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal/streaming.rb:218:in `_render_template' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/rendering.rb:103:in `render_to_body' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal/rendering.rb:52:in `render_to_body' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal/renderers.rb:142:in `render_to_body' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/abstract_controller/rendering.rb:25:in `render' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal/rendering.rb:36:in `render' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal/instrumentation.rb:46:in `block (2 levels) in render' 797c3900 | /usr/share/ruby/benchmark.rb:308:in `realtime' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/core_ext/benchmark.rb:14:in `ms' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal/instrumentation.rb:46:in `block in render' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal/instrumentation.rb:86:in `cleanup_view_runtime' 797c3900 | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/railties/controller_runtime.rb:34:in `cleanup_view_runtime' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal/instrumentation.rb:45:in `render' 797c3900 | /usr/share/foreman/app/controllers/application_controller.rb:316:in `process_error' 797c3900 | /usr/share/foreman/app/controllers/hosts_controller.rb:105:in `create' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/abstract_controller/base.rb:228:in `process_action' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal/rendering.rb:30:in `process_action' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/abstract_controller/callbacks.rb:42:in `block in process_action' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/callbacks.rb:117:in `block in run_callbacks' 797c3900 | /usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/callbacks.rb:126:in `block in run_callbacks' 797c3900 | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/callbacks.rb:126:in `block in run_callbacks' 797c3900 | /usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/callbacks.rb:126:in `block in run_callbacks' 797c3900 | /usr/share/gems/gems/audited-5.4.3/lib/audited/sweeper.rb:16:in `around' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/callbacks.rb:126:in `block in run_callbacks' 797c3900 | /usr/share/gems/gems/audited-5.4.3/lib/audited/sweeper.rb:16:in `around' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/callbacks.rb:126:in `block in run_callbacks' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/callbacks.rb:137:in `run_callbacks' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/abstract_controller/callbacks.rb:41:in `process_action' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal/rescue.rb:22:in `process_action' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:203:in `block in instrument' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:203:in `instrument' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal/instrumentation.rb:33:in `process_action' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal/params_wrapper.rb:249:in `process_action' 797c3900 | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/railties/controller_runtime.rb:27:in `process_action' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/abstract_controller/base.rb:165:in `process' 797c3900 | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/rendering.rb:39:in `process' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal.rb:190:in `dispatch' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal.rb:254:in `dispatch' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/routing/route_set.rb:50:in `dispatch' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/routing/route_set.rb:33:in `serve' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/journey/router.rb:50:in `block in serve' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/journey/router.rb:32:in `each' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/journey/router.rb:32:in `serve' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/routing/route_set.rb:842:in `call' 797c3900 | /usr/share/gems/gems/katello-4.12.0/lib/katello/middleware/organization_created_enforcer.rb:18:in `call' 797c3900 | /usr/share/gems/gems/katello-4.12.0/lib/katello/middleware/event_daemon.rb:10:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/static.rb:24:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/static.rb:24:in `call' 797c3900 | /usr/share/gems/gems/apipie-dsl-2.6.2/lib/apipie_dsl/static_dispatcher.rb:67:in `call' 797c3900 | /usr/share/gems/gems/apipie-rails-1.3.0/lib/apipie/static_dispatcher.rb:74:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/static.rb:24:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/static.rb:24:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/static.rb:24:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/static.rb:24:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/static.rb:24:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/static.rb:24:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/static.rb:24:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/static.rb:24:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/static.rb:24:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/static.rb:24:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/static.rb:24:in `call' 797c3900 | /usr/share/foreman/lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call' 797c3900 | /usr/share/foreman/lib/foreman/middleware/telemetry.rb:10:in `call' 797c3900 | /usr/share/gems/gems/apipie-rails-1.3.0/lib/apipie/middleware/checksum_in_headers.rb:27:in `call' 797c3900 | /usr/share/gems/gems/rack-2.2.8/lib/rack/tempfile_reaper.rb:15:in `call' 797c3900 | /usr/share/gems/gems/rack-2.2.8/lib/rack/etag.rb:27:in `call' 797c3900 | /usr/share/gems/gems/rack-2.2.8/lib/rack/conditional_get.rb:40:in `call' 797c3900 | /usr/share/gems/gems/rack-2.2.8/lib/rack/head.rb:12:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/http/permissions_policy.rb:22:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/http/content_security_policy.rb:19:in `call' 797c3900 | /usr/share/foreman/lib/foreman/middleware/logging_context_session.rb:22:in `call' 797c3900 | /usr/share/gems/gems/rack-2.2.8/lib/rack/session/abstract/id.rb:266:in `context' 797c3900 | /usr/share/gems/gems/rack-2.2.8/lib/rack/session/abstract/id.rb:260:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/cookies.rb:697:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/callbacks.rb:98:in `run_callbacks' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/callbacks.rb:26:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' 797c3900 | /usr/share/gems/gems/railties-6.1.7.7/lib/rails/rack/logger.rb:37:in `call_app' 797c3900 | /usr/share/gems/gems/railties-6.1.7.7/lib/rails/rack/logger.rb:28:in `call' 797c3900 | /usr/share/gems/gems/sprockets-rails-3.4.2/lib/sprockets/rails/quiet_assets.rb:13:in `call' 797c3900 | /usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/remote_ip.rb:81:in `call' 797c3900 | /usr/share/gems/gems/request_store-1.6.0/lib/request_store/middleware.rb:19:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/request_id.rb:26:in `call' 797c3900 | /usr/share/gems/gems/katello-4.12.0/lib/katello/prevent_json_parsing.rb:12:in `call' 797c3900 | /usr/share/gems/gems/rack-2.2.8/lib/rack/method_override.rb:24:in `call' 797c3900 | /usr/share/gems/gems/rack-2.2.8/lib/rack/runtime.rb:22:in `call' 797c3900 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/executor.rb:14:in `call' 797c3900 | /usr/share/gems/gems/rack-2.2.8/lib/rack/sendfile.rb:110:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/ssl.rb:77:in `call' 797c3900 | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_dispatch/middleware/host_authorization.rb:142:in `call' 797c3900 | /usr/share/gems/gems/secure_headers-6.5.0/lib/secure_headers/middleware.rb:11:in `call' 797c3900 | /usr/share/gems/gems/railties-6.1.7.7/lib/rails/engine.rb:539:in `call' 797c3900 | /usr/share/gems/gems/railties-6.1.7.7/lib/rails/railtie.rb:207:in `public_send' 797c3900 | /usr/share/gems/gems/railties-6.1.7.7/lib/rails/railtie.rb:207:in `method_missing' 797c3900 | /usr/share/gems/gems/rack-2.2.8/lib/rack/urlmap.rb:74:in `block in call' 797c3900 | /usr/share/gems/gems/rack-2.2.8/lib/rack/urlmap.rb:58:in `each' 797c3900 | /usr/share/gems/gems/rack-2.2.8/lib/rack/urlmap.rb:58:in `call' 797c3900 | /usr/share/gems/gems/puma-6.4.2/lib/puma/configuration.rb:272:in `call' 797c3900 | /usr/share/gems/gems/puma-6.4.2/lib/puma/request.rb:100:in `block in handle_request' 797c3900 | /usr/share/gems/gems/puma-6.4.2/lib/puma/thread_pool.rb:378:in `with_force_shutdown' 797c3900 | /usr/share/gems/gems/puma-6.4.2/lib/puma/request.rb:99:in `handle_request' 797c3900 | /usr/share/gems/gems/puma-6.4.2/lib/puma/server.rb:464:in `process_client' 797c3900 | /usr/share/gems/gems/puma-6.4.2/lib/puma/server.rb:245:in `block in run' 797c3900 | /usr/share/gems/gems/puma-6.4.2/lib/puma/thread_pool.rb:155:in `block in spawn_thread' 797c3900 | /usr/share/gems/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context' 2024-05-24T08:52:50 [I|app|797c3900] Rendered common/500.html.erb (Duration: 1.4ms | Allocations: 1074) 2024-05-24T08:52:50 [I|app|797c3900] Completed 500 Internal Server Error in 1157ms (Views: 1.8ms | ActiveRecord: 34.7ms | Allocations: 397821) ```

To Reproduce Steps to reproduce the behavior:

Openssl version:

OpenSSL 3.0.7 1 Nov 2022 (Library: OpenSSL 3.0.7 1 Nov 2022)

Katello version:

Foreman version: 3.10.0 Plugins:

  • foreman-tasks 9.1.1
  • foreman_ansible 14.0.0
  • foreman_bootdisk 21.2.2
  • foreman_dhcp_browser 0.0.8
  • foreman_discovery 24.0.1
  • foreman_fog_proxmox 0.15.0
  • foreman_git_templates 2.0.0
  • foreman_hooks 0.3.17
  • foreman_openscap 7.1.1
  • foreman_remote_execution 13.0.0
  • foreman_snapshot_management 3.0.0
  • foreman_statistics 2.1.0
    • foreman_vault 2.0.0
    • foreman_webhooks 3.2.2
    • katello 4.12.0

Proxmox version:

pve-manager/8.2.2/9355359cd7afbae4 (running kernel: 6.8.4-3-pve)

Expected behavior Successfully deployed VM.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

phantomdez commented 3 months ago

Have you figured anything out with this? I am having the same issue using the same versions of Foreman, Katello and the Proxmox Plugin. It was working when I was on Foreman 3.8 and Katello 4.10. I had issues upgrading so I decided to build from scratch and now I cannot get it to work again.

Kariton commented 3 months ago

@phantomdez on which OS runs your katello deployment?

phantomdez commented 3 months ago

Rocky Linux 9 just like you. I do have a signed certificate for my host through Let's Encrypt.

Kariton commented 3 months ago

All deployed as default. So with the self signed certificates from the deployment.

i have not enabled the verification in the compute resource. and all "tests" do succeed. and some stuff is possible.

SmithKeith commented 2 months ago

Any updates on this issue?

I'm seeing this problem when running:

OS: AlmaLinux 9.4 Foreman version: 3.11.0 Plugins:

Workaround:

A work around for this issue is to “Disassociate Hosts”, carry out any modifications, and then re-associate the VM in the compute resource.

Until this is fixed I'm going to have to roll back to Foreman running on EL8. :(

bencurio commented 2 weeks ago

I found a workaround here:

https://community.theforeman.org/t/ssl-error-on-create-image/37947/6 (Not recommended in prod)

I've tested it and it works on AlmaLinux 9.4.

Kariton commented 5 days ago

Thanks for sharing!

I'll try that in the upcoming weeks. Don't have the time the next few days.

Kariton commented 4 hours ago

indeed. those workarounds do help here. found other issues but unrelated to the initial report.