Bug 1614314
| Summary: | ManageIQ role should support Dry Run | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-ansible-collection | Reporter: | Petr Kubica <pkubica> |
| Component: | manageiq | Assignee: | Ondra Machacek <omachace> |
| Status: | CLOSED CANTFIX | QA Contact: | Petr Kubica <pkubica> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.1.10 | CC: | mperina |
| Target Milestone: | ovirt-4.2.7 | Flags: | rule-engine:
ovirt-4.2+
|
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ovirt-ansible-manageiq-1.1.12 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-08-23 08:13:37 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: | |||
I've added limitations section into README, that we don't support it: https://github.com/ovirt/ovirt-ansible-manageiq#limitations |
Description of problem: Ansible playbook with with manageiq role fails in check running mode: ansible-playbook -i inventory manageiq.yml --check output: TASK [oVirt.manageiq : Check file type] ************** task path: /root/ansible-roles-deps/oVirt.manageiq/tasks/deploy_qcow2.yml:13 Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py skipping: [engine] => { "changed": false, "invocation": { "module_args": { "_raw_params": "/usr/bin/file /tmp/cfme-rhevm-5.9.4.3-1.x86_64.qcow2", "warn": true } }, "msg": "remote module (command) does not support check mode" } TASK [oVirt.manageiq : Fail if image is not qcow] ************ task path: /root/ansible-roles-deps/oVirt.manageiq/tasks/deploy_qcow2.yml:18 fatal: [engine]: FAILED! => { "msg": "The conditional check '\"QCOW\" not in filetype.stdout' failed. The error was: error while evaluating conditional (\"QCOW\" not in filetype.stdout): Unable to look up a name or access an attribute in template string ({% if \"QCOW\" not in filetype.stdout %} True {% else %} False {% endif %}).\nMake sure your variable name does not contain invalid characters like '-': argument of type 'StrictUndefined' is not iterable\n\nThe error appears to have been in '/root/ansible-roles-deps/oVirt.manageiq/tasks/deploy_qcow2.yml': line 18, 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: Fail if image is not qcow\n ^ here\n" } Version-Release number of selected component (if applicable): ansible-2.6.2-1.el7ae.noarch ovirt-ansible-manageiq-1.1.11-1.el7ev.noarch How reproducible: always Steps to Reproduce: 1. run playbook with --check