Bug 1570153 - key 'tag' in vms dictionary is mandatory but it shouldn't be
Summary: key 'tag' in vms dictionary is mandatory but it shouldn't be
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-ansible-collection
Classification: oVirt
Component: vm-infra
Version: 1.1.6
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.2.3
: ---
Assignee: Ondra Machacek
QA Contact: Petr Kubica
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-04-20 18:20 UTC by Petr Kubica
Modified: 2018-05-06 08:04 UTC (History)
2 users (show)

Fixed In Version: ovirt-ansible-vm-infra-1.1.7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-06 08:04:09 UTC
oVirt Team: Infra
rule-engine: ovirt-4.2+


Attachments (Terms of Use)

Description Petr Kubica 2018-04-20 18:20:17 UTC
Description of problem:
It's always necessary to specify tag 

TASK [ovirt-vm-infra : Tag VMs] ************************************************
task path: /usr/share/ansible/roles/oVirt.vm-infra/tasks/main.yml:89
fatal: [localhost]: FAILED! => {
    "msg": "'dict object' has no attribute 'tag'"
}


Version-Release number of selected component (if applicable):
ansible-2.5.0-1.el7ae.noarch
ovirt-ansible-vm-infra-1.1.6-1.el7ev.noarch

How reproducible:
always

Steps to Reproduce:
    vm01:
      cluster: Default
      template: Blank

    vms:
      - name: vm-01
        profile: "{{vm01}}"

Actual results:
failed with: "msg": "'dict object' has no attribute 'tag'"

Expected results:
should not fail


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