Bug 1624836 - Specified miq_vm_disk_storage variable cause undefined disk_storage_domain variable
Summary: Specified miq_vm_disk_storage variable cause undefined disk_storage_domain va...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-ansible-collection
Classification: oVirt
Component: manageiq
Version: 1.1.10
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.2.7
: ---
Assignee: Ondra Machacek
QA Contact: Petr Kubica
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-03 12:13 UTC by Petr Kubica
Modified: 2018-11-02 14:35 UTC (History)
2 users (show)

Fixed In Version: ovirt-ansible-manageiq-1.1.12
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-02 14:35:19 UTC
oVirt Team: Infra
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github oVirt/ovirt-ansible-manageiq/commit/65269d3f3e8442828fe86ddbfe9051a3d3d3ab86 0 None None None 2018-09-07 09:26:15 UTC
Github oVirt/ovirt-ansible-manageiq/commit/9e1fdd087daecbf2b201adeb7ea2cfbcc22d706a 0 None None None 2018-09-07 09:26:27 UTC

Description Petr Kubica 2018-09-03 12:13:31 UTC
Description of problem:
TASK [ovirt-manageiq : Deploy the qcow image to oVirt engine] *****************************************************************************************************************************************************
fatal: [engine]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'disk_storage_domain' is undefined\n\nThe error appears to have been in '/usr/share/ansible/roles/oVirt.manageiq/tasks/deploy_qcow2.yml': line 63, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n- block:\n  - name: Deploy the qcow image to oVirt engine\n    ^ here\n"}

Version-Release number of selected component (if applicable):
ovirt-ansible-manageiq-1.1.12-0.1.master.20180823081650.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. define miq_vm_disk_storage for deploying qcow to specific domain

Comment 1 Petr Kubica 2018-09-05 13:12:37 UTC
tested with: ovirt-ansible-manageiq.noarch 0:1.1.12-0.1.master.20180904110406.el7

still failing but later:
ASK [oVirt.manageiq : Add database disk for CFME] *****************************
15:02:14
task path: /usr/share/ansible/roles/oVirt.manageiq/tasks/cfme_add_disk.yml:1
15:02:14
fatal: [engine]: FAILED! => {
    "msg": "The task includes an option with an undefined variable. The error was: 'disk_storage_domain' is undefined\n\nThe error appears to have been in '/usr/share/ansible/roles/oVirt.manageiq/tasks/cfme_add_disk.yml': line 1, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Add {{ item }} disk for CFME\n  ^ here\nWe could be wrong, but this one looks like it might be an issue with\nmissing quotes.  Always quote template expression brackets when they\nstart a value. For instance:\n\n    with_items:\n      - {{ foo }}\n\nShould be written as:\n\n    with_items:\n      - \"{{ foo }}\"\n"
}

Comment 2 Petr Kubica 2018-09-17 10:27:03 UTC
Verified in ovirt-ansible-manageiq-1.1.12-0.1.master.20180907093028.el7.noarch

Comment 3 Raz Tamir 2018-09-17 10:30:14 UTC
QE verification bot: the bug was verified upstream

Comment 4 Sandro Bonazzola 2018-11-02 14:35:19 UTC
This bugzilla is included in oVirt 4.2.7 release, published on November 2nd 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.7 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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