Problem with end build on VMware ESXi 8.0 u2

When build should be done i have log:

2024-03-01T18:16:49 [W|app|c2745c91] Rolling back due to a problem: [#<Orchestration::Task:0x0000563b9d02f2e0 @name=“Detach ISO image from CDROM drive for”, @id=“Detach ISO image from CDROM drive for”, @status=“failed”, @priority=52, @action=[#<Host::Managed id: 376, name: “”, last_compile: nil, last_report: nil, updated_at: “2024-03-01 16:47:37.595314000 +0100”, created_at: “2024-03-01 16:36:30.911153000 +0100”, root_pass: nil, architecture_id: 1, operatingsystem_id: 35, ptable_id: 273, medium_id: nil, build: false, comment: “”, disk: “”, installed_at: nil, model_id: nil, hostgroup_id: 3, owner_id: 8, owner_type: “User”, enabled: true, puppet_ca_proxy_id: 1, managed: true, use_image: nil, image_file: nil, uuid: “5003eb93-b3be-3869-47cd-792dae12bb1c”, compute_resource_id: 2, puppet_proxy_id: 1, certname: nil, image_id: nil, organization_id: 3, location_id: 2, type: “Host::Managed”, otp: nil, realm_id: 3, compute_profile_id: 5, provision_method: “bootdisk”, grub_pass: nil, global_status: 0, lookup_value_matcher: [FILTERED], pxe_loader: “PXELinux BIOS”, initiated_at: nil, build_errors: nil, openscap_proxy_id: 1, creator_id: 8, monitoring_proxy_id: nil>, :setDetachIsoImage], @created=1709313408.7889826, @timestamp=2024-03-01 17:16:49.014655536 UTC>]

2024-03-01T18:16:49 [I|app|c2745c91] Processed 1 tasks from queue ‘Host::Managed Main’, completed 0/2

2024-03-01T18:16:49 [E|app|c2745c91] Task ‘Detach ISO image from CDROM drive for

2024-03-01T18:16:49 [E|app|c2745c91] Task ‘Refresh Content Host Statuses for

2024-03-01T18:16:49 [W|app|c2745c91] Failed to set Build on [“Failed to detach ISO image from CDROM drive of instance InvalidPowerState: The attempted operation cannot be performed in the current state (Powered on).”]

2024-03-01T18:16:49 [I|app|c2745c91] Completed 500 Internal Server Error in 492ms (Views: 0.2ms | ActiveRecord: 24.0ms | Allocations: 81661)

Foreman and Proxy versions:
Foreman: Version 3.9.1

Foreman and Proxy plugin versions:

Name Description Author Version
foreman-tasks The goal of this plugin is to unify the way of showing task statuses across the Foreman instance. It defines Task model for keeping the information about the tasks and Lock for assigning the tasks to resources. The locking allows dealing with preventing multiple colliding tasks to be run on the same resource. It also optionally provides Dynflow infrastructure for using it for managing the tasks. Ivan Nečas 9.0.1
foreman_ansible Ansible integration with Foreman Daniel Lobato Garcia 13.0.3
foreman_bootdisk Plugin for Foreman that creates iPXE-based boot disks to provision hosts without the need for PXE infrastructure. Dominic Cleal 21.2.1
foreman_cve_scanner Run CVE scan on host and collect report Bernhard Suttner 0.0.1
foreman_kernel_care This plugin removes kernel trace and update the kernel package version if KernelCare package is installed on host Maxim Petukhov 1.2.1
foreman_openscap Foreman plug-in for managing security compliance reports 7.1.1
foreman_puppet Allow assigning Puppet environments and classes to the Foreman Hosts. Ondřej Ezr and Shira Maximov 6.2.0
foreman_remote_execution A plugin bringing remote execution to the Foreman, completing the config management functionality with remote management functionality. Foreman Remote Execution team 12.0.5
foreman_snapshot_management Foreman-plugin to manage snapshots in a virtual-hardware environments. ATIX AG 3.0.0
foreman_webhooks Plugin for Foreman that allows to configure Webhooks. Timo Goebel 3.2.2
katello Katello adds Content and Subscription Management to Foreman. For this it relies on Candlepin and Pulp. N/A 4.11.0
Distribution and version:

Rocky Linux 8.8

Other relevant data:

I found problem:

I am getting this tested today, so we can get this merged in

Is possible to add foreman_bootdisk-21.2.2 to Foreman 3.10 repo plugins?

We can make a packaging PR to bump it. @lstejska Are you able to do it or want me to make the bump?

Yop: Ls/vmware by stejskalleos · Pull Request #10659 · theforeman/foreman-packaging · GitHub

1 Like

Maby add update introducing full support for Vsphere 8 can be added:

Uh, I would be careful about that statement, so far it’s the only issue we know about, we are doing testing right now to confirm that there are no other issues.

So for now, Vsphere 8 is still not fully supported.

Ohh, you’re right.

I have one more question is it possible to remove the ISOs after deploying the machine?