Problem:
When creating a VM, the number of cores set in the gui is being ignored. When updating a VM after it is created setting the number of cores works fine.
Expected outcome:
To pay attention to the number of cores
Foreman and Proxy versions:
Foreman 3.9
Foreman and Proxy plugin versions:
rubygem-fog-proxmox-0.15.0-1.el8.noarch
rubygem-foreman_fog_proxmox-0.15.0-1.fm3_9.el8.noarch
rubygem-fog-json-1.2.0-4.el8.noarch
rubygem-fog-core-2.3.0-1.el8.noarch
Distribution and version:
RHEL 8
Other relevant data:
From log file:
create vm: args={"type"=>"qemu", "vmid"=>"105", "node_id"=>"redactedproxmox", "start_after_create"=>"1", "pool"=>"", "config_attributes"=>{"descr
iption"=>"", "boot"=>"", "onboot"=>"1", "agent"=>"1", "kvm"=>"1", "vga"=>"std", "scsihw"=>"virtio-scsi-pci", "bios"=>"seabios", "cpu_type"=>"host", "sockets"=>"1", "cores"=>"", "
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"=>"32768", "balloon"=>"", "shares"=>"", "ostype"=>"l26", "name"=>"redactedhostname"}
, "volumes_attributes"=>{"0"=>{"storage_type"=>"hard_disk", "storage"=>"ssd", "controller"=>"virtio", "device"=>"0", "cache"=>"none", "size"=>"128", "id"=>"virtio0"}}, "name"=>"n
nj2-build102.walleyetrading.net", "provision_method"=>"build", "firmware_type"=>:bios, "interfaces_attributes"=>{"0"=>{"id"=>"net0", "model"=>"virtio", "bridge"=>"vmbr0", "tag"=>
"53", "firewall"=>"0", "link_down"=>"0", "ip"=>nil, "ip6"=>""}}}