Red Hat Bugzilla – Bug 1489888
[ovirt-ansible-roles] ovirt-vm-infra: missing cpu_sockets variable
Last modified: 2018-05-15 14:01:05 EDT
Description of problem: variable cores in profile should correspond with "Total Virtual CPUs" not with Cores per Virtual Socket when user has template with Total Virtual CPUs 4 and he set cores to 2, he will get VM with 8 Virtual CPUs. If user has only hosts with 4 cores, then role will fail with internal filter error (not enough CPUs) Version-Release number of selected component (if applicable): ovirt-ansible-roles-1.0.2-1.el7ev.noarch ansible-2.3.1.0-3.el7.noarch
As stated in ovirt_vms module documentation[1] cpu_cores correspond to number of cores and cpu_sockets correspond to number of sockets. There is not total virtual CPU parameter. So as part of this bug we will add cpu_sockets paramter to the ovirt-vm-infra role, which will be mapped to cpu_sockets parameter in ovirt_vms Ansible module. [1] http://docs.ansible.com/ansible/latest/ovirt_vms_module.html
Verified ovirt-ansible-vm-infra-1.1.3-1.el7ev.noarch ansible-2.4.1.0-1.el7ae.noarch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2018:1534