-
Sub-task
-
Resolution: Done
-
Undefined
-
None
-
None
-
0
-
False
-
-
False
-
0
-
Rocket
-
-
+++ This bug was initially created as a clone of Bug #2255264 +++
Description of problem:
The build status still shows `Pending Installation` even after the Bootdisk provisioning is successful and the host is registered and has content access for the repos through Activation key selected
Version-Release number of selected component (if applicable):
6.15
How reproducible:
Always
Steps to Reproduce:
1. Configure a Satellite for provisioning
2. Create a VMware CR
3. Create a host on VMware using the bootdisk method
Actual results:
After successful host provisioning The build status still shows `Pending Installation`
Expected results:
After successful host provisioning The build status should show `Installed`
Additional info:
This is observed only on VMware 8 specifically for Bootdisk provisioning. Vmware 7 works as expected.
— Additional comment from on 2023-12-20T10:32:58Z
Well, if Pending Installation is displayed, that means the provisioning was not successful. Typically, the last step of calling home did not work for some reason. Can you please capture production.log from the provisioning process? Also any logs from the installation would be helpful, e.g. logs from Anaconda. Very often, it means the networking isn't configured correctly and the provisioned machine can't reach out to the Satellite/Capsule. Or DNS does not work correctly.
— Additional comment from on 2024-01-04T13:38:30Z
I don't think that the networking is configured incorrectly as I observed that the host is registered successfully to the satellite and it has access to the content provided in the Activation key, also rex works fine here. The same setup is working for VMware 7 with no issues.
From the logs-> `unattended: rosa-corbitt.ogtjustaxc.foo is built!` after this it tries to detach the ISO image where it fails.
Production log:
2024-01-04T08:03:29 [I|app|a9ad52ad] Started POST "/unattended/built?token=3b053a95-12bf-4014-a9c0-deebc6207817&Content-Type=text%2Fplain&url=http%3A%2F%2Fdhcp-2-188.vms.sat.rdu2.redhat.com%3A8000" for 10.1.5.52 at 2024-01-04 08:03:29 -0500
2024-01-04T08:03:29 [I|app|a9ad52ad] Processing by UnattendedController#built as TEXT
2024-01-04T08:03:29 [I|app|a9ad52ad] Parameters:
2024-01-04T08:03:29 [I|app|a9ad52ad] unattended: rosa-corbitt.ogtjustaxc.foo is built!
2024-01-04T08:03:30 [I|app|a9ad52ad] Deploying TFTP PXELinux configuration for rosa-corbitt.ogtjustaxc.foo
2024-01-04T08:03:30 [I|app|a9ad52ad] Deploying TFTP PXEGrub2 configuration for rosa-corbitt.ogtjustaxc.foo
2024-01-04T08:03:30 [I|app|a9ad52ad] Deploying TFTP PXEGrub configuration for rosa-corbitt.ogtjustaxc.foo
2024-01-04T08:03:30 [I|app|a9ad52ad] Deploying TFTP iPXE configuration for rosa-corbitt.ogtjustaxc.foo
2024-01-04T08:03:30 [I|app|a9ad52ad] Detaching ISO image from CDROM drive for rosa-corbitt.ogtjustaxc.foo
2024-01-04T08:03:30 [W|app|a9ad52ad] Failed to detach ISO image from CDROM drive of instance rosa-corbitt.ogtjustaxc.foo: InvalidPowerState: The attempted operation cannot be performed in the current state (Powered on).
2024-01-04T08:03:30 [I|app|a9ad52ad] Backtrace for 'Failed to detach ISO image from CDROM drive of instance rosa-corbitt.ogtjustaxc.foo: InvalidPowerState: The attempted operation cannot be performed in the current state (Powered on).' error (RbVmomi::Fault): InvalidPowerState: The attempted operation cannot be performed in the current state (Powered on).
a9ad52ad | /usr/share/gems/gems/rbvmomi2-3.7.0/lib/rbvmomi/vim/Task.rb:15:in `wait_for_completion'
a9ad52ad | /usr/share/gems/gems/fog-vsphere-3.6.2/lib/fog/vsphere/requests/compute/vm_reconfig_hardware.rb:10:in `vm_reconfig_hardware'
a9ad52ad | /usr/share/gems/gems/fog-vsphere-3.6.2/lib/fog/vsphere/requests/compute/vm_reconfig_cdrom.rb:32:in `vm_reconfig_cdrom'
a9ad52ad | /usr/share/gems/gems/foreman_bootdisk-21.2.1/app/models/concerns/foreman_bootdisk/compute_resources/vmware.rb:56:in `iso_detach'
a9ad52ad | /usr/share/gems/gems/foreman_bootdisk-21.2.1/app/models/concerns/foreman_bootdisk/orchestration/compute.rb:67:in `bootdisk_detach_iso'
a9ad52ad | /usr/share/gems/gems/foreman_bootdisk-21.2.1/app/models/concerns/foreman_bootdisk/orchestration/compute.rb:98:in `setDetachIsoImage'
a9ad52ad | /usr/share/foreman/app/models/concerns/orchestration.rb:227:in `execute'
a9ad52ad | /usr/share/foreman/app/models/concerns/orchestration.rb:152:in `block in process'
a9ad52ad | /usr/share/foreman/app/models/concerns/orchestration.rb:144:in `each'
a9ad52ad | /usr/share/foreman/app/models/concerns/orchestration.rb:144:in `process'
a9ad52ad | /usr/share/foreman/app/models/concerns/orchestration.rb:44:in `around_save_orchestration'
a9ad52ad | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
a9ad52ad | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:137:in `run_callbacks'
a9ad52ad | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:824:in `_run_save_callbacks'
a9ad52ad | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/callbacks.rb:457:in `create_or_update'
a9ad52ad | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/timestamp.rb:126:in `create_or_update'
a9ad52ad | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/persistence.rb:474:in `save'
a9ad52ad | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/validations.rb:47:in `save'
a9ad52ad | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/transactions.rb:298:in `block in save'
a9ad52ad | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/transactions.rb:354:in `block in with_transaction_returning_status'
a9ad52ad | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `block in transaction'
a9ad52ad | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction'
a9ad52ad | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
a9ad52ad | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
a9ad52ad | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
a9ad52ad | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
a9ad52ad | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
a9ad52ad | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction'
a9ad52ad | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `transaction'
a9ad52ad | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/transactions.rb:350:in `with_transaction_returning_status'
a9ad52ad | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/transactions.rb:298:in `save'
a9ad52ad | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/suppressor.rb:44:in `save'
a9ad52ad | /usr/share/foreman/app/models/concerns/foreman/sti.rb:26:in `save'
a9ad52ad | /usr/share/foreman/app/models/host/managed.rb:385:in `built'
a9ad52ad | /usr/share/foreman/app/models/concerns/hostext/ui_notifications.rb:9:in `built'
a9ad52ad | /usr/share/foreman/app/controllers/unattended_controller.rb:30:in `built'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/abstract_controller/base.rb:228:in `process_action'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/rendering.rb:30:in `process_action'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
a9ad52ad | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
a9ad52ad | /usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
a9ad52ad | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
a9ad52ad | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
a9ad52ad | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
a9ad52ad | /usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
a9ad52ad | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
a9ad52ad | /usr/share/gems/gems/audited-5.4.2/lib/audited/sweeper.rb:16:in `around'
a9ad52ad | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
a9ad52ad | /usr/share/gems/gems/audited-5.4.2/lib/audited/sweeper.rb:16:in `around'
a9ad52ad | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
a9ad52ad | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:137:in `run_callbacks'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/abstract_controller/callbacks.rb:41:in `process_action'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/rescue.rb:22:in `process_action'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
a9ad52ad | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/notifications.rb:203:in `block in instrument'
a9ad52ad | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
a9ad52ad | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/notifications.rb:203:in `instrument'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/instrumentation.rb:33:in `process_action'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'
a9ad52ad | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/abstract_controller/base.rb:165:in `process'
a9ad52ad | /usr/share/gems/gems/actionview-6.1.7.6/lib/action_view/rendering.rb:39:in `process'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal.rb:190:in `dispatch'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal.rb:254:in `dispatch'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/routing/route_set.rb:33:in `serve'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/journey/router.rb:50:in `block in serve'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/journey/router.rb:32:in `each'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/journey/router.rb:32:in `serve'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/routing/route_set.rb:842:in `call'
a9ad52ad | /usr/share/gems/gems/katello-4.11.0/lib/katello/middleware/organization_created_enforcer.rb:18:in `call'
a9ad52ad | /usr/share/gems/gems/katello-4.11.0/lib/katello/middleware/event_daemon.rb:10:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
a9ad52ad | /usr/share/gems/gems/apipie-dsl-2.6.1/lib/apipie_dsl/static_dispatcher.rb:67:in `call'
a9ad52ad | /usr/share/gems/gems/apipie-rails-1.2.3/lib/apipie/static_dispatcher.rb:68:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
a9ad52ad | /usr/share/foreman/lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call'
a9ad52ad | /usr/share/foreman/lib/foreman/middleware/telemetry.rb:10:in `call'
a9ad52ad | /usr/share/gems/gems/apipie-rails-1.2.3/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
a9ad52ad | /usr/share/gems/gems/rack-2.2.8/lib/rack/tempfile_reaper.rb:15:in `call'
a9ad52ad | /usr/share/gems/gems/rack-2.2.8/lib/rack/etag.rb:27:in `call'
a9ad52ad | /usr/share/gems/gems/rack-2.2.8/lib/rack/conditional_get.rb:40:in `call'
a9ad52ad | /usr/share/gems/gems/rack-2.2.8/lib/rack/head.rb:12:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/http/permissions_policy.rb:22:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/http/content_security_policy.rb:19:in `call'
a9ad52ad | /usr/share/foreman/lib/foreman/middleware/logging_context_session.rb:22:in `call'
a9ad52ad | /usr/share/gems/gems/rack-2.2.8/lib/rack/session/abstract/id.rb:266:in `context'
a9ad52ad | /usr/share/gems/gems/rack-2.2.8/lib/rack/session/abstract/id.rb:260:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/cookies.rb:697:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
a9ad52ad | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:98:in `run_callbacks'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
a9ad52ad | /usr/share/gems/gems/railties-6.1.7.6/lib/rails/rack/logger.rb:37:in `call_app'
a9ad52ad | /usr/share/gems/gems/railties-6.1.7.6/lib/rails/rack/logger.rb:28:in `call'
a9ad52ad | /usr/share/gems/gems/sprockets-rails-3.4.2/lib/sprockets/rails/quiet_assets.rb:13:in `call'
a9ad52ad | /usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
a9ad52ad | /usr/share/gems/gems/request_store-1.5.1/lib/request_store/middleware.rb:19:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/request_id.rb:26:in `call'
a9ad52ad | /usr/share/gems/gems/katello-4.11.0/lib/katello/prevent_json_parsing.rb:12:in `call'
a9ad52ad | /usr/share/gems/gems/rack-2.2.8/lib/rack/method_override.rb:24:in `call'
a9ad52ad | /usr/share/gems/gems/rack-2.2.8/lib/rack/runtime.rb:22:in `call'
a9ad52ad | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/executor.rb:14:in `call'
a9ad52ad | /usr/share/gems/gems/rack-2.2.8/lib/rack/sendfile.rb:110:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/ssl.rb:77:in `call'
a9ad52ad | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'
a9ad52ad | /usr/share/gems/gems/secure_headers-6.5.0/lib/secure_headers/middleware.rb:11:in `call'
a9ad52ad | /usr/share/gems/gems/railties-6.1.7.6/lib/rails/engine.rb:539:in `call'
a9ad52ad | /usr/share/gems/gems/railties-6.1.7.6/lib/rails/railtie.rb:207:in `public_send'
a9ad52ad | /usr/share/gems/gems/railties-6.1.7.6/lib/rails/railtie.rb:207:in `method_missing'
a9ad52ad | /usr/share/gems/gems/rack-2.2.8/lib/rack/urlmap.rb:74:in `block in call'
a9ad52ad | /usr/share/gems/gems/rack-2.2.8/lib/rack/urlmap.rb:58:in `each'
a9ad52ad | /usr/share/gems/gems/rack-2.2.8/lib/rack/urlmap.rb:58:in `call'
a9ad52ad | /usr/share/gems/gems/puma-6.4.0/lib/puma/configuration.rb:272:in `call'
a9ad52ad | /usr/share/gems/gems/puma-6.4.0/lib/puma/request.rb:100:in `block in handle_request'
a9ad52ad | /usr/share/gems/gems/puma-6.4.0/lib/puma/thread_pool.rb:378:in `with_force_shutdown'
a9ad52ad | /usr/share/gems/gems/puma-6.4.0/lib/puma/request.rb:99:in `handle_request'
a9ad52ad | /usr/share/gems/gems/puma-6.4.0/lib/puma/server.rb:443:in `process_client'
a9ad52ad | /usr/share/gems/gems/puma-6.4.0/lib/puma/server.rb:241:in `block in run'
a9ad52ad | /usr/share/gems/gems/puma-6.4.0/lib/puma/thread_pool.rb:155:in `block in spawn_thread'
a9ad52ad | /usr/share/gems/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
2024-01-04T08:03:30 [W|app|a9ad52ad] Rolling back due to a problem: [#<Orchestration::Task:0x00007f05f941ff68 @name="Detach ISO image from CDROM drive for rosa-corbitt.ogtjustaxc.foo", @id="Detach ISO image from CDROM drive for rosa-corbitt.ogtjustaxc.foo", @status="failed", @priority=52, @action=[#<Host::Managed id: 9, name: "rosa-corbitt.ogtjustaxc.foo", last_compile: nil, last_report: nil, updated_at: "2024-01-04 13:03:02.234843000 +0000", created_at: "2024-01-04 12:55:28.385148000 +0000", root_pass: nil, architecture_id: 1, operatingsystem_id: 1, ptable_id: 143, medium_id: nil, build: false, comment: "", disk: "", installed_at: "2024-01-04 13:03:29.310988834 +0000", model_id: nil, hostgroup_id: 1, owner_id: 4, owner_type: "User", enabled: true, puppet_ca_proxy_id: nil, managed: true, use_image: nil, image_file: nil, uuid: "502cbde0-3674-b040-8cc4-a6eb9c51dd67", compute_resource_id: 2, puppet_proxy_id: nil, certname: nil, image_id: nil, organization_id: 3, location_id: 4, type: "Host::Managed", otp: nil, realm_id: nil, compute_profile_id: nil, provision_method: "bootdisk", grub_pass: nil, discovery_rule_id: nil, global_status: 0, lookup_value_matcher: [FILTERED], openscap_proxy_id: nil, pxe_loader: "PXELinux BIOS", initiated_at: nil, build_errors: nil, creator_id: 4>, :setDetachIsoImage], @created=1704373410.0954857, @timestamp=2024-01-04 13:03:30.616159678 UTC>]
2024-01-04T08:03:30 [I|app|a9ad52ad] Delete the TFTP configuration for rosa-corbitt.ogtjustaxc.foo
2024-01-04T08:03:30 [I|app|a9ad52ad] Delete the TFTP configuration for rosa-corbitt.ogtjustaxc.foo
2024-01-04T08:03:30 [I|app|a9ad52ad] Delete the TFTP configuration for rosa-corbitt.ogtjustaxc.foo
2024-01-04T08:03:30 [I|app|a9ad52ad] Delete the TFTP configuration for rosa-corbitt.ogtjustaxc.foo
2024-01-04T08:03:30 [I|app|a9ad52ad] Processed 5 tasks from queue 'Host::Managed Main', completed 0/6
2024-01-04T08:03:30 [E|app|a9ad52ad] Task 'Deploy TFTP PXELinux config for rosa-corbitt.ogtjustaxc.foo' rollbacked
2024-01-04T08:03:30 [E|app|a9ad52ad] Task 'Deploy TFTP PXEGrub2 config for rosa-corbitt.ogtjustaxc.foo' rollbacked
2024-01-04T08:03:30 [E|app|a9ad52ad] Task 'Deploy TFTP PXEGrub config for rosa-corbitt.ogtjustaxc.foo' rollbacked
2024-01-04T08:03:30 [E|app|a9ad52ad] Task 'Deploy TFTP iPXE config for rosa-corbitt.ogtjustaxc.foo' rollbacked
2024-01-04T08:03:30 [E|app|a9ad52ad] Task 'Detach ISO image from CDROM drive for rosa-corbitt.ogtjustaxc.foo' failed
2024-01-04T08:03:30 [E|app|a9ad52ad] Task 'Refresh Content Host Statuses for rosa-corbitt.ogtjustaxc.foo' canceled
2024-01-04T08:03:30 [W|app|a9ad52ad] Failed to set Build on rosa-corbitt.ogtjustaxc.foo: ["Failed to detach ISO image from CDROM drive of instance rosa-corbitt.ogtjustaxc.foo: InvalidPowerState: The attempted operation cannot be performed in the current state (Powered on)."]
2024-01-04T08:03:30 [I|app|a9ad52ad] Completed 409 Conflict in 1577ms (ActiveRecord: 38.3ms | Allocations: 204891)
2024-01-04T08:07:30 [I|app|77dc5e7b] Started GET "/hosts/rosa-corbitt.ogtjustaxc.foo/statuses" for 10.74.16.119 at 2024-01-04 08:07:30 -0500
2024-01-04T08:07:30 [I|app|77dc5e7b] Processing by HostsController#statuses as JSON
2024-01-04T08:07:30 [I|app|77dc5e7b] Parameters:
2024-01-04T08:07:30 [I|app|77dc5e7b] Completed 200 OK in 91ms (Views: 0.7ms | ActiveRecord: 16.7ms | Allocations: 14586)
— Additional comment from on 2024-01-04T15:30:46Z
Looks like it is related to https://bugzilla.redhat.com/show_bug.cgi?id=2247345, aligning to the same target flags
— Additional comment from on 2024-03-14T12:20:44Z
Upstream foreman_bootdisk PR for the fixing this issue has been merged along with fog-vsphere PR, we can now move this to POST
https://github.com/theforeman/foreman_bootdisk/pull/158
https://github.com/fog/fog-vsphere/pull/292
QE Tracker for https://issues.redhat.com/browse/SAT-24976
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2279384