Bug 1584772 - ManageIQ role doesn't work with passed RHV Credentials from Ansible Tower
Summary: ManageIQ role doesn't work with passed RHV Credentials from Ansible Tower
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-ansible-collection
Classification: oVirt
Component: manageiq
Version: 1.1.6
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.2.7
: ---
Assignee: Ondra Machacek
QA Contact: Petr Kubica
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-31 15:34 UTC by Petr Kubica
Modified: 2018-11-02 14:35 UTC (History)
0 users

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:33:32 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/7391d684a49b236492a24b7730753f7581ae0f98 0 None None None 2018-08-21 10:37:10 UTC
Github oVirt ovirt-ansible-manageiq pull 61 0 None None None 2018-08-21 10:29:37 UTC

Description Petr Kubica 2018-05-31 15:34:10 UTC
Description of problem:
when using localhost connection (other roles are working properly) manageiq roles not working due to using engine_fqdn instead of engine_url which is passed (in some form) from RHV Credentials

"msg": "The task includes an option with an undefined variable. The error was: 'engine_fqdn' is undefined\n\nThe error appears to have been in '/etc/ansible/roles/oVirt.manageiq/tasks/main.yml': line 3, 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: Login to oVirt engine\n    ^ here\n"

Version-Release number of selected component (if applicable):
oVirt.manageiq (1.1.8)

How reproducible:
always

Steps to Reproduce:
1. run manageiq role from Ansible Tower with localhost connection and specified RHV Credentials

Actual results:
Failed with msg about undefined variable engine_fqdn

Comment 1 Petr Kubica 2018-08-27 11:21:03 UTC
Verified with:
ovirt-ansible-manageiq-1.1.12-0.1.master.20180823081650.el7.noarch

Comment 2 Raz Tamir 2018-09-05 08:55:57 UTC
QE verification bot: the bug was verified upstream

Comment 3 Sandro Bonazzola 2018-11-02 14:33:32 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.