Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1489888 - [ovirt-ansible-roles] ovirt-vm-infra: missing cpu_sockets variable
[ovirt-ansible-roles] ovirt-vm-infra: missing cpu_sockets variable
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-ansible-roles (Show other bugs)
4.1.5
Unspecified Unspecified
unspecified Severity high
: ovirt-4.2.0
: ---
Assigned To: Ondra Machacek
Petr Kubica
: ZStream
Depends On:
Blocks: 1486577 1492487
  Show dependency treegraph
 
Reported: 2017-09-08 11:00 EDT by Petr Kubica
Modified: 2018-05-15 14:01 EDT (History)
3 users (show)

See Also:
Fixed In Version: ovirt-ansible-roles-1.1.1-0.el7ev
Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of:
: 1492487 (view as bug list)
Environment:
Last Closed: 2018-05-15 14:00:33 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Infra
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:1534 None None None 2018-05-15 14:01 EDT

  None (edit)
Description Petr Kubica 2017-09-08 11:00:07 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
Comment 1 Ondra Machacek 2017-09-12 08:51:06 EDT
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
Comment 3 Petr Kubica 2018-01-03 06:35:25 EST
Verified
ovirt-ansible-vm-infra-1.1.3-1.el7ev.noarch
ansible-2.4.1.0-1.el7ae.noarch
Comment 8 errata-xmlrpc 2018-05-15 14:00:33 EDT
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

Note You need to log in before you can comment on or make changes to this bug.