Can't clone Proxmox Template on fresh 3.1.0-rc2 (20.04.3)

Problem:

Just setup a fresh machine to provision a 5 machine Proxmox cluster. The templated VM gets cloned but checking the Proxmox Webinterface I can see that neither IP, CPU cores, RAM nor Disk-size were resized according to the transmitted parameters. Not even the autostart of the machine is happening. When trying to open a console from Foreman I get: “Failed to set console: one hash required” to which I couldn’t find anything on the forum…

Expected outcome:
VM gets cloned with IP, Cores, RAM and HD according to submitted params being started and being able to open a console.

Foreman and Proxy versions:
Puppet CA, Puppet, Logs, Dynflow, SSH, and Ansible
3.1.0-rc2

Foreman and Proxy plugin versions:
|foreman-tasks|5.2.0|
|foreman_ansible|6.4.1|
|foreman_fog_proxmox|0.14.0|
|foreman_puppet|2.0.0|
|foreman_remote_execution|4.8.0|

Distribution and version:
Ubuntu 20.04.3

Other relevant data:

2021-12-03T09:28:12 [I|app|804df7cb]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"xm6lIs6D10ftF8KAg/8MZgsqTcVtZIEoMUb8spM2n15XkDWzx7pheEhYoEEvB+w+EWiIgTK4KDkuivEfi8amGw==", "host"=>{"name"=>"deploy-tst", "organization_id"=>"1", "location_id"=>"2", "hostgroup_id"=>"1", "puppetclass_ids"=>[""], "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "interfaces_attributes"=>{"0"=>{"_destroy"=>"0", "type"=>"Nic::Managed", "identifier"=>"", "name"=>"deploy-tst", "domain_id"=>"1", "subnet_id"=>"1", "ip"=>"10.xxx.yy.237", "ip6"=>"", "managed"=>"1", "primary"=>"1", "provision"=>"1", "execution"=>"1", "virtual"=>"0", "tag"=>"", "attached_to"=>"", "compute_attributes"=>{"id"=>"", "model"=>"e1000", "bridge"=>"vmbr1", "tag"=>"", "rate"=>"", "queues"=>"", "firewall"=>"0", "link_down"=>"0"}}, "new_interfaces"=>{"_destroy"=>"1", "type"=>"Nic::Managed", "mac"=>"", "identifier"=>"", "name"=>"", "domain_id"=>"", "subnet_id"=>"", "ip"=>"", "ip6"=>"", "managed"=>"1", "primary"=>"0", "provision"=>"0", "execution"=>"0", "virtual"=>"0", "tag"=>"", "attached_to"=>"", "compute_attributes"=>{"id"=>"", "model"=>"e1000", "bridge"=>"vmbr1", "tag"=>"", "rate"=>"", "queues"=>"", "firewall"=>"0", "link_down"=>"0"}}}, "compute_attributes"=>{"type"=>"qemu", "vmid"=>"20006", "node_id"=>"epa-pve-04", "start_after_create"=>"1", "pool"=>"", "config_attributes"=>{"description"=>"", "boot"=>"", "onboot"=>"0", "agent"=>"0", "kvm"=>"0", "vga"=>"std", "scsihw"=>"virtio-scsi-pci", "bios"=>"seabios", "cpu_type"=>"kvm64", "sockets"=>"1", "cores"=>"1", "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"=>"536870912", "balloon"=>"0", "shares"=>"", "ostype"=>"l26"}, "volumes_attributes"=>{"1638501960688"=>{"_delete"=>"", "storage_type"=>"cloud_init", "storage"=>"epa-test-pool-01", "controller"=>"ide", "device"=>"0", "id"=>"ide0"}, "new_hard_disk_volumes"=>{"_delete"=>"", "storage_type"=>"hard_disk", "storage"=>"epa-test-pool-01", "controller"=>"virtio", "device"=>"0", "cache"=>"", "size"=>"8589934592", "id"=>"virtio0"}, "new_cdrom_volumes"=>{"_delete"=>"", "storage_type"=>"cdrom", "cdrom"=>"none", "id"=>"ide2"}, "new_cloud_init_volumes"=>{"_delete"=>"", "storage_type"=>"cloud_init", "storage"=>"epa-test-pool-01", "controller"=>"ide", "device"=>"0", "id"=>"ide0"}, "new_mp_volumes"=>{"_delete"=>"", "id"=>"mp0"}, "0"=>{"_delete"=>"", "storage_type"=>"hard_disk", "storage"=>"epa-test-pool-01", "controller"=>"virtio", "device"=>"0", "cache"=>"", "size"=>"8589934592", "id"=>"virtio0"}, "1"=>{"id"=>"rootfs"}}, "image_id"=>"1_1005"}, "architecture_id"=>"1", "operatingsystem_id"=>"2", "provision_method"=>"image", "build"=>"1", "medium_id"=>"", "ptable_id"=>"", "pxe_loader"=>"", "disk"=>"", "root_pass"=>"[FILTERED]", "is_owned_by"=>"4-Users", "enabled"=>"1", "comment"=>"", "overwrite"=>"false"}, "fakepassword"=>"[FILTERED]", "provisioning"=>"image"}
2021-12-03T09:31:22 [I|app|29013660]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"xm6lIs6D10ftF8KAg/8MZgsqTcVtZIEoMUb8spM2n15XkDWzx7pheEhYoEEvB+w+EWiIgTK4KDkuivEfi8amGw==", "host"=>{"name"=>"deploy-tst", "organization_id"=>"1", "location_id"=>"2", "hostgroup_id"=>"1", "puppetclass_ids"=>[""], "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "interfaces_attributes"=>{"0"=>{"_destroy"=>"0", "type"=>"Nic::Managed", "identifier"=>"eno0", "name"=>"deploy-tst", "domain_id"=>"1", "subnet_id"=>"1", "ip"=>"10.xxx.yy.246", "ip6"=>"", "managed"=>"1", "primary"=>"1", "provision"=>"1", "execution"=>"1", "virtual"=>"0", "tag"=>"", "attached_to"=>"", "compute_attributes"=>{"id"=>"net0", "model"=>"virtio", "bridge"=>"vmbr24", "tag"=>"", "rate"=>"", "queues"=>"", "firewall"=>"0", "link_down"=>"0"}}}, "compute_attributes"=>{"type"=>"qemu", "vmid"=>"20006", "node_id"=>"epa-pve-04", "start_after_create"=>"1", "pool"=>"", "config_attributes"=>{"description"=>"", "boot"=>"", "onboot"=>"0", "agent"=>"0", "kvm"=>"0", "vga"=>"std", "scsihw"=>"virtio-scsi-pci", "bios"=>"seabios", "cpu_type"=>"kvm64", "sockets"=>"1", "cores"=>"1", "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"=>"536870912", "balloon"=>"0", "shares"=>"", "ostype"=>"l26"}, "volumes_attributes"=>{"1638501960688"=>{"_delete"=>"", "storage_type"=>"cloud_init", "storage"=>"epa-test-pool-01", "controller"=>"ide", "device"=>"0", "id"=>"ide0"}, "0"=>{"_delete"=>"", "storage_type"=>"hard_disk", "storage"=>"epa-test-pool-01", "controller"=>"virtio", "device"=>"0", "cache"=>"", "size"=>"8589934592", "id"=>"virtio0"}, "1"=>{"id"=>"rootfs"}}, "image_id"=>"1_1005"}, "architecture_id"=>"1", "operatingsystem_id"=>"2", "provision_method"=>"image", "build"=>"1", "medium_id"=>"", "ptable_id"=>"", "pxe_loader"=>"", "disk"=>"", "root_pass"=>"[FILTERED]", "host_parameters_attributes"=>{"1638502278263"=>{"name"=>"", "parameter_type"=>"string", "value"=>"[FILTERED]", "hidden_value"=>"[FILTERED]", "_destroy"=>"false"}}, "is_owned_by"=>"4-Users", "enabled"=>"1", "comment"=>"", "overwrite"=>"false"}, "fakepassword"=>"[FILTERED]"}
2021-12-03T09:32:36 [I|app|48a439d9]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"YaekxaNo6bn5+PbEuO20Nhp40fKM8dmWzZy1ZFRed/jwWTRUqlFfhly3lAUUFVRuADoUttMtcIfSULjJTK5OvQ==", "host"=>{"name"=>"deploy-tst", "organization_id"=>"1", "location_id"=>"2", "hostgroup_id"=>"1", "puppetclass_ids"=>[""], "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "interfaces_attributes"=>{"0"=>{"_destroy"=>"0", "type"=>"Nic::Managed", "identifier"=>"eno0", "name"=>"deploy-tst", "domain_id"=>"1", "subnet_id"=>"1", "ip"=>"10.xxx.yy.246", "ip6"=>"", "managed"=>"1", "primary"=>"1", "provision"=>"1", "execution"=>"1", "virtual"=>"0", "tag"=>"", "attached_to"=>"", "compute_attributes"=>{"id"=>"net0", "model"=>"virtio", "bridge"=>"vmbr24", "tag"=>"", "rate"=>"", "queues"=>"", "firewall"=>"0", "link_down"=>"0"}}}, "compute_attributes"=>{"type"=>"qemu", "vmid"=>"20006", "node_id"=>"epa-pve-04", "start_after_create"=>"0", "pool"=>"", "config_attributes"=>{"description"=>"", "boot"=>"", "onboot"=>"0", "agent"=>"0", "kvm"=>"0", "vga"=>"std", "scsihw"=>"virtio-scsi-pci", "bios"=>"seabios", "cpu_type"=>"kvm64", "sockets"=>"1", "cores"=>"1", "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"=>"536870912", "balloon"=>"0", "shares"=>"", "ostype"=>"l26"}, "volumes_attributes"=>{"0"=>{"_delete"=>"", "volid"=>"epa-test-pool-01:cloudinit", "storage_type"=>"hard_disk", "storage"=>"epa-test-pool-01", "cache"=>"", "size"=>"NaN", "id"=>"ide0"}, "1"=>{"_delete"=>"", "storage_type"=>"hard_disk", "storage"=>"epa-test-pool-01", "controller"=>"virtio", "device"=>"0", "cache"=>"", "size"=>"8589934592", "id"=>"virtio0"}}}, "architecture_id"=>"1", "operatingsystem_id"=>"2", "provision_method"=>"image", "build"=>"1", "medium_id"=>"", "ptable_id"=>"", "pxe_loader"=>"", "disk"=>"", "root_pass"=>"[FILTERED]", "host_parameters_attributes"=>{"0"=>{"name"=>"", "parameter_type"=>"string", "value"=>"[FILTERED]", "hidden_value"=>"[FILTERED]", "_destroy"=>"1"}}, "is_owned_by"=>"4-Users", "enabled"=>"1", "comment"=>"", "overwrite"=>"false"}, "fakepassword"=>"[FILTERED]"}
2021-12-03T09:32:36 [W|app|48a439d9] create vm: args={"type"=>"qemu", "vmid"=>"20006", "node_id"=>"epa-pve-04", "start_after_create"=>"0", "pool"=>"", "config_attributes"=>{"description"=>"", "boot"=>"", "onboot"=>"0", "agent"=>"0", "kvm"=>"0", "vga"=>"std", "scsihw"=>"virtio-scsi-pci", "bios"=>"seabios", "cpu_type"=>"kvm64", "sockets"=>"1", "cores"=>"1", "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"=>"512", "balloon"=>"0", "shares"=>"", "ostype"=>"l26", "name"=>"deploy-tst.z4.ru.mgmt.rz.epa.dom", "swap"=>nil}, "volumes_attributes"=>{"0"=>{"volid"=>"epa-test-pool-01:cloudinit", "storage_type"=>"hard_disk", "storage"=>"epa-test-pool-01", "cache"=>"", "size"=>"0", "id"=>"ide0"}, "1"=>{"storage_type"=>"hard_disk", "storage"=>"epa-test-pool-01", "controller"=>"virtio", "device"=>"0", "cache"=>"", "size"=>"8", "id"=>"virtio0"}}, "name"=>"deploy-tst.z4.ru.mgmt.rz.epa.dom", "provision_method"=>"image", "firmware_type"=>nil, "interfaces_attributes"=>{"0"=>{"id"=>"net0", "model"=>"virtio", "bridge"=>"vmbr24", "firewall"=>"0", "link_down"=>"0", "ip"=>"10.xxx.yy.246", "ip6"=>""}}}
2021-12-03T09:32:37 [I|aud|48a439d9] Host::Base (9) create event on uuid 1_20006
2021-12-03T09:32:37 [W|app|48a439d9] Rolling back due to a problem: [#<Orchestration::Task:0x0000558dc1d0a738 @name="Wait for deploy-tst.z4.ru.mgmt.rz.epa.dom to come online", @id="Wait for deploy-tst.z4.ru.mgmt.rz.epa.dom to come online", @status="failed", @priority=2001, @action=[#<Host::Managed id: 9, name: "deploy-tst.z4.ru.mgmt.rz.epa.dom", last_compile: nil, last_report: nil, updated_at: "2021-12-03 08:32:37", created_at: "2021-12-03 08:32:37", root_pass: [FILTERED], architecture_id: 1, operatingsystem_id: 2, ptable_id: nil, medium_id: nil, build: true, comment: "", disk: "", installed_at: nil, model_id: nil, hostgroup_id: 1, owner_id: 4, owner_type: "User", enabled: true, puppet_ca_proxy_id: 1, managed: true, use_image: nil, image_file: nil, uuid: "1_20006", 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: "image", grub_pass: "", global_status: 0, lookup_value_matcher: [FILTERED], pxe_loader: "", initiated_at: nil, build_errors: nil>, :setSSHWaitForResponse], @created=1638502356.2490172, @timestamp=2021-12-03 08:32:37.839836722 UTC>]
  :path          => "/api2/json/nodes/epa-pve-04/tasks/UPID:epa-pve-08:0036F64F:0360A9C8:61A99147:vncproxy:20006:root@pam!eibah8CebiWujai8Oth0foo0wa7kuTha:/status"

I’ll add some screenshot’s in my first reply…

I’ve attached the Screeners from the Host creation assistant…

Create Host
Create Host → VM
Create Host → OS
Create Host → IP

Foreman Host Overview
Proxmox Host Cloud-Init
Proxmox Host Hardware

Host doesn’t boot