Hi,
In the production log I see:
2026-08-04T08:46:05 [I|app|f44965d9] Started POST "/hosts" for 10.1.224.162 at 2026-08-04 08:46:05 +0000
2026-08-04T08:46:05 [I|app|f44965d9] Processing by HostsController#create as */*
2026-08-04T08:46:05 [I|app|f44965d9] Parameters: {"authenticity_token"=>"BwxkeQQ_HtsrAW2-EZW9el0KHPzXPm-uEXmd_Hvjeyj7hWErOaaJ0Cs4482nOsQ1TVS5VTX6Et3OD6pYp9RRLA", "host"=>{"name"=>"my-host", "organization_id"=>"1", "location_id"=>"11", "hostgroup_id"=>"3", "compute_resource_id"=>"10", "content_facet_attributes"=>{"content_source_id"=>"", "lifecycle_environment_id"=>"", "content_view_id"=>""}, "puppetclass_ids"=>[""], "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "interfaces_attributes"=>{"0"=>{"_destroy"=>"0", "type"=>"Nic::Managed", "mac"=>"", "identifier"=>"", "name"=>"my-host", "domain_id"=>"14", "subnet_id"=>"24", "ip"=>"", "ip6"=>"", "managed"=>"1", "primary"=>"1", "provision"=>"1", "execution"=>"1", "virtual"=>"0", "tag"=>"", "attached_to"=>""}}, "compute_attributes"=>{"machine_type"=>"n2-standard-4", "network"=>"corp-it-vpc-emea", "associate_external_ip"=>"0", "volumes_attributes"=>{"0"=>{"_delete"=>"", "disk_size_gb"=>"40"}}, "image_id"=>"8953124356797367975"}, "architecture_id"=>"1", "operatingsystem_id"=>"3", "provision_method"=>"image", "build"=>"1", "medium_id"=>"", "ptable_id"=>"", "pxe_loader"=>"Grub2 UEFI", "disk"=>"", "root_pass"=>"[FILTERED]", "is_owned_by"=>"5-Users", "enabled"=>"1", "comment"=>"", "overwrite"=>"false"}}
2026-08-04T08:46:05 [W|api|f44965d9] param host[puppetclass_*] has been deprecated in favor of host[puppet_attributes][puppetclass_*]
2026-08-04T08:46:05 [W|app|f44965d9] Scoped order is ignored, it's forced to be batch order.
2026-08-04T08:46:33 [I|app|f44965d9] Add realm entry for new host my-host.bel.gcp.my.domain
2026-08-04T08:46:34 [W|app|f44965d9] Could not find a provider for my-host.bel.gcp.my.domain. Providers returned {"MediumProviders::Default"=>["Ubuntu24.04_cloud 24.04 medium was not set for host 'my-host.bel.gcp.my.domain'", "Invalid medium '' for 'Ubuntu24.04_cloud 24.04'"], "Katello::ManagedContentMediumProvider"=>["Kickstart repository was not set for host 'my-host.bel.gcp.my.domain'", "Content source was not set for host 'my-host.bel.gcp.my.domain'"]}
2026-08-04T08:46:34 [W|app|f44965d9] Could not find a provider for my-host.bel.gcp.my.domain. Providers returned {"MediumProviders::Default"=>["Ubuntu24.04_cloud 24.04 medium was not set for host 'my-host.bel.gcp.my.domain'", "Invalid medium '' for 'Ubuntu24.04_cloud 24.04'"], "Katello::ManagedContentMediumProvider"=>["Kickstart repository was not set for host 'my-host.bel.gcp.my.domain'", "Content source was not set for host 'my-host.bel.gcp.my.domain'"]}
2026-08-04T08:46:34 [W|app|f44965d9] Could not find a provider for my-host.bel.gcp.my.domain. Providers returned {"MediumProviders::Default"=>["Ubuntu24.04_cloud 24.04 medium was not set for host 'my-host.bel.gcp.my.domain'", "Invalid medium '' for 'Ubuntu24.04_cloud 24.04'"], "Katello::ManagedContentMediumProvider"=>["Kickstart repository was not set for host 'my-host.bel.gcp.my.domain'", "Content source was not set for host 'my-host.bel.gcp.my.domain'"]}
2026-08-04T08:46:35 [W|app|f44965d9] Could not find a provider for my-host.bel.gcp.my.domain. Providers returned {"MediumProviders::Default"=>["Ubuntu24.04_cloud 24.04 medium was not set for host 'my-host.bel.gcp.my.domain'", "Invalid medium '' for 'Ubuntu24.04_cloud 24.04'"], "Katello::ManagedContentMediumProvider"=>["Kickstart repository was not set for host 'my-host.bel.gcp.my.domain'", "Content source was not set for host 'my-host.bel.gcp.my.domain'"]}
2026-08-04T08:46:35 [W|app|f44965d9] Could not find a provider for my-host.bel.gcp.my.domain. Providers returned {"MediumProviders::Default"=>["Ubuntu24.04_cloud 24.04 medium was not set for host 'my-host.bel.gcp.my.domain'", "Invalid medium '' for 'Ubuntu24.04_cloud 24.04'"], "Katello::ManagedContentMediumProvider"=>["Kickstart repository was not set for host 'my-host.bel.gcp.my.domain'", "Content source was not set for host 'my-host.bel.gcp.my.domain'"]}
2026-08-04T08:46:35 [W|app|f44965d9] Could not find a provider for my-host.bel.gcp.my.domain. Providers returned {"MediumProviders::Default"=>["Ubuntu24.04_cloud 24.04 medium was not set for host 'my-host.bel.gcp.my.domain'", "Invalid medium '' for 'Ubuntu24.04_cloud 24.04'"], "Katello::ManagedContentMediumProvider"=>["Kickstart repository was not set for host 'my-host.bel.gcp.my.domain'", "Content source was not set for host 'my-host.bel.gcp.my.domain'"]}
2026-08-04T08:46:35 [W|app|f44965d9] Could not find a provider for my-host.bel.gcp.my.domain. Providers returned {"MediumProviders::Default"=>["Ubuntu24.04_cloud 24.04 medium was not set for host 'my-host.bel.gcp.my.domain'", "Invalid medium '' for 'Ubuntu24.04_cloud 24.04'"], "Katello::ManagedContentMediumProvider"=>["Kickstart repository was not set for host 'my-host.bel.gcp.my.domain'", "Content source was not set for host 'my-host.bel.gcp.my.domain'"]}
2026-08-04T08:46:35 [W|app|f44965d9] Could not find a provider for my-host.bel.gcp.my.domain. Providers returned {"MediumProviders::Default"=>["Ubuntu24.04_cloud 24.04 medium was not set for host 'my-host.bel.gcp.my.domain'", "Invalid medium '' for 'Ubuntu24.04_cloud 24.04'"], "Katello::ManagedContentMediumProvider"=>["Kickstart repository was not set for host 'my-host.bel.gcp.my.domain'", "Content source was not set for host 'my-host.bel.gcp.my.domain'"]}
2026-08-04T08:46:35 [W|app|f44965d9] Could not find a provider for my-host.bel.gcp.my.domain. Providers returned {"MediumProviders::Default"=>["Ubuntu24.04_cloud 24.04 medium was not set for host 'my-host.bel.gcp.my.domain'", "Invalid medium '' for 'Ubuntu24.04_cloud 24.04'"], "Katello::ManagedContentMediumProvider"=>["Kickstart repository was not set for host 'my-host.bel.gcp.my.domain'", "Content source was not set for host 'my-host.bel.gcp.my.domain'"]}
2026-08-04T08:46:35 [W|app|f44965d9] Could not find a provider for my-host.bel.gcp.my.domain. Providers returned {"MediumProviders::Default"=>["Ubuntu24.04_cloud 24.04 medium was not set for host 'my-host.bel.gcp.my.domain'", "Invalid medium '' for 'Ubuntu24.04_cloud 24.04'"], "Katello::ManagedContentMediumProvider"=>["Kickstart repository was not set for host 'my-host.bel.gcp.my.domain'", "Content source was not set for host 'my-host.bel.gcp.my.domain'"]}
2026-08-04T08:46:35 [W|app|f44965d9] Could not find a provider for my-host.bel.gcp.my.domain. Providers returned {"MediumProviders::Default"=>["Ubuntu24.04_cloud 24.04 medium was not set for host 'my-host.bel.gcp.my.domain'", "Invalid medium '' for 'Ubuntu24.04_cloud 24.04'"], "Katello::ManagedContentMediumProvider"=>["Kickstart repository was not set for host 'my-host.bel.gcp.my.domain'", "Content source was not set for host 'my-host.bel.gcp.my.domain'"]}
2026-08-04T08:46:35 [W|app|f44965d9] Could not find a provider for my-host.bel.gcp.my.domain. Providers returned {"MediumProviders::Default"=>["Ubuntu24.04_cloud 24.04 medium was not set for host 'my-host.bel.gcp.my.domain'", "Invalid medium '' for 'Ubuntu24.04_cloud 24.04'"], "Katello::ManagedContentMediumProvider"=>["Kickstart repository was not set for host 'my-host.bel.gcp.my.domain'", "Content source was not set for host 'my-host.bel.gcp.my.domain'"]}
2026-08-04T08:46:35 [W|app|f44965d9] Could not find a provider for my-host.bel.gcp.my.domain. Providers returned {"MediumProviders::Default"=>["Ubuntu24.04_cloud 24.04 medium was not set for host 'my-host.bel.gcp.my.domain'", "Invalid medium '' for 'Ubuntu24.04_cloud 24.04'"], "Katello::ManagedContentMediumProvider"=>["Kickstart repository was not set for host 'my-host.bel.gcp.my.domain'", "Content source was not set for host 'my-host.bel.gcp.my.domain'"]}
2026-08-04T08:46:35 [I|app|f44965d9] Adding Compute instance for my-host.bel.gcp.my.domain
2026-08-04T08:47:29 [W|app|f44965d9] Failed to create a compute my_gcp_project_bel (europe-west1-b-Google) instance my-host.bel.gcp.my.domain: ERF50-1985 [Foreman::WrappedException]: Cannot insert instance! ([Google::Cloud::InvalidArgumentError]: An error has occurred when making a REST request: Invalid value for field 'resource.networkInterfaces[0].subnetwork': ''. Network interface must specify a subnet if the network resource is in custom subnet mode.)
f44965d9 |
2026-08-04T08:47:29 [I|app|f44965d9] Backtrace for 'Failed to create a compute my_gcp_project_bel (europe-west1-b-Google) instance my-host.bel.gcp.my.domain: ERF50-1985 [Foreman::WrappedException]: Cannot insert instance! ([Google::Cloud::InvalidArgumentError]: An error has occurred when making a REST request: Invalid value for field 'resource.networkInterfaces[0].subnetwork': ''. Network interface must specify a subnet if the network resource is in custom subnet mode.)
f44965d9 | ' error (Foreman::WrappedException): ERF50-1985 [Foreman::WrappedException]: Cannot insert instance! ([Google::Cloud::InvalidArgumentError]: An error has occurred when making a REST request: Invalid value for field 'resource.networkInterfaces[0].subnetwork': ''. Network interface must specify a subnet if the network resource is in custom subnet mode.)
f44965d9 | /usr/share/gems/gems/foreman_google-3.0.7/app/models/foreman_google/gce.rb:71:in `rescue in create_vm'
f44965d9 | /usr/share/gems/gems/foreman_google-3.0.7/app/models/foreman_google/gce.rb:60:in `create_vm'
f44965d9 | /usr/share/foreman/app/models/concerns/orchestration/compute.rb:112:in `setCompute'
f44965d9 | /usr/share/foreman/app/models/concerns/orchestration.rb:227:in `execute'
f44965d9 | /usr/share/foreman/app/models/concerns/orchestration.rb:149:in `block in process'
f44965d9 | /usr/share/foreman/app/models/concerns/orchestration.rb:141:in `each'
f44965d9 | /usr/share/foreman/app/models/concerns/orchestration.rb:141:in `process'
f44965d9 | /usr/share/foreman/app/models/concerns/orchestration.rb:41:in `around_save_orchestration'
f44965d9 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/callbacks.rb:127:in `block in run_callbacks'
f44965d9 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/callbacks.rb:138:in `run_callbacks'
f44965d9 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/callbacks.rb:929:in `_run_save_callbacks'
f44965d9 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/callbacks.rb:455:in `create_or_update'
f44965d9 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/timestamp.rb:126:in `create_or_update'
f44965d9 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/persistence.rb:615:in `save'
f44965d9 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/validations.rb:47:in `save'
f44965d9 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/transactions.rb:298:in `block in save'
f44965d9 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/transactions.rb:354:in `block in with_transaction_returning_status'
f44965d9 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction'
f44965d9 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
f44965d9 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
f44965d9 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
f44965d9 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
f44965d9 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction'
f44965d9 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/connection_adapters/abstract/database_statements.rb:316:in `transaction'
f44965d9 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/transactions.rb:350:in `with_transaction_returning_status'
f44965d9 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/transactions.rb:298:in `save'
f44965d9 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/suppressor.rb:50:in `save'
f44965d9 | /usr/share/foreman/app/controllers/hosts_controller.rb:102:in `create'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/abstract_controller/base.rb:215:in `process_action'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_controller/metal/rendering.rb:165:in `process_action'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/abstract_controller/callbacks.rb:234:in `block in process_action'
f44965d9 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
f44965d9 | /usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
f44965d9 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/callbacks.rb:127:in `block in run_callbacks'
f44965d9 | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
f44965d9 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/callbacks.rb:127:in `block in run_callbacks'
f44965d9 | /usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
f44965d9 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/callbacks.rb:127:in `block in run_callbacks'
f44965d9 | /usr/share/gems/gems/audited-5.8.0/lib/audited/sweeper.rb:16:in `around'
f44965d9 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/callbacks.rb:127:in `block in run_callbacks'
f44965d9 | /usr/share/gems/gems/audited-5.8.0/lib/audited/sweeper.rb:16:in `around'
f44965d9 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/callbacks.rb:127:in `block in run_callbacks'
f44965d9 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/callbacks.rb:138:in `run_callbacks'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/abstract_controller/callbacks.rb:233:in `process_action'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_controller/metal/rescue.rb:23:in `process_action'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_controller/metal/instrumentation.rb:67:in `block in process_action'
f44965d9 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/notifications.rb:206:in `block in instrument'
f44965d9 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
f44965d9 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/notifications.rb:206:in `instrument'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_controller/metal/instrumentation.rb:66:in `process_action'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'
f44965d9 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/abstract_controller/base.rb:151:in `process'
f44965d9 | /usr/share/gems/gems/actionview-7.0.10/lib/action_view/rendering.rb:39:in `process'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_controller/metal.rb:188:in `dispatch'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_controller/metal.rb:251:in `dispatch'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/routing/route_set.rb:32:in `serve'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/journey/router.rb:50:in `block in serve'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/journey/router.rb:32:in `each'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/journey/router.rb:32:in `serve'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/routing/route_set.rb:852:in `call'
f44965d9 | /usr/share/gems/gems/katello-4.21.0/lib/katello/middleware/organization_created_enforcer.rb:18:in `call'
f44965d9 | /usr/share/gems/gems/katello-4.21.0/lib/katello/middleware/event_daemon.rb:10:in `call'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/static.rb:23:in `call'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/static.rb:23:in `call'
f44965d9 | /usr/share/gems/gems/apipie-dsl-2.6.2/lib/apipie_dsl/static_dispatcher.rb:67:in `call'
f44965d9 | /usr/share/gems/gems/apipie-rails-1.5.0/lib/apipie/static_dispatcher.rb:72:in `call'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/static.rb:23:in `call'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/static.rb:23:in `call'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/static.rb:23:in `call'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/static.rb:23:in `call'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/static.rb:23:in `call'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/static.rb:23:in `call'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/static.rb:23:in `call'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/static.rb:23:in `call'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/static.rb:23:in `call'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/static.rb:23:in `call'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/static.rb:23:in `call'
f44965d9 | /usr/share/foreman/lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call'
f44965d9 | /usr/share/foreman/lib/foreman/middleware/telemetry.rb:10:in `call'
f44965d9 | /usr/share/gems/gems/apipie-rails-1.5.0/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
f44965d9 | /usr/share/gems/gems/rack-2.2.23/lib/rack/tempfile_reaper.rb:15:in `call'
f44965d9 | /usr/share/gems/gems/rack-2.2.23/lib/rack/etag.rb:27:in `call'
f44965d9 | /usr/share/gems/gems/rack-2.2.23/lib/rack/conditional_get.rb:40:in `call'
f44965d9 | /usr/share/gems/gems/rack-2.2.23/lib/rack/head.rb:12:in `call'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/http/permissions_policy.rb:38:in `call'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/http/content_security_policy.rb:39:in `call'
f44965d9 | /usr/share/foreman/lib/foreman/middleware/logging_context_session.rb:22:in `call'
f44965d9 | /usr/share/gems/gems/rack-2.2.23/lib/rack/session/abstract/id.rb:266:in `context'
f44965d9 | /usr/share/gems/gems/rack-2.2.23/lib/rack/session/abstract/id.rb:260:in `call'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/cookies.rb:704:in `call'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
f44965d9 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/callbacks.rb:99:in `run_callbacks'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/debug_exceptions.rb:28:in `call'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/show_exceptions.rb:29:in `call'
f44965d9 | /usr/share/gems/gems/railties-7.0.10/lib/rails/rack/logger.rb:40:in `call_app'
f44965d9 | /usr/share/gems/gems/railties-7.0.10/lib/rails/rack/logger.rb:27:in `call'
f44965d9 | /usr/share/gems/gems/sprockets-rails-3.5.2/lib/sprockets/rails/quiet_assets.rb:17:in `call'
f44965d9 | /usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:in `call'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/remote_ip.rb:93:in `call'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/request_id.rb:26:in `call'
f44965d9 | /usr/share/gems/gems/katello-4.21.0/lib/katello/prevent_json_parsing.rb:12:in `call'
f44965d9 | /usr/share/gems/gems/rack-2.2.23/lib/rack/method_override.rb:24:in `call'
f44965d9 | /usr/share/gems/gems/rack-2.2.23/lib/rack/runtime.rb:22:in `call'
f44965d9 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/executor.rb:14:in `call'
f44965d9 | /usr/share/gems/gems/rack-2.2.23/lib/rack/sendfile.rb:127:in `call'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/ssl.rb:77:in `call'
f44965d9 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/host_authorization.rb:131:in `call'
f44965d9 | /usr/share/gems/gems/secure_headers-7.1.0/lib/secure_headers/middleware.rb:11:in `call'
f44965d9 | /usr/share/gems/gems/railties-7.0.10/lib/rails/engine.rb:531:in `call'
f44965d9 | /usr/share/gems/gems/railties-7.0.10/lib/rails/railtie.rb:226:in `public_send'
f44965d9 | /usr/share/gems/gems/railties-7.0.10/lib/rails/railtie.rb:226:in `method_missing'
f44965d9 | /usr/share/gems/gems/rack-2.2.23/lib/rack/urlmap.rb:74:in `block in call'
f44965d9 | /usr/share/gems/gems/rack-2.2.23/lib/rack/urlmap.rb:58:in `each'
f44965d9 | /usr/share/gems/gems/rack-2.2.23/lib/rack/urlmap.rb:58:in `call'
f44965d9 | /usr/share/gems/gems/puma-6.6.1/lib/puma/configuration.rb:279:in `call'
f44965d9 | /usr/share/gems/gems/puma-6.6.1/lib/puma/request.rb:99:in `block in handle_request'
f44965d9 | /usr/share/gems/gems/puma-6.6.1/lib/puma/thread_pool.rb:390:in `with_force_shutdown'
f44965d9 | /usr/share/gems/gems/puma-6.6.1/lib/puma/request.rb:98:in `handle_request'
f44965d9 | /usr/share/gems/gems/puma-6.6.1/lib/puma/server.rb:472:in `process_client'
f44965d9 | /usr/share/gems/gems/puma-6.6.1/lib/puma/server.rb:254:in `block in run'
f44965d9 | /usr/share/gems/gems/puma-6.6.1/lib/puma/thread_pool.rb:167:in `block in spawn_thread'
f44965d9 | /usr/share/gems/gems/logging-2.4.0/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
2026-08-04T08:47:29 [W|app|f44965d9] Rolling back due to a problem: [#<Orchestration::Task:0x00007ffa6a170478 @name="Set up compute instance my-host.bel.gcp.my.domain", @id="Set up compute instance my-host.bel.gcp.my.domain", @status="failed", @priority=3, @action=[#<Host::Managed id: nil, name: "my-host.bel.gcp.my.domain", last_compile: nil, last_report: nil, updated_at: nil, created_at: nil, root_pass: nil, architecture_id: 1, operatingsystem_id: 3, ptable_id: nil, medium_id: nil, build: true, comment: "", disk: "", installed_at: nil, model_id: nil, hostgroup_id: 3, owner_id: 5, owner_type: "User", enabled: true, puppet_ca_proxy_id: 1, managed: true, use_image: nil, image_file: nil, uuid: nil, compute_resource_id: 10, puppet_proxy_id: 1, certname: nil, image_id: 19, organization_id: 1, location_id: 11, type: "Host::Managed", otp: "7YzaHGPNvkmPThOyC5ij02C", realm_id: 1, compute_profile_id: 5, provision_method: "image", grub_pass: nil, global_status: 0, lookup_value_matcher: [FILTERED], pxe_loader: "Grub2 UEFI", initiated_at: nil, build_errors: nil, creator_id: nil, discovery_rule_id: nil>, :setCompute], @created=1785833193.3124583, @timestamp=2026-08-04 08:47:29.631587649 UTC>]
2026-08-04T08:47:29 [I|app|f44965d9] Delete realm entry for my-host.bel.gcp.my.domain
2026-08-04T08:47:35 [I|app|f44965d9] Processed 3 tasks from queue 'Host::Managed Main', completed 0/5
2026-08-04T08:47:35 [E|app|f44965d9] Task 'Create realm entry for my-host.bel.gcp.my.domain' *rollbacked*
2026-08-04T08:47:35 [E|app|f44965d9] Task 'Check renderability of template '50_Finish_Default'.' *rollbacked*
2026-08-04T08:47:35 [E|app|f44965d9] Task 'Set up compute instance my-host.bel.gcp.my.domain' *failed*
2026-08-04T08:47:35 [E|app|f44965d9] Task 'Acquire IP addresses for my-host.bel.gcp.my.domain' *canceled*
2026-08-04T08:47:35 [E|app|f44965d9] Task 'Query instance details for my-host.bel.gcp.my.domain' *canceled*
2026-08-04T08:47:35 [W|api|f44965d9] param host[puppetclass_*] has been deprecated in favor of host[puppet_attributes][puppetclass_*]
2026-08-04T08:47:35 [W|api|f44965d9] param host[puppetclass_*] has been deprecated in favor of host[puppet_attributes][puppetclass_*]
2026-08-04T08:47:35 [W|api|f44965d9] param host[puppetclass_*] has been deprecated in favor of host[puppet_attributes][puppetclass_*]
2026-08-04T08:47:35 [E|app|f44965d9] Failed to save: Failed to create a compute my_gcp_project_bel (europe-west1-b-Google) instance my-host.bel.gcp.my.domain: ERF50-1985 [Foreman::WrappedException]: Cannot insert instance! ([Google::Cloud::InvalidArgumentError]: An error has occurred when making a REST request: Invalid value for field 'resource.networkInterfaces[0].subnetwork': ''. Network interface must specify a subnet if the network resource is in custom subnet mode.)
f44965d9 |
2026-08-04T08:48:03 [I|app|f44965d9] Rendered hosts/new.html.erb within layouts/application (Duration: 28110.3ms | Allocations: 427813)
2026-08-04T08:48:03 [I|app|f44965d9] Rendered layouts/base.html.erb (Duration: 22.3ms | Allocations: 20803)
2026-08-04T08:48:03 [I|app|f44965d9] Rendered layout layouts/application.html.erb (Duration: 28134.4ms | Allocations: 449103)
2026-08-04T08:48:03 [I|app|f44965d9] Completed 200 OK in 117872ms (Views: 28104.2ms | ActiveRecord: 76.2ms | Allocations: 1336650)
Thanks,
Tania