Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1489893 - [ovirt-ansible-roles] ovirt-vm-infra: default values of cores and memory should be taken from template
[ovirt-ansible-roles] ovirt-vm-infra: default values of cores and memory shou...
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 medium
: ovirt-4.2.0
: ---
Assigned To: Ondra Machacek
Petr Kubica
: ZStream
Depends On:
Blocks: 1486577 1492488
  Show dependency treegraph
 
Reported: 2017-09-08 11:07 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:
: 1492488 (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:07:06 EDT
Description of problem:
default values of cores and memory should be taken from template in role ovirt-vm-infra

TASK [ovirt-vm-infra : Create VMs] ********************************************************************************************************************************************************************************
task path: /usr/share/ansible/roles/ovirt-vm-infra/tasks/main.yml:15
fatal: [*FILTERED*]: FAILED! => {
    "failed": true, 
    "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'dict object' has no attribute 'cores'\n\nThe error appears to have been in '/usr/share/ansible/roles/ovirt-vm-infra/tasks/main.yml': line 15, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n  - name: Create VMs\n    ^ here\n"
}

second run with defined core wariable:

TASK [ovirt-vm-infra : Create VMs] ********************************************************************************************************************************************************************************
task path: /usr/share/ansible/roles/ovirt-vm-infra/tasks/main.yml:15
fatal: [*FILTERED*]: FAILED! => {
    "failed": true, 
    "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'dict object' has no attribute 'memory'\n\nThe error appears to have been in '/usr/share/ansible/roles/ovirt-vm-infra/tasks/main.yml': line 15, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n  - name: Create VMs\n    ^ here\n"
}


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 2 Petr Kubica 2018-01-03 06:59:13 EST
Verified
ovirt-ansible-vm-infra-1.1.3-1.el7ev.noarch
ansible-2.4.1.0-1.el7ae.noarch
Comment 7 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.