Bug 1492487 - [downstream clone - 4.1.7] [ovirt-ansible-roles] ovirt-vm-infra: missing cpu_sockets variable
Summary: [downstream clone - 4.1.7] [ovirt-ansible-roles] ovirt-vm-infra: missing cpu_...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-ansible-roles
Version: 4.1.5
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.1.7
: ---
Assignee: Ondra Machacek
QA Contact: Petr Kubica
URL:
Whiteboard:
Depends On: 1489888
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-17 19:40 UTC by rhev-integ
Modified: 2017-11-07 17:27 UTC (History)
3 users (show)

Fixed In Version: ovirt-ansible-roles-1.0.4-1.el7ev
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of: 1489888
Environment:
Last Closed: 2017-11-07 17:27:31 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:3137 0 normal SHIPPED_LIVE 4.1.7 - ovirt-ansible-roles bug fix and enhancement update 2017-11-07 22:22:25 UTC

Description rhev-integ 2017-09-17 19:40:34 UTC
+++ This bug is a downstream clone. The original bug is: +++
+++   bug 1489888 +++
======================================================================

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

(Originally by Petr Kubica)

Comment 1 rhev-integ 2017-09-17 19:40:37 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

(Originally by Ondra Machacek)

Comment 3 rhev-integ 2017-09-17 19:40:43 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

(Originally by Ondra Machacek)

Comment 5 Petr Kubica 2017-10-18 06:30:36 UTC
Verified in
ansible-2.3.2.0-2.el7.noarch
ovirt-ansible-roles-1.0.4-1.el7ev.noarch

Comment 7 errata-xmlrpc 2017-11-07 17:27:31 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/RHBA-2017:3137


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