Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1489888

Summary: [ovirt-ansible-roles] ovirt-vm-infra: missing cpu_sockets variable
Product: Red Hat Enterprise Virtualization Manager Reporter: Petr Kubica <pkubica>
Component: ovirt-ansible-rolesAssignee: Ondra Machacek <omachace>
Status: CLOSED ERRATA QA Contact: Petr Kubica <pkubica>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.1.5CC: mgoldboi, mperina, pstehlik
Target Milestone: ovirt-4.2.0Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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 18:00:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1486577, 1492487    

Description Petr Kubica 2017-09-08 15:00:07 UTC
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 12:51:06 UTC
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 11:35:25 UTC
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 18:00:33 UTC
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

Comment 9 Franta Kust 2019-05-16 13:05:56 UTC
BZ<2>Jira Resync