Unable to create new VMware guest

Problem:

 d53aed53 | /usr/share/gems/gems/secure_headers-6.3.0/lib/secure_headers/middleware.rb:11:in `call'
 d53aed53 | /usr/share/gems/gems/railties-6.1.6/lib/rails/engine.rb:539:in `call'
 d53aed53 | /usr/share/gems/gems/railties-6.1.6/lib/rails/railtie.rb:207:in `public_send'
 d53aed53 | /usr/share/gems/gems/railties-6.1.6/lib/rails/railtie.rb:207:in `method_missing'
 d53aed53 | /usr/share/gems/gems/rack-2.2.3.1/lib/rack/urlmap.rb:74:in `block in call'
 d53aed53 | /usr/share/gems/gems/rack-2.2.3.1/lib/rack/urlmap.rb:58:in `each'
 d53aed53 | /usr/share/gems/gems/rack-2.2.3.1/lib/rack/urlmap.rb:58:in `call'
 d53aed53 | /usr/share/gems/gems/puma-5.6.4/lib/puma/configuration.rb:252:in `call'
 d53aed53 | /usr/share/gems/gems/puma-5.6.4/lib/puma/request.rb:77:in `block in handle_request'
 d53aed53 | /usr/share/gems/gems/puma-5.6.4/lib/puma/thread_pool.rb:340:in `with_force_shutdown'
 d53aed53 | /usr/share/gems/gems/puma-5.6.4/lib/puma/request.rb:76:in `handle_request'
 d53aed53 | /usr/share/gems/gems/puma-5.6.4/lib/puma/server.rb:441:in `process_client'
 d53aed53 | /usr/share/gems/gems/puma-5.6.4/lib/puma/thread_pool.rb:147:in `block in spawn_thread'
 d53aed53 | /usr/share/gems/gems/logging-2.3.0/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
2022-07-11T14:21:23 [W|app|d53aed53] Rolling back due to a problem: [#<Orchestration::Task:0x000055a4fa452c30 @name="Set up compute instance irma-baylis.pandorica.us", @id="Set up compute instance irma-baylis.pandorica.us", @status="failed", @priority=3, @action=[#<Host::Managed id: nil, name: "irma-baylis.pandorica.us", last_compile: nil, last_report: nil, updated_at: nil, created_at: nil, root_pass: [FILTERED], architecture_id: 1, operatingsystem_id: 1, ptable_id: 143, medium_id: 16, build: true, comment: "", disk: "", installed_at: nil, model_id: nil, hostgroup_id: nil, owner_id: 4, owner_type: "User", enabled: true, puppet_ca_proxy_id: 1, managed: true, use_image: nil, image_file: nil, uuid: "524d9aea-3d84-c909-d432-2f4f13b23f8a", compute_resource_id: 1, puppet_proxy_id: 1, certname: nil, image_id: nil, organization_id: 1, location_id: 2, type: "Host::Managed", otp: nil, realm_id: nil, compute_profile_id: nil, provision_method: "build", grub_pass: nil, global_status: 0, lookup_value_matcher: [FILTERED], pxe_loader: "iPXE Chain BIOS", initiated_at: nil, build_errors: nil>, :setCompute], @created=1657567283.8402414, @timestamp=2022-07-11 19:21:23.927202573 UTC>]
2022-07-11T14:21:23 [I|app|d53aed53] Processed 1 tasks from queue 'Host::Managed Main', completed 0/2
2022-07-11T14:21:23 [E|app|d53aed53] Task 'Set up compute instance irma-baylis.pandorica.us' *failed*
2022-07-11T14:21:23 [E|app|d53aed53] Task 'Query instance details for irma-baylis.pandorica.us' *canceled*
2022-07-11T14:21:23 [W|api|d53aed53] param host[puppetclass_*] has been deprecated in favor of host[puppet_attributes][puppetclass_*]
2022-07-11T14:21:23 [W|api|d53aed53] param host[puppetclass_*] has been deprecated in favor of host[puppet_attributes][puppetclass_*]
2022-07-11T14:21:23 [E|app|d53aed53] Failed to save: Failed to create a compute ESXi02 (VMware) instance irma-baylis.pandorica.us: unexpected path class NilClass
 d53aed53 |  
2022-07-11T14:21:24 [I|app|d53aed53]   Rendered hosts/new.html.erb within layouts/application (Duration: 465.0ms | Allocations: 96108)
2022-07-11T14:21:24 [I|app|d53aed53]   Rendered layouts/base.html.erb (Duration: 22.2ms | Allocations: 12018)
2022-07-11T14:21:24 [I|app|d53aed53]   Rendered layout layouts/application.html.erb (Duration: 489.1ms | Allocations: 108546)
2022-07-11T14:21:24 [I|app|d53aed53] Completed 200 OK in 918ms (Views: 457.6ms | ActiveRecord: 62.3ms | Allocations: 164360)
2022-07-11T14:21:25 [I|app|6da79a0e] Started GET "/tasks/44c8e1bc-86db-4720-a67b-a584a6c0144d" for 10.150.1.199 at 2022-07-11 14:21:25 -0500
2022-07-11T14:21:25 [I|app|6da79a0e] Processing by TasksController#show as */*
2022-07-11T14:21:25 [I|app|6da79a0e]   Parameters: {"id"=>"44c8e1bc-86db-4720-a67b-a584a6c0144d"}
2022-07-11T14:21:25 [I|app|6da79a0e] Completed 200 OK in 12ms (Views: 1.1ms | ActiveRecord: 2.0ms | Allocations: 1720)
2022-07-11T14:21:25 [I|app|497c2626] Started GET "/notification_recipients" for 10.150.1.199 at 2022-07-11 14:21:25 -0500
2022-07-11T14:21:25 [I|app|497c2626] Processing by NotificationRecipientsController#index as JSON
2022-07-11T14:21:25 [I|app|497c2626] Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 1.9ms | Allocations: 2034)
2022-07-11T14:21:35 [I|app|f69be752] Started GET "/notification_recipients" for 10.150.1.199 at 2022-07-11 14:21:35 -0500
2022-07-11T14:21:35 [I|app|f69be752] Processing by NotificationRecipientsController#index as JSON
2022-07-11T14:21:35 [I|app|f69be752] Completed 200 OK in 16ms (Views: 0.2ms | ActiveRecord: 2.1ms | Allocations: 2025)
2022-07-11T14:21:45 [I|app|a63dffc3] Started GET "/notification_recipients" for 10.150.1.199 at 2022-07-11 14:21:45 -0500
2022-07-11T14:21:45 [I|app|a63dffc3] Processing by NotificationRecipientsController#index as JSON
2022-07-11T14:21:45 [I|app|a63dffc3] Completed 200 OK in 16ms (Views: 0.2ms | ActiveRecord: 2.0ms | Allocations: 2018)
2022-07-11T14:21:55 [I|app|3bf4da9b] Started GET "/notification_recipients" for 10.150.1.199 at 2022-07-11 14:21:55 -0500
2022-07-11T14:21:55 [I|app|3bf4da9b] Processing by NotificationRecipientsController#index as JSON
2022-07-11T14:21:55 [I|app|3bf4da9b] Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 2.0ms | Allocations: 2018)
[root@foreman900 foreman]# 

Expected outcome:
Create the VM
Foreman and Proxy versions:

[root@foreman900 foreman]# rpm -qa|grep -i foreman
rubygem-hammer_cli_foreman_bootdisk-0.3.0-2.el8.noarch
rubygem-hammer_cli_foreman_ssh-0.0.2-8.el8.noarch
rubygem-hammer_cli_foreman_puppet-doc-0.0.6-1.fm3_4.el8.noarch
rubygem-hammer_cli_foreman_ansible-doc-0.4.0-1.fm3_4.el8.noarch
foreman-installer-3.4.0-0.2.develop.20220708031251git012257d.el8.noarch
rubygem-hammer_cli_foreman_openscap-0.1.13-1.fm3_0.el8.noarch
rubygem-hammer_cli_foreman_templates-doc-0.2.0-2.fm2_5.el8.noarch
rubygem-hammer_cli_foreman_discovery-doc-1.1.0-1.fm3_3.el8.noarch
rubygem-hammer_cli_foreman_rh_cloud-1.0.1-1.fm3_1.el8.noarch
foreman-selinux-3.4.0-0.1.develop.20220512004237git24181ab.el8.noarch
foreman-postgresql-3.4.0-0.3.develop.20220623140235git143054a.el8.noarch
rubygem-hammer_cli_foreman-3.4.0-0.1.pre.develop.20220512120746gitd09e70d.el8.noarch
rubygem-hammer_cli_foreman_ansible-0.4.0-1.fm3_4.el8.noarch
rubygem-hammer_cli_foreman_host_reports-0.1.0-1.fm3_3.el8.noarch
rubygem-hammer_cli_foreman_puppet-0.0.6-1.fm3_4.el8.noarch
rubygem-hammer_cli_foreman_webhooks-0.0.3-1.fm3_4.el8.noarch
foreman-proxy-3.4.0-0.1.develop.20220708153314git28b0212.el8.noarch
foreman-vmware-3.4.0-0.3.develop.20220623140235git143054a.el8.noarch
rubygem-hammer_cli_foreman_ssh-doc-0.0.2-8.el8.noarch
rubygem-hammer_cli_foreman_leapp-doc-0.1.1-1.fm3_0.el8.noarch
rubygem-hammer_cli_foreman_bootdisk-doc-0.3.0-2.el8.noarch
rubygem-hammer_cli_foreman_remote_execution-doc-0.2.2-1.fm3_0.el8.noarch
rubygem-hammer_cli_foreman_scc_manager-0.1.0-2.fm2_5.el8.noarch
foreman-proxy-content-4.4.1-1.el8.noarch
rubygem-hammer_cli_foreman_tasks-0.0.17-1.fm3_2.el8.noarch
rubygem-hammer_cli_foreman_azure_rm-0.2.2-1.fm3_1.el8.noarch
rubygem-hammer_cli_foreman_kubevirt-0.1.5-1.fm3_1.el8.noarch
rubygem-hammer_cli_foreman_salt-0.1.0-1.fm3_2.el8.noarch
rubygem-hammer_cli_foreman_admin-1.1.0-1.fm2_6.el8.noarch
rubygem-foreman_puppet-4.0.1-1.fm3_4.el8.noarch
rubygem-hammer_cli_foreman_admin-doc-1.1.0-1.fm2_6.el8.noarch
rubygem-hammer_cli_foreman_salt-doc-0.1.0-1.fm3_2.el8.noarch
rubygem-hammer_cli_foreman_kubevirt-doc-0.1.5-1.fm3_1.el8.noarch
rubygem-hammer_cli_foreman_azure_rm-doc-0.2.2-1.fm3_1.el8.noarch
rubygem-hammer_cli_foreman_tasks-doc-0.0.17-1.fm3_2.el8.noarch
rubygem-hammer_cli_foreman_virt_who_configure-0.0.8-1.el8.noarch
foreman-release-3.4.0-0.2.develop.el8.noarch
foreman-service-3.4.0-0.3.develop.20220623140235git143054a.el8.noarch
foreman-cli-3.4.0-0.3.develop.20220623140235git143054a.el8.noarch
rubygem-hammer_cli_foreman_remote_execution-0.2.2-1.fm3_0.el8.noarch
rubygem-hammer_cli_foreman_leapp-0.1.1-1.fm3_0.el8.noarch
rubygem-hammer_cli_foreman_webhooks-doc-0.0.3-1.fm3_4.el8.noarch
rubygem-hammer_cli_foreman_host_reports-doc-0.1.0-1.fm3_3.el8.noarch
rubygem-hammer_cli_foreman-doc-3.4.0-0.1.pre.develop.20220512120746gitd09e70d.el8.noarch
foreman-debug-3.4.0-0.3.develop.20220623140235git143054a.el8.noarch
foreman-3.4.0-0.3.develop.20220623140235git143054a.el8.noarch
foreman-dynflow-sidekiq-3.4.0-0.3.develop.20220623140235git143054a.el8.noarch
rubygem-hammer_cli_foreman_discovery-1.1.0-1.fm3_3.el8.noarch
rubygem-hammer_cli_foreman_templates-0.2.0-2.fm2_5.el8.noarch
rubygem-foreman_maintain-1.1.3-1.el8.noarch
rubygem-hammer_cli_foreman_openscap-doc-0.1.13-1.fm3_0.el8.noarch
foreman-installer-katello-3.4.0-0.2.develop.20220708031251git012257d.el8.noarch
[root@foreman900 foreman]# 

Foreman and Proxy plugin versions:
Not sure.
Distribution and version:
AlmaLinux 8.6
Other relevant data:

Did this work before?

The same error was reported when people tried to deploy on non-cluster VMware, which is not supported.

This is a brand-new set up. So it has not worked.